r53215 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53214‎ | r53215 | r53216 >
Date:08:32, 14 July 2009
Author:raymond
Status:deferred
Tags:
Comment:
* Add special page group
* Add special page alias file
Modified paths:
  • /trunk/extensions/IndexFunction/IndexFunction.alias.php (added) (history)
  • /trunk/extensions/IndexFunction/IndexFunction.php (modified) (history)

Diff [purge]

Index: trunk/extensions/IndexFunction/IndexFunction.php
@@ -33,6 +33,8 @@
3434
3535 # Setup the special page
3636 $wgSpecialPages['Index'] = 'SpecialIndex';
 37+$wgSpecialPageGroups['Index'] = 'maintenance';
 38+$wgExtensionAliasesFiles['IndexFunction'] = $dir . 'IndexFunction.alias.php';
3739 $wgAutoloadClasses['SpecialIndex'] = $dir . 'SpecialIndex.php';
3840
3941 $wgExtensionMessagesFiles['IndexFunction'] = $dir . 'IndexFunction.i18n.php';
Index: trunk/extensions/IndexFunction/IndexFunction.alias.php
@@ -0,0 +1,15 @@
 2+<?php
 3+/**
 4+ * Aliases for special pages
 5+ *
 6+ * @file
 7+ * @ingroup Extensions
 8+ */
 9+
 10+$aliases = array();
 11+
 12+/** English */
 13+$aliases['en'] = array(
 14+ 'Index' => array( 'Index' ),
 15+);
 16+
Property changes on: trunk/extensions/IndexFunction/IndexFunction.alias.php
___________________________________________________________________
Name: svn:eol-style
117 + native

Status & tagging log