Page MenuHomePhabricator

Show Partnership Information in Media Viewer
Open, LowestPublic


Migrated from:


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:​​< >

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.

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.


  • 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

[[ | #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.

Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:29 PM
Restricted Application added a subscriber: Matanya. · View Herald TranscriptSep 4 2015, 6:29 PM

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 added a subscriber: Jdlrobson.
Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptJun 10 2019, 7:12 AM