MediaWiki API

adam-griffiths - August 13, 2009 - 16:24

The MediaWiki API module

This module provides an input filter which allows the conversion of content marked up using MediaWiki syntax to html for display on your drupal site, by using the "parse" feature of the MediaWiki API.

Alternatives

There are alternative ways to filter MediaWiki syntax in Drupal:

  • http://drupal.org/project/mediawiki - Wraps the MediaWiki PHP directly so benefits from the full MediaWiki syntax but the downside is that this module therefore tightly coupled with the MedaiWiki release it was developed against and may not work with the most recent MediaWiki release. At the time of writing this is in need of some maintenance and an upgrade to Drupal 6.0.
  • http://drupal.org/project/pearwiki_filter - Uses the PEAR if they want a simple alternative the parses a subset of the MediaWiki syntax. The upside of using this module is that there is no need to download the entire MediaWiki code base. the downside is that the PEAR modules it relies on do not seem to have been maintained for some time and worse of all the MediaWiki code that has been released does not contain all the bug fixes that are available in the development code repository.
  • This module. Using this module has some advantages:
    1. There is no tight coupling with the MediaWiki codebase, all re-use of MediaWiki code is done via the API.
    2. Notwithstanding any major changes to the MediaWiki API it should be easy to use this module with future releases of MediaWiki and therefore the latest MediaWiki sytax
    3. You get to use the full MediaWiki syntax, including any install extensions

See also

API reference: http://www.mediawiki.org/wiki/API
MediaWiki Syntax reference: http://www.mediawiki.org/wiki/Help:Formatting
MediaWiki extensions: http://www.mediawiki.org/wiki/Category:Extensions

Releases

Development snapshotsDateSizeLinksStatus
6.x-0.x-dev2009-Sep-1612.9 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.