Page MenuHomePhabricator

Allow exporting MediaWiki pages in EPUB format
Open, LowestPublic

Description

There should be a replacement for this feature which was removed last year.

See also

This card tracks a proposal from the 2015 Community Wishlist Survey: https://meta.wikimedia.org/wiki/2015_Community_Wishlist_Survey

This proposal received 24 support votes, and was ranked #36 out of 107 proposals. https://meta.wikimedia.org/wiki/2015_Community_Wishlist_Survey/Miscellaneous#Enabling_EPUB_conversion_on_Wikipedia

Event Timeline

He7d3r raised the priority of this task from to Needs Triage.
He7d3r updated the task description. (Show Details)
He7d3r added a subscriber: He7d3r.

Both EPUB and ZIM are bundled standalone HTML. We have an ongoing Outreachy project to add ZIM support; adding EPUB support should be easier once that lands.

Wikisource is currently using the Wsexport tool to export its content in ePub: https://tools.wmflabs.org/wsexport/tool/book.php

IMPORTANT: If you are a community developer interested in working on this task: The Wikimedia Hackathon 2016 (Jerusalem, March 31 - April 3) focuses on #Community-Wishlist-Survey projects. There is some budget for sponsoring volunteer developers. THE DEADLINE TO REQUEST TRAVEL SPONSORSHIP IS TODAY, JANUARY 21. Exceptions can be made for developers focusing on Community Wishlist projects until the end of Sunday 24, but not beyond. If you or someone you know is interested, please REGISTER NOW.

Adding Ljonka because he wants to work on this topic during the upcoming Wikimania Hackathon.

waiting for new repo on gerrit to upload a working version, integration to collection should be easy, as tool call is equal to zim or latex/pdf renderer

waiting for new repo on gerrit to upload a working version, integration to collection should be easy, as tool call is equal to zim or latex/pdf renderer

Note this was done https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/Collection/OfflineContentGenerator/epub_renderer from here. :-)

This comment was removed by Ljonka.

You can find first working draft on this commit, it should work with NodeJs 5: https://gerrit.wikimedia.org/r/#/c/303348/1

On next step it would be nice to create a custom layout and design for mediawiki ebooks. To do so, we have to create some template files for nodejs module "epub-gen" which beeing used for ebook creating . As i am not a designer i would love to see some help from community here.

At Wikimédia France we have request from librarians to have this feature, useful for their public (ebooks on e-readers).

@Jules_WMFr For Wikisource there is http://tools.wmflabs.org/wsexport/ that does the job. But it does not works with Wikipedia

Yes, thanks :), but the request is for french Wikipedia articles.

while ocg will be replaced this module make no sense anymore.

while ocg will be replaced this module make no sense anymore.

...some more context regarding Electron vs OCG is also in T73660#3135402

A contributor added another request for this feature in giving feedback from the PDF functionality. Mentioning here for posterity.

As already announced in Tech News, OfflineContentGenerator (OCG) will not be used anymore after October 1st, 2017 on Wikimedia sites. OCG will be replaced by Electron. You can read more on mediawiki.org.

Aklapper triaged this task as Lowest priority.Mar 2 2021, 10:51 PM

https://www.mediawiki.org/wiki/Reading/Web/PDF_Functionality#Alternative says that https://mediawiki2latex.wmflabs.org/ exists.
I don't think there are currently feasible ideas to expand Proton to cover other formats.