EBernhardson has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/336328 )
Change subject: Switch search-interwiki-caption i18n to parsed ...................................................................... Switch search-interwiki-caption i18n to parsed A recent refactor of the interwiki sidebar looks to have a small regression, in that this message used to use ->parsed() but now uses ->escaped(). Switch back so the interiwki results on beta render appropriately. Bug: T149806 Change-Id: I44d0b1cd3bcc0606a0fb14e171d51bec1c310a91 --- M includes/widget/search/InterwikiSearchResultSetWidget.php M includes/widget/search/SimpleSearchResultSetWidget.php 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/28/336328/1 diff --git a/includes/widget/search/InterwikiSearchResultSetWidget.php b/includes/widget/search/InterwikiSearchResultSetWidget.php index af1ed05..9cd69fa 100644 --- a/includes/widget/search/InterwikiSearchResultSetWidget.php +++ b/includes/widget/search/InterwikiSearchResultSetWidget.php @@ -109,7 +109,7 @@ Html::rawElement( 'p', [ 'class' => 'iw-headline' ], - $this->specialSearch->msg( 'search-interwiki-caption' )->escaped() + $this->specialSearch->msg( 'search-interwiki-caption' )->parsed() ) . Html::rawElement( 'ul', [ 'class' => 'iw-results', ], $iwResultListOutput diff --git a/includes/widget/search/SimpleSearchResultSetWidget.php b/includes/widget/search/SimpleSearchResultSetWidget.php index 49ebc4e..6a0bb29 100644 --- a/includes/widget/search/SimpleSearchResultSetWidget.php +++ b/includes/widget/search/SimpleSearchResultSetWidget.php @@ -77,7 +77,7 @@ return "<div id='mw-search-interwiki'>" . "<div id='mw-search-interwiki-caption'>" . - $this->specialSearch->msg( 'search-interwiki-caption' )->escaped() . + $this->specialSearch->msg( 'search-interwiki-caption' )->parsed() . '</div>' . $out . "</div>"; -- To view, visit https://gerrit.wikimedia.org/r/336328 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I44d0b1cd3bcc0606a0fb14e171d51bec1c310a91 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits