Page MenuHomePhabricator

Use of ParserOutput::addModules triggers error message
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue:

  • Start a new page. Insert the following markup {{#multimaps: 10, 10}} (example taken from the documentation).
  • Press "Show Preview".

What happens?:
One gets the following error message at the very top of the page

Deprecated: Use of ParserOutput::addModules with non-array argument was deprecated in MediaWiki 1.38. [Called from MultiMaps\BaseMapService::addDependencies in /volume1/web/bwiki1381/extensions/MultiMaps/includes/BaseMapService.php at line 553]

The map appears as it should.

What should have happened instead?:
No error message, map display only.

Software version:

Other information:
Issue was first reported using MW 1.38 in https://www.mediawiki.org/wiki/Topic:Wyjedbgmslk1pl7n