Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Latest commit

 

History

History
63 lines (50 loc) · 2.18 KB

README.md

File metadata and controls

63 lines (50 loc) · 2.18 KB

mediawiki-bugzillareports

Bugzilla Reports is a MediaWiki extension that integrates the Bugzilla bug tracker in MediaWiki.

Origins of this project

This project was forked from its original repository which the author has not maintained for a long time and which will probably disappear soon, because the platform closes its doors.

The original extension is documented here. The documentation can be still applied to the fork in this repository, because only small changes have been made to keep the project up-to-date with the latest software versions.

Supported versions

Activating the extension

Add the lines below somewhere at the end of your LocalSettings.php, given you installed (or checked out) this extension in the path MediaWikiRootextensions/BugzillaReports.

require_once("$IP/extensions/BugzillaReports/BugzillaReports.php");
$wgBugzillaReports = array(
	  'host'        => "localhost",
	  'database'    => "bugs",
	  'user'        => "bugzilla",
	  'password'    => "MYSECRETPASSWORD",
	  'disablecache' => 1,
	  'bzserver'    => "http://www.example.com/bugzilla"
	  );

You will need to adapt the configuration in $wgBugzillaReports to match your Bugzilla database settings.

Example

This snippet includes all unresolved bugs from project MyProject with at least normal priority and sorted by their bug ID. The columns to view are specified in the first line. When there are no matching bugs, the message "No matching bugs found." is displayed.

{{#bugzilla:columns=id,component,priority,status,to,blocks,depends,summary
 |product=MyProject
 |status=!RESOLVED
 |priority=!(Low,Lowest)
 |sort=id
 |noresultsmessage="No matching bugs found."
}}