Page MenuHomePhabricator

Long URLs and Images in generated pdf overflow column width, spanning to second column if present on the first one
Open, Needs TriagePublic

Description

I've added the screenshots of the pdf where url and image are overflow to column width

Steps to reproduce:

  1. Go to https://www.wikidata.org/wiki/Wikidata:Main_Page
  2. Click on the Download as PDF link on the sidebar
  3. Check the generated PDF for a long URL

Event Timeline

Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptMay 29 2016, 1:27 PM
PuriDilip updated the task description. (Show Details)May 29 2016, 1:28 PM
Ciencia_Al_Poder renamed this task from In pdf file url is over written to next column to Long URLs in generated pdf overflow column width, spanning to second column if present on the first one.May 29 2016, 2:16 PM
Ciencia_Al_Poder added a project: Collection.
Ciencia_Al_Poder updated the task description. (Show Details)
PuriDilip renamed this task from Long URLs in generated pdf overflow column width, spanning to second column if present on the first one to Long URLs and Images in generated pdf overflow column width, spanning to second column if present on the first one.May 30 2016, 8:55 AM
PuriDilip updated the task description. (Show Details)
PuriDilip updated the task description. (Show Details)
PuriDilip updated the task description. (Show Details)
PuriDilip updated the task description. (Show Details)Sep 24 2016, 8:52 AM

can anyone tell me how can I fix this???

can anyone tell me how can I fix this???

@PuriDilip: Thanks for your interest! Do you have a specific question we can help with? Because I guess that "Run the code locally, find the right place in the code, change code to implement line breaks, test your code changes" is not exactly the answer you expect? :)
For general information, see https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker

@Aklapper Thanks for respond

Actually I've installed mediawiki on my local machine but I've some difficulty to setup pdf render-server. I think some kind of special setting requires in LocalSettings.php file.
Please help me to setup the render-server.

@Aklapper let me know anybody(experienced user) who can help me. I knew people are so busy but little bit help will be good for me.

Please help me to setup the render-server.

@PuriDilip: General setup questions are out of scope for this task which is only about long URLs overflowing column width. Please refer to https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker#Feedback.2C_questions_and_support - thanks!

As already announced in Tech News, OfflineContentGenerator (OCG) will not be used anymore after October 1st, 2017 on Wikimedia sites. OCG will be replaced by Electron. You can read more on mediawiki.org.

ovasileva moved this task from Triage to Tracking on the Proton board.Feb 22 2019, 3:27 PM
Jhernandez edited projects, added PDF-Rendering; removed Proton.Feb 25 2019, 7:07 PM
TheDJ added a subscriber: TheDJ.Jun 4 2019, 1:04 PM

https://www.wikidata.org/api/rest_v1/page/pdf/Wikidata%3AMain_Page
Hmm..

{"type":"https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route","title":"Not found.","method":"get","uri":"/www.wikidata.org/v1/page/pdf/Wikidata%3AMain_Page"}