Page MenuHomePhabricator

VisualEditor: Link dialog lies about existence of page due to case insensitive matching
Closed, ResolvedPublic

Description

If you have the [[Hands-on universe|Hands-On Universe]] link, it will report that Hands-On universe doesn't exist (which it does). This is probably because it matches on the different case: Hands-On Universe and then stops comparing.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=52596

Details

Reference
bz50898

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:54 AM
bzimport set Reference to bz50898.

Other examples: [[A]], [[B]], [[To]], [[Hi]]

(In reply to comment #1)

Other examples: [[A]], [[B]], [[To]], [[Hi]]

I filed this as bug 51013.

This also happens with redirects.
For example, [[Github]] is a redirect to [[GitHub]] but [[github]] is shown as not existing.

See attachment 13013 to bug 52251

  • Bug 52251 has been marked as a duplicate of this bug. ***

Forgot to add that redirects that differ other than by capitalisation are shown - e.g. [[Elizabeth II of the United Kingdom]], a redirect to [[Elizabeth II]], appears in the suggestions list.

Per discussion at Bug 52596 the presence of a redirect with a title of <=3 characters /may/ prevent an article with that title (but differently capitalised) appearing in the suggestions list.

For example the existence of the [[Fra]] redirect may be what is preventing the [[FRA]] article appearing in the list (something is, and the redirect is one theory).

This was fixed as part of the tweaks to the link inspector earlier this month.