Recent News
All news
2024-09-24 | Maven 3.9.9 |
2024-08-13 | Noble Numbat |
2024-06-21 | Maven 3.9.8 |
2024-02-02 | Maven 3.9.6 |
2023-10-11 | P2 repository deleted |
2023-10-10 | Maven 3.9.5 |
Search
Mailing List
MediaWiki Extension SubversionChanges
SubversionChanges is an extension of MediaWiki to create a list of changes extracted from a Subversion repository.
Example: http://www.janus-project.org/index.php/ChangeLog:DailyBuild.
Installation
- Download SubversionChanges,
- Unpack the archive in your Mediawiki directory
- add
require_once($IP.'/extensions/SubversionChanges/SubversionChanges.php');
in yourLocalSettings.php
.
Usage
SubversionChanges provides the parser function {{#svnchanges}}
. This function is expanded to a change log extracted from a Subversion server.
{{#svnchanges:projectName:branch}}
:
projectName
: is the identifier of the project, see below for project configuration.branch
: is the branch identifier of the project (by default:trunk
). Ifbranch
is a version number, the directory/tags/projectName-branch
on the Subversion server is used. Ifbranch
is empty or equal to"trunk"
the directory/trunk
on the Subversion server is used. in the other cases, the directory/branches/branch
on the Subversion server is used.
Configuration
SubversionChanges extension uses several global variables which may be set in LocalSetting.php
:
$wgSvnRepoPath
- Defines the paths to the SVN repositories. It is an associative array of
(project_id => repository_url)
$wgSvnRepoAuth
- Defines the authentification informations to the SVN repositories. It is an associative array of
(project_id => "login password")
$wgSvnRepoJiraProjectIds
- Defines the identifiers for the projects on JIRA. These identifiers will be automatically detected and enclosed by <jira /> HTML tag. By default, the project id passed to the parser function is recognized.
Details
- Main authors: GALLAND Stéphane
- License: GPL
- Implementation: Php
- Stable Version: 1.2