mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-23 23:43:54 +00:00
Passing a string to ParserOutput::addModules()/addModuleStyles() is deprecated
Bug: T296123 Change-Id: I9b7fe5acee73c3a378153c0820b46816164ebf21
This commit is contained in:
parent
5f749c6418
commit
0a3b28d3de
|
@ -220,7 +220,7 @@ class Hooks {
|
||||||
'ext.templateData.images',
|
'ext.templateData.images',
|
||||||
'jquery.tablesorter.styles',
|
'jquery.tablesorter.styles',
|
||||||
] );
|
] );
|
||||||
$parser->getOutput()->addModules( 'jquery.tablesorter' );
|
$parser->getOutput()->addModules( [ 'jquery.tablesorter' ] );
|
||||||
$parser->getOutput()->setEnableOOUI( true );
|
$parser->getOutput()->setEnableOOUI( true );
|
||||||
|
|
||||||
$userLang = $parser->getOptions()->getUserLangObj();
|
$userLang = $parser->getOptions()->getUserLangObj();
|
||||||
|
|
Loading…
Reference in a new issue