summaryrefslogtreecommitdiff
path: root/extensions/LocalisationUpdate/Autoload.php
blob: 0b3f14dccd03bf2794be5c1f83351873f18e1fc9 (plain)
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
29
30
31
<?php
/**
 * @file
 * @author Niklas Laxström
 * @license GPL-2.0+
 */

global $wgAutoloadClasses;
$dir = __DIR__;

$wgAutoloadClasses += array(
	'LocalisationUpdate' => "$dir/LocalisationUpdate.class.php",
	'LU_Updater' => "$dir/Updater.php",
	'QuickArrayReader' => "$dir/QuickArrayReader.php",

	# fetcher
	'LU_Fetcher' => "$dir/fetcher/Fetcher.php",
	'LU_FetcherFactory' => "$dir/fetcher/FetcherFactory.php",
	'LU_FileSystemFetcher' => "$dir/fetcher/FileSystemFetcher.php",
	'LU_GitHubFetcher' => "$dir/fetcher/GitHubFetcher.php",
	'LU_HttpFetcher' => "$dir/fetcher/HttpFetcher.php",

	# finder
	'LU_Finder' => "$dir/finder/Finder.php",

	# reader
	'LU_JSONReader' => "$dir/reader/JSONReader.php",
	'LU_PHPReader' => "$dir/reader/PHPReader.php",
	'LU_Reader' => "$dir/reader/Reader.php",
	'LU_ReaderFactory' => "$dir/reader/ReaderFactory.php",
);