MegaAlex has uploaded a new change for review. https://gerrit.wikimedia.org/r/149848
Change subject: Add aliases file for Special:TwoFactorAuth ...................................................................... Add aliases file for Special:TwoFactorAuth Bug: 68698 Change-Id: I37eb96a6f5a74fcb72518a009f0a544edeb14647 --- A TwoFactorAuth.alias.php M TwoFactorAuth.php 2 files changed, 15 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TwoFactorAuthentication refs/changes/48/149848/1 diff --git a/TwoFactorAuth.alias.php b/TwoFactorAuth.alias.php new file mode 100644 index 0000000..00ff14c --- /dev/null +++ b/TwoFactorAuth.alias.php @@ -0,0 +1,14 @@ +<?php +/** + * Aliases for Special:TwoFactorAuth + * + * @file + * @ingroup Extensions + */ + +$specialPageAliases = array(); + +/** English (English) */ +$specialPageAliases[ 'en' ] = array( + 'TwoFactorAuth' => array( 'TwoFactorAuth' ), +); diff --git a/TwoFactorAuth.php b/TwoFactorAuth.php index 779fc26..4b30c20 100644 --- a/TwoFactorAuth.php +++ b/TwoFactorAuth.php @@ -56,6 +56,7 @@ $wgMessagesDirs['TwoFactorAuth'] = __DIR__ . '/i18n'; $wgExtensionMessagesFiles['TwoFactorAuth'] = __DIR__ . '/TwoFactorAuth.i18n.php'; +$wgExtensionMessagesFiles[ 'TwoFactorAuthAlias' ] = __DIR__ . '/TwoFactorAuth.alias.php'; $wgSpecialPages['TwoFactorAuth'] = 'SpecialTwoFactorAuth'; $wgResourceModules['ext.twofactorauth'] = array( -- To view, visit https://gerrit.wikimedia.org/r/149848 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I37eb96a6f5a74fcb72518a009f0a544edeb14647 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/TwoFactorAuthentication Gerrit-Branch: master Gerrit-Owner: MegaAlex <alexivano...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits