jenkins-bot has submitted this change and it was merged. Change subject: Use Parser::SFH_OBJECT_ARGS class const ......................................................................
Use Parser::SFH_OBJECT_ARGS class const Instead of the global const Change-Id: Iac151ba946061d70558902df95ebf6dbb527283c --- M LabeledSectionTransclusion.class.php 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Merlijn van Deen: Looks good to me, approved jenkins-bot: Verified diff --git a/LabeledSectionTransclusion.class.php b/LabeledSectionTransclusion.class.php index fc74d8c..843d462 100644 --- a/LabeledSectionTransclusion.class.php +++ b/LabeledSectionTransclusion.class.php @@ -10,8 +10,8 @@ */ static function setup( $parser ) { $parser->setHook( 'section', array( __CLASS__, 'noop' ) ); - $parser->setFunctionHook( 'lst', array( __CLASS__, 'pfuncIncludeObj' ), SFH_OBJECT_ARGS ); - $parser->setFunctionHook( 'lstx', array( __CLASS__, 'pfuncExcludeObj' ), SFH_OBJECT_ARGS ); + $parser->setFunctionHook( 'lst', array( __CLASS__, 'pfuncIncludeObj' ), Parser::SFH_OBJECT_ARGS ); + $parser->setFunctionHook( 'lstx', array( __CLASS__, 'pfuncExcludeObj' ), Parser::SFH_OBJECT_ARGS ); return true; } -- To view, visit https://gerrit.wikimedia.org/r/174213 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iac151ba946061d70558902df95ebf6dbb527283c Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/LabeledSectionTransclusion Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> Gerrit-Reviewer: Merlijn van Deen <valhall...@arctus.nl> Gerrit-Reviewer: Umherirrender <umherirrender_de...@web.de> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits