Raimond Spekking has uploaded a new change for review. https://gerrit.wikimedia.org/r/121947
Change subject: Add special page alias file ...................................................................... Add special page alias file Change-Id: I66eff4ffbb8c917793d353b9d322cf0b61da4929 --- A NukeDPL.alias.php M NukeDPL.php 2 files changed, 17 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/NukeDPL refs/changes/47/121947/1 diff --git a/NukeDPL.alias.php b/NukeDPL.alias.php new file mode 100644 index 0000000..480ba2f --- /dev/null +++ b/NukeDPL.alias.php @@ -0,0 +1,14 @@ +<?php +/** + * Aliases for special pages + * + * @file + * @ingroup Extensions + */ + +$specialPageAliases = array(); + +/** English (English) */ +$specialPageAliases['en'] = array( + 'NukeDPL' => array( 'NukeDPL', 'Nuke DPL' ), +); diff --git a/NukeDPL.php b/NukeDPL.php index bf1f8d0..daaa91e 100644 --- a/NukeDPL.php +++ b/NukeDPL.php @@ -1,6 +1,7 @@ <?php $wgExtensionCredits['specialpage'][] = array( + 'path' => __FILE__, 'name' => 'NukeDPL', 'author' => array( '[[User:Nad|Nad]]', '[[User:Luis Felipe Schenone|LFS]]' ), 'version' => 1.3, @@ -17,6 +18,8 @@ $wgSpecialPageGroups['NukeDPL'] = 'pagetools'; $wgExtensionMessagesFiles['NukeDPL'] = __DIR__ . '/NukeDPL.i18n.php'; +$wgExtensionMessagesFiles['NukeDPLAliases'] = __DIR__ . '/NukeDPL.alias.php'; +$wgSpecialPageGroups['NukeDPL'] = 'pagetools'; $wgAutoloadClasses['SpecialNukeDPL'] = __DIR__ . '/SpecialNukeDPL.php'; -- To view, visit https://gerrit.wikimedia.org/r/121947 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I66eff4ffbb8c917793d353b9d322cf0b61da4929 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/NukeDPL Gerrit-Branch: master Gerrit-Owner: Raimond Spekking <raimond.spekk...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits