resourceloader: Un-deprecate ClientHtml::setModuleStyles()
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 14 Jun 2018 22:09:52 +0000 (23:09 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 14 Jun 2018 22:15:59 +0000 (23:15 +0100)
commit941e3c66ba67863278bc11b9c0a23e47abfadefe
tree0cb78a1b4d6bbb101b0e89a2a291173f98eaaa99
parent83bb4e3c18d5e259672f9f49703e809be935828d
resourceloader: Un-deprecate ClientHtml::setModuleStyles()

This follows 80e5b160e0985, which introduced ClientHtml::setModuleScripts()
and setModuleStyles() with @deprecated marks. There was a vague intention
to remove both at some point.

The commit did not deprecate the related methods in OutputPage and ParserOutput.

The plan that eventually formed at T188689 was to keep methods relating to
"setModuleStyles" for the time being, and focus first on the removal of the
methods relating to "setModuleScripts". The latter since been properly
marked as deprecated and removal is scheduled for 1.33.

There is no current plan to deprecate/remove addModuleStyles
from OutputPage and ParserOutput. As such, the internal helper method
that makes those possible, probably shouldn't me marked as deprecated.

Bug: T188689
Change-Id: Ia36c057b73fe834bcbb2e3e8993d1a793a12ab72
includes/resourceloader/ResourceLoaderClientHtml.php