Page MenuHomeMiraheze

Update PDF Rendering for nenawiki.org and ndg.nenawiki.org
Open, NormalPublic

Description

Please install Proton in nenawiki.org and ndg.nenawiki.org.

Thanks!

Event Timeline

MikeV created this task.Jun 6 2019, 13:10

@MikeV Are you referring to your private wiki only or also your public wiki?

MikeV added a comment.Jun 7 2019, 20:41

Both are indicated in the title. What's the correct way to identify the site(s)?

Paladox added a subscriber: Paladox.Jun 7 2019, 20:54

You won't be able to use pdf rendering on https://ndg.nenawiki.org/wiki/Main_Page (as it's private and rest base only supports public wikis).

https://nenawiki.org/wiki/Main_Page Doesn't appear to have electron enabled (but if you do enable it, you can use pdf rendering). You can also enable Collection (PDF) too.

MikeV added a comment.Jun 7 2019, 21:03

Thanks. I didn't know that it is not supported on private sites. I was going to test it there before enabling it on the public site.

I still get this error on nenawiki.org:

We have technical problems with the function we use to create PDFs. We unfortunately have to replace it. This affects the styling and features of the books function. For more information and feedback, visit the project page.

    Leave feedbackRead more

When you go to the link indicated, you get the message that I referenced earlier about a new PDF rendering thing:

PDF Rendering has been improved as of 6/4/2019: https://www.mediawiki.org/wiki/Reading/Web/PDF_Functionality

Paladox added a comment.Jun 7 2019, 23:29

@MikeV works for me (i restarted the electron service).

MikeV added a comment.EditedJun 8 2019, 02:12

When I go to this page: https://nenawiki.org/wiki/EIDO_%26_IDX_FAQ_(Frequently_Asked_Questions)

and click on "Download as PDF", I get the error

. This happens whether or not I sign in and so far on both Firefox and Chrome.

Please note... MediaWiki says they deployed a new renderer on June 4, 2019, only a few days ago.

https://www.mediawiki.org/wiki/Reading/Web/PDF_Functionality#Update_on_PDF_rendering,_June_4,_2019

Has Miraheze installed it?

Paladox added a comment.Jun 8 2019, 20:42

@MikeV even though it says that, if you click download, it will work. That message is for the older infrastructure. We use Electron. And the post is for the newer infrastructure (newer then electron which we haven't installed yet).

MikeV added a comment.Jun 8 2019, 21:54

Error messages like this confuse, annoy, and discourage many of our users. Can we fix it?

John closed this task as Invalid.Jun 13 2019, 00:39
John added a subscriber: John.

This would be an issue to take upstream.

MikeV added a comment.Jun 13 2019, 18:25

John, does this mean that Miraheze is up-to-date on the PDF rendering changes from MediaWiki on June 4?

Paladox added a comment.EditedJun 13 2019, 22:04

@MikeV hi, nope We use "Electron" which predates "Proton". (i.e "proton" is the newer infrastructure) which i plan to upgrade to later.

MikeV added a comment.Jun 14 2019, 01:33

OK. I don't know the correct protocol or etiquette to follow here. Do I change this task to request installation of Proton or do I abandon this task and start a new one to request Proton? Put another way, what is the best way to get a better PDF rendering capability?

Paladox added a comment.Jun 14 2019, 13:46

You can change this to requesting the installation of "Proton".

MikeV reopened this task as Open.Jun 14 2019, 13:56
MikeV updated the task description. (Show Details)

@Paladox What's the status on the Proton upgrade? When will it be done?

Paladox added a comment.Jun 16 2019, 19:02

I need to install it, then replace it in RESTBASE.

Note that proton still uses RESTBASE so private wikis will still not work.

MikeV added a comment.Tue, Jun 25, 14:04

PDF rendering is becoming a critical factor with our users. An update on status would be appreciated. Thanks.

AmandaCath triaged this task as High priority.Wed, Jul 3, 13:22
AmandaCath added a subscriber: AmandaCath.
In T4445#85252, @MikeV wrote:

PDF rendering is becoming a critical factor with our users. An update on status would be appreciated. Thanks.

I need to install it, then replace it in RESTBASE.
Note that proton still uses RESTBASE so private wikis will still not work.

@Paladox Status on this?

Paladox added a comment.Mon, Jul 8, 11:54

Update: I would like to install that very soon. I just need to look at the install docs and try to install it.

Paladox lowered the priority of this task from High to Normal.Sat, Jul 20, 17:42

PDF rendering works using electron, i'm not seeing the problem (so lowering the priority to normal on this task).

MikeV added a comment.Sat, Jul 20, 18:37

A few points:

  • Electron generates an error message that users believe. It discourages them from continuing to "Download as PDF."
  • If you ignore the error, it creates PDFs that cannot be used without editing. For example, it now inserts a block that says "Cookies help us deliver out services. By using our services, you agree to our use of cookies. More Information OK." This message overwrites the PDF material.
  • This page indicates that Proton has apparently been successfully deployed as an improvement to electron: https://www.mediawiki.org/wiki/Reading/Web/PDF_Functionality

We appreciate any effort to fix the "Download as PDF" function. We hope that changing the priority from High to Normal doesn't result in significant delays in deployment.

Thanks.

Paladox added a comment.EditedSat, Jul 20, 19:22

Oh, that's the extension it's self (which the new renderer still uses).

The extension has had that message removed (https://github.com/wikimedia/mediawiki-extensions-ElectronPdfService/commit/1f0494a6a8d6e3d6fa2349b7d43d2ee457c45e3b).