jenkins-bot has submitted this change and it was merged.
Change subject: Added tooltip to watchlist star (T71811)
..
Added tooltip to watchlist star (T71811)
Change-Id: I3657d53786870441683a0c2f016506387fd175e9
---
M Resources.php
M handlebars/compiled/flow_block_topic.handlebars.php
M handlebars/compiled/flow_block_topiclist.handlebars.php
M handlebars/flow_topic_titlebar_watch.partial.handlebars
M i18n/en.json
M i18n/qqq.json
6 files changed, 10 insertions(+), 4 deletions(-)
Approvals:
Catrope: Looks good to me, approved
jenkins-bot: Verified
diff --git a/Resources.php b/Resources.php
index de03a2b..402ec5c 100644
--- a/Resources.php
+++ b/Resources.php
@@ -147,6 +147,8 @@
'flow-topic-action-unsuppress-topic',
'flow-topic-action-restore-topic',
'flow-topic-action-undo-moderation',
+ 'flow-topic-action-watchlist-add',
+ 'flow-topic-action-watchlist-remove',
'flow-hide-post-content',
'flow-delete-post-content',
'flow-suppress-post-content',
diff --git a/handlebars/compiled/flow_block_topic.handlebars.php
b/handlebars/compiled/flow_block_topic.handlebars.php
index fa8a44a..dfcdc32 100644
--- a/handlebars/compiled/flow_block_topic.handlebars.php
+++ b/handlebars/compiled/flow_block_topic.handlebars.php
@@ -69,7 +69,7 @@
'.$sp.''.((LCRun3::ifvar($cx, ((isset($in['isWatched']) is_array($in)) ?
$in['isWatched'] : null))) ? 'flow-watch-link-unwatch' :
'flow-watch-link-watch').'
'.$sp.' data-flow-api-handler=watchItem
'.$sp.' data-flow-api-target= .flow-topic-watchlist
-'.$sp.'
data-flow-api-method=POST'.htmlentities((string)((isset($in['noop'])
is_array($in)) ? $in['noop'] : null), ENT_QUOTES, 'UTF-8').'span
class=wikiglyph
wikiglyph-star/span'.htmlentities((string)((isset($in['noop'])
is_array($in)) ? $in['noop'] : null), ENT_QUOTES,
'UTF-8').''.htmlentities((string)((isset($in['noop']) is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'span class=wikiglyph
wikiglyph-unstar/span'.htmlentities((string)((isset($in['noop'])
is_array($in)) ? $in['noop'] : null), ENT_QUOTES, 'UTF-8').'/a
+'.$sp.'
data-flow-api-method=POST'.htmlentities((string)((isset($in['noop'])
is_array($in)) ? $in['noop'] : null), ENT_QUOTES, 'UTF-8').'span
class=wikiglyph wikiglyph-star title='.LCRun3::ch($cx, 'l10n',
array(array('flow-topic-action-watchlist-remove'),array()),
'encq').'/span'.htmlentities((string)((isset($in['noop']) is_array($in))
? $in['noop'] : null), ENT_QUOTES,
'UTF-8').''.htmlentities((string)((isset($in['noop']) is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'span class=wikiglyph
wikiglyph-unstar title='.LCRun3::ch($cx, 'l10n',
array(array('flow-topic-action-watchlist-add'),array()),
'encq').'/span'.htmlentities((string)((isset($in['noop']) is_array($in))
? $in['noop'] : null), ENT_QUOTES, 'UTF-8').'/a
'.$sp.'/div
';},'flow_moderation_actions_list' = function ($cx, $in, $sp) {return
''.$sp.'section'.LCRun3::hbch($cx, 'ifCond',
array(array(((isset($in['moderationType']) is_array($in)) ?
$in['moderationType'] : null),'===','topic'),array()), $in, false,
function($cx, $in)use($sp){return ''.((LCRun3::ifvar($cx,
((isset($in['actions']['edit']) is_array($in['actions'])) ?
$in['actions']['edit'] : null))) ? 'li
class=flow-js'.htmlentities((string)((isset($in['noop']) is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'a
class='.htmlentities((string)((isset($in['moderationMwUiClass'])
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-progressive mw-ui-quiet mw-ui-hovericon
'.$sp.'
href='.htmlentities((string)((isset($in['actions']['edit']['url'])
is_array($in['actions']['edit'])) ? $in['actions']['edit']['url'] : null),
ENT_QUOTES, 'UTF-8').'
diff --git a/handlebars/compiled/flow_block_topiclist.handlebars.php
b/handlebars/compiled/flow_block_topiclist.handlebars.php
index 480fdd8..46bc874 100644
--- a/handlebars/compiled/flow_block_topiclist.handlebars.php
+++ b/handlebars/compiled/flow_block_topiclist.handlebars.php
@@ -170,7 +170,7 @@
'.$sp.''.((LCRun3::ifvar($cx, ((isset($in['isWatched']) is_array($in)) ?
$in['isWatched'] : null))) ? 'flow-watch-link-unwatch' :
'flow-watch-link-watch').'
'.$sp.' data-flow-api-handler=watchItem
'.$sp.' data-flow-api-target= .flow-topic-watchlist
-'.$sp.'
data-flow-api-method=POST'.htmlentities((string)((isset($in['noop'])
is_array($in)) ? $in['noop'] : null), ENT_QUOTES, 'UTF-8').'span
class=wikiglyph
wikiglyph-star/span'.htmlentities((string)((isset($in['noop'])
is_array($in)) ? $in['noop'] : null), ENT_QUOTES,
'UTF-8').''.htmlentities((string)((isset($in['noop']) is_array($in)) ?