Extension:Git2Pages

Git2Pages is an extension that will allow a user to add snippets of code to a wiki page from a file in a git repository. It's currently in development.

Usage

 * repository: The URL of the git repository. REQUIRED
 * file: The filename whose data is going to be displayed. REQUIRED
 * branch: The branch to look for the file. OPTIONAL (Default = master)
 * startline: The start of where the snippet will be pulled. OPTIONAL (Default = Start of file)
 * endline: The end of where the snippet will be pulled. OPTIONAL (Default = End of file)

Requirements
This extension requires bash.

Installation

 * 1) Download the extension
 * 2) Add in LocalSettings.php: