Trevor Parscal has uploaded a new change for review. https://gerrit.wikimedia.org/r/130524
Change subject: Convert $status into a Message object before calling methods on it ...................................................................... Convert $status into a Message object before calling methods on it Change-Id: I0f6b7715c4713b425467d8a3e72b6fd9f87a9c74 --- M TemplateDataBlob.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TemplateData refs/changes/24/130524/1 diff --git a/TemplateDataBlob.php b/TemplateDataBlob.php index c6dc2aa..089c975 100644 --- a/TemplateDataBlob.php +++ b/TemplateDataBlob.php @@ -657,7 +657,7 @@ wfMessage( 'templatedata-doc-param-default-empty' )->inLanguage( $lang )->text() ) // Status - . Html::element( 'td', array(), $status->inLanguage( $lang )->text() ) + . Html::element( 'td', array(), wfMessage( $status )->inLanguage( $lang )->text() ) . '</tr>'; } $html .= '</tbody></table>' -- To view, visit https://gerrit.wikimedia.org/r/130524 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0f6b7715c4713b425467d8a3e72b6fd9f87a9c74 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/TemplateData Gerrit-Branch: master Gerrit-Owner: Trevor Parscal <tpars...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits