r52223 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52222‎ | r52223 | r52224 >
Date:23:12, 20 June 2009
Author:siebrand
Status:deferred
Tags:
Comment:
* special page from 'OptIn' to 'UsabilityInitiativeOptIn'
* allow localisation of special page
* add special page to group wiki
* bump version
Modified paths:
  • /trunk/extensions/UsabilityInitiative/OptIn/OptIn.alias.php (added) (history)
  • /trunk/extensions/UsabilityInitiative/OptIn/OptIn.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/OptIn/OptIn.php
@@ -72,7 +72,7 @@
7373 'path' => __FILE__,
7474 'name' => 'OptIn',
7575 'author' => 'Roan Kattouw',
76 - 'version' => '0.1.1',
 76+ 'version' => '0.1.2',
7777 'url' => 'http://www.mediawiki.org/wiki/Extension:UsabilityInitiative',
7878 'descriptionmsg' => 'optin-desc',
7979 );
@@ -86,7 +86,10 @@
8787 // Adds Internationalized Messages
8888 $wgExtensionMessagesFiles['OptIn'] =
8989 dirname( __FILE__ ) . '/OptIn.i18n.php';
 90+$wgExtensionAliasesFiles['OptIn'] =
 91+ dirname( __FILE__ ) . '/OptIn.alias.php';
9092
9193 $wgSpecialPages['OptIn'] = 'SpecialOptIn';
 94+$wgSpecialPageGroups['OptIn'] = 'wiki';
9295
9396 $wgHooks['LoadExtensionSchemaUpdates'][] = 'OptInHooks::schema';
Index: trunk/extensions/UsabilityInitiative/OptIn/OptIn.alias.php
@@ -0,0 +1,11 @@
 2+<?php
 3+/**
 4+ * Aliases for special pages
 5+ *
 6+ */
 7+
 8+$aliases = array();
 9+
 10+$aliases['en'] = array(
 11+ 'OptIn' => array( 'UsabilityInitiativeOptIn' ),
 12+);
Property changes on: trunk/extensions/UsabilityInitiative/OptIn/OptIn.alias.php
___________________________________________________________________
Name: svn:eol-style
113 + native
Name: svn:keywords
214 + Id

Status & tagging log