Make linkshere-related messages backward compatible
authorDaimona Eaytoy <daimona.wiki@gmail.com>
Wed, 30 May 2018 15:16:36 +0000 (17:16 +0200)
committerDaimona Eaytoy <daimona.wiki@gmail.com>
Thu, 31 May 2018 10:29:06 +0000 (12:29 +0200)
commit1f017f292a3fccae4dae9a509f3c8a9773cd0325
treef9ed75eaa00b7fe5fce2bc8583a6e0a31d791f11
parente3e6be734f8cac8bce7cff7cde86a920b7ca0fb1
Make linkshere-related messages backward compatible

With I11e663cbce32b4199f16df6ed1e9b980630ece7a we changed message
parsing and message name, which broke some customized messages where $1
was used for various purposed as the page title. This patch shifts
message parameters so to still pass plain title as $1 while keeping HTML
link as $2. This won't change parsing method (still HTML since we use an
HTML link), nor message key (still with "-2") due to different parsing
method.

Bug: T189860
Change-Id: I68a8639a61237c67deb61aefd5360dea3cced6cd
includes/specials/SpecialWhatlinkshere.php
languages/i18n/en.json
languages/i18n/qqq.json