Index: trunk/extensions/PrefSwitch/SpecialPrefSwitch.php |
— | — | @@ -172,9 +172,7 @@ |
173 | 173 | } |
174 | 174 | // Always show a way back |
175 | 175 | if ( $this->originTitle && $this->originFullUrl ) { |
176 | | - $wgOut->addWikiMsgArray( |
177 | | - 'prefswitch-return', array( $this->originFullUrl, $this->originTitle ), array( 'parse' ) |
178 | | - ); |
| 176 | + $wgOut->addWikiMsg( 'prefswitch-return', $this->originFullUrl, $this->originTitle ); |
179 | 177 | } |
180 | 178 | // Set page title |
181 | 179 | if ( self::isSwitchedOn( $wgUser ) ) { |
— | — | @@ -252,13 +250,9 @@ |
253 | 251 | $html .= Xml::closeElement( 'form' ); |
254 | 252 | $wgOut->addHtml( $html ); |
255 | 253 | } else { |
256 | | - $wgOut->addWikiMsgArray( |
257 | | - 'prefswitch-main', wfMsgForContent( 'prefswitch-feedbackpage' ), array( 'parse' ) |
258 | | - ); |
| 254 | + $wgOut->addWikiMsg( 'prefswitch-main', wfMsgForContent( 'prefswitch-feedbackpage' ) ); |
259 | 255 | if ($wgUser->isLoggedIn()) { |
260 | | - $wgOut->addWikiMsgArray( |
261 | | - 'prefswitch-main-logged-changes', array( 'parse' ) |
262 | | - ); |
| 256 | + $wgOut->addWikiMsg( 'prefswitch-main-logged-changes' ); |
263 | 257 | |
264 | 258 | $oldSkin = 'monobook'; // The skin we are migrating from |
265 | 259 | |
— | — | @@ -276,9 +270,7 @@ |
277 | 271 | } |
278 | 272 | } |
279 | 273 | } |
280 | | - $wgOut->addWikiMsgArray( |
281 | | - 'prefswitch-main-feedback', wfMsgForContent( 'prefswitch-feedbackpage' ), array( 'parse' ) |
282 | | - ); |
| 274 | + $wgOut->addWikiMsg( 'prefswitch-main-feedback', wfMsgForContent( 'prefswitch-feedbackpage' ) ); |
283 | 275 | $state = self::userState( $wgUser ); |
284 | 276 | switch ( $state ) { |
285 | 277 | case 'anon': |
— | — | @@ -305,7 +297,7 @@ |
306 | 298 | break; |
307 | 299 | } |
308 | 300 | // Uses prefswitch-main-anon, prefswitch-main-on and prefswitch-main-off |
309 | | - $wgOut->addWikiMsgArray( 'prefswitch-main-' . $state, $parameters, array( 'parse' ) ); |
| 301 | + $wgOut->addWikiMsgArray( 'prefswitch-main-' . $state, $parameters ); |
310 | 302 | } |
311 | 303 | } |
312 | 304 | } |