mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-11 17:00:10 +00:00
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:
parent
5bf61444bc
commit
883a0e5cee
15
Echo.alias.php
Normal file
15
Echo.alias.php
Normal 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' )
|
||||
);
|
||||
|
1
Echo.php
1
Echo.php
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue