Revert r66934 (Removing wfLoadExtensionMessages() from everything). I disagree on principle...we branch extensions for this very reason. But people want trunk extensions compatible for several versions back, meh.
This commit is contained in:
Родитель
21d8a2b70b
Коммит
ab32cf30f0
|
@ -182,6 +182,7 @@ function renderWidget ( &$parser, $widgetName ) {
|
|||
try {
|
||||
$output = $smarty->fetch( "wiki:$widgetName" );
|
||||
} catch ( Exception $e ) {
|
||||
wfLoadExtensionMessages( 'Widgets' );
|
||||
return '<div class=\"error\">' . wfMsgExt( 'widgets-desc', array( 'parsemag' ), htmlentities($widgetName) ) . '</div>';
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче