r73324 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73323‎ | r73324 | r73325 >
Date:15:10, 19 September 2010
Author:siebrand
Status:deferred
Tags:
Comment:
Use $specialPageAliases and keep backwards compatibility with MediaWiki 1.15 and earlier.
Modified paths:
  • /trunk/extensions/PackageForce/PackageForce.alias.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PackageForce/PackageForce.alias.php
@@ -1,8 +1,19 @@
22 <?php
3 -$aliases = array();
4 -
5 -/** English */
6 -$aliases['en'] = array(
7 - 'PackageForce' => array( 'PackageForce' ),
8 - 'PackageForceAdmin' => array( 'PackageForceAdmin' ),
 3+/**
 4+ * Aliases for special pages
 5+ *
 6+ * @file
 7+ * @ingroup Extensions
 8+ */
 9+
 10+$specialPageAliases = array();
 11+
 12+/** English (English) */
 13+ 'PackageForce' => array( 'PackageForce' ),
 14+ 'PackageForceAdmin' => array( 'PackageForceAdmin' ),
915 );
 16+
 17+/**
 18+ * For backwards compatibility with MediaWiki 1.15 and earlier.
 19+ */
 20+$aliases =& $specialPageAliases;
\ No newline at end of file

Follow-up revisions

RevisionCommit summaryAuthorDate
r73328Fix syntax error in r73324.siebrand15:23, 19 September 2010

Status & tagging log