User:Pediapress/CollectionParser

From Wikibooks, open books for an open world
Jump to navigation Jump to search

The collection-parser is a small tool, designed to simplify the process of converting a wikibook (content page) into a collection. It tries to detect pages and chapters and emits a collection page.

When using this tool do not to rely completely on the software. There are so many different ways how content pages of wikibooks are structured. This tool tries to help and MAY shorten your work, but manual checking is required and optional post processing may be necessary.

Installation[edit | edit source]

  1. Log in
  2. Copy to your clipboard: importScript( 'User:Pediapress/collection-parser.js');
  3. navigate to Special:MyPage/monobook.js and add above text to this (newly created) page
  4. refresh your browser (ctrl- or shift-reload)!

Usage[edit | edit source]

  • navigate to a wikibook
  • click "get collection" in the upper right corner
  • select a name for your collection (e.g. the name of the book) in the appearing dialog
  • press "save page"
  • now a collection will be saved at: "User:username/Collections/collectionname"
  • check the collection, as there is no guaranty for proper conversion
  • optionally move the page to the global namespace