Mollywhite has submitted this change and it was merged. Change subject: Escape wfMessages in links ......................................................................
Escape wfMessages in links Per Nikerabbit's comments at https://gerrit.wikimedia.org/r/#/c/80090/3/BookManagerv2.hooks.php Change-Id: Ic840b74105b342da2e3dec1e3e202f3fa2feb9b8 --- M BookManagerv2.hooks.php 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Mollywhite: Verified; Looks good to me, approved jenkins-bot: Checked diff --git a/BookManagerv2.hooks.php b/BookManagerv2.hooks.php index a32e81f..857a606 100644 --- a/BookManagerv2.hooks.php +++ b/BookManagerv2.hooks.php @@ -268,13 +268,13 @@ 'class' => 'mw-bookmanagerv2-link-bracket' ), '[' ) . Linker::link( $jsonPageTitle, - wfMessage( 'bookmanagerv2-read' )->text() + wfMessage( 'bookmanagerv2-read' )->escaped() ) . Html::element( 'span', array( 'class' => 'mw-bookmanagerv2-link-divider' ), '|' ) . Linker::link( $jsonPageTitle, - wfMessage( 'editlink' )->text(), + wfMessage( 'editlink' )->escaped(), array(), array( 'action' => 'edit' ), array() -- To view, visit https://gerrit.wikimedia.org/r/80383 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic840b74105b342da2e3dec1e3e202f3fa2feb9b8 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BookManagerv2 Gerrit-Branch: master Gerrit-Owner: Mollywhite <[email protected]> Gerrit-Reviewer: Mollywhite <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
