Jump to content

Offline content generator

From mediawiki.org
(Redirected from OCG)

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]