Page MenuHomePhabricator

colorize-svg.js must support the same configuration format as MediaWiki's ResourceLoaderImageModule
Closed, ResolvedPublic1 Estimated Story Points

Description

colorize-svg.js must support the same configuration format as MediaWiki's ResourceLoaderImageModule. They have diverged since their creation, and that's blocking us from easily reusing the definitions. ResourceLoaderImageModule's format is better.

Event Timeline

matmarex claimed this task.
matmarex raised the priority of this task from to High.
matmarex updated the task description. (Show Details)
matmarex added projects: Technical-Debt, OOUI.

Change 200272 had a related patch set uploaded (by Bartosz Dziewoński):
Refactor icon handling again

https://gerrit.wikimedia.org/r/200272

Change 200275 had a related patch set uploaded (by Bartosz Dziewoński):
ResourceLoaderImageModule: Remove 'image' in descriptors to 'file'

https://gerrit.wikimedia.org/r/200275

Change 200275 merged by jenkins-bot:
ResourceLoaderImageModule: Rename 'image' in descriptors to 'file'

https://gerrit.wikimedia.org/r/200275

Change 200272 merged by jenkins-bot:
Refactor icon handling again

https://gerrit.wikimedia.org/r/200272

Most of the work is done, but the way we do ltr/rtl versions of icons is awful. T94560: Properly support ltr/rtl icon versions in colorize-svg.js tracks that. I think this is the last blocker left.