jenkins-bot has submitted this change and it was merged.

Change subject: Fix SetParserFunction name/class
......................................................................


Fix SetParserFunction name/class

Change-Id: I24466b2c32c09069f5b934c538039a307661050f
---
M SemanticMediaWiki.hooks.php
M includes/Setup.php
M includes/parserhooks/SetParserFunction.php
3 files changed, 5 insertions(+), 5 deletions(-)

Approvals:
  Mwjames: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/SemanticMediaWiki.hooks.php b/SemanticMediaWiki.hooks.php
index de2a6fa..6546d43 100644
--- a/SemanticMediaWiki.hooks.php
+++ b/SemanticMediaWiki.hooks.php
@@ -129,7 +129,7 @@
                $parser->setFunctionHook( 'show', array( 'SMWShow', 'render' ) 
);
                $parser->setFunctionHook( 'subobject', array( 
'SMW\SubobjectParserFunction', 'render' ) );
                $parser->setFunctionHook( 'concept', array( 'SMWConcept', 
'render' ) );
-               $parser->setFunctionHook( 'set', array( 'SMW\SetParser', 
'render' ) );
+               $parser->setFunctionHook( 'set', array( 
'SMW\SetParserFunction', 'render' ) );
                $parser->setFunctionHook( 'set_recurring_event', array( 
'SMW\RecurringEventsHandler', 'render' ) );
                $parser->setFunctionHook( 'declare', array( 'SMWDeclare', 
'render' ), SFH_OBJECT_ARGS );
 
diff --git a/includes/Setup.php b/includes/Setup.php
index 7fbd634..07b6372 100644
--- a/includes/Setup.php
+++ b/includes/Setup.php
@@ -208,9 +208,9 @@
        $wgAutoloadClasses['SMWDeclare']                = $phDir . 
'SMW_Declare.php';
        $wgAutoloadClasses['SMWSMWDoc']                 = $phDir . 
'SMW_SMWDoc.php';
        $wgAutoloadClasses['SMW\ParserParameterFormatter'] = $phDir . 
'ParserParameterFormatter.php';
-       $wgAutoloadClasses['SMW\SetParser']             = $phDir . 
'SetParserFunction.php';
-       $wgAutoloadClasses['SMW\SubobjectParserFunction'] = $phDir . 
'SubobjectParserFunction.php';
-       $wgAutoloadClasses['SMW\Subobject']             = $phDir . 
'Subobject.php';
+       $wgAutoloadClasses['SMW\SetParserFunction']        = $phDir . 
'SetParserFunction.php';
+       $wgAutoloadClasses['SMW\SubobjectParserFunction']  = $phDir . 
'SubobjectParserFunction.php';
+       $wgAutoloadClasses['SMW\Subobject']              = $phDir . 
'Subobject.php';
        $wgAutoloadClasses['SMW\RecurringEventsHandler'] = $phDir . 
'RecurringEventsParserFunction.php';
        $wgAutoloadClasses['SMW\RecurringEvents']       = $phDir . 
'RecurringEvents.php';
 
diff --git a/includes/parserhooks/SetParserFunction.php 
b/includes/parserhooks/SetParserFunction.php
index a0dafa4..0dbac86 100644
--- a/includes/parserhooks/SetParserFunction.php
+++ b/includes/parserhooks/SetParserFunction.php
@@ -34,7 +34,7 @@
  * @author Jeroen De Dauw
  * @author mwjames
  */
-class SetParser {
+class SetParserFunction {
 
        /**
         * Method for handling the set parser function.

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I24466b2c32c09069f5b934c538039a307661050f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticMediaWiki
Gerrit-Branch: master
Gerrit-Owner: Mwjames <[email protected]>
Gerrit-Reviewer: Mwjames <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to