forked from wikimedia/mediawiki-extensions-Wikibase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Wikibase.php
26 lines (21 loc) · 600 Bytes
/
Wikibase.php
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
<?php
/**
* Testing entry point. Do not use for production setups!
*
* @see README.md
* @see https://wikiba.se
*
* @license GPL-2.0-or-later
*/
if ( $wgEnableWikibaseRepo ?? true ) {
wfLoadExtension( 'WikibaseRepository', __DIR__ . '/extension-repo.json' );
if ( $wgWikimediaJenkinsCI ?? false ) {
require_once __DIR__ . '/repo/config/Wikibase.ci.php';
}
}
if ( $wgEnableWikibaseClient ?? true ) {
wfLoadExtension( 'WikibaseClient', __DIR__ . '/extension-client.json' );
if ( $wgWikimediaJenkinsCI ?? false ) {
require_once __DIR__ . '/client/config/WikibaseClient.ci.php';
}
}