Page MenuHomePhabricator

[MEX] M2 - Fix broken statement display on Lexeme pages
Closed, ResolvedPublic

Description

We noticed that as of 7 August 2025, Lexemes look slightly broken on mobile beta (example) – specifically, their HTML is still the “legacy” mobile UI, however some styles from wbui2025 are being loaded and result in the rank selector being displayed badly:

image.png (163×351 px, 16 KB)

The rank selector is being targeted by the following CSS:

.wikibase-rankselector {
  position: absolute;
  padding-left: 1rem;
  padding-top: 0.5rem;
}

For now, we should make sure that the mobile lexeme UI just looks as before, without any MEX interference.

Acceptance criteria:

  • The wbui2025 styles are scoped so that they only apply to wbui2025 HTML
  • The wbui2025 styles aren’t loaded on lexeme pages

Event Timeline

hoo moved this task from The Backlog to The Board on the Wikidata-Omega board.
hoo edited projects, added Wikidata-Omega (The Board); removed Wikidata-Omega.
hoo moved this task from new to the board to In Development on the Wikidata-Omega (The Board) board.

Change #1178545 had a related patch set uploaded (by Hoo man; author: Hoo man):

[mediawiki/extensions/Wikibase@master] wbui2025: Add RL modules for items only

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

hoo removed hoo as the assignee of this task.Aug 13 2025, 1:58 PM
hoo subscribed.

The changes to the CSS scoping I will do on top of https://gerrit.wikimedia.org/r/1177962 tomorrow.

Change #1178545 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] wbui2025: Add RL modules for items and properties only

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

Change #1177962 had a related patch set uploaded (by Hasan Akgün (WMDE); author: Hasan Akgün (WMDE)):

[mediawiki/extensions/Wikibase@master] Reorganize .less files and move CSS rules to respective components

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

Change #1177962 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Reorganize .less files and move CSS rules to respective components

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

Lexemes now display the same on beta as before wbui2025 was introduced