The article has only a single sentence on it, but bar ends are illegal in racing, because they can gouge you and because they can hook on things.
If races you race in ban bar ends it's a local rule.
[1] https://www.uci.org/docs/default-source/rules-and-regulation...