Last modified: 2014-07-24 21:01:26 UTC
Created attachment 15532 [details] Sample PDF 1) http://eo.wikipedia.beta.wmflabs.org/wiki/Headings_VisualEditor_Test 2) "Elŝuti kiel WMF PDF" Result: a page with content coming from I have no idea where, see attachment.
That may have to do with FlaggedRevs (or with the wiki being empty): http://simple.wikipedia.beta.wmflabs.org/wiki/List_of_literary_terms worked
It's not a problem per-se with the renderer; we're rendering what parsoid is giving us... I'm not sure what parsoid is doing.
The page you are trying to print is: http://eo.wikipedia.beta.wmflabs.org/w/index.php?title=Headings_VisualEditor_Test&oldid=11 The content you are getting is: https://eo.wikipedia.org/w/index.php?title=Headings_VisualEditor_Test&oldid=11 That is, the PDF renderer is misconfigured on eo.beta and is requesting pages from eowiki instead. It is communicating its request by page id... with the surprising results you have noted. But ultimately this is an eo.wiki misconfiguration. Note that http://eo.wikipedia.beta.wmflabs.org/wiki/Headings_VisualEditor_Test?veaction=edit is also "surprising".
(In reply to C. Scott Ananian from comment #3) > That is, the PDF renderer is misconfigured on eo.beta and is requesting > pages from eowiki instead. It is communicating its request by page id... > with the surprising results you have noted. cc hashar
Matt says PDF is using Parsoid has a backend. C. Scott reproduces the issue with VisualEditor. That means Parsoid is badly configured on beta and use the wrong backend. Maybe it is fetching articles from production API? And the winner is: Antoine! The list of wikis is hardcoded in a puppet configuration file http://git.wikimedia.org/blob/operations%2Fpuppet.git/c585887114/files%2Fmisc%2Fparsoid-localsettings-beta.js and the documentation to add a wiki is missing that step https://wikitech.wikimedia.org/wiki/Nova_Resource:Deployment-prep/Add_a_wiki
Amended the add wiki documentation https://wikitech.wikimedia.org/w/index.php?title=Nova_Resource:Deployment-prep/Add_a_wiki&diff=120678&oldid=120568
Change 148330 had a related patch set uploaded by Hashar: beta: update Parsoid localsettings entries https://gerrit.wikimedia.org/r/148330
I have applied the puppet patch above on the beta cluster and restarted Parsoid that should fix the issue.
Change 148330 merged by Alexandros Kosiaris: beta: update Parsoid localsettings entries https://gerrit.wikimedia.org/r/148330
I filled a bug to have an integration job that ensure puppet repo is updated before all-labs.dblist has a new wiki added. https://bugzilla.wikimedia.org/show_bug.cgi?id=68532