Extension:PieceOfCode

What can this extension do?
This MediaWiki extension allows to import SVN file from several repositories and show them completely inside articles or just some lines.

Usage
In order to import a piece of some font-code, this extension provides the tag &lt;pieceofcode&gt; and it can be used as it's shown on the next example: file      = /trunk/PieceOfCode-dr.php revision  = 5 connection = PieceOfCode-dr lines     = 2-13 To see the result visit: http://wiki.daemonraco.com/wiki/PieceOfCode-dr#Usage

Connections
A connection is a piece of configuration used to identify a repository and specify its connection data. For this purpose, PieceOfCode uses the configuration variable $wgPieceOfCodeSVNConnections, this variable is an array where each element is an array itself with at least one value called url. This is the list of values that can be stored inside these items: An example of its use may be something like this: In this case, MyProject is the key that identifies this connection.

Configuration
This is the set of variables users can modify to change PieceOfCode behavior:

Downloads

 * Downloads:
 * PieceOfCode-dr-0.1.tar.gz
 * Browse all:
 * GoogleCode list

Installation
If you want to install this extension, follow these steps:
 * First, download the extension from http://code.google.com/p/pieceofcode-dr/downloads/list. This will give you a tar.gz file.
 * Second, extract the tar.gz file inside you mediawiki extensions directory. This will create a folder called PieceOfCode-dr.
 * Third, add these lines at the end of you LocalSettings.php file:
 * Then, enjoy!.

Version trunk

 * Highlight Specified lines.
 * Adding multirange of lines support.
 * Adding param 'separator' in order to separate ranges of lines.
 * Adding POCStats: a new class to keep statistics.
 * Adding configuration to manage this new feature.
 * Adding class POCFlags in order to manage PieceOfCode flags.
 * Adding class POCVersionManager in order to manage version upgrades of PieceOfCode.
 * Almost all Specia:PieceOfCode works with wiki text.

Version 0.1

 * Extension presentation.

@TODO

 * Register what article includes what font-code.
 * SpecialPage: separate REQUEST actions.
 * others...
 * Pre-recursive parse inside tags.