Page MenuHomePhabricator

LinkHandler doesn't understand $wgCapitalLinks
Closed, ResolvedPublic

Description

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


Version: unspecified
Severity: enhancement

Details

Reference
bz42122