Page MenuHomePhabricator

ProtonComponent
ActivePublic

Members (2)

Watchers (2)

Details

Description

Proton is a HTML to PDF renderer service that uses a headless Chromium process remote-controlled by Puppeteer.

It was written by Readers Web as part of a project to sunset OfflineContentGenerator and building a new PDF renderer. Readers Web were responsible for the creation and initial implementation of the service. As of T210652#4948225, Reading Infrastructure are responsible for maintaining the service.

The product requirements for the new PDF renderer can be found here: https://www.mediawiki.org/wiki/Reading/Web/PDF_Functionality. A technical overview of the Proton service can be found here: https://wikitech.wikimedia.org/wiki/Proton.

This project tasks are triaged as part of the #reading-infrastructure-team-backlog process, so the work board is disabled.

The PDF creation stack, as of August 2020:

Recent Activity

Thu, Apr 11

Bugreporter moved T98698: PDF rendering does not include graph image, as the Graph extension does not support Graphoid anymore from Feature requests to potential new graph extension / alternative of current extension on the MediaWiki-extensions-Graph board.
Thu, Apr 11, 5:15 PM · Proton, MediaWiki-extensions-Graph

Sat, Apr 6

Reedy updated the task description for T218217: Make services swagger specs standard compliant.
Sat, Apr 6, 11:31 PM · Math, Platform Engineering, serviceops-radar, Product-Infrastructure-Team-Backlog-Deprecated, Proton, Graphoid, CX-cxserver, Citoid, Mathoid, Recommendation-API, Services (later), Mobile-Content-Service, RESTBase-API

Thu, Mar 28

cscott edited projects for T360760: Update Proton to include Chromium 122.0.6261.111-1, added: Content-Transform-Team-WIP; removed Content-Transform-Team.
Thu, Mar 28, 2:13 PM · Content-Transform-Team-WIP, Essential-Work, Proton

Fri, Mar 22

MoritzMuehlenhoff created T360760: Update Proton to include Chromium 122.0.6261.111-1.
Fri, Mar 22, 10:34 AM · Content-Transform-Team-WIP, Essential-Work, Proton

Feb 28 2024

IKhitron updated the task description for T236474: Remove navigation templates in "Download as PDF" feature.
Feb 28 2024, 1:37 PM · Proton
IKhitron added a comment to T236474: Remove navigation templates in "Download as PDF" feature.

Seems obvious, but OK.

Feb 28 2024, 1:34 PM · Proton

Feb 27 2024

Tobi_WMDE_SW removed a project from T167603: Any Chinese Wiki's projects about "Download as PDF" can not auto change to Simplified Chinese or Traditional Chinese : Electron-PDFs.
Feb 27 2024, 9:57 AM · MediaWiki-Language-converter, Product-Infrastructure-Team-Backlog-Deprecated, Content-Transform-Team, RESTBase, Proton, RESTBase-API, Patch-For-Review, Chinese-Sites
Tobi_WMDE_SW removed a project from T181322: Improve Score's HTML output so PDF export can render music scores natively, i.e. not as images: Electron-PDFs.
Feb 27 2024, 9:54 AM · Product-Infrastructure-Team-Backlog-Deprecated, Proton, All-and-every-Wikisource, Multimedia, OCG-PDFRenderer, MediaWiki-extensions-Score
Tobi_WMDE_SW edited projects for T236474: Remove navigation templates in "Download as PDF" feature, added: Proton; removed Product-Infrastructure-Team-Backlog-Deprecated, Electron-PDFs.

This doesn't sound related to the Electron-PDFs extension (which only provides the link to the Proton service). It's more of a feature request to the service itself.

Feb 27 2024, 9:52 AM · Proton
Tobi_WMDE_SW edited projects for T246328: Incomplete PDF of "Tor (anonymity network)" article on English Wikipedia, added: Proton; removed Electron-PDFs.

This doesn't sound related to the Electron-PDFs extension (which only provides the link to the Proton service). It's more likely an issue with the service itself.

Feb 27 2024, 9:45 AM · Proton

Feb 20 2024

Sbailey closed T355524: Migrate Proton to a bookworm-based image as Resolved.
Feb 20 2024, 3:24 PM · Proton, Essential-Work, Content-Transform-Team-WIP

Feb 12 2024

Sbailey closed T355421: Update Proton to include Chromium 120.0.6099.224 as Resolved.
Feb 12 2024, 4:36 PM · Essential-Work, Content-Transform-Team-WIP, Proton
Sbailey moved T355421: Update Proton to include Chromium 120.0.6099.224 from Backlog to In Progress on the Content-Transform-Team-WIP board.
Feb 12 2024, 4:29 PM · Essential-Work, Content-Transform-Team-WIP, Proton
Sbailey claimed T355421: Update Proton to include Chromium 120.0.6099.224.
Feb 12 2024, 4:29 PM · Essential-Work, Content-Transform-Team-WIP, Proton

Feb 7 2024

Jgiannelos moved T355524: Migrate Proton to a bookworm-based image from To Deploy to To Verify on the Content-Transform-Team-WIP board.
Feb 7 2024, 5:03 PM · Proton, Essential-Work, Content-Transform-Team-WIP
Jgiannelos moved T355524: Migrate Proton to a bookworm-based image from Backlog to To Deploy on the Content-Transform-Team-WIP board.
Feb 7 2024, 4:36 PM · Proton, Essential-Work, Content-Transform-Team-WIP
Maintenance_bot removed a project from T355524: Migrate Proton to a bookworm-based image: Patch-For-Review.
Feb 7 2024, 4:30 PM · Proton, Essential-Work, Content-Transform-Team-WIP
gerritbot added a comment to T355524: Migrate Proton to a bookworm-based image.

Change 998444 merged by jenkins-bot:

[operations/deployment-charts@master] proton: Bump docker image to latest version

https://gerrit.wikimedia.org/r/998444

Feb 7 2024, 4:20 PM · Proton, Essential-Work, Content-Transform-Team-WIP
gerritbot added a comment to T355524: Migrate Proton to a bookworm-based image.

Change 998444 had a related patch set uploaded (by Sbailey; author: Sbailey):

[operations/deployment-charts@master] proton: Bump docker image to latest version

https://gerrit.wikimedia.org/r/998444

Feb 7 2024, 4:18 PM · Proton, Essential-Work, Content-Transform-Team-WIP

Feb 6 2024

Xaosflux added a comment to T356754: Proton cache not purging for Downloadaspdf.

Unable to further troubleshoot customer's original problem that the PDF output for this specific article is malformed (inconsistent text font sizes / styling) - due to the Proton service not creating a new file

Feb 6 2024, 10:49 AM · Proton
Xaosflux created T356754: Proton cache not purging for Downloadaspdf.
Feb 6 2024, 10:48 AM · Proton

Feb 5 2024

gerritbot added a comment to T355524: Migrate Proton to a bookworm-based image.

Change 994356 merged by jenkins-bot:

[mediawiki/services/chromium-render@master] Migrate Proton to a bookworm-based image

https://gerrit.wikimedia.org/r/994356

Feb 5 2024, 5:08 PM · Proton, Essential-Work, Content-Transform-Team-WIP

Jan 31 2024

gerritbot added a project to T355524: Migrate Proton to a bookworm-based image: Patch-For-Review.
Jan 31 2024, 12:34 AM · Proton, Essential-Work, Content-Transform-Team-WIP
gerritbot added a comment to T355524: Migrate Proton to a bookworm-based image.

Change 994356 had a related patch set uploaded (by Sbailey; author: Sbailey):

[mediawiki/services/chromium-render@master] WIP Migrate Proton to a bookworm-based image

https://gerrit.wikimedia.org/r/994356

Jan 31 2024, 12:34 AM · Proton, Essential-Work, Content-Transform-Team-WIP

Jan 29 2024

MSantos added a project to T355421: Update Proton to include Chromium 120.0.6099.224: Essential-Work.
Jan 29 2024, 2:34 PM · Essential-Work, Content-Transform-Team-WIP, Proton
MSantos added projects to T355524: Migrate Proton to a bookworm-based image: Essential-Work, Proton.
Jan 29 2024, 2:34 PM · Proton, Essential-Work, Content-Transform-Team-WIP

Jan 25 2024

MSantos removed a project from T355421: Update Proton to include Chromium 120.0.6099.224: Content-Transform-Team.
Jan 25 2024, 3:04 PM · Essential-Work, Content-Transform-Team-WIP, Proton
MSantos added a project to T355421: Update Proton to include Chromium 120.0.6099.224: Content-Transform-Team-WIP.
Jan 25 2024, 3:04 PM · Essential-Work, Content-Transform-Team-WIP, Proton

Jan 19 2024

MoritzMuehlenhoff created T355421: Update Proton to include Chromium 120.0.6099.224.
Jan 19 2024, 1:35 PM · Essential-Work, Content-Transform-Team-WIP, Proton

Dec 19 2023

Jgiannelos closed T353226: Update Proton to include Chromium 120.0.6099.71 as Resolved.
Dec 19 2023, 2:34 PM · Content-Transform-Team-WIP, Essential-Work, Proton
Jgiannelos moved T353226: Update Proton to include Chromium 120.0.6099.71 from Backlog to To Verify on the Content-Transform-Team-WIP board.
Dec 19 2023, 2:33 PM · Content-Transform-Team-WIP, Essential-Work, Proton

