Page MenuHomePhabricator

Display Schema content on Wikidata
Closed, ResolvedPublic2 Estimated Story Points

Description

Amy wants to view a Schema on Wikidata so that she can see it’s content. She wants to be able to comfortably look at it by eye but also be able to copy it.

GIVEN you are on the webpage with the Schema
THEN you can see it

Acceptance Criteria

  • It should be possible to view a Schema by visiting a webpage
  • The Schema should be displayed in a font / size / colour such that is it possible to read without undue strain / scrolling
  • It should be easy by eye to differentiate the Schema from the background webpage window dressing
  • The Schema should be displayed as it was saved without any alteration e.g. no addition / removal of white space characters. Any line breaks should be visible.

Event Timeline

noarave renamed this task from View shape expression content on Wikidata to Display shape expression content on Wikidata.Jan 22 2019, 12:58 PM
noarave updated the task description. (Show Details)
Lucas_Werkmeister_WMDE renamed this task from Display shape expression content on Wikidata to Display Schema content on Wikidata.Jan 24 2019, 10:27 AM
Lucas_Werkmeister_WMDE updated the task description. (Show Details)

In the story time we agreed that this is done except for adding some tests for whitespace handling. (Default style of <pre> looks good enough.)

Change 489248 had a related patch set uploaded (by Michael Große; owner: Michael Große):
[mediawiki/extensions/WikibaseSchema@master] Add test for schema inner whitespace handling

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

Change 489248 merged by jenkins-bot:
[mediawiki/extensions/WikibaseSchema@master] Add test for Schema inner whitespace handling

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