Page MenuHomePhabricator

Hide structured data on file pages for remote repositories
Open, MediumPublicBUG REPORT


User story: N/A

We have this: On file pages for images on other image repositories (e.g., the Structured Data tab appears, but does not function (i.e., it does not show structured data).

We want this: One of the following:

  • The tab is not shown when the file is not local

Acceptance Criteria:

  • The Structured Data tab does not appear on InstantCommons and remote repository file pages

During development, please test the following:

  • Test this feature while logged in AND logged out
  • Test this feature on at least one mobile browser
  • Test that this feature works on the file page AND the Add Data step on UploadWizard (if applicable, some features only exist on one or the other)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 23 2019, 8:49 PM

I *think* this is a testcommons-specific edge case.
The SDC content should have 'display: none' by default on all other wikis, but since this one also has MediaInfo, it's actually getting displayed (but since it's not inside the own wiki's content div, it's not being hooked up properly)

We should probably discuss how we want instantcommons to deal with SDC data in the long run:

  • should they be displayed (caches may be an issue?)
  • should we allow edit-from-other-wiki (wiki policies may prevent this?)
  • not show them at all, and enforce it better than we are now (as evidenced by this ticket)
MarkTraceur renamed this task from InstantCommons images show Structured Data tab, but it does not function to Hide structured data on file pages for remote repositories.Jul 25 2019, 2:56 PM
MarkTraceur triaged this task as Medium priority.
MarkTraceur updated the task description. (Show Details)
Restricted Application added a project: Multimedia. · View Herald TranscriptAug 10 2019, 11:57 PM
CBogen moved this task from Triage to SDoC on the Structured-Data-Backlog board.Aug 25 2020, 8:25 PM