Last modified: 2014-04-03 16:36:11 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 T22097, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20097 - TitleKey should drop special characters, like diacritics
TitleKey should drop special characters, like diacritics
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
TitleKey (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Brion Vibber
:
Depends on: 19882
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-06 19:58 UTC by Platonides
Modified: 2014-04-03 16:36 UTC (History)
8 users (show)

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


Attachments

Description Platonides 2009-08-06 19:58:15 UTC
+++ This bug is a superset of Bug #19882 +++

TitleKey does a normalization for titles comparing just their uppercase values (Language::caseFold).
However, there're also many redirects done just for making users arrive at the page with the diacritics from an ASCII title.

The steps to take would be like these:
*Create a normalizing function at Language.
*Make TitleKey::normalize use it before caseFolding.
*Add some basic scoring to TitleKey::exactMatch instead of just returning the frst one, since the options are now much larger.
*Add a hook to also plug it into MediaWiki:Noarticletext
Comment 1 Brion Vibber 2009-08-06 20:50:17 UTC
Scoring could indeed be interesting... certainly we want a "more exact" match before a "less exact" one, especially for languages where diacritics and such frequently distinguish between minimal pairs.
Comment 2 Siebrand Mazeland 2010-02-15 10:27:14 UTC
Update component, assign to maintainer.

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


Navigation
Links