HomePhabricator

mediawiki.jqueryMsg: Strip leading colon in wikilinks

Description

mediawiki.jqueryMsg: Strip leading colon in wikilinks

Strip leading ':', which is used to suppress special behavior in
wikitext links, e.g. [[:Category:Foo]] or [[:File:Foo.jpg]].

Also added tests for empty wikilinks.

Bug: T114130
Change-Id: Idc78310d6106c2badc0fde933f901d672556ab26

Details

Provenance
matmarexAuthored on
Parents
rMWf0b51b42007d: Merge "API: Add ApiQueryAllRevisions"
Branches
Unknown
Tags
Unknown
ChangeId
Idc78310d6106c2badc0fde933f901d672556ab26