Page MenuHomePhabricator

Deprecate and remove mediawiki.ui variables
Closed, ResolvedPublic1 Estimated Story Points

Description

Background

With T332541 close to resolution, it's time to deprecate and remove mediawiki.ui variables.

Goal

A single source of truth has been established with mediawiki.skin.variables, which features several benefits over mediawiki.ui variables.
Let's deprecate and remove former file.

Note, in contrast to resources defined in resources.php, we need to rely on manual work and only comments with Less files.

Acceptance criteria

  • Deprecate mediawiki.ui/variables.less file, done in MW-1.41.0
  • Remove one MW version later, targeted for MW-1.42.0

Event Timeline

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

[mediawiki/core@master] mediawiki.ui: Clearly deprecate the whole variables.less file

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

Restricted Application triaged this task as High priority. · View Herald TranscriptMay 3 2023, 10:57 AM
Volker_E set the point value for this task to 1.May 3 2023, 10:58 AM

Change 914410 merged by jenkins-bot:

[mediawiki/core@master] mediawiki.ui: Clearly deprecate the whole variables.less file

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

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

[mediawiki/core@master] [WIP] mediawiki.less: Remove 'mediawiki.ui/variables.less' completely

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

Volker_E changed the task status from Open to Stalled.EditedMay 6 2023, 8:18 PM

With first step removing from Design Systems Team Sprint board, as second step needs to wait for MW 1.42.0. @CCiufo-WMF @ldelench_wmf

@Volker_E will this be included in the release notes automatically in the right channels? i.e. wikitech-l, etc.?

Yes, that's a good call.
There's two things to put forward to wikitech-l:

  1. Writing about the positive impact of mediawiki.skin.variables for all, skin, extension authors and our users.
  2. What do Monobook users expect, who wants to participate about the look & feel for this still popular skin. See T333888: Provide a better-tailored mediawiki.skin.variables experience to Monobook. Similar but probably not as urgent would be Timeless skin as other Foundation deployed skin.

We could also consider to add a short tech news message, targeted at end users, that their interface might slightly change (easy example: border radius on Monobook; towards more consistency)

Volker_E changed the task status from Stalled to In Progress.Jan 11 2024, 12:31 AM
Volker_E claimed this task.

Change 916797 merged by jenkins-bot:

[mediawiki/core@master] mediawiki.less: Remove 'mediawiki.ui/variables.less' completely

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

Volker_E updated the task description. (Show Details)
Volker_E added a subscriber: Jdlrobson.