From: Florian Date: Wed, 25 Nov 2015 20:20:16 +0000 (+0100) Subject: Convert Special:Export to OOUI X-Git-Tag: 1.31.0-rc.0~8489^2 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=6e3b784bf51900671ada7fb9b8b2c15f5bffea2a;p=lhc%2Fweb%2Fwiklou.git Convert Special:Export to OOUI Bug: T117753 Change-Id: I974e5b2daefd52cc6c3ba75bc0752492fb86c488 --- diff --git a/includes/specials/SpecialExport.php b/includes/specials/SpecialExport.php index 91fef033b7..3ce9c76a8e 100644 --- a/includes/specials/SpecialExport.php +++ b/includes/specials/SpecialExport.php @@ -235,8 +235,8 @@ class SpecialExport extends SpecialPage { 'textarea' => array( 'class' => 'HTMLTextAreaField', 'name' => 'pages', + 'label-message' => 'export-manual', 'nodata' => true, - 'cols' => 40, 'rows' => 10, 'default' => $page, ), @@ -301,7 +301,7 @@ class SpecialExport extends SpecialPage { ); } - $htmlForm = HTMLForm::factory( 'div', $formDescriptor, $this->getContext() ); + $htmlForm = HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() ); $htmlForm->setSubmitTextMsg( 'export-submit' ); $htmlForm->prepareForm()->displayForm( false ); $this->addHelpLink( 'Help:Export' ); diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 2dbd31ba73..91082fbeba 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -2393,6 +2393,7 @@ "export-download": "Save as file", "export-templates": "Include templates", "export-pagelinks": "Include linked pages to a depth of:", + "export-manual": "Add pages manually:", "allmessages": "System messages", "allmessagesname": "Name", "allmessagesdefault": "Default message text", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index 5a16a4ccf8..14f73aba55 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -2568,6 +2568,7 @@ "export-download": "A label of checkbox option in [[Special:Export]]\n\nSee also:\n* {{msg-mw|Exportlistauthors}}", "export-templates": "A label of checkbox option in [[Special:Export]]", "export-pagelinks": "This is an input in [[Special:Export]]", + "export-manual": "The label for the textarea input on [[Special:Export]]", "allmessages": "The title of the special page [[Special:AllMessages]].", "allmessagesname": "Used on [[Special:Allmessages]] meaning \"the name of the message\".\n{{Identical|Name}}", "allmessagesdefault": "The header for the lower row of each column in the table of [[Special:AllMessages]].",