Page MenuHomePhabricator

Let skins set $wgResourceLoaderSkinScripts for core (and other?) RL modules that have skin-specific scripts
Closed, DeclinedPublic

Description

Like with $wgResourceLoaderSkinStyles, let skins be able to set $wgResourceLoaderSkinScripts that run instead of the default $skinScripts values. This avoids dirtying core RL modules' definition with knowledge about individual skins and the scripts that work with them.

Event Timeline

Jdforrester-WMF claimed this task.
Jdforrester-WMF raised the priority of this task from to Low.
Jdforrester-WMF updated the task description. (Show Details)
Jdforrester-WMF changed Security from none to None.

I'm not sure if this is a good idea. The fact that OOjs UI would need this is a by-design bug in OOjs UI. For T78367 I'm trying to implement a more specific funcitonality.

matmarex claimed this task.

I'll mark it as declined, but without prejudice. If there is a use case for it other than T78367 (which was implemented differently), please reopen.