Umherirrender has uploaded a new change for review.

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

Change subject: Use Parser::SFH_OBJECT_ARGS class const
......................................................................

Use Parser::SFH_OBJECT_ARGS class const

Instead of the global const

Change-Id: Iaf557f0f56964c8b545a4cd1582a852c12183def
---
M common/Hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Scribunto 
refs/changes/21/174221/1

diff --git a/common/Hooks.php b/common/Hooks.php
index 5b19832..ac58088 100644
--- a/common/Hooks.php
+++ b/common/Hooks.php
@@ -42,7 +42,7 @@
         * @return bool
         */
        public static function setupParserHook( &$parser ) {
-               $parser->setFunctionHook( 'invoke', 
'ScribuntoHooks::invokeHook', SFH_OBJECT_ARGS );
+               $parser->setFunctionHook( 'invoke', 
'ScribuntoHooks::invokeHook', Parser::SFH_OBJECT_ARGS );
                return true;
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/174221
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf557f0f56964c8b545a4cd1582a852c12183def
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Scribunto
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