Extension:CodeReview

CodeReview extension allows to review SVN commits on a MediaWiki installation. It adds two new special pages, Special:Code and Special:RepoAdmin. The former can be accessed by everyone, the latter only by users with the repoadmin user right.

Installation
These instructions might be missing essential bits and pieces, feel free to improve them.
 * 1) Download the files from SVN and place them in $IP/extensions/CodeReview/
 * 2) Run codereview.sql against your database with a command like mysql -u [your mysql username here] -p[mysql password here] [database name here]  into your wiki's LocalSettings.php
 * 3) Installation can now be verified through your wiki's Special:Version.

To set up a repository:
 * 1) You need to be logged in as a user with the  right (by default this means a user who is a member of the   group).
 * 2) Browse to Special:RepoAdmin
 * 3) Enter a repository name into the input box and press "Create" button
 * 4) Enter the three required paths; SVN, Bugzilla and ViewVC paths. These paths should be valid URLs, not local paths. For example, http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 for SVN etc.
 * 5) * The bugzilla path should be the full URL to display a bug, with $1 representing the bug number (e.g. ).  This path allows bug references in your commit messages to link to the appropriate bug URL.
 * 6) Press OK.
 * 7) Now the repository has been created and you'll need to import SVN data to it. You can do this with the svnImport.php maintenance script in CodeReview directory. To run it, type: php svnImport.php YourProjectName
 * 8) After the import is done, you should be able to review commits through Special:Code/YourProjectName, where YourProjectName is the name of the project you gave in Special:RepoAdmin.

Requirements
A working installation of the command-line SVN client is needed, and the svn PECL extension is recommended.

User rights
By default, everyone (including anonymous users) can post comments (codereview-post-comment), set the status of a commit (codereview-set-status), add tags (codereview-add-tag) and remove them (codereview-remove-tag</tt>).

Only stewards can administrate the SVN repository (repoadmin</tt>) and access Special:RepoAdmin.