Umherirrender has uploaded a new change for review.
https://gerrit.wikimedia.org/r/174175
Change subject: Use Parser::SFH_NO_HASH/SFH_OBJECT_ARGS class const
......................................................................
Use Parser::SFH_NO_HASH/SFH_OBJECT_ARGS class const
Instead of the global const
Change-Id: Icb3cb4cf91aeaf0890ae4c741461e7d969e942c2
---
M ParserFun.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ParserFun
refs/changes/75/174175/1
diff --git a/ParserFun.php b/ParserFun.php
index 26d3363..292fe8d 100644
--- a/ParserFun.php
+++ b/ParserFun.php
@@ -83,7 +83,7 @@
static function init( Parser &$parser ) {
if( self::isEnabledFunction( 'this' ) ) {
// only register function if not disabled by
configuration
- $parser->setFunctionHook( 'this', array(
'ParserFunThis', 'pfObj_this' ), SFH_NO_HASH | SFH_OBJECT_ARGS );
+ $parser->setFunctionHook( 'this', array(
'ParserFunThis', 'pfObj_this' ), Parser::SFH_NO_HASH | Parser::SFH_OBJECT_ARGS
);
}
return true;
}
--
To view, visit https://gerrit.wikimedia.org/r/174175
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb3cb4cf91aeaf0890ae4c741461e7d969e942c2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ParserFun
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits