Last modified: 2014-07-24 21:01:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67939, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65939 - Unrelated content in produced PDF
Unrelated content in produced PDF
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Parsoid Team
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-30 08:44 UTC by Nemo
Modified: 2014-07-24 21:01 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Sample PDF (29.82 KB, application/pdf)
2014-05-30 08:44 UTC, Nemo
Details

Description Nemo 2014-05-30 08:44:15 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.
Comment 1 Nemo 2014-05-30 08:53:03 UTC
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
Comment 2 Matt Walker 2014-07-18 03:07:11 UTC
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.
Comment 3 C. Scott Ananian 2014-07-18 03:46:38 UTC
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".
Comment 4 Nemo 2014-07-18 06:18:46 UTC
(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
Comment 5 Antoine "hashar" Musso (WMF) 2014-07-22 07:59:46 UTC
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
Comment 6 Antoine "hashar" Musso (WMF) 2014-07-22 08:02:57 UTC
Amended the add wiki documentation https://wikitech.wikimedia.org/w/index.php?title=Nova_Resource:Deployment-prep/Add_a_wiki&diff=120678&oldid=120568
Comment 7 Gerrit Notification Bot 2014-07-22 08:16:18 UTC
Change 148330 had a related patch set uploaded by Hashar:
beta: update Parsoid localsettings entries

https://gerrit.wikimedia.org/r/148330
Comment 8 Antoine "hashar" Musso (WMF) 2014-07-22 08:20:49 UTC
I have applied the puppet patch above on the beta cluster and restarted Parsoid that should fix the issue.
Comment 9 Gerrit Notification Bot 2014-07-22 08:37:51 UTC
Change 148330 merged by Alexandros Kosiaris:
beta: update Parsoid localsettings entries

https://gerrit.wikimedia.org/r/148330
Comment 10 Antoine "hashar" Musso (WMF) 2014-07-24 21:01:26 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links