HomePhabricator

Add SpecialPage for Electron PDF rendering
be335e1b5a37Unpublished

Authored by Tobi_WMDE_SW on Sep 22 2016, 10:05 AM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Add SpecialPage for Electron PDF rendering

This adds functionality to render an article with Electron service.
If Collection extension is installed it replaces the "Download as PDF"
link in the sidebar otherwise adds a new link to the sidebar.

Still to do (in follow-ups):

  • Replace the "Printable version" link in the sidebar
  • Add UI to let the user choose between OCR and Electron rendering
  • Make sure the link is only active for articles
  • Make additional checks to only render valid article links
  • etc..

Bug: T142201
Change-Id: Ie0d4794f9b6ae1f441a1e527fec872d9e228ad10

Details

Committed
Tobi_WMDE_SWSep 26 2016, 12:31 PM
ChangeId
Ie0d4794f9b6ae1f441a1e527fec872d9e228ad10

Commit No Longer Exists

This commit no longer exists in the repository.