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 |
1 | 27 | + native |
Index: trunk/extensions/DSMW/DSMW.php |
— | — | @@ -53,6 +53,7 @@ |
54 | 54 | $wgAllowCopyUploads = true; |
55 | 55 | |
56 | 56 | $wgExtensionMessagesFiles['DSMW'] = dirname( __FILE__ ) . '/DSMW.i18n.php'; |
| 57 | +$wgExtensionAliasesFiles['DSMW'] = dirname( __FILE__ ) . '/DSMW.alias.php'; |
57 | 58 | |
58 | 59 | $wgHooks['UnknownAction'][] = 'DSMWHooks::onUnknownAction'; |
59 | 60 | $wgHooks['EditPage::attemptSave'][] = 'DSMWHooks::onAttemptSave'; |