Hoo man has uploaded a new change for review. https://gerrit.wikimedia.org/r/135489
Change subject: Parse error messages in EditEntity::showErrorPage ...................................................................... Parse error messages in EditEntity::showErrorPage Don't show escaped wikitext... Bug: 65782 Change-Id: Ib0fd773dacddc782a93f53838c1189e41d16e748 --- M repo/includes/EditEntity.php 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/89/135489/1 diff --git a/repo/includes/EditEntity.php b/repo/includes/EditEntity.php index 60d57df..bd7f363 100644 --- a/repo/includes/EditEntity.php +++ b/repo/includes/EditEntity.php @@ -847,9 +847,9 @@ return false; } - $text = $this->status->getMessage(); + $text = $this->status->getHTML(); - $out->addHTML( \Html::element( 'div', array( 'class' => 'error' ), $text ) ); + $out->addHTML( \Html::rawElement( 'div', array( 'class' => 'error' ), $text ) ); wfProfileOut( __METHOD__ ); return true; -- To view, visit https://gerrit.wikimedia.org/r/135489 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib0fd773dacddc782a93f53838c1189e41d16e748 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Hoo man <h...@online.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits