Convert Special:Redirect to OOUI
authorutkarsh95 <utkarsh.ruhela@gmail.com>
Mon, 14 Mar 2016 11:52:00 +0000 (12:52 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 4 Apr 2016 12:31:43 +0000 (14:31 +0200)
Removed unused message.

Bug: T117751
Change-Id: I70e04c8b5860e2b32081bdb510aca99fd5ee07f3

includes/specials/SpecialRedirect.php
languages/i18n/en.json
languages/i18n/qqq.json

index 12959a3..80dc797 100644 (file)
@@ -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.
         *
index db8abbd..cbf2462 100644 (file)
        "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",
index bdba606..a2e803e 100644 (file)
        "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}}",