Extension:SVNIntegration

What can this extension do?
This extension adds the following custom tags which allow an integration of files from Subversion repositories into the wiki:


 * SVNPrintFile : Prints the contents of the given file using GeSHi for syntax highlighting if existent.
 * SVNFileInfo : Prints some information about the given file (e.g. name, path, last author, last revision message etc.).
 * SVNFileHistory : Prints the revision history for the given file.

Usage
Some examples: http://svn.example.com/File.php http://svn.example.com/File.txt http://svn.example.com/File.php http://svn.example.com/File.php

See the svnFileInfo tag in action: http://public.stefan-macke.com/SVNIntegrationExample1.jpg

Download instructions
Until further notice you can download the extension here: http://public.stefan-macke.com/SVNIntegration.zip

Prerequisites

 * MediaWiki >= 1.11 due to use of function "wfLoadExtensionMessages".
 * VersionControl_SVN PEAR package must be installed to be able to use this extension.
 * If you would like to get the file output syntax highlighted you also need the GeSHiHighlight extension for MediaWiki.

Installation
include("extensions/SVNIntegration/SVNIntegration.setup.php"); @import "/extensions/SVNIntegration/SVNIntegration.css";
 * Extract the files from the archive to "extensions/SVNIntegration"
 * Configure some needed values in "SVNIntegration.setup.php"
 * Insert the following line into your "LocalSettings.php" (behind GeSHi inclusion if existent)
 * (optional) Insert the following line into your "main.css"