From: Bartosz DziewoƄski Date: Sun, 14 Jun 2015 22:43:53 +0000 (+0200) Subject: SpecialResetTokens: Switch to OOUI form X-Git-Tag: 1.31.0-rc.0~10942^2~1 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=2550de9552230585e33b45f37cada0f13e396953;p=lhc%2Fweb%2Fwiklou.git SpecialResetTokens: Switch to OOUI form Pretty! Change-Id: I30d401cc7c827b21eb2fb116558d0d9e764ec1f3 --- diff --git a/includes/specials/SpecialResetTokens.php b/includes/specials/SpecialResetTokens.php index ba2b9a5bac..27a3a699ef 100644 --- a/includes/specials/SpecialResetTokens.php +++ b/includes/specials/SpecialResetTokens.php @@ -123,6 +123,10 @@ class SpecialResetTokens extends FormSpecialPage { } } + 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 b63ddf4095..eaf5d9906a 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 11ea692569..a779d5abcd 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]]).",