r50953 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50952‎ | r50953 | r50954 >
Date:09:20, 24 May 2009
Author:siebrand
Status:ok
Tags:
Comment:
Add special page aliases
Modified paths:
  • /trunk/extensions/ConfirmEdit/ConfirmEdit.alias.php (added) (history)
  • /trunk/extensions/ConfirmEdit/ConfirmEdit.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmEdit/ConfirmEdit.alias.php
@@ -0,0 +1,14 @@
 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+ 'Captcha' => array( 'Captcha' ),
 15+);
Property changes on: trunk/extensions/ConfirmEdit/ConfirmEdit.alias.php
___________________________________________________________________
Name: svn:eol-style
116 + native
Name: svn:keywords
217 + Id
Index: trunk/extensions/ConfirmEdit/ConfirmEdit.php
@@ -179,6 +179,7 @@
180180
181181 $wgConfirmEditIP = dirname( __FILE__ );
182182 $wgExtensionMessagesFiles['ConfirmEdit'] = "$wgConfirmEditIP/ConfirmEdit.i18n.php";
 183+$wgExtensionAliasesFiles['ConfirmEdit'] = "$wgConfirmEditIP/ConfirmEdit.alias.php";
183184
184185 if ( defined( 'MW_SUPPORTS_EDITFILTERMERGED' ) ) {
185186 $wgHooks['EditFilterMerged'][] = 'ConfirmEditHooks::confirmEditMerged';

Status & tagging log