Umherirrender has uploaded a new change for review.

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

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

Use Parser::SFH_NO_HASH class const

Instead of the global const

Change-Id: I61fb2e152957306d66e9aa9347a1aa224dfc9e69
---
M SemanticExpressiveness.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticExpressiveness 
refs/changes/69/174169/1

diff --git a/SemanticExpressiveness.php b/SemanticExpressiveness.php
index 71d9c39..ca9d1ab 100644
--- a/SemanticExpressiveness.php
+++ b/SemanticExpressiveness.php
@@ -95,9 +95,9 @@
        const VERSION = '0.2.0 alpha';
 
        static function init( &$parser ) {
-               $parser->setFunctionHook( '?',  array( 'SemEx\QueryPF', 
'render' ), SFH_NO_HASH );
-               $parser->setFunctionHook( '?!', array( 'SemEx\PlainQueryPF', 
'render' ), SFH_NO_HASH );
-               //$parser->setFunctionHook( '?to?!', array( __CLASS__, 
'parserFunc_QueryToPlainQuery' ), SFH_NO_HASH );
+               $parser->setFunctionHook( '?',  array( 'SemEx\QueryPF', 
'render' ), Parser::SFH_NO_HASH );
+               $parser->setFunctionHook( '?!', array( 'SemEx\PlainQueryPF', 
'render' ), Parser::SFH_NO_HASH );
+               //$parser->setFunctionHook( '?to?!', array( __CLASS__, 
'parserFunc_QueryToPlainQuery' ), Parser::SFH_NO_HASH );
                return true;
        }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I61fb2e152957306d66e9aa9347a1aa224dfc9e69
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticExpressiveness
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to