Fix edit link for messages in $wgForceUIMsgAsContentMsg
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 13 Dec 2014 19:55:13 +0000 (20:55 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Fri, 15 May 2015 18:38:32 +0000 (20:38 +0200)
commite51eaf619fb15521f84e35f1a64e66aa38e63106
treec64153477688f5ee55703eed8e8faa853ce9f321
parentebb5b33747a713b5de7ed644d9c1f03f5bab630b
Fix edit link for messages in $wgForceUIMsgAsContentMsg

Some special pages or actions have a link for users with editinterface
rights to edit the message used in scroll down menu.
When the message is parsed for the scroll down menu the config
$wgForceUIMsgAsContentMsg is used, but that was not used for the edit
link.

Add a new function Message::getTitle and use it in all places in core.

Most benefit will have the edit link for MediaWiki:Licenses on
Special:Upload, because commons.wikimedia.org has that message in
$wgForceUIMsgAsContentMsg.

Change-Id: Ib800b9adcc9ae88ef53228b66838bf61d2065f0f
includes/FileDeleteForm.php
includes/Message.php
includes/ProtectionForm.php
includes/page/Article.php
includes/specials/SpecialBlock.php
includes/specials/SpecialRevisiondelete.php
includes/specials/SpecialTags.php
includes/specials/SpecialUpload.php