mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-27 17:20:01 +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',
|
||||
'jquery.tablesorter.styles',
|
||||
] );
|
||||
$parser->getOutput()->addModules( 'jquery.tablesorter' );
|
||||
$parser->getOutput()->addModules( [ 'jquery.tablesorter' ] );
|
||||
$parser->getOutput()->setEnableOOUI( true );
|
||||
|
||||
$userLang = $parser->getOptions()->getUserLangObj();
|
||||
|
|
Loading…
Reference in a new issue