From 905140212ffda04b61e3fa913b094a46a39510ae Mon Sep 17 00:00:00 2001 From: utkarsh95 Date: Mon, 14 Mar 2016 12:52:00 +0100 Subject: [PATCH] Convert Special:Redirect to OOUI Removed unused message. Bug: T117751 Change-Id: I70e04c8b5860e2b32081bdb510aca99fd5ee07f3 --- includes/specials/SpecialRedirect.php | 4 ++++ languages/i18n/en.json | 1 - languages/i18n/qqq.json | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/includes/specials/SpecialRedirect.php b/includes/specials/SpecialRedirect.php index 12959a3e6a..80dc7977a1 100644 --- a/includes/specials/SpecialRedirect.php +++ b/includes/specials/SpecialRedirect.php @@ -352,6 +352,10 @@ class SpecialRedirect extends FormSpecialPage { $form->setMethod( 'get' ); } + protected function getDisplayFormat() { + return 'ooui'; + } + /** * Return an array of subpages that this special page will accept. * diff --git a/languages/i18n/en.json b/languages/i18n/en.json index db8abbd31a..cbf2462410 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -3572,7 +3572,6 @@ "version-libraries-description": "Description", "version-libraries-authors": "Authors", "redirect": "Redirect by file, user, page, revision, or log ID", - "redirect-legend": "Redirect to a file or page", "redirect-text": "", "redirect-summary": "This special page redirects to a file (given the filename), a page (given a revision ID or page ID), a user page (given a numeric user ID), or a log entry (given the log ID). Usage: [[{{#Special:Redirect}}/file/Example.jpg]], [[{{#Special:Redirect}}/page/64308]], [[{{#Special:Redirect}}/revision/328429]], [[{{#Special:Redirect}}/user/101]], or [[{{#Special:Redirect}}/logid/186]].", "redirect-submit": "Go", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index bdba606f18..a2e803e6e7 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -3748,7 +3748,6 @@ "version-libraries-description": "Column header for the library's description\n{{Identical|Description}}", "version-libraries-authors": "Column header for the library's authors\n{{Identical|Author}}", "redirect": "{{doc-special|Redirect}}\nThis means \"Redirect by file '''name''', user '''ID''', page '''ID''', revision '''ID''', or log '''ID'''\".", - "redirect-legend": "Legend of fieldset around input box in [[Special:Redirect]]", "redirect-text": "Inside fieldset for [[Special:Redirect]]", "redirect-summary": "Shown at top of [[Special:Redirect]]", "redirect-submit": "Button label in [[Special:Redirect]].\n{{Identical|Go}}", -- 2.20.1