Extension:RstToHtml

What is reStructuredText?
reStructuredText is a lightweight markup language intended to be highly readable in source format. A parser is implemented as a component of the Docutils text processing framework in Python. For help on creating reStructuredText, see |A reStructuredText Primer.

What does this extension do?
The extension hooks into your MediaWiki installation. A new tag invokes the reST parser to process the text into HTML.

Example
When this extension is installed, the following reST text would be formatted and presented in HTML. (A

Where do I get the source?
Well....here. Save the following code to a file named rsttohtml.php.

NB. When installing this code (very nice thank you Paul) to MediaWiki 1.12.0 (and presumably others) it seems necessary to leave off the closing ?> tag else php returns headers after this script runs and the response object in mediawiki throws errors subsequently.

Docutils Installation
This extension requires docutils to be installed. As of this writing (18 January 2012), for example, the Ubuntu 11.10 package for Python 2.7 can be installed with sudo apt-get install python-docutils Once installed, the rst2html script will be installed to /usr/bin/rst2html. So with Ubuntu 11.10, the above MediaWiki script must be modified to this path. Use the whereis rst2html to locate the proper script if necessary.

The rst2html Python script can be verified by querying its version with rst2html --version.

Installation
Save the PHP source as rsttohtml.php to your extensions directory. Include the script in the LocalSettings.php file:

require_once('extensions/rsttohtml.php');
 * 1) Add support for reST to HTML extension

Issues
There seems to be no way to create an  (within the wiki, among pages) inside

The closest thing is:

and this is represented as an external link.