Extension:SyntaxHighlight vim

What can this extension do?
This extension adds the `syntax' tag to present formatted source code.

Usage
On the wiki page, you can now use `syntax' elements:

 html text <?   echo v;         // end of php code ?>

Download instructions
Download the extension from the Subversion repository and save it into the extensions\SyntaxHighlight_vim of your wiki. If you have shell access to your server, you may do the following to download the extension: cd extensions svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SyntaxHighlight_vim

Installation

 * Add this line to your LocalSettings.php right before $wgSitename:


 * Open file extensions/SyntaxHighlight_vim/SyntaxHook.php and add below line at the beginning


 * Make sure that your server has vim binary available. For example on CentOS do