Page MenuHomePhabricator

Deprecate mediawiki.icon ResourceLoader module and use Codex mixin instead.
Open, Needs TriagePublicBUG REPORT

Description

The mediawiki.icon module is used in Extension:Wikibase and Extension:UploadWizard. The only purpose of this module is to serve 2 icons. These extensions should stop using the module and use .cdx-mixin-css-icon() and cdxIconDownTriangle icon instead (using transform to rotate where needed).

TODO

  • Mark the module as deprecated (and update RecentChanges in the process)
  • Switch UploadWizard and Wikibase
  • Remove the module

Before

Screenshot 2023-11-20 at 4.36.19 PM.png (383×959 px, 75 KB)

After

Screenshot 2023-11-20 at 4.35.44 PM.png (278×984 px, 73 KB)

Event Timeline

Change 975920 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/core@master] mediawiki.icon: Deprecate module in favor of Codex mixin

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

Change 975920 merged by jenkins-bot:

[mediawiki/core@master] mediawiki.icon: Deprecate module in favor of Codex mixin

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