mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 10:59:56 +00:00
b15455ec3d
Template names sometimes show up twice when searching for a template in the "Add a template" dialog. This is a bit hard to test. The code responsible for this is not in a single place. The feature is in the upstream TitleWidget class. It's not broken. It makes sense to provide e.g. "foo" and "Foo" as two separate options when the user typed "foo", but the page is named "Foo". Both are valid, and the feature allows the user to pick either. But the VE widget does it's own normalization. Both entries are normalized to "Foo". Both do the same. The additional one is pointless. You can try this on the actual enwiki: Open VE, insert a template, search for "Template:nHLE". Change-Id: I65e706c4d131a2f8c605d7979a02ea56f831bf03 |
||
---|---|---|
.. | ||
ve-mw | ||
ve-mw-collab |