Umherirrender has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/174213

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(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/LabeledSectionTransclusion
 refs/changes/13/174213/1

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: newchange
Gerrit-Change-Id: Iac151ba946061d70558902df95ebf6dbb527283c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LabeledSectionTransclusion
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <umherirrender_de...@web.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to