r53117 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53116‎ | r53117 | r53118 >
Date:19:01, 11 July 2009
Author:ialex
Status:deferred
Tags:
Comment:
(bug 19626) fix RandomInCategory's case to match alias definition (was Randomincategory)
Modified paths:
  • /trunk/extensions/RandomInCategory/SpecialRandomincategory.body.php (modified) (history)
  • /trunk/extensions/RandomInCategory/SpecialRandomincategory.php (modified) (history)

Diff [purge]

Index: trunk/extensions/RandomInCategory/SpecialRandomincategory.body.php
@@ -9,7 +9,7 @@
1010 private $category = null;
1111
1212 function __construct() {
13 - SpecialPage::SpecialPage( 'Randomincategory' );
 13+ SpecialPage::SpecialPage( 'RandomInCategory' );
1414 }
1515
1616 function getDescription() {
Index: trunk/extensions/RandomInCategory/SpecialRandomincategory.php
@@ -25,5 +25,5 @@
2626 $wgExtensionMessagesFiles['RandomInCategory'] = $dir . 'SpecialRandomincategory.i18n.php';
2727 $wgExtensionAliasesFiles['RandomInCategory'] = $dir . 'SpecialRandomincategory.alias.php';
2828
29 -$wgSpecialPages['Randomincategory'] = 'RandomPageInCategory';
 29+$wgSpecialPages['RandomInCategory'] = 'RandomPageInCategory';
3030 $wgAutoloadClasses['RandomPageInCategory'] = $dir . 'SpecialRandomincategory.body.php';

Status & tagging log