r23098 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23097‎ | r23098 | r23099 >
Date:15:06, 19 June 2007
Author:robchurch
Status:old
Tags:
Comment:
* Support wiki text in all query page headers
* Add 'Orphanedpages' as an alias to Special:Lonelypages
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialBrokenRedirects.php (modified) (history)
  • /trunk/phase3/includes/SpecialDeadendpages.php (modified) (history)
  • /trunk/phase3/includes/SpecialDisambiguations.php (modified) (history)
  • /trunk/phase3/includes/SpecialDoubleRedirects.php (modified) (history)
  • /trunk/phase3/includes/SpecialLonelypages.php (modified) (history)
  • /trunk/phase3/includes/SpecialUnusedcategories.php (modified) (history)
  • /trunk/phase3/includes/SpecialUnusedtemplates.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialDisambiguations.php
@@ -15,8 +15,7 @@
1616
1717
1818 function getPageHeader( ) {
19 - global $wgOut;
20 - return $wgOut->parse( wfMsg( 'disambiguations-text' ) );
 19+ return wfMsgExt( 'disambiguations-text', array( 'parse' ) );
2120 }
2221
2322 function getSQL() {
Index: trunk/phase3/includes/SpecialLonelypages.php
@@ -15,7 +15,7 @@
1616 return "Lonelypages";
1717 }
1818 function getPageHeader() {
19 - return '<p>' . wfMsg('lonelypagestext') . '</p>';
 19+ return wfMsgExt( 'lonelypagestext', array( 'parse' ) );
2020 }
2121
2222 function sortDescending() {
Index: trunk/phase3/includes/SpecialUnusedcategories.php
@@ -15,7 +15,7 @@
1616 }
1717
1818 function getPageHeader() {
19 - return '<p>' . wfMsg('unusedcategoriestext') . '</p>';
 19+ return wfMsgExt( 'unusedcategoriestext', array( 'parse' ) );
2020 }
2121
2222 function getSQL() {
Index: trunk/phase3/includes/SpecialDoubleRedirects.php
@@ -19,8 +19,7 @@
2020 function isSyndicated() { return false; }
2121
2222 function getPageHeader( ) {
23 - #FIXME : probably need to add a backlink to the maintenance page.
24 - return '<p>'.wfMsg("doubleredirectstext")."</p><br />\n";
 23+ return wfMsgExt( 'doubleredirectstext', array( 'parse' ) );
2524 }
2625
2726 function getSQLText( &$dbr, $namespace = null, $title = null ) {
Index: trunk/phase3/includes/SpecialBrokenRedirects.php
@@ -20,8 +20,7 @@
2121 function isSyndicated() { return false; }
2222
2323 function getPageHeader( ) {
24 - global $wgOut;
25 - return $wgOut->parse( wfMsg( 'brokenredirectstext' ) );
 24+ return wfMsgExt( 'brokenredirectstext', array( 'parse' ) );
2625 }
2726
2827 function getSQL() {
Index: trunk/phase3/includes/SpecialUnusedtemplates.php
@@ -37,8 +37,7 @@
3838 }
3939
4040 function getPageHeader() {
41 - global $wgOut;
42 - return $wgOut->parse( wfMsg( 'unusedtemplatestext' ) );
 41+ return wfMsgExt( 'unusedtemplatestext', array( 'parse' ) );
4342 }
4443
4544 }
Index: trunk/phase3/includes/SpecialDeadendpages.php
@@ -15,7 +15,7 @@
1616 }
1717
1818 function getPageHeader() {
19 - return '<p>' . wfMsg('deadendpagestext') . '</p>';
 19+ return wfMsgExt( 'deadendpagestext', array( 'parse' ) );
2020 }
2121
2222 /**
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -364,7 +364,7 @@
365365 'Listusers' => array( 'Listusers', 'Userlist' ),
366366 'Statistics' => array( 'Statistics' ),
367367 'Randompage' => array( 'Random', 'Randompage' ),
368 - 'Lonelypages' => array( 'Lonelypages' ),
 368+ 'Lonelypages' => array( 'Lonelypages', 'Orphanedpages' ),
369369 'Uncategorizedpages' => array( 'Uncategorizedpages' ),
370370 'Uncategorizedcategories' => array( 'Uncategorizedcategories' ),
371371 'Uncategorizedimages' => array( 'Uncategorizedimages' ),
Index: trunk/phase3/RELEASE-NOTES
@@ -87,7 +87,8 @@
8888 * On reupload, add a null revision to the image description page
8989 * Group log output by date
9090 * Kurdish interface latin/arabic writing system with transliteration
91 -* Allow wikilinks in header of Special:Withoutinterwiki
 91+* Support wiki text in all query page headers
 92+* Add 'Orphanedpages' as an alias to Special:Lonelypages
9293
9394 == Bugfixes since 1.10 ==
9495

Follow-up revisions

RevisionCommit summaryAuthorDate
r23104Merged revisions 23087-23102 via svnmerge from...david21:40, 19 June 2007

Status & tagging log