[go: up one dir, main page]

MediaWiki extension DocBookExport

Clone this repo:
  1. a1abd41 build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 by libraryupgrader · 2 weeks ago master
  2. deff840 Replace deprecated wfGetDB by Umherirrender · 8 weeks ago
  3. 020db92 Merge "Replace legacy Revision object" by jenkins-bot · 3 months ago
  4. e9fc1a5 Replace legacy Revision object by Pppery · 4 months ago
  5. bc70af8 build: Updating micromatch to 4.0.8 by libraryupgrader · 3 months ago

DocBookExport

A MediaWiki extension to DocBook from wiki pages

#Installation

For installation of this extension you need to have ssh access to your server.

  • To install the extension, place the entire 'DocBookExport' directory within your MediaWiki 'extensions' directory
  • Just enter the following command in the 'extensions' directory: 'git clone https://bitbucket.org/wikiworksdev/docbookexport.git DocBookExport'
  • Add the following line to your LocalSettings.php file: 'wfLoadExtension( 'DocBookExport' );'
  • Verify you have this extension installed by visiting the /Special:Version page on your wiki.

#Install Dependencies

#Usage To create a book define the page structure using the docbook parser function or tag extension. See examples below.

Parser Function Example:

{{#docbook:
page structure=

  • Buying clothes intro,Buying shoes (title=Buying the right clothes, header=Custom Header)
    ** How I buy shoes
    |title=My Guide to Bowling
    |cover page=Cover Contents
    |header=My Guide to Bowling
    |footer=My Guide to Bowling
    |index term categories=index terms
    |index terms=shoe,clothes
    }}

#Credits This extension has been written by Nischay Nahata for wikiworks.com and is sponsored by NATO