Page MenuHomePhabricator

"View license" link should be anchored to "licensing" section if standard header is used
Open, LowPublic

Description

Author: mcdevitd

Description:
It should be possible for the generic "View license" to be an anchored link directly to the file description page's licensing section if it detects an expected header used on the page. It can be disorienting to click a link promising licensing information, but then get the top of the image page without any licensing in sight. Most file description pages on Commons use "== {{int:license}} ==" or "== {{int:license-header}} ==", which produce "File:X.jpg#Licensing:" or "File:X.jpg#Licensing" (with and without colon).


Version: unspecified
Severity: enhancement

Details

Reference
bz56829

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:23 AM
bzimport added a project: MediaViewer.
bzimport set Reference to bz56829.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Nov 9 2013, 7:53 AM

Unless the user is using a different language (https://commons.wikimedia.org/wiki/File:Foobar.jpg?uselang=de#Lizenz) or the remote wiki is configured differently from what we expect, or they've changed the message in the MediaWiki namespace for whatever reason.

There are so many nasty things possible here that I'd rather wait for standardization from the Wikidata people.

Alternatively, we could fetch meta=allmessages including ammessage=license in our site info calls...but those sometimes don't work.

I'll toy with the idea. :)

Tgr added a comment.Jun 26 2014, 9:33 PM

We can use something like MediaViewer/license and have MediaViewer resolve it on the other end. Personally I would just wontfix though, section-linking in short pages tends to have poor usability.

Given how difficult it can be for non-experts to pick out the right license information from a File: page on Commons, I think this would be a nice usability win if it is technically possible.

Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:12 PM
Restricted Application added subscribers: Matanya, Aklapper. · View Herald TranscriptSep 4 2015, 6:12 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.

Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptJun 10 2019, 6:52 AM
Tgr removed a subscriber: Tgr.Jul 9 2019, 6:05 PM