Page MenuHomePhabricator

License information omitted from PDFs and Books.
Open, Needs TriagePublic


Collection (trunk)

Licensing information is not populated into PDFs from the Download as PDF left nav link, or from Book Creator. I've confirmed that I have correctly set the license variables:

$wgLicenseName = "Creative Commons Attribution-Share Alike 3.0 license";
$wgLicenseURL = "";

I also set both variables to null as a test to see if the RightsText and RightsUrl variables would default, but they did not.

Event Timeline

Wmat raised the priority of this task from to Needs Triage.
Wmat updated the task description. (Show Details)
Wmat added a project: Collection.
Wmat added a subscriber: Wmat.

Retested this today with MW 1.25alpha (579d6e7) and Collection 1.7.0 (97bcf26) 21:07, 2 March 2015 and got the same result. That is, no License information in PDFs rendered using the left nav Download as PDF link, and the text License: unknown in rendered Books.

In PDFs, license info comes from the printfooter, which for wikimedia introduces wikimedia-copyright message, but that is an override of the defaults

Screenshot 2019-06-04 at 15.46.28.png (534×1 px, 109 KB)

The messages the user should have been looking at are traceable to here :


  • wgRightsPage
  • wgRightsText
  • wgRightsUrl
  • wgRightsIcon

Ergo, this was never a bug..

TheDJ changed the task status from Declined to Invalid.
TheDJ removed a project: PDF-Rendering.

Correction, this was a pure Collection report of course, not the newer PDF rendering.

In that case the right variables would have been:
$wgCollectionLicenseName and $wgCollectionLicenseURL per