jenkins-bot has submitted this change and it was merged. Change subject: Switch Special:FileDuplicateSearch to OOUI ......................................................................
Switch Special:FileDuplicateSearch to OOUI Bug: T117745 Change-Id: I7541244cd06b6ea5c71e7f1e540474e8ae3740b5 --- M includes/specials/SpecialFileDuplicateSearch.php M languages/i18n/en.json M languages/i18n/qqq.json 3 files changed, 1 insertion(+), 5 deletions(-) Approvals: Bartosz Dziewoński: Looks good to me, but someone else must approve Florianschmidtwelzow: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/specials/SpecialFileDuplicateSearch.php b/includes/specials/SpecialFileDuplicateSearch.php index 20c0762..bb82d03 100644 --- a/includes/specials/SpecialFileDuplicateSearch.php +++ b/includes/specials/SpecialFileDuplicateSearch.php @@ -118,19 +118,17 @@ 'id' => 'filename', 'size' => 50, 'value' => $this->filename, - 'cssclass' => 'mw-ui-input-inline' ], ]; $hiddenFields = [ 'title' => $this->getPageTitle()->getPrefixedDBkey(), ]; - $htmlForm = HTMLForm::factory( 'inline', $formFields, $this->getContext() ); + $htmlForm = HTMLForm::factory( 'ooui', $formFields, $this->getContext() ); $htmlForm->addHiddenFields( $hiddenFields ); $htmlForm->setAction( wfScript() ); $htmlForm->setMethod( 'get' ); $htmlForm->setSubmitProgressive(); $htmlForm->setSubmitTextMsg( $this->msg( 'fileduplicatesearch-submit' ) ); - $htmlForm->setWrapperLegendMsg( 'fileduplicatesearch-legend' ); // The form should be visible always, even if it was submitted (e.g. to perform another action). // To bypass the callback validation of HTMLForm, use prepareForm() and displayForm(). diff --git a/languages/i18n/en.json b/languages/i18n/en.json index cbf2462..7b10ec8 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -3585,7 +3585,6 @@ "redirect-not-exists": "Value not found", "fileduplicatesearch": "Search for duplicate files", "fileduplicatesearch-summary": "Search for duplicate files based on hash values.", - "fileduplicatesearch-legend": "Search for a duplicate", "fileduplicatesearch-filename": "Filename:", "fileduplicatesearch-submit": "Search", "fileduplicatesearch-info": "$1 × $2 pixel<br />File size: $3<br />MIME type: $4", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index a2e803e..cc12e8b 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -3761,7 +3761,6 @@ "redirect-not-exists": "Used as error message in [[Special:Redirect]]", "fileduplicatesearch": "Name of special page [[Special:FileDuplicateSearch]].", "fileduplicatesearch-summary": "Summary of [[Special:FileDuplicateSearch]]", - "fileduplicatesearch-legend": "Legend of the fieldset around the input form of [[Special:FileDuplicateSearch]]", "fileduplicatesearch-filename": "Input form of [[Special:FileDuplicateSearch]]:\n\n{{Identical|Filename}}", "fileduplicatesearch-submit": "Button label on [[Special:FileDuplicateSearch]].\n\n{{Identical|Search}}", "fileduplicatesearch-info": "Information beneath the thumbnail on the right side shown after a successful search via [[Special:FileDuplicateSearch]].\n\nParameters:\n* $1 - width of the file\n* $2 - height of the file\n* $3 - File size\n* $4 - MIME type", -- To view, visit https://gerrit.wikimedia.org/r/273761 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I7541244cd06b6ea5c71e7f1e540474e8ae3740b5 Gerrit-PatchSet: 4 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Csyogi <csyog...@gmail.com> Gerrit-Reviewer: Bartosz Dziewoński <matma....@gmail.com> Gerrit-Reviewer: Catrope <roan.katt...@gmail.com> Gerrit-Reviewer: Csyogi <csyog...@gmail.com> Gerrit-Reviewer: Esanders <esand...@wikimedia.org> Gerrit-Reviewer: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com> Gerrit-Reviewer: VolkerE <volke...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits