https://bugzilla.wikimedia.org/show_bug.cgi?id=20097

           Summary: TitleKey should drop special characters, like diacritics
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: [other]
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected], [email protected], b-
                    [email protected]
        Depends on: 19882


+++ 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


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to