Page MenuHomePhabricator

[ES-M3] EntitySchemas shown by label in Watchlists
Closed, ResolvedPublic1 Estimated Story Points

Description

As an editor, I want to easily understand what is behind a EntitySchema when looking at my Watchlist

Problem
Currently on users' Watchlist, EntitySchemas are shown by their ID instead of their label, making it difficult for users to understand what the EntitySchema is for.

To make EntitySchemas more legible for users, we would like to replicate the format that is used for Items i.e. "Label (ID)"

How Items are displayed:

image.png (31×423 px, 5 KB)

BDD
GIVEN an EntitySchema
WHEN it is listed on users' Watchlist
THEN it is shown as "Label (ID)"

Acceptance criteria:

  • the EntitySchema is shown with its label and ID in all MediaWiki listings
  • the language of the label follows the UI language

Note

  • Watchlist and Recent Changes could be implemented together as they may use the same hook
  • Language fallback will be done for this in T3304913
  • S13 Planning - update in T339924 should fulfill the AC. This task is then to confirm that its working as expected

Event Timeline

Change 943535 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/EntitySchema@master] Show EntitySchema Labels on special pages instead of only the id

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

Change 943535 merged by jenkins-bot:

[mediawiki/extensions/EntitySchema@master] Show EntitySchema Labels on special pages instead of only the id

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

Michael subscribed.

This can now be verified on beta. Though, you may need to create/edit and especially watch EntitySchema to see it in your Watchlist.

Arian_Bozorg claimed this task.

Thanks Michael!

Looks good to me :)