Difference between revisions of "Projects"

Jump to navigation Jump to search
m
Line 7: Line 7:
</translate>
</translate>


== [https://phabricator.wikimedia.org/T73660 (re)-Introduce ZIM support in Mediaswiki Book creator/OCG] ==
== [https://phabricator.wikimedia.org/T73660 (re)-Introduce ZIM support in MediaWiki Book creator/OCG] ==


<translate><!--T:3-->
<translate><!--T:3-->
[https://www.mediawiki.org/ Mediawiki] 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 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.
[https://www.mediawiki.org/ MediaWiki] 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 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>
</translate>