Index: trunk/extensions/Gadgets/Gadgets.php |
— | — | @@ -242,20 +242,20 @@ |
243 | 243 | $gadgets = wfLoadGadgetsStructured(); |
244 | 244 | if ( !$gadgets ) return true; |
245 | 245 | |
| 246 | + $args = array(); |
246 | 247 | $messages = array(); |
247 | | - $msgOpt = array( 'parseinline' ); |
248 | 248 | |
249 | 249 | foreach ( $gadgets as $section => $entries ) { |
250 | 250 | if ( $section !== false && $section !== '' ) { |
251 | 251 | $tname = "gadget-section-$section"; |
252 | | - $ttext = wfMsgExt( $tname, $msgOpt ); |
| 252 | + $ttext = wfMsgReal( $tname, $args, true, false, false ); |
253 | 253 | if ( wfEmptyMsg( $tname, $ttext ) ) $ttext = $section; |
254 | 254 | $messages[$tname] = $ttext; |
255 | 255 | } |
256 | 256 | |
257 | 257 | foreach ( $entries as $gname => $code ) { |
258 | 258 | $tname = "gadget-$gname"; |
259 | | - $ttext = wfMsgExt( $tname, $msgOpt ); |
| 259 | + $ttext = wfMsgReal( $tname, $args, true, false, false ); |
260 | 260 | if ( wfEmptyMsg( $tname, $ttext ) ) $ttext = $gname; |
261 | 261 | $messages[$tname] = $ttext; |
262 | 262 | } |