jenkins-bot has submitted this change and it was merged.
Change subject: Migrate away from deprecated mw-ui-constructive and
mw-ui-primary classes
......................................................................
Migrate away from deprecated mw-ui-constructive and mw-ui-primary classes
Bug: T146923
Change-Id: I7e7fb9638eae17aef7a2f789ea4a7ef28616339a
---
M specials/SpecialPageMigration.php
M specials/SpecialPagePreparation.php
M tag/SpecialPageTranslation.php
3 files changed, 5 insertions(+), 5 deletions(-)
Approvals:
Nikerabbit: Looks good to me, approved
jenkins-bot: Verified
diff --git a/specials/SpecialPageMigration.php
b/specials/SpecialPageMigration.php
index 9cd6f69..33fb426 100644
--- a/specials/SpecialPageMigration.php
+++ b/specials/SpecialPageMigration.php
@@ -49,11 +49,11 @@
'placeholder' => $this->msg( 'pm-pagetitle-placeholder'
)->text() ) );
$out .= "\n";
$out .= Html::element( 'input', array( 'id' => 'action-import',
- 'class' => 'mw-ui-button mw-ui-primary', 'type' =>
'button',
+ 'class' => 'mw-ui-button mw-ui-progressive', 'type' =>
'button',
'value' => $this->msg( 'pm-import-button-label'
)->text() ) );
$out .= "\n";
$out .= Html::element( 'input', array( 'id' => 'action-save',
- 'class' => 'mw-ui-button mw-ui-constructive hide',
'type' => 'button',
+ 'class' => 'mw-ui-button mw-ui-progressive hide',
'type' => 'button',
'value' => $this->msg( 'pm-savepages-button-label'
)->text() ) );
$out .= "\n";
$out .= Html::element( 'input', array( 'id' => 'action-cancel',
diff --git a/specials/SpecialPagePreparation.php
b/specials/SpecialPagePreparation.php
index 3c0cbb2..a0a140b 100644
--- a/specials/SpecialPagePreparation.php
+++ b/specials/SpecialPagePreparation.php
@@ -43,9 +43,9 @@
<input id="pp-summary" type="hidden" value="{$summaryValue}" />
<input name="page" id="page" class="mw-searchInput mw-ui-input"
placeholder="{$pagenamePlaceholder}"
value="{$inputValue}"/>
- <button id="action-prepare" class="mw-ui-button mw-ui-primary"
type="button">
+ <button id="action-prepare" class="mw-ui-button
mw-ui-progressive" type="button">
{$prepareButtonValue}</button>
- <button id="action-save" class="mw-ui-button mw-ui-constructive
hide" type="button">
+ <button id="action-save" class="mw-ui-button mw-ui-progressive
hide" type="button">
{$saveButtonValue}</button>
<button id="action-cancel" class="mw-ui-button mw-ui-quiet
hide" type="button">
{$cancelButtonValue}</button>
diff --git a/tag/SpecialPageTranslation.php b/tag/SpecialPageTranslation.php
index 40d948b..679d53a 100644
--- a/tag/SpecialPageTranslation.php
+++ b/tag/SpecialPageTranslation.php
@@ -289,7 +289,7 @@
$this->msg( 'tpt-generic-confirm' )->parseAsBlock() .
Xml::submitButton(
$this->msg( 'tpt-generic-button' )->text(),
- array( 'class' => 'mw-ui-button mw-ui-primary' )
+ array( 'class' => 'mw-ui-button
mw-ui-progressive' )
) .
Html::closeElement( 'form' )
);
--
To view, visit https://gerrit.wikimedia.org/r/313227
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7e7fb9638eae17aef7a2f789ea4a7ef28616339a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits