resourceloader: Remove addModuleScripts, and deprecate getModuleScripts.
authorTimo Tijhof <krinklemail@gmail.com>
Sun, 3 Mar 2019 19:19:51 +0000 (19:19 +0000)
committerKrinkle <krinklemail@gmail.com>
Tue, 5 Mar 2019 16:54:08 +0000 (16:54 +0000)
commitc6f344083271fb2b289c5690bbe2a16ce4a714c5
treefe7ecf10896dfba8812f5f0e9ff5061d201fae11
parentb7cd670cb7b2bf58ff4ab9db845d0bee0301b6cc
resourceloader: Remove addModuleScripts, and deprecate getModuleScripts.

The addModuleScripts() methods were deprecated in 1.31 and 1.32,
these are now removed.

The getModuleScripts() are now deprecated as well, always returning
an empty array. To be removed in 1.34.

Depends on commits for bundled/wmf-deployed extensions that
remove the last few remaining callers to the deprecated functions
in: 3D, Collection, Flow, GlobalUserPage, and Wikibase.

Bug: T188689
Depends-On: If9f0bc6aef85117587fa1929f34f8861c8d80314
Depends-On: Ia8d41b97fbf6822f5f8f7ac889408acce1ac9a3a
Depends-On: I503b919739ea474ff33726815b0da55e2f7e2724
Depends-On: I236ef637fd03b810a46eb361e25067a037e9d183
Depends-On: I62e17779753b977a452cc0c9694947941e999cc3
Change-Id: I5a19b8f164ccf666485d2971202194b747f882df
includes/OutputPage.php
includes/api/ApiExpandTemplates.php
includes/api/ApiFormatBase.php
includes/api/ApiParse.php
includes/parser/ParserOutput.php
includes/resourceloader/ResourceLoaderClientHtml.php
resources/src/mediawiki.action/mediawiki.action.edit.preview.js
tests/phpunit/includes/OutputPageTest.php
tests/phpunit/includes/api/ApiParseTest.php
tests/phpunit/includes/parser/ParserOutputTest.php
tests/phpunit/includes/resourceloader/ResourceLoaderClientHtmlTest.php