jenkins-bot has submitted this change and it was merged. Change subject: Convert Scribunto to use fillParserOutput ......................................................................
Convert Scribunto to use fillParserOutput Followup-to: Idf4ad4397101a4d19be2ac773cd4bad52188d903 Change-Id: I7e18d57f231716127028dafe44e61cee7d89d4d9 --- M common/ScribuntoContent.php 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: Bartosz Dziewoński: Looks good to me, approved Daniel Kinzler: Looks good to me, but someone else must approve jenkins-bot: Verified diff --git a/common/ScribuntoContent.php b/common/ScribuntoContent.php index e100c10..6ef2326 100644 --- a/common/ScribuntoContent.php +++ b/common/ScribuntoContent.php @@ -26,9 +26,10 @@ * @param $revId null|int The revision being rendered (optional) * @param $options null|ParserOptions Any parser options * @param $generateHtml boolean Whether to generate HTML (default: true). + * @param &$output ParserOutput representing the HTML form of the text. * @return ParserOutput */ - public function getParserOutput( Title $title, $revId = null, ParserOptions $options = null, $generateHtml = true ) { + protected function fillParserOutput( Title $title, $revId = null, ParserOptions $options = null, $generateHtml = true, ParserOutput &$output ) { global $wgParser, $wgScribuntoUseGeSHi; $text = $this->getNativeData(); -- To view, visit https://gerrit.wikimedia.org/r/132706 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I7e18d57f231716127028dafe44e61cee7d89d4d9 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/Scribunto Gerrit-Branch: master Gerrit-Owner: TheDJ <hartman.w...@gmail.com> Gerrit-Reviewer: Anomie <bjor...@wikimedia.org> Gerrit-Reviewer: Bartosz Dziewoński <matma....@gmail.com> Gerrit-Reviewer: Daniel Kinzler <daniel.kinz...@wikimedia.de> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits