Page MenuHomePhabricator

Deprecated: Use of ParserOutput::addModules with non-array argument was deprecated in MediaWiki 1.38.
Closed, ResolvedPublic

Description

The following deprecation warnings show up in mediawiki/core CI.

16:21:02 Deprecated: Use of ParserOutput::addModules with non-array argument was deprecated in MediaWiki 1.38. [Called from MediaWiki\Tests\Parser\ParserCacheSerializationTestCases::getParserOutputTestCases in /workspace/src/tests/phpunit/includes/parser/ParserCacheSerializationTestCases.php at line 188] in /workspace/src/includes/debug/MWDebug.php on line 377
16:21:02 
16:21:02 Deprecated: Use of ParserOutput::addModuleStyles with non-array argument was deprecated in MediaWiki 1.38. [Called from MediaWiki\Tests\Parser\ParserCacheSerializationTestCases::getParserOutputTestCases in /workspace/src/tests/phpunit/includes/parser/ParserCacheSerializationTestCases.php at line 189] in /workspace/src/includes/debug/MWDebug.php on line 377

Event Timeline

Change 756168 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/core@master] ParserCacheSerializationTestCases: call ::addModule(Style)?s with an array

https://gerrit.wikimedia.org/r/756168

Change 756168 merged by jenkins-bot:

[mediawiki/core@master] ParserCacheSerializationTestCases: call ::addModule(Style)?s with an array

https://gerrit.wikimedia.org/r/756168

Zabe claimed this task.