r110041 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110040‎ | r110041 | r110042 >
Date:00:54, 26 January 2012
Author:preilly
Status:ok
Tags:
Comment:
add profile calls
Modified paths:
  • /trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php
@@ -327,6 +327,7 @@
328328 }
329329
330330 public function parseWikiTextToArray( Array $formatter, $wikiText, $nChild = false ) {
 331+ wfProfileIn( __METHOD__ );
331332 $options = array();
332333 $data = explode( PHP_EOL, $wikiText );
333334 if ( is_array( $formatter ) && !$nChild ) {
@@ -396,6 +397,7 @@
397398 }
398399 }
399400 }
 401+ wfProfileOut( __METHOD__ );
400402 return $options;
401403 }
402404

Status & tagging log