Index: trunk/extensions/Configure/settings/WebExtension.php |
— | — | @@ -196,14 +196,14 @@ |
197 | 197 | $ret = '<fieldset><legend>' . htmlspecialchars( $this->mName ) . '</legend>'; |
198 | 198 | if ( count( $errors = $this->checkSettingsDependencies() ) ) { |
199 | 199 | $ret .= "<span class=\"errorbox\">"; |
200 | | - $ret .= wfMsgExt( 'configure-ext-settings-dep-errors', array( 'parseinline' ), count( $errors ) ); |
| 200 | + $ret .= wfMessage( 'configure-ext-settings-dep-errors', count( $errors ) )->parse(); |
201 | 201 | $ret .= "<ul>\n"; |
202 | 202 | foreach ( $errors as $err ) { |
203 | 203 | list( $setting, $req, $cur ) = $err; |
204 | 204 | $setting = '$'.$setting; |
205 | 205 | $req = self::prettifyForDisplay( $req ); |
206 | 206 | $cur = self::prettifyForDisplay( $cur ); |
207 | | - $ret .= '<li>' . wfMsgExt( 'configure-ext-settings-dep-error', array( 'parseinline' ), $setting, $req, $cur ) . "</li>\n"; |
| 207 | + $ret .= '<li>' . wfMessage( 'configure-ext-settings-dep-error', $setting, $req, $cur )->parse() . "</li>\n"; |
208 | 208 | } |
209 | 209 | return $ret . "</ul>\n</span>\n</fieldset>"; |
210 | 210 | } |
— | — | @@ -211,11 +211,11 @@ |
212 | 212 | $warnings = array(); |
213 | 213 | |
214 | 214 | if ( $this->mDbChange ) { |
215 | | - $warnings[] = wfMsgExt( 'configure-ext-schemachange', array( 'parseinline' ) ); |
| 215 | + $warnings[] = wfMessage( 'configure-ext-schemachange' )->parse(); |
216 | 216 | } |
217 | 217 | if ( count( $this->mExtensionsDependencies ) ) { |
218 | 218 | global $wgLang; |
219 | | - $warnings[] = wfMsgExt( 'configure-ext-ext-dependencies', array( 'parseinline' ), $wgLang->listToText( $this->mExtensionsDependencies ), count( $this->mExtensionsDependencies ) ); |
| 219 | + $warnings[] = wfMessage( 'configure-ext-ext-dependencies', $wgLang->listToText( $this->mExtensionsDependencies ), count( $this->mExtensionsDependencies ) )->parse(); |
220 | 220 | } |
221 | 221 | |
222 | 222 | if ( count( $warnings ) ) { |
— | — | @@ -230,20 +230,20 @@ |
231 | 231 | $ret .= "</span><br clear=\"left\" />\n"; |
232 | 232 | } |
233 | 233 | |
234 | | - $use = wfMsgExt( 'configure-ext-use', array( 'parseinline' ) ); |
| 234 | + $use = wfMessage( 'configure-ext-use' )->parse(); |
235 | 235 | $ret .= "<h2>{$use}</h2>\n"; |
236 | 236 | $ret .= "<table class=\"configure-table configure-table-ext\"><tr><td>\n"; |
237 | 237 | $checkName = $this->getCheckName(); |
238 | | - $ret .= Xml::checkLabel( wfMsg( 'configure-ext-use-extension' ), $checkName, $checkName, $this->isActivated() ); |
| 238 | + $ret .= Xml::checkLabel( wfMessage( 'configure-ext-use-extension' )->text(), $checkName, $checkName, $this->isActivated() ); |
239 | 239 | $ret .= "</td></tr>\n"; |
240 | 240 | if ( !empty( $this->mDoc ) ) { |
241 | 241 | $ret .= "<tr><td>\n"; |
242 | | - $ret .= '<p>' . Xml::element( 'a', array( 'href' => $this->mDoc ), wfMsg( 'configure-ext-doc' ) ) . "</p>\n"; |
| 242 | + $ret .= '<p>' . Xml::element( 'a', array( 'href' => $this->mDoc ), wfMessage( 'configure-ext-doc' )->text() ) . "</p>\n"; |
243 | 243 | $ret .= "</td></tr>"; |
244 | 244 | } |
245 | 245 | $ret .= "</table>\n"; |
246 | 246 | if ( count( $this->mSettings ) ) { |
247 | | - $settings = wfMsgExt( 'configure-ext-settings', array( 'parseinline' ) ); |
| 247 | + $settings = wfMessage( 'configure-ext-settings' )->parse(); |
248 | 248 | $ret .= "<h2>{$settings}</h2>\n"; |
249 | 249 | $ret .= "<table class=\"configure-table\">\n"; |
250 | 250 | foreach ( $this->mSettings as $name => $type ) { |