Extension:EmbedHighlightedCodeFromFile

What can this extension do?
embed source code from a file on a page, auto syntax highlighted. It's copied partially from Extension:Embed Document and requires geshi, so I just install Extension:SyntaxHighlight_GeSHi

Usage
use on your page:

Path/To/File.xyz

in one line. The file has to be below MW main dir. The language for highlighting is found from file suffix. (Tested only with .php)

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
Install Extension:SyntaxHighlight_GeSHi

To install this extension, add the following to LocalSettings.php:

Code
markers, allowed are onlya...zA...Z_/. ";   } }