Tell us your story
Tell us your story
How has offline Wikipedia affected you? The Wikimedia Foundation (the non-profit that supports Wikipedia) is looking for personal, diverse and inspiring stories about how offline Wikipedia affects the world. If you have a personal story that you would like to share, please contact: stories@kiwix.org. Thank you!

Changes

Jump to: navigation, search

Projects

1 byte removed, 4 years ago
m
(re)-Introduce ZIM support in Mediaswiki Book creator/OCG
</translate>
== [https://phabricator.wikimedia.org/T73660 (re)-Introduce ZIM support in Mediaswiki MediaWiki Book creator/OCG] ==
<translate><!--T:3-->
[https://www.mediawiki.org/ MediawikiMediaWiki] is the wiki engine behind [https://www.wikipedia.org Wikipedia], all [https://www.wikimedia.org/ Wikimedia projects] and thousands other Web sites. It's a cutting edge free software providing highly featured web sites that anybody can edit. Mediawiki MediaWiki hosted content can be made available for offline usage through the [https://www.mediawiki.org/wiki/Extension:Collection Collection extension] (written in PHP). The Collection extension allows to easily create collection/selection of articles: so called books ; here is [https://en.wikipedia.org/w/index.php?title=Special:Book how it works on the English Wikipedia]. Once created, books can be exported in PDF format. The PDF exporting backend itself is not provided by the Collection extension, it's done with a JavaScript based solution called [https://www.mediawiki.org/wiki/Offline_content_generator OCG]. OCG is a NodeJS daemon able to transform a book definition in a PDF and it should be able to do the same in the ZIM format. The [http://www.openzim.org ZIM format] allows to store web pages (with images, videos, etc...) in one extremely compressed file. These pages are then available to read on most computers with a reader like [http://www.kiwix.org Kiwix]. A [https://github.com/cscott/mw-ocg-zimwriter stub of solution] has already been written and the [https://sourceforge.net/p/kiwix/other/ci/master/tree/mwoffliner/ MWOffline] is already functional. This [https://phabricator.wikimedia.org/T73660 task] is mostly about merging them.
</translate>

Navigation menu