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

       Web browser: ---
             Bug #: 42122
           Summary: LinkHandler doesn't understand $wgCapitalLinks
           Product: Parsoid
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JS/token-stream transforms
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---


There are a lot of things that Parsoid doesn't support, but MediaWiki does. One
of those things is $wgCapitalLinks [0].

It allows for two different [1] pages [2] to be linked as the same characters
with a different first-letter capitalization. This is important for some wikis.

Simple solution: Add a configuration variable, and use it to support this
option in Parsoid. Look in js/lib/ext.core.LinkHandler.js for the best place to
add it.

There is also $wgCapitalLinkOverrides [3], but you may rightly want to support
that in a different patch.

[0] https://www.mediawiki.org/wiki/Manual:$wgCapitalLinks
[1] https://en.wiktionary.org/wiki/word
[2] https://en.wiktionary.org/wiki/Word
[3] https://www.mediawiki.org/wiki/Manual:$wgCapitalLinkOverrides

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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