r24653 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24652‎ | r24653 | r24654 >
Date:15:09, 7 August 2007
Author:mkroetzsch
Status:old
Tags:
Comment:
+profiling for parser
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_Hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Hooks.php
@@ -19,6 +19,7 @@
2020 * not relevant when moving the hook to internalParse()).
2121 */
2222 function smwfParserHook(&$parser, &$text, &$strip_state = null) {
 23+ wfProfileIn('smwfSetupExtension');
2324 // Init global storage for semantic data of this article.
2425 SMWFactbox::initStorage($parser->getTitle(),$parser->getOptions()->getSkin());
2526
@@ -34,6 +35,7 @@
3536 SMWFactbox::printFactbox($text);
3637 } else SMWFactbox::clearStorage();
3738
 39+ wfProfileOut('smwfSetupExtension');
3840 return true; // always return true, in order not to stop MW's hook processing!
3941 }
4042

Status & tagging log