From 883a0e5cee9fc7537fa5513cc8951a98f588158e Mon Sep 17 00:00:00 2001 From: Krenair Date: Tue, 23 Oct 2012 23:37:22 +0100 Subject: [PATCH] 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 --- Echo.alias.php | 15 +++++++++++++++ Echo.php | 1 + 2 files changed, 16 insertions(+) create mode 100644 Echo.alias.php diff --git a/Echo.alias.php b/Echo.alias.php new file mode 100644 index 000000000..add15d87d --- /dev/null +++ b/Echo.alias.php @@ -0,0 +1,15 @@ + array( 'Notifications' ) +); + diff --git a/Echo.php b/Echo.php index 8dfb96cb8..969010c05 100644 --- a/Echo.php +++ b/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";