<?php
+/**
+ *
+ * @package MediaWiki
+ * @subpackage SpecialPage
+ */
+/**
+ *
+ */
require_once('QueryPage.php');
+/**
+ *
+ * @package MediaWiki
+ * @subpackage SpecialPage
+ */
class DisambiguationsPage extends PageQueryPage {
function getName() {
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() {
}
}
+/**
+ * Constructor
+ */
function wfSpecialDisambiguations() {
list( $limit, $offset ) = wfCheckLimits();