r51786 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51785‎ | r51786 | r51787 >
Date:10:26, 12 June 2009
Author:ialex
Status:ok
Tags:
Comment:
Consistent casing beetween $wgSpecialPages definition and alias list so that it doesn't throw "E_NOTICE: Found Stalepages for StalePages with casefix" (same for NewestPages) when linking to them
Modified paths:
  • /trunk/extensions/NewestPages/NewestPages.php (modified) (history)
  • /trunk/extensions/StalePages/StalePages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/NewestPages/NewestPages.php
@@ -28,4 +28,4 @@
2929 $wgExtensionMessagesFiles['NewestPages'] = $dir . 'NewestPages.i18n.php';
3030 $wgExtensionAliasesFiles['NewestPages'] = $dir . 'NewestPages.alias.php';
3131 $wgAutoloadClasses['NewestPages'] = $dir . 'NewestPages.page.php';
32 -$wgSpecialPages['Newestpages'] = 'NewestPages';
 32+$wgSpecialPages['NewestPages'] = 'NewestPages';
Index: trunk/extensions/StalePages/StalePages.php
@@ -23,7 +23,7 @@
2424 $wgExtensionMessagesFiles['Stalepages'] = $dir . 'StalePages.i18n.php';
2525 $wgExtensionAliasesFiles['Stalepages'] = $dir . 'Stalepages.alias.php';
2626 $wgAutoloadClasses['Stalepages'] = $dir . 'StalePages_body.php';
27 -$wgSpecialPages['Stalepages'] = 'Stalepages';
 27+$wgSpecialPages['StalePages'] = 'Stalepages';
2828
2929 // If the last revision of a page is older than this number of days,
3030 // it will appear on Special:Stalepages

Follow-up revisions

RevisionCommit summaryAuthorDate
r61645Same as r51786; seems that didn't fix the problem entirelyialex21:48, 28 January 2010

Status & tagging log