jenkins-bot has submitted this change and it was merged. Change subject: Use mw-ui-anchor and mw-ui-button from Core ......................................................................
Use mw-ui-anchor and mw-ui-button from Core Change-Id: Ia77951388d46ec09d26878f355a13028f54e3c6f (cherry picked from commit 1f62d2c2acc8ff3e1350a66d2964efbbc1e6b493) --- M handlebars/compiled/flow_block_topiclist.handlebars.php M handlebars/compiled/flow_post.handlebars.php M handlebars/flow_post_meta_actions.handlebars M handlebars/flow_topic_titlebar_content.handlebars 4 files changed, 10 insertions(+), 10 deletions(-) Approvals: Mwalker: Looks good to me, approved jenkins-bot: Verified diff --git a/handlebars/compiled/flow_block_topiclist.handlebars.php b/handlebars/compiled/flow_block_topiclist.handlebars.php index d973f5a..25e4e2a 100644 --- a/handlebars/compiled/flow_block_topiclist.handlebars.php +++ b/handlebars/compiled/flow_block_topiclist.handlebars.php @@ -144,7 +144,7 @@ ' : '').' <span class="flow-author">'.LCRun3::ch($cx, 'l10n', Array(Array('started_with_participants',$in),Array()), 'encq').'</span> <div class="flow-topic-meta"> - <a class="mw-ui-button mw-ui-progressive mw-ui-quiet flow-ui-inline" + <a class="mw-ui-progressive mw-ui-quiet" data-flow-interactive-handler="activateForm" href="#flow-post-'.htmlentities(((is_array($in) && isset($in['postId'])) ? $in['postId'] : null), ENT_QUOTES, 'UTF-8').'-form-content">'.LCRun3::ch($cx, 'l10n', Array(Array('Reply',((is_array($in) && isset($in['author'])) ? $in['author'] : null)),Array()), 'encq').'</a> • '.LCRun3::ch($cx, 'l10n', Array(Array('comment_count',$in),Array()), 'encq').' • diff --git a/handlebars/compiled/flow_post.handlebars.php b/handlebars/compiled/flow_post.handlebars.php index d2a37f4..355e0a8 100644 --- a/handlebars/compiled/flow_post.handlebars.php +++ b/handlebars/compiled/flow_post.handlebars.php @@ -98,7 +98,7 @@ '.((LCRun3::ifvar($cx, ((is_array($in['actions']) && isset($in['actions']['reply'])) ? $in['actions']['reply'] : null))) ? ' <a href="'.htmlentities(((is_array($in['actions']['reply']) && isset($in['actions']['reply']['url'])) ? $in['actions']['reply']['url'] : null), ENT_QUOTES, 'UTF-8').'" title="'.htmlentities(((is_array($in['actions']['reply']) && isset($in['actions']['reply']['title'])) ? $in['actions']['reply']['title'] : null), ENT_QUOTES, 'UTF-8').'" - class="mw-ui-button mw-ui-progressive mw-ui-quiet flow-ui-inline" + class="mw-ui-progressive mw-ui-quiet" data-flow-interactive-handler="activateReplyPost">'.htmlentities(((is_array($in['actions']['reply']) && isset($in['actions']['reply']['title'])) ? $in['actions']['reply']['title'] : null), ENT_QUOTES, 'UTF-8').'</a> ' : '').' '.((LCRun3::ifvar($cx, ((is_array($in['actions']) && isset($in['actions']['edit'])) ? $in['actions']['edit'] : null))) ? ' @@ -108,14 +108,14 @@ data-flow-api-handler="activateEditPost" data-flow-api-target="< .flow-post-main" data-flow-interactive-handler="apiRequest" - class="mw-ui-button mw-ui-progressive mw-ui-quiet flow-ui-inline"> + class="mw-ui-progressive mw-ui-quiet"> '.LCRun3::ch($cx, 'l10n', Array(Array('flow-post-action-edit-post'),Array()), 'encq').' </a> ' : '').' '.((LCRun3::ifvar($cx, ((is_array($in['actions']) && isset($in['actions']['thank'])) ? $in['actions']['thank'] : null))) ? ' • '.' - <a class="mw-ui-button mw-ui-constructive mw-ui-quiet mw-thanks-flow-thank-link flow-ui-inline" + <a class="mw-ui-constructive mw-ui-quiet mw-thanks-flow-thank-link" href="'.htmlentities(((is_array($in['actions']['thank']) && isset($in['actions']['thank']['url'])) ? $in['actions']['thank']['url'] : null), ENT_QUOTES, 'UTF-8').'" title="'.htmlentities(((is_array($in['actions']['thank']) && isset($in['actions']['thank']['title'])) ? $in['actions']['thank']['title'] : null), ENT_QUOTES, 'UTF-8').'">'.htmlentities(((is_array($in['actions']['thank']) && isset($in['actions']['thank']['title'])) ? $in['actions']['thank']['title'] : null), ENT_QUOTES, 'UTF-8').'</a> ' : '').' @@ -123,7 +123,7 @@ '.((LCRun3::ifvar($cx, ((is_array($in) && isset($in['previousRevisionId'])) ? $in['previousRevisionId'] : null))) ? ' '.((LCRun3::ifvar($cx, ((is_array($in['links']) && isset($in['links']['diff-prev'])) ? $in['links']['diff-prev'] : null))) ? ' <a href="'.htmlentities(((is_array($in['links']['diff-prev']) && isset($in['links']['diff-prev']['url'])) ? $in['links']['diff-prev']['url'] : null), ENT_QUOTES, 'UTF-8').'" - class="mw-ui-button mw-ui-progressive mw-ui-quiet flow-ui-inline" + class="mw-ui-progressive mw-ui-quiet" title="'.htmlentities(((is_array($in['links']['diff-prev']) && isset($in['links']['diff-prev']['title'])) ? $in['links']['diff-prev']['title'] : null), ENT_QUOTES, 'UTF-8').'"> ' : '').' '.LCRun3::ch($cx, 'uuidTimestamp', Array(Array(((is_array($in) && isset($in['revisionId'])) ? $in['revisionId'] : null),'edited_ago'),Array()), 'encq').' diff --git a/handlebars/flow_post_meta_actions.handlebars b/handlebars/flow_post_meta_actions.handlebars index 2af4f36..5186539 100644 --- a/handlebars/flow_post_meta_actions.handlebars +++ b/handlebars/flow_post_meta_actions.handlebars @@ -3,7 +3,7 @@ {{#if actions.reply}} <a href="{{actions.reply.url}}" title="{{actions.reply.title}}" - class="mw-ui-button mw-ui-progressive mw-ui-quiet flow-ui-inline" + class="mw-ui-progressive mw-ui-quiet" data-flow-interactive-handler="activateReplyPost"> {{~actions.reply.title~}} </a> @@ -15,7 +15,7 @@ data-flow-api-handler="activateEditPost" data-flow-api-target="< .flow-post-main" data-flow-interactive-handler="apiRequest" - class="mw-ui-button mw-ui-progressive mw-ui-quiet flow-ui-inline"> + class="mw-ui-progressive mw-ui-quiet"> {{l10n "flow-post-action-edit-post"}} </a> {{/if}} @@ -25,7 +25,7 @@ progressive enhancement happens in the Thank extension based on the mw-thanks-flow-thank-link class --}} - <a class="mw-ui-button mw-ui-constructive mw-ui-quiet mw-thanks-flow-thank-link flow-ui-inline" + <a class="mw-ui-constructive mw-ui-quiet mw-thanks-flow-thank-link" href="{{actions.thank.url}}" title="{{actions.thank.title}}"> {{~actions.thank.title~}} @@ -35,7 +35,7 @@ {{#if previousRevisionId}} {{#if links.diff-prev}} <a href="{{links.diff-prev.url}}" - class="mw-ui-button mw-ui-progressive mw-ui-quiet flow-ui-inline" + class="mw-ui-progressive mw-ui-quiet" title="{{links.diff-prev.title}}"> {{/if}} {{uuidTimestamp revisionId "edited_ago"}} diff --git a/handlebars/flow_topic_titlebar_content.handlebars b/handlebars/flow_topic_titlebar_content.handlebars index 33ef1b5..b470eec 100644 --- a/handlebars/flow_topic_titlebar_content.handlebars +++ b/handlebars/flow_topic_titlebar_content.handlebars @@ -7,7 +7,7 @@ {{/if}} <span class="flow-author">{{l10n "started_with_participants" this}}</span> <div class="flow-topic-meta"> - <a class="mw-ui-button mw-ui-progressive mw-ui-quiet flow-ui-inline" + <a class="mw-ui-progressive mw-ui-quiet" data-flow-interactive-handler="activateForm" href="#flow-post-{{postId}}-form-content">{{l10n "Reply" author}}</a> • {{l10n "comment_count" this}} • -- To view, visit https://gerrit.wikimedia.org/r/150981 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ia77951388d46ec09d26878f355a13028f54e3c6f Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Flow Gerrit-Branch: wmf/1.24wmf16 Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org> Gerrit-Reviewer: Mwalker <mwal...@khaosdev.com> Gerrit-Reviewer: SG <shah...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits