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 it 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:


 * 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!.

0.1

 * Extension presentation.

@TODO

 * Give a tool to eliminate files.
 * Register what article includes what font-code.
 * SpecialPage: separate REQUEST actions.
 * others...