Foxtrott has uploaded a new change for review.
https://gerrit.wikimedia.org/r/70665
Change subject: Escape tooltip only once
......................................................................
Escape tooltip only once
Change-Id: I6229c6cfb9ced2472047c39cfc8be76c73a50f09
---
M includes/SF_FormUtils.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticForms
refs/changes/65/70665/1
diff --git a/includes/SF_FormUtils.php b/includes/SF_FormUtils.php
index 8103127..507c27e 100644
--- a/includes/SF_FormUtils.php
+++ b/includes/SF_FormUtils.php
@@ -137,7 +137,7 @@
$attrs['disabled'] = true;
}
$text = "\t" . Xml::check( 'wpWatchthis', $is_checked, $attrs )
. "\n";
- $tooltip = wfMessage( 'tooltip-watch' )->escaped();
+ $tooltip = wfMessage( 'tooltip-watch' )->text();
$text .= "\t" . Html::rawElement( 'label', array(
'for' => 'wpWatchthis',
'title' => $tooltip
--
To view, visit https://gerrit.wikimedia.org/r/70665
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6229c6cfb9ced2472047c39cfc8be76c73a50f09
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticForms
Gerrit-Branch: master
Gerrit-Owner: Foxtrott <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits