Make a link to wfMsg('disambiguationspage')
authorAntoine Musso <hashar@users.mediawiki.org>
Sat, 21 Aug 2004 22:11:50 +0000 (22:11 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sat, 21 Aug 2004 22:11:50 +0000 (22:11 +0000)
includes/SpecialDisambiguations.php

index b0a28ba..04f56ca 100644 (file)
@@ -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 '<p>'.wfMsg("disambiguationstext", wfMsg("disambiguationspage"))."</p><br>\n";
+               return '<p>'.wfMsg("disambiguationstext", $sk->makeKnownLink(wfMsg('disambiguationspage')) )."</p><br>\n";
        }
 
        function getSQL() {