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)
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 26 2015, 4:19 AM
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-API.
Anomie set Security to None.
Anomie updated the task description. (Show Details)
Anomie edited projects, added MediaWiki-API; removed MediaWiki-General.
Anomie added a subscriber: Anomie.

(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

Legoktm closed this task as Resolved.Jun 13 2015, 12:09 AM
Legoktm added a subscriber: Legoktm.

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

Works in production.
https://www.mediawiki.org/wiki/Copyright has been marked for translation by @Fabsouza1.