r77758 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77757‎ | r77758 | r77759 >
Date:03:45, 5 December 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Added alias file
Modified paths:
  • /trunk/extensions/DSMW/DSMW.alias.php (added) (history)
  • /trunk/extensions/DSMW/DSMW.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DSMW/DSMW.alias.php
@@ -0,0 +1,25 @@
 2+<?php
 3+/**
 4+ * Aliases for the special pages of the DSMW extension.
 5+ *
 6+ * @file DSMW.alias.php
 7+ * @ingroup DSMW
 8+ *
 9+ * @author Jeroen De Dauw
 10+ */
 11+
 12+$specialPageAliases = array();
 13+
 14+/** English
 15+ * @author Jeroen De Dauw
 16+ */
 17+$specialPageAliases['en'] = array(
 18+ 'ArticleAdminPage' => array( 'ArticleAdminPage' ),
 19+ 'DSMWAdmin' => array( 'DSMWAdmin' ),
 20+ 'DSMWGeneralExhibits' => array( 'DSMWGeneralExhibits' ),
 21+);
 22+
 23+/**
 24+ * For backwards compatibility with MediaWiki 1.15 and earlier.
 25+ */
 26+$aliases =& $specialPageAliases;
\ No newline at end of file
Property changes on: trunk/extensions/DSMW/DSMW.alias.php
___________________________________________________________________
Added: svn:eol-style
127 + native
Index: trunk/extensions/DSMW/DSMW.php
@@ -53,6 +53,7 @@
5454 $wgAllowCopyUploads = true;
5555
5656 $wgExtensionMessagesFiles['DSMW'] = dirname( __FILE__ ) . '/DSMW.i18n.php';
 57+$wgExtensionAliasesFiles['DSMW'] = dirname( __FILE__ ) . '/DSMW.alias.php';
5758
5859 $wgHooks['UnknownAction'][] = 'DSMWHooks::onUnknownAction';
5960 $wgHooks['EditPage::attemptSave'][] = 'DSMWHooks::onAttemptSave';

Status & tagging log