Page MenuHomePhabricator

UI for adding statement block on File page (Q-items only, no qualifiers)
Closed, ResolvedPublic


Note: blocked by

User story:
As a normal user
I want to be able go to the File page
And add a statement block for a Property that doesn't already have statements
Where the statement Property accepts Q-items as a value (i.e. the property has data-type 'wikibase-entity')
So that the user can add statements about a File that aren't just depicts - for example the painter of a picture

We have this:
'depicts' statements only

We want this:

Not in scope:

  • qualifiers
  • properties with data types that are not 'wikibase-entity'

Acceptance Criteria:

  • user can add statement block for property that has data type 'wikibase-entity'
  • user can add/delete statements in new statement block
  • user can remove entire statement block
  • user can publish to save new statements
  • after publishing, statement block behaves as T219382

Event Timeline

Change 510577 had a related patch set uploaded (by Cparle; owner: Cparle):
[mediawiki/extensions/WikibaseMediaInfo@master] WIP: other statements on File page

Hey Cormac, I don't think the designs need to change much, other than the button for adding addition statements. I'd like to keep the styling of the buttons we use on Upload Wizard:

^we would just need to update the button copy to "Add a statement"

Change 510577 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Other statements on File page

Unassigning from myself - will reassign when ready for testing on beta

Ramsey-WMF claimed this task.
Ramsey-WMF added a subscriber: Ramsey-WMF.

Tested on production. Finally done!