jenkins-bot has submitted this change and it was merged. 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(-) Approvals: Siebrand: Looks good to me, approved jenkins-bot: Verified 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: merged Gerrit-Change-Id: Ifa6e87206612bd4d88c5fac96c2acd19271839df Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/RandomRootPage Gerrit-Branch: master Gerrit-Owner: Aude <[email protected]> Gerrit-Reviewer: Siebrand <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
