Currently, desktop and mobile print styles have a number of known issues:
- Tables do not print correctly.
- Typography uses lots of ink to print.
- Saving an article as a PDF on mobile presents the desktop version of the article.
- Branding information for Wikipedia and the other projects (e.g., Wikivoyage and Wikiversity) is not present, causing confusion around the source of the content.
The reading web team will be updating the browser print styles on desktop and mobile to address these issues.
The most common use cases of printing on mobile devices is to save articles as PDFs for later reading. Currently, the styles delivered for PDFs reflect desktop print styles and are thus difficult to read on a mobile. We will be creating mobile styles that are simpler and easier to read and well-fitted for the context of users reading articles offline or in places with low connectivity.
Problems with current implementation
- Text is unreadable without zooming in
- Missing elements like article title, images etc
- No branding or indication the content came from Wikipedia or sister sites
- Bad typography
The current print styles have issues printing tables and do not contain proper wikipedia branding. We will be updating these styles with improved branding and typography and a focus on: - saving paper while printing - reducing the number of pages printed by 20-25% - better headings - project-specific branding - book-like styling similar to our current book rendering option - clear printing of tables and infoboxes More info on the exact specifications can be found in the corresponding phabricator task
We are planning on deploying these styles in September 2017. Below is a side-by-side sample of our old versus new styles for printing. Note that the new styles result in 28 pages of text versus the previous 38 pages:
Development and deployment plan for desktop print styles
- Develop new styles and deploy to the beta cluster for internal testing (July 2017)
- Perform qualitative and/or quantitative tests to gauge print styles improvements (July 2017)
- Because the effects of printing will be best gauged over time, our short-term tests will be focused on determining whether the styles are appropriate for users and preferred over the previous styles.
- Inform communities of upcoming changes (July 2017)
- Roll out styles to all projects (August - September 2017)
- Articles containing charts or tables created using templates that use the CSS rule "background-color" will not print with the colors intact (T173909)
- The "Download as PDF" feature does include the proper colors.
- A possible suggestion is to use the Extension:Graph to generate tables and charts instead of using templates and div elements and CSS.