Page MenuHomePhabricator

Cropping of Infobox text in pdf files
Closed, InvalidPublic

Description

this problem of cropping of text within Infoboxes in pdf files, is appearing in many articles. as example :

Steps to reproduce :

browser is Chrome (mobile)
84.0.4147.89

  1. navigate to https://en.m.wikipedia.org/wiki/Anne,_Princess_Royal and press "download PDF icon".
  1. select paper size "ISO A1".
  1. save PDF file

Actual results :

viewing PDF, result is cropping (truncating) of "spouses" text within the articles infobox.
https://en.m.wikipedia.org/wiki/File:Pdf_file_text_cropping.jpg

Expected results :

there should be word wrapping of text in the pdf Infoboxes.

Event Timeline

Hi @Gfigs, thanks for taking the time to report this!

navigate to https://en.m.wikipedia.org/wiki/Anne,_Princess_Royal and press "download as PDF".

I cannot find any "Download as PDF" on that (mobile) page. Is this maybe something provided somewhere by your browser instead?

Anyway, the problem is unrelated to printing - you can see the same problem on a narrow screen:

Screenshot from 2021-01-06 10-15-52.png (648×367 px, 87 KB)

This needs to be fixed in the Infobox template on English Wikipedia. User scripts, gadgets, templates, custom CSS are local on-wiki content. Local content is managed independently on each wiki, by each wiki community themselves. Please bring this up on that wiki, e.g. on https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#toc . Hence I am closing this task here - thanks for your understanding!

apologies, link I gave was for mobile, hence should be the download Pdf icon..

@Aklapper apologies for editing..could this not go here ?
https://phabricator.wikimedia.org/dashboard/view/125/ .although, this may also be a display problem on desktop ?

Yes (or whatever module or template is used on that wiki page).