r53387 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53386‎ | r53387 | r53388 >
Date:00:23, 17 July 2009
Author:mrzman
Status:deferred
Tags:
Comment:
Tweak special page group, but make it unlisted for now
Modified paths:
  • /trunk/extensions/IndexFunction/IndexFunction.php (modified) (history)
  • /trunk/extensions/IndexFunction/SpecialIndex.php (modified) (history)

Diff [purge]

Index: trunk/extensions/IndexFunction/IndexFunction.php
@@ -33,7 +33,7 @@
3434
3535 # Setup the special page
3636 $wgSpecialPages['Index'] = 'SpecialIndex';
37 -$wgSpecialPageGroups['Index'] = 'maintenance';
 37+$wgSpecialPageGroups['Index'] = 'pages';
3838 $wgExtensionAliasesFiles['IndexFunction'] = $dir . 'IndexFunction.alias.php';
3939 $wgAutoloadClasses['SpecialIndex'] = $dir . 'SpecialIndex.php';
4040
Index: trunk/extensions/IndexFunction/SpecialIndex.php
@@ -1,6 +1,6 @@
22 <?php
33
4 -class SpecialIndex extends SpecialPage {
 4+class SpecialIndex extends UnlistedSpecialPage {
55 function __construct() {
66 parent::__construct( 'Index' );
77 wfLoadExtensionMessages('IndexFunction');

Status & tagging log