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.
 * SVNTodo : Prints a list of TODO/FIXME/XXX comment tags found in 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

Screenshots

 * See the svnFileInfo tag in action: http://f.macke.it/SVNIntegrationExample1
 * See the svnTodo tag in action: http://f.macke.it/SVNIntegrationExample2

Download instructions
Until further notice you can download the extension here: http://f.macke.it/MediaWikiSVNIntegration

Prerequisites

 * MediaWiki >= 1.11 due to use of function "wfLoadExtensionMessages".
 * VersionControl_SVN PEAR package must be installed to be able to use this extension.
 * You need to apply the patch from  to VersionControl/SVN/Info.php to get this extension to work.
 * 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";
 * 1) Extract the files from the archive to "extensions/SVNIntegration"
 * 2) Configure some needed values in "SVNIntegration.setup.php"
 * 3) Insert the following line into your "LocalSettings.php" (behind GeSHi inclusion if existent)
 * 1) (optional) Insert the following line into your "main.css"

Version 1.1.2

 * svnPrintFile now accepts parameters startLine and endLine to print only parts of files.

Version 1.1.1

 * Fixed problem with editing sections when database contains searchable text from SVN.

Version 1.1.0

 * Fixed problem with configuration of SVN path in VersionControl: now you need to configure the path to the svn binary only in the extension's setup.
 * Added SVNTodo functionality.
 * The SVN output can now optionally be appended to the article's text in the database so that it becomes searchable.
 * An empty username and/or password is now supported.

Version 1.0.2

 * Added patch for VersionControl_SVN_Info (fixes disability to get file information from SVN)

Version 1.0.1

 * Fixed invalid switches "username" and "password" for VersionControl_SVN_Info
 * Fixed invalid parameter "filetype" for VersionControl_SVN

Version 1.0

 * Initial release