mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AJAXPoll
synced 2024-11-23 22:46:17 +00:00
Use array style on adding modules to ParserOutput
String is deprecated Bug: T296123 Change-Id: I6eb23d299ea922935b514e545af971ee06bb48da
This commit is contained in:
parent
1833ddaa0f
commit
2b477a92e0
|
@ -38,7 +38,7 @@ class AJAXPoll {
|
|||
public static function render( $input, $args = [], Parser $parser, $frame ) {
|
||||
$parser->getOutput()->updateCacheExpiry( 0 );
|
||||
$parser->addTrackingCategory( 'ajaxpoll-tracking-category' );
|
||||
$parser->getOutput()->addModules( 'ext.ajaxpoll' );
|
||||
$parser->getOutput()->addModules( [ 'ext.ajaxpoll' ] );
|
||||
|
||||
// ID of the poll
|
||||
if ( isset( $args['id'] ) ) {
|
||||
|
|
Loading…
Reference in a new issue