From: Antoine Musso Date: Sat, 21 Aug 2004 22:11:50 +0000 (+0000) Subject: Make a link to wfMsg('disambiguationspage') X-Git-Tag: 1.5.0alpha1~2264 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=44ab7947d39f1fd351359f61be0a2aa3dc939638;p=lhc%2Fweb%2Fwiklou.git Make a link to wfMsg('disambiguationspage') --- diff --git a/includes/SpecialDisambiguations.php b/includes/SpecialDisambiguations.php index b0a28bad60..04f56ca53b 100644 --- a/includes/SpecialDisambiguations.php +++ b/includes/SpecialDisambiguations.php @@ -11,8 +11,11 @@ class DisambiguationsPage extends PageQueryPage { function isExpensive( ) { return true; } function getPageHeader( ) { + global $wgUser; + $sk = $wgUser->getSkin(); + #FIXME : probably need to add a backlink to the maintenance page. - return '

'.wfMsg("disambiguationstext", wfMsg("disambiguationspage"))."


\n"; + return '

'.wfMsg("disambiguationstext", $sk->makeKnownLink(wfMsg('disambiguationspage')) )."


\n"; } function getSQL() {