Aude has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/105631


Change subject: Add special page aliases
......................................................................

Add special page aliases

Change-Id: Ifa6e87206612bd4d88c5fac96c2acd19271839df
---
A Randomrootpage.i18n.alias.php
M Randomrootpage.php
2 files changed, 18 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/RandomRootPage 
refs/changes/31/105631/1

diff --git a/Randomrootpage.i18n.alias.php b/Randomrootpage.i18n.alias.php
new file mode 100644
index 0000000..a5ff61f
--- /dev/null
+++ b/Randomrootpage.i18n.alias.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * Aliases for special pages of the RandomRootpage extension
+ *
+ * @file
+ * @ingroup Extensions
+ */
+// @codingStandardsIgnoreFile
+
+$specialPageAliases = array();
+
+/** English (English) */
+$specialPageAliases['en'] = array(
+       'Randomrootpage' => array( 'RandomRootpage' )
+);
diff --git a/Randomrootpage.php b/Randomrootpage.php
index 1e631c8..3d105fa 100644
--- a/Randomrootpage.php
+++ b/Randomrootpage.php
@@ -24,6 +24,9 @@
 $wgSpecialPageGroups['Randomrootpage'] = 'redirects';
 
 $dir = dirname(__FILE__) . '/';
+
 $wgExtensionMessagesFiles['Randomrootpage'] = $dir . 'Randomrootpage.i18n.php';
+$wgExtensionMessagesFiles['RandomrootpageAlias'] = $dir . 
'Randomrootpage.i18n.alias.php';
+
 $wgAutoloadClasses['SpecialRandomrootpage'] = $dir . 'Randomrootpage_body.php';
 

-- 
To view, visit https://gerrit.wikimedia.org/r/105631
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifa6e87206612bd4d88c5fac96c2acd19271839df
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/RandomRootPage
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to