mediawiki-extensions-Visual.../modules/ve-mw
Thiemo Kreuz b15455ec3d Fix duplication bug in MWTemplateTitleInputWidget
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
2021-05-21 11:43:31 +00:00
..
ce Make convert to wikitext on paste feature configurable (temporarily) 2021-05-03 21:16:54 +00:00
dm Support isEmpty on transclusion dialog elements 2021-05-17 13:26:11 +02:00
init Add mw-body-content to surface element 2021-05-17 19:06:54 +00:00
preinit Merge "Remove obsolete vendor prefixed properties" 2021-05-18 01:25:08 +00:00
tests Merge "Use standard search API when searching for templates" 2021-05-03 08:12:35 +00:00
themes
ui Fix duplication bug in MWTemplateTitleInputWidget 2021-05-21 11:43:31 +00:00