Create special page aliases file

I was getting notices like this when browsing to Special:Notifications:
"Did not find alias for special page 'Notifications'. Perhaps no aliases are defined for it?"

This changeset should fix it. (Thanks Reedy)

Change-Id: I4ec41a4c37ef13bc332ed6ee2848fa72641c1892
This commit is contained in:
Krenair 2012-10-23 23:37:22 +01:00
parent 5bf61444bc
commit 883a0e5cee
2 changed files with 16 additions and 0 deletions

15
Echo.alias.php Normal file
View file

@ -0,0 +1,15 @@
<?php
/**
* Aliases for special pages for extension Echo
*
* @file
* @ingroup Extensions
*/
$specialPageAliases = array();
/** English (English) */
$specialPageAliases['en'] = array(
'Notifications' => array( 'Notifications' )
);

View file

@ -44,6 +44,7 @@ $wgExtensionCredits['specialpage'][] = array(
$dir = dirname( __FILE__ ) . '/';
$wgExtensionMessagesFiles['Echo'] = $dir . 'Echo.i18n.php';
$wgExtensionMessagesFiles['EchoAliases'] = $dir . 'Echo.alias.php';
$wgAutoloadClasses['EchoHooks'] = "$dir/Hooks.php";
$wgAutoloadClasses['EchoSubscription'] = "$dir/model/Subscription.php";