On Mon, Jun 19, 2017 at 2:14 AM, Legoktm legoktm.wikipedia@gmail.com wrote:
Hi,
On 06/18/2017 01:00 PM, Jack Phoenix wrote:
What would be the proper way to signal to ResourceLoader, "actually I need you to load this module again"?
I don't think ResourceLoader was really designed for the concept of "unloading" modules. Instead I'd suggest scoping the CSS to some class like "theme-name" and then using JS to set and remove that class from
<body> (or whatever other element) as needed.
I note VE has a similar bug in https://phabricator.wikimedia.org/T156414. But I suspect that the part of that task relating to steps 8 and 9 is/will be low priority.