Page MenuHomePhabricator

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

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

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. :)

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.

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

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM