Page MenuHomePhabricator

api.php help should not output wrong link rel="copyright"
Closed, ResolvedPublic

Description

The license of the API documentation is the license of the code base it is generated on, not the license of the wiki. So e.g. the license of https://en.wikipedia.org/w/api.php?action=help&modules=query is core's license.

However, the source code of it has:​

<link rel="copyright" href="//creativecommons.org/licenses/by-sa/3.0/" />​

It should either be the correct license for the API help (see T93994: Special:ApiHelp should include licensing information) or omitted.

Event Timeline

Mattflaschen-WMF raised the priority of this task from to Needs Triage.
Mattflaschen-WMF updated the task description. (Show Details)
Anomie renamed this task from api.php help should not output wrong link rel="copyright" to OutputPage should allow for overriding <link rel="copyright">.Mar 26 2015, 3:27 PM
Anomie renamed this task from OutputPage should allow for overriding <link rel="copyright"> to api.php help should not output wrong link rel="copyright".
Anomie updated the task description. (Show Details)
Anomie edited projects, added MediaWiki-General; removed MediaWiki-Action-API.
Anomie set Security to None.
Anomie updated the task description. (Show Details)
Anomie edited projects, added MediaWiki-Action-API; removed MediaWiki-General.
Anomie subscribed.

(oops, Phab needs an "undo" button)

Change 216676 had a related patch set uploaded (by Ricordisamoa):
Fix rel="copyright" for ApiHelp

https://gerrit.wikimedia.org/r/216676

Ricordisamoa triaged this task as High priority.

Change 216676 merged by jenkins-bot:
Fix rel="copyright" for ApiHelp

https://gerrit.wikimedia.org/r/216676

Works on the Beta cluster.
https://www.mediawiki.org/wiki/Copyright should be marked for translation quite ASAP.