Extension:BugzillaView

The BugzillaView extension will display BugZilla bugs directly inside your pages.

Configure interwiki link
Setup an interwiki link for your BugZilla installation:

IMPORTANT: MediaWiki 1.6 introduced the language Buginese with ISO Code "bug". This means you can't use  as prefix, because it's reserved for the Buginese language.

Grant access to BugZilla
Because the BugzillaView extension needs access to the BugZilla's  database table, you have to configure the credentials later in. There are 3 ways to get access to BugZilla's database:


 * If the MediaWiki and BugZilla database are on the same host, you might give the MediaWiki user read-access to the BugZilla database (RECOMMENDED)
 * e.g. MySQL command
 * where  matches   in LocalSettings.php
 * Create a new user just for BugzillaView
 * e.g. MySQL command
 * Use the existing BugZilla database credentials

Configuration parameters
Here are the defaults, you might overwrite them in your LocalSettings.php file:

$wgBugzillaView['interwiki']         = 'bugzilla';    // name of the interwiki link $wgBugzillaView['displayDescription'] = TRUE;         // should bug descriptions be displayed $wgBugzillaView['dbDriver']          = $wgDBtype;     // database driver for PDO $wgBugzillaView['dbHost']            = $wgDBserver;   // database hostname or IP address $wgBugzillaView['dbName']            = 'bugzilla';    // database name $wgBugzillaView['dbUsername']        = $wgDBuser;     // database username $wgBugzillaView['dbPassword']        = $wgDBpassword; // database password $wgBugzillaView['dbTablePrefix']     = "";            // database prefix

You see, if your Bugzilla installation meets the following requirements, you don't have to configure anything and it should work out of the box:
 * The BugZilla database is installed on the same host as the MediaWiki database
 * The BugZilla database is called
 * The BugZilla database / tables don't uses prefixes
 * The MediaWiki DB user has read-access to BugZillas  table

Usage
To display a BugZilla bug inside your wiki site, just use the interwiki link.

Assume we use  as interwiki prefix, then we use the following syntax:

Format / Style
You might wanna change the style / format of the bugs and how they are displayed. Just edit the  file in the BugzillaView extension directory.