* Support wiki text in all query page headers
authorRob Church <robchurch@users.mediawiki.org>
Tue, 19 Jun 2007 15:06:15 +0000 (15:06 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Tue, 19 Jun 2007 15:06:15 +0000 (15:06 +0000)
* Add 'Orphanedpages' as an alias to Special:Lonelypages

RELEASE-NOTES
includes/SpecialBrokenRedirects.php
includes/SpecialDeadendpages.php
includes/SpecialDisambiguations.php
includes/SpecialDoubleRedirects.php
includes/SpecialLonelypages.php
includes/SpecialUnusedcategories.php
includes/SpecialUnusedtemplates.php
languages/messages/MessagesEn.php

index 9ce5fb0..cc97ddb 100644 (file)
@@ -87,7 +87,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * On reupload, add a null revision to the image description page
 * Group log output by date
 * Kurdish interface latin/arabic writing system with transliteration
-* Allow wikilinks in header of Special:Withoutinterwiki
+* Support wiki text in all query page headers
+* Add 'Orphanedpages' as an alias to Special:Lonelypages
 
 == Bugfixes since 1.10 ==
 
index 208a7e1..851ff0a 100644 (file)
@@ -20,8 +20,7 @@ class BrokenRedirectsPage extends PageQueryPage {
        function isSyndicated() { return false; }
 
        function getPageHeader( ) {
-               global $wgOut;
-               return $wgOut->parse( wfMsg( 'brokenredirectstext' ) );
+               return wfMsgExt( 'brokenredirectstext', array( 'parse' ) );
        }
 
        function getSQL() {
index 48d27ad..296c8e8 100644 (file)
@@ -15,7 +15,7 @@ class DeadendPagesPage extends PageQueryPage {
        }
 
        function getPageHeader() {
-               return '<p>' . wfMsg('deadendpagestext') . '</p>';
+               return wfMsgExt( 'deadendpagestext', array( 'parse' ) );
        }
 
        /**
index da0562a..52e7045 100644 (file)
@@ -15,8 +15,7 @@ class DisambiguationsPage extends PageQueryPage {
 
 
        function getPageHeader( ) {
-               global $wgOut;
-               return $wgOut->parse( wfMsg( 'disambiguations-text' ) );
+               return wfMsgExt( 'disambiguations-text', array( 'parse' ) );
        }
 
        function getSQL() {
index e7b355c..553daa9 100644 (file)
@@ -19,8 +19,7 @@ class DoubleRedirectsPage extends PageQueryPage {
        function isSyndicated() { return false; }
 
        function getPageHeader( ) {
-               #FIXME : probably need to add a backlink to the maintenance page.
-               return '<p>'.wfMsg("doubleredirectstext")."</p><br />\n";
+               return wfMsgExt( 'doubleredirectstext', array( 'parse' ) );
        }
 
        function getSQLText( &$dbr, $namespace = null, $title = null ) {
index 430af7a..01e3277 100644 (file)
@@ -15,7 +15,7 @@ class LonelyPagesPage extends PageQueryPage {
                return "Lonelypages";
        }
        function getPageHeader() {
-               return '<p>' . wfMsg('lonelypagestext') . '</p>';
+               return wfMsgExt( 'lonelypagestext', array( 'parse' ) );
        }
 
        function sortDescending() {
index 5cd3406..3ec23f5 100644 (file)
@@ -15,7 +15,7 @@ class UnusedCategoriesPage extends QueryPage {
        }
 
        function getPageHeader() {
-               return '<p>' . wfMsg('unusedcategoriestext') . '</p>';
+               return wfMsgExt( 'unusedcategoriestext', array( 'parse' ) );
        }
 
        function getSQL() {
index 8b72e8a..26bf48c 100644 (file)
@@ -37,8 +37,7 @@ class UnusedtemplatesPage extends QueryPage {
        }
 
        function getPageHeader() {
-               global $wgOut;
-               return $wgOut->parse( wfMsg( 'unusedtemplatestext' ) );
+               return wfMsgExt( 'unusedtemplatestext', array( 'parse' ) );
        }
 
 }
index 711dc01..cc9ff67 100644 (file)
@@ -364,7 +364,7 @@ $specialPageAliases = array(
        'Listusers'                 => array( 'Listusers', 'Userlist' ),
        'Statistics'                => array( 'Statistics' ),
        'Randompage'                => array( 'Random', 'Randompage' ),
-       'Lonelypages'               => array( 'Lonelypages' ),
+       'Lonelypages'               => array( 'Lonelypages', 'Orphanedpages' ),
        'Uncategorizedpages'        => array( 'Uncategorizedpages' ),
        'Uncategorizedcategories'   => array( 'Uncategorizedcategories' ),
        'Uncategorizedimages'       => array( 'Uncategorizedimages' ),