Extension:GeSHiHighlight (Ajqnic)

Note: This extension is best used in conjunction with the purgePage extension.

This extension works in MediaWiki 1.9. 

Change Log
2 Nov 2007 - HappyDog: 21 Nov 2006 - Largos: 9 Sep 2006 - AjqNic: 8 Sep 2006 - AjqNic:
 * Added code to trim $text if it comes from the wiki, so that blank lines are removed from the start, and all whitespace is removed from the end.
 * Added new config variable $wgGeSHi_LineNumbers so that you can over-ride the default line-numbering style for the whole wiki.
 * Added new attribute "linenumbers" which can be set to "true", "false" or "fancy" to override the default wiki setting for line numbers on a per-code-snippet basis.
 * Updated my (Rogan Creswick's) contact info in the file.
 * Implemented TobiasBengtsson patch to fix  support
 * Removed support for 'div' code due to the tag conflicting with HTML div
 * Fixed the security bug when viewing files, now only uploaded files may be viewed
 * Added support for the $attrib parameter, required by MediaWiki 1.5 and above

Related Extensions
If you would like just a PHP syntax highlighter, you can use PHPHightlight.