Topic on Talk:Offline content generator

Jump to navigation Jump to search

Test instance and bug triage

Summary by Nemo bis


  • PDF renderer should work again on as of June 9.
  • More content requested: bugzilla:66402.
  • Will be enabled as secondary method in production at the end of July.
Nemo bis (talkcontribs)
Mwalker (WMF) (talkcontribs)

I'll have to set a server back up again -- I failed to move the server during the labs migration. It's on my list of things to do (very high up); there's just been a boatload of fundraising duties getting in the way. I think this week those've settled. My goal has this done by tomorrow in beta labs; and if not then, by the end of the week.

Nemo bis (talkcontribs)

Thank you very much for the answer. Let us know here when it's ready for testing. :)

Mwalker (WMF) (talkcontribs)

Nemo, I'm an idiot... It took me till today to setup a wmlib server in labs; only to realize I didn't actually need one. Production PDF rendering is available from labs... (So use or an equivalent.) I'm blocked on offering the new renderer for testing in labs because I don't have an Ubuntu 14.04 image (and there's other deployment troubles I'm fighting.)

Basically; you can test collection / mwlib to your hearts content right now anywhere in betalabs. I'll have to get back to you when I have everything setup for the new renderer.

Nemo bis (talkcontribs)

Ouch, sorry for the confusion. I mentioned the known mwlib bugs, but I want to test them against the new PDF renderer (I see this was only explicitly said in the etherpad but not in this thread).

It's useful to know that labs can be used to test mwlib, but I'll keep waiting for the new test instance.

Mwalker (WMF) (talkcontribs)

Nemo; I'm sorry it took this long -- but after a week and a half of fighting with deployments and ubuntu 14.04; the test rendering instance is up and running on beta labs. It's the WMF PDF option in Special:Collection and in the side pane.

Nemo bis (talkcontribs)

Wee. :) Now we only need a good content sample. Can we get a biggish Wikipedia and a Wikisource fully imported on some domain? Otherwise let's hope giving import rights to all willing testers works. :)

Zebulon84 (talkcontribs)


Current PDF rederer does not handle HTML5 tag like <time> or <data> so I hope this new one will come quickly.

I've tried to test it on (random page, tested several time), but

  • I don't see WMF PDF on Special:Book (= Special:Collection)
  • When I click on "Download as WMF PDF" in the side pane, I end-up on a "Book rendering failed" page, with the message "There was an error while attempting to render your book.

What am I doing wrong ?

Nemo bis (talkcontribs)

Same here when trying a random article. Something must have happened last week, it used to work.

AKlapper (WMF) (talkcontribs)
Mwalker (WMF) (talkcontribs)

I accidentally broke the renderer last week by applying a faulty firewall rule and then not having enough time to test it... I fixed that last night.

Zebulon84 (talkcontribs)

That works better, thanks.

The HTML 5 tags are correctly printed.

But it seams tables are not on the pdf.

Tested on this page, mix of real French Wikipedia content and some simple exemples.

Also noticed these minor issues :

  • Generated pdf do not have a .pdf extension, so firefox offer me to download it instead of displaying it as pdf.
  • The name in the collection tool seams to be <coll-format-rdf2latex>, with is not user friendly.
Nemo bis (talkcontribs)

I went through all bugs in etherpad:BugTriage-mwlib. About half were triaged or postponed, on the other half I'd use help because they're harder to assess or testing is currently blocked on other bugs. Time for a bug day for real now, I guess.

Nemo bis (talkcontribs)
Nemo bis (talkcontribs)

The date was set (2014-10-08) and announced to 10 mailing lists and 54 talk pages.