Index: trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php |
— | — | @@ -110,12 +110,7 @@ |
111 | 111 | |
112 | 112 | // Parser hooks |
113 | 113 | $phDir = $smwgIP . 'includes/parserhooks/'; |
114 | | - $wgAutoloadClasses['SMWAsk'] = $phDir . 'SMW_Ask.php'; |
115 | | - $wgAutoloadClasses['SMWShow'] = $phDir . 'SMW_Show.php'; |
116 | | - $wgAutoloadClasses['SMWInfo'] = $phDir . 'SMW_Info.php'; |
117 | | - $wgAutoloadClasses['SMWConcept'] = $phDir . 'SMW_Concept.php'; |
118 | 114 | $wgAutoloadClasses['SMWSet'] = $phDir . 'SMW_Set.php'; |
119 | | - $wgAutoloadClasses['SMWSetRecurringEvent'] = $phDir . 'SMW_SetRecurringEvent.php'; |
120 | 115 | $wgAutoloadClasses['SMWDeclare'] = $phDir . 'SMW_Declare.php'; |
121 | 116 | |
122 | 117 | // Stores & queries |
— | — | @@ -475,12 +470,7 @@ |
476 | 471 | * @since 1.5.3 |
477 | 472 | */ |
478 | 473 | function smwfRegisterParserFunctions( Parser &$parser ) { |
479 | | - $parser->setFunctionHook( 'ask', array( 'SMWAsk', 'render' ) ); |
480 | | - $parser->setFunctionHook( 'show', array( 'SMWShow', 'render' ) ); |
481 | | - $parser->setFunctionHook( 'info', array( 'SMWInfo', 'render' ) ); |
482 | | - $parser->setFunctionHook( 'concept', array( 'SMWConcept', 'render' ) ); |
483 | 474 | $parser->setFunctionHook( 'set', array( 'SMWSet', 'render' ) ); |
484 | | - $parser->setFunctionHook( 'set_recurring_event', array( 'SMWSetRecurringEvent', 'render' ) ); |
485 | 475 | $parser->setFunctionHook( 'declare', array( 'SMWDeclare', 'render' ), SFH_OBJECT_ARGS ); |
486 | 476 | |
487 | 477 | return true; // Always return true, in order not to stop MW's hook processing! |