Index: trunk/phase3/includes/Parser.php |
— | — | @@ -3308,12 +3308,16 @@ |
3309 | 3309 | global $wgTitle; |
3310 | 3310 | static $executing = false; |
3311 | 3311 | |
| 3312 | + $fname = "Parser::transformMsg"; |
| 3313 | + |
3312 | 3314 | # Guard against infinite recursion |
3313 | 3315 | if ( $executing ) { |
3314 | 3316 | return $text; |
3315 | 3317 | } |
3316 | 3318 | $executing = true; |
3317 | 3319 | |
| 3320 | + wfProfileIn($fname); |
| 3321 | + |
3318 | 3322 | $this->mTitle = $wgTitle; |
3319 | 3323 | $this->mOptions = $options; |
3320 | 3324 | $this->mOutputType = OT_MSG; |
— | — | @@ -3321,6 +3325,7 @@ |
3322 | 3326 | $text = $this->replaceVariables( $text ); |
3323 | 3327 | |
3324 | 3328 | $executing = false; |
| 3329 | + wfProfileOut($fname); |
3325 | 3330 | return $text; |
3326 | 3331 | } |
3327 | 3332 | |