Offline content generator
Appearance
(Redirected from OCG)
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. Superseded by Proton |
Offline Content Generator (OCG)
Creates offline formats from collections of mediawiki articles.
|
The Offline Content Generator service was written in Node.js and created offline formats, such as PDF and even plaintext, from collections of MediaWiki articles. The ePub and ZIM formats were planned for the future, but never implemented.
The Collection extension is used via Special:Book to create collections of articles. The OCG service then invokes a Bundler to spider the articles and fetch all images, stylesheets, etc required to render them. One of several backends are then invoked to convert the bundle into a PDF, ZIM file, or other appropriate output format.
See wikitech:OCG for more information.
The service was turned off on Wikimedia wikis in October 2017 (background: Reading/Web/PDF Functionality T150871).
See also
[edit]- /2013 Code Sprint, project page for 2013 code sprint which created OCG
- /Bundle format
- /metabook.json
- /print-on-demand service
- wikitech:OCG, contains WMF sysadmin documentation for the OCG service.
- August 2016 community discussion with some remarks about the history of OCG