Page MenuHomePhabricator

Show Partnership Information in Media Viewer
Open, LowestPublic

Description

Migrated from: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/281

Narrative

As a user, I want to know if a media file is provided through a special partnership, so that I can learn more about it.

Acceptance Criteria

  • Show a 'Partnership' tag if a file is provided through a special partnership,, in a special section below the Description and Assessments.
  • Showspecial icon (e.g. 'partner icon'),at the start ofthis section (with a ' Partnership 'tooltip label when you hover over it)
  • Show any partnership info when the user clicks on the tag,by showing or linking to the file info page's Page Layout section:

({Partnership-Layout}}, which adds the CSS class 'partnershiptemplate')

  • If there is more than one partnership, only show 1 row of recent tags by default, with a “...” tag that lets you see more
  • If available, provide a page link for each 'partnership credit', so users can learn more

See also:​​< https://commons.wikimedia.org/wiki/Template:Partnership-Layout >

Design Notes &amp; Mockups

Here are mockups of how we plan to implement tags and notes for the Assessment feature. We would use the same technique for partnerships.

file (585×789 px, 57 KB)

Tags are used to indicate that the file was assessed, featured or rated. They appear below the description since they extend this description.

  • Tags can be limited to a fixed number of lines and expand when accessing the “...” tag. We can set a limit of 1-2 lines for assessment tags.
  • More information is provided when clicking on them (see 2nd image below). Current templates can be displayed on a callout.
  • When hovering the icons that represent the types of tags (“assessments” and “categories”) a tooltip indicates their names.

file (585×789 px, 67 KB)

Tasks

  • Try to parse file partnerships in Commons MetaDataAPI
  • Write API patch iffilepartnerships arenot yet available
  • Prepare icon for this section (e.g. 'campaign icon')
  • Integrate it in the Media Viewer extension

About Media Viewer

Read more on MediaWiki product page .

Related Bugs

Related Stories

[[https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/8 | #8 ]] Media Viewer Front-End

Related Patchsets

Event Timeline

MingleTerminator raised the priority of this task from to High.Dec 8 2014, 4:48 PM
Tgr lowered the priority of this task from High to Medium.Dec 11 2014, 12:45 AM

Lowering priority as we do not plan to work on this anytime soon.

Mass-removing the Multimedia tag from MediaViewer tasks, as this is now being worked on by the Reading department, not Editing's Multimedia team.

Jdlrobson lowered the priority of this task from Medium to Lowest.Feb 2 2016, 6:29 PM
Jdlrobson subscribed.