Last modified: 2013-05-22 00:38:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50476, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48476 - VisualEditor: MWLinkTargetInputWidget should grok case sensitivity of suggested page title vs. the inputed text
VisualEditor: MWLinkTargetInputWidget should grok case sensitivity of suggest...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: High major
: VE-deploy-2013-05-27
Assigned To: Krinkle
:
: 48433 (view as bug list)
Depends on:
Blocks: 48426
  Show dependency treegraph
 
Reported: 2013-05-14 23:16 UTC by Krinkle
Modified: 2013-05-22 00:38 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot of problem (41.61 KB, image/png)
2013-05-14 23:16 UTC, Krinkle
Details

Description Krinkle 2013-05-14 23:16:42 UTC
Created attachment 12316 [details]
Screenshot of problem

Scenario:
* Document contains " ... esams ... "
* Wiki has a page called "Esams".
* Wiki does not have case-sensitive first character in the main namespace.
* Select "esams" and turn it into a link
* UI shows:
  [ esams            ]
  New page:
    <redlink> esams
  Matching page:
    Esams
    Esams cluster
    Esams patches

That first redlink is incorrect, it should show the same as when the input is "Esams" (with capital E), namely no "redlink" since the first match is in fact the input.

It needs to account for the $wgCapitalLinkOverrides and $wgCapitalLinkOverrides configuration etc. This is abstracted in PHP by MWNamespace::isCapitalized, which is exposed in javascript as 'wgCaseSensitiveNamespaces' in mw.config.
Comment 1 James Forrester 2013-05-16 16:14:28 UTC
*** Bug 48433 has been marked as a duplicate of this bug. ***
Comment 2 Krinkle 2013-05-21 22:17:01 UTC
Basically any normalisation causes this bug.

also things like user:krinkle -> User:Krinkle, and localized namespaces and alias namespaces (Image>File).
Comment 3 Gerrit Notification Bot 2013-05-21 22:20:48 UTC
Related URL: https://gerrit.wikimedia.org/r/64867 (Gerrit Change I66f5fc56554984af58d6223dc6cd76b3ab9940bd)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links