Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Hooks.php |
— | — | @@ -19,6 +19,7 @@ |
20 | 20 | * not relevant when moving the hook to internalParse()). |
21 | 21 | */ |
22 | 22 | function smwfParserHook(&$parser, &$text, &$strip_state = null) { |
| 23 | + wfProfileIn('smwfSetupExtension'); |
23 | 24 | // Init global storage for semantic data of this article. |
24 | 25 | SMWFactbox::initStorage($parser->getTitle(),$parser->getOptions()->getSkin()); |
25 | 26 | |
— | — | @@ -34,6 +35,7 @@ |
35 | 36 | SMWFactbox::printFactbox($text); |
36 | 37 | } else SMWFactbox::clearStorage(); |
37 | 38 | |
| 39 | + wfProfileOut('smwfSetupExtension'); |
38 | 40 | return true; // always return true, in order not to stop MW's hook processing! |
39 | 41 | } |
40 | 42 | |