Page MenuHomePhabricator

Schema heading
Closed, ResolvedPublic3 Estimated Story Points

Description

Problem:
Right now it looks like the Schema page has two headings, one saying "Schema:Oxxx" and one with the Label. They should be combined into one like on Item pages. The resulting header is "Label (Oxxx)".

Screenshots:

Schemaheading.png (535×654 px, 60 KB)

Acceptance criteria:

  • Only one heading remains with both the Label and the ID.
  • The styling is the same as on Item and Property pages.

Notes:

  • Message when no label is available: "No Label defined"
  • Markup should use semantically correct HTML

Event Timeline

Lydia_Pintscher moved this task from Backlog to Ready to pick up on the EntitySchema board.
Lydia_Pintscher updated the task description. (Show Details)

Change 496219 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/WikibaseSchema@master] Set display title from label and schema ID

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

The above patch changes the heading on the page, which also sets the page title (tab title, browser window title). In Wikibase, those are different – the page title is only the label, or only the entity ID if the label isn’t defined. Do we need to implement this as well? (It gets a bit complicated, unfortunately.)

Also, this doesn’t use language fallbacks yet – should it?

Change 496219 merged by jenkins-bot:
[mediawiki/extensions/WikibaseSchema@master] Set display title from label and schema ID

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

hoo subscribed.

Move back to doing, as per @Lucas_Werkmeister_WMDE's comment.

Michael subscribed.

Moving to verification after talking with @Lydia_Pintscher