Page MenuHomePhabricator

Provide link to the page's contributors (e.g. page history) in "Download as PDF" result
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

The Download as PDF violates the Creative Commons by not crediting the page contributors, and/or CC-BY-SA images used in the page.

What should have happened instead?:

In Wikisource, they have pdf downloader (https://ws-export.wmcloud.org/) that will compile the credits automatically, for example

image.png (761×1 px, 255 KB)

At the very least, the footer should provide an acknowledgement that many people might be involved in the creation of the page, and the full list of the contributors are available in the <link to the page>. Without the attribution, the PDF would be in violation of CC-BY-SA terms of use.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

"Download as PDF" uses a Chromium headless browser to save the generated MediaWiki page as PDF. The result is identical to going to the wiki page and hitting print, and then "Destination: Save as PDF". Because the Wiki page does not contain a list of contributors, it's not present in the PDF file.

Hmm.. is it possible to use the technology from ws-export.wmcloud.org that are able to compile the contributors (down to the contributors of templates and images that are being used). The alternative is to provide a link to the history page, as an acknowledgement. If it can provide a link "Retrieved from ...so-and-so...", then it shouldn't be hard to add "Click here to see all the contributors of this page"

It seems this is about interpreting Section 3(a)(2) of https://creativecommons.org/licenses/by-sa/4.0/legalcode stating "it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information". By providing "Retrieved from" that information is one click away ("History" tab). I could imagine that printSource() in https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/skins/Skin.php$770 could be expanded with another short system message like (Contributors) being a link. (PS: https://www.w3.org/QA/Tips/noClickHere )

Hmm.. is it possible to use the technology from ws-export.wmcloud.org that are able to compile the contributors (down to the contributors of templates and images that are being used). The alternative is to provide a link to the history page, as an acknowledgement. If it can provide a link "Retrieved from ...so-and-so...", then it shouldn't be hard to add "Click here to see all the contributors of this page"

Not really. from quick glance - ws-export is using APIs and builds HTML by hand - where Proton just asks MediaWiki to render a page and then performs "Print" action. The MediaWIki. The quick solution we could do is to add a link a bottom of the page that is only visible on print styles.

What we could do is post process the pdf and add additional metadata to a chromium generated pdf.

Tools like: exiftool and ebook-meta can do this