Index: trunk/extensions/SemanticForms/specials/SF_FormEdit.php |
— | — | @@ -29,6 +29,8 @@ |
30 | 30 | function execute( $query, $redirectOnError = true ) { |
31 | 31 | global $wgRequest, $wgOut; |
32 | 32 | |
| 33 | + wfProfileIn( __METHOD__ ); |
| 34 | + |
33 | 35 | $this->setHeaders(); |
34 | 36 | $this->mForm = $wgRequest->getVal( 'form' ); |
35 | 37 | $this->mTarget = $wgRequest->getVal( 'target' ); |
— | — | @@ -64,6 +66,9 @@ |
65 | 67 | } else { |
66 | 68 | $this->mError = null; |
67 | 69 | } |
| 70 | + |
| 71 | + wfProfileOut( __METHOD__ ); |
| 72 | + |
68 | 73 | } |
69 | 74 | |
70 | 75 | static function printAltFormsList( $alt_forms, $target_name ) { |
— | — | @@ -209,7 +214,7 @@ |
210 | 215 | // underlines - hopefully this won't |
211 | 216 | // cause problems of its own |
212 | 217 | $target_name = str_replace( ' ', '_', $target_name ); |
213 | | - $target_name = $wgParser->recursiveTagParse( $target_name ); |
| 218 | + $target_name = $wgParser->transformMsg( $target_name, ParserOptions::newFromUser( null ) ); |
214 | 219 | |
215 | 220 | $title_number = ""; |
216 | 221 | $isRandom = false; |