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 & 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.
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