Page MenuHomePhabricator

Remove 'mediawiki.ui.checkbox' module
Closed, ResolvedPublic

Description

T235961: Remove 'mediawiki.ui.anchor' module | T420674: Remove 'mediawiki.ui.radio' module

Background & Goal

Remove all blocking calls to use 'mediawiki.ui.checkbox' module and remove the module itself. It has been deprecated since MediaWiki 1.41.

Alongside

Developer notes

  • Note that some outdated skins, that are not set their compatibility goal for MediaWiki 1.46 or any later version are not reasonably to be considered here: Skin:Mask. They don't need change atm.
  • StarCitizenTools/mediawiki-skins-Citizen defines it's own module override for 'mediawiki.ui.radio'

Acceptance criteria for done

  • Remove/replace usage blockers
    • Replace Translate usage
  • Remove the module

Details

Event Timeline

Hi, I would like to work on this task.

I am new to contributing and plan to start with the Translate extension by identifying usages of mediawiki.ui.checkbox and mw-ui-checkbox, then removing the dependency and replacing them with standard implementations.

Please let me know if this approach is correct or if there are specific areas I should focus on.

Hi, please see the task description, and try locally. Thanks!

Hi @SheetalPro thanks for your interest. This is not an easy task so I've been reaching out to the maintainers of MediaWiki-extensions-Translate in the sub task T421441, who have done similar changes in their code base before to tackle this there.

Change #1271040 had a related patch set uploaded (by VolkerE; author: VolkerE):

[mediawiki/core@master] Remove unused 'mediawiki.ui.checkbox' module

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

Change #1271040 merged by jenkins-bot:

[mediawiki/core@master] Remove unused 'mediawiki.ui.checkbox' module

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