jenkins-bot has submitted this change and it was merged. Change subject: SpecialResetTokens: Switch to OOUI form ......................................................................
SpecialResetTokens: Switch to OOUI form Pretty! Change-Id: I30d401cc7c827b21eb2fb116558d0d9e764ec1f3 --- M includes/specials/SpecialResetTokens.php M languages/i18n/en.json M languages/i18n/qqq.json 3 files changed, 4 insertions(+), 2 deletions(-) Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/specials/SpecialResetTokens.php b/includes/specials/SpecialResetTokens.php index ba2b9a5..27a3a69 100644 --- a/includes/specials/SpecialResetTokens.php +++ b/includes/specials/SpecialResetTokens.php @@ -123,6 +123,10 @@ } } + protected function getDisplayFormat() { + return 'ooui'; + } + public function onSubmit( array $formData ) { if ( $formData['tokens'] ) { $user = $this->getUser(); diff --git a/languages/i18n/en.json b/languages/i18n/en.json index b63ddf4..eaf5d99 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -567,7 +567,6 @@ "resettokens-summary": "", "resettokens-text": "You can reset tokens which allow access to certain private data associated with your account here.\n\nYou should do it if you accidentally shared them with someone or if your account has been compromised.", "resettokens-no-tokens": "There are no tokens to reset.", - "resettokens-legend": "Reset tokens", "resettokens-tokens": "Tokens:", "resettokens-token-label": "$1 (current value: $2)", "resettokens-watchlist-token": "Token for the web feed (Atom/RSS) of [[Special:Watchlist|changes to pages on your watchlist]]", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index 11ea692..a779d5a 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -737,7 +737,6 @@ "resettokens-summary": "{{ignored}}", "resettokens-text": "Text on [[Special:ResetTokens]].", "resettokens-no-tokens": "Additional text on [[Special:ResetTokens]] if the user has no tokens.", - "resettokens-legend": "Form legend on [[Special:ResetTokens]].\n{{Identical|Reset token}}", "resettokens-tokens": "Form label on [[Special:ResetTokens]].\n{{Identical|Token}}", "resettokens-token-label": "Label for each checkbox on [[Special:ResetTokens]]. Parameters:\n* $1 - short information about the token (for example {{msg-mw|resettokens-watchlist-token}})\n* $2 - its current value", "resettokens-watchlist-token": "Label for watchlist token checkbox on [[Special:ResetTokens]] (see {{msg-mw|prefs-watchlist-token}} at [[Special:Preferences#mw-prefsection-watchlist]]).", -- To view, visit https://gerrit.wikimedia.org/r/218278 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I30d401cc7c827b21eb2fb116558d0d9e764ec1f3 Gerrit-PatchSet: 5 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Bartosz Dziewoński <matma....@gmail.com> Gerrit-Reviewer: Bartosz Dziewoński <matma....@gmail.com> Gerrit-Reviewer: Glaisher <glaisher.w...@gmail.com> Gerrit-Reviewer: Jforrester <jforres...@wikimedia.org> Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: Spage <sp...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits