Stop loading feed.php every time by moving available feeds classes in defines.php...
[lhc/web/wiklou.git] / includes / SpecialDisambiguations.php
index b0a28ba..b3a3ab8 100644 (file)
@@ -1,7 +1,20 @@
 <?php
+/**
+ *
+ * @package MediaWiki
+ * @subpackage SpecialPage
+ */
 
+/**
+ *
+ */
 require_once('QueryPage.php');
 
+/**
+ *
+ * @package MediaWiki
+ * @subpackage SpecialPage
+ */
 class DisambiguationsPage extends PageQueryPage {
 
        function getName() {
@@ -11,8 +24,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() {
@@ -49,6 +65,9 @@ class DisambiguationsPage extends PageQueryPage {
        }
 }
 
+/**
+ * Constructor
+ */
 function wfSpecialDisambiguations() {
        list( $limit, $offset ) = wfCheckLimits();