Dec 14 2023

MSantos edited projects for T353226: Update Proton to include Chromium 120.0.6099.71, added: Essential-Work, Content-Transform-Team-WIP; removed Content-Transform-Team.
Dec 14 2023, 3:05 PM · Content-Transform-Team-WIP, Essential-Work, Proton

Dec 12 2023

MoritzMuehlenhoff created T353226: Update Proton to include Chromium 120.0.6099.71.
Dec 12 2023, 9:54 AM · Content-Transform-Team-WIP, Essential-Work, Proton

Nov 6 2023

TheDJ added a comment to T330747: Provide link to the page's contributors (e.g. page history) in "Download as PDF" result.

What we could do is post process the pdf and add additional metadata to a chromium generated pdf.

Nov 6 2023, 11:11 AM · Proton
TheDJ edited projects for T230490: Add copyright metadata to extracted PDF , added: Proton; removed Electron-PDFs.
Nov 6 2023, 11:06 AM · Proton
TheDJ added a watcher for Proton: TheDJ.
Nov 6 2023, 10:58 AM

Nov 5 2023

Pppery merged T25370: Wikipedia PDF Article Print Option - Need Option to Change Printed Font Size into T86494: Allow setting different font size for PDF text.
Nov 5 2023, 7:36 PM · Proton, Product-Infrastructure-Team-Backlog-Deprecated, OCG-PDFRenderer, Accessibility
Pppery merged task T25370: Wikipedia PDF Article Print Option - Need Option to Change Printed Font Size into T86494: Allow setting different font size for PDF text.
Nov 5 2023, 7:35 PM · Proton, Accessibility
Pppery removed a project from T236476: [print] Avoid first section header alone on title page in "Download as PDF" feature: Collection.
Nov 5 2023, 7:30 PM · Browser-support-print-media, Proton, Product-Infrastructure-Team-Backlog-Deprecated
Pppery edited projects for T25370: Wikipedia PDF Article Print Option - Need Option to Change Printed Font Size, added: Proton; removed Collection.
Nov 5 2023, 7:09 PM · Proton, Accessibility

Sep 29 2023

MoritzMuehlenhoff renamed T336173: Update Proton to include Chromium 117.0.5938.62 from Update Proton to include Chromium 114.0.5735.198 to Update Proton to include Chromium 117.0.5938.62.
Sep 29 2023, 10:10 AM · Essential-Work, Content-Transform-Team-WIP, Proton

Sep 25 2023

lmata moved T344148: Trace header propagation for Proton service from Inbox to Backlog on the Observability-Tracing board.
Sep 25 2023, 5:28 PM · Proton, service-runner, Observability-Tracing

Aug 24 2023

MSantos removed a project from T344148: Trace header propagation for Proton service: Content-Transform-Team.

Thanks for raising it @pmiazga, we will keep this in the Proton board and revisit in the future, let me know how this is being prioritised.

Aug 24 2023, 2:19 PM · Proton, service-runner, Observability-Tracing

Aug 21 2023

pmiazga added a comment to T344148: Trace header propagation for Proton service.

Adding Content-Transform-Team as they are the owners of Proton service. If there are any questions regarding this change I'm happy to help.

Aug 21 2023, 12:25 PM · Proton, service-runner, Observability-Tracing
pmiazga added a project to T344148: Trace header propagation for Proton service: Content-Transform-Team.
Aug 21 2023, 12:24 PM · Proton, service-runner, Observability-Tracing
pmiazga placed T344148: Trace header propagation for Proton service up for grabs.
Aug 21 2023, 12:23 PM · Proton, service-runner, Observability-Tracing

Aug 14 2023

pmiazga created T344148: Trace header propagation for Proton service.
Aug 14 2023, 12:00 PM · Proton, service-runner, Observability-Tracing

Aug 9 2023

pmiazga added a comment to T330747: Provide link to the page's contributors (e.g. page history) in "Download as PDF" result.

Hmm.. is it possible to use the technology from ws-export.wmcloud.org that are able to compile the contributors (down to the contributors of templates and images that are being used). The alternative is to provide a link to the history page, as an acknowledgement. If it can provide a link "Retrieved from ...so-and-so...", then it shouldn't be hard to add "Click here to see all the contributors of this page"

Aug 9 2023, 1:08 PM · Proton
pmiazga added a comment to T330745: Cache not deleted on Special:DownloadAsPdf (current version of page not generated after generating old version of page).

Thank you for your cooperation in this matter. Ticket closed.

Aug 9 2023, 1:05 PM · Proton
pmiazga closed T330745: Cache not deleted on Special:DownloadAsPdf (current version of page not generated after generating old version of page) as Declined.
Aug 9 2023, 1:04 PM · Proton