-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathBugaboo.php
More file actions
28 lines (21 loc) · 1.1 KB
/
Bugaboo.php
File metadata and controls
28 lines (21 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
$wgExtensionCredits['parserhook'][] = array(
'path' => __FILE__,
'name' => 'Bugaboo',
'description' => 'Query and display bugs from a variety of bug trackers',
'version' => '1.27-1.0-dev',
'author' => array( '[http://gphemsley.org/ Gordon P. Hemsley]', '[http://christiekoehler.com Christie Koehler]' ),
'url' => 'https://github.com/MozillaWiki/bugaboo',
'license-name' => 'MPL 2.0',
);
$includesDirectory = __DIR__ . '/includes';
$wgAutoloadClasses['HttpRest'] = $includesDirectory . '/HttpRest.php';
$wgAutoloadClasses['ProviderParser'] = $includesDirectory . '/ProviderParser.php';
$parserDirectory = $includesDirectory . '/parser';
$wgAutoloadClasses['BugabooParser'] = $parserDirectory . '/BugabooParser.php';
$wgAutoloadClasses['BugzillaParser'] = $parserDirectory . '/BugzillaParser.php';
$wgAutoloadClasses['GitHubParser'] = $parserDirectory . '/GitHubParser.php';
$wgHooks['ParserFirstCallInit'][] = 'BugabooParser::setHook';
$wgHooks['ParserFirstCallInit'][] = 'BugzillaParser::setHook';
$wgHooks['ParserFirstCallInit'][] = 'GitHubParser::setHook';
/* vim:set ts=4 sw=4 sts=4 noexpandtab: */