-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathCommon.php
More file actions
36 lines (31 loc) · 864 Bytes
/
Common.php
File metadata and controls
36 lines (31 loc) · 864 Bytes
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
32
33
34
35
36
<?php
/**
* Entry point of the DataValues Common library.
*
* @since 0.1
* @codeCoverageIgnore
*
* @licence GNU GPL v2+
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
if ( defined( 'DataValuesCommon_VERSION' ) ) {
// Do not initialize more then once.
return 1;
}
define( 'DATAVALUES_COMMON_VERSION', '0.2' );
/**
* @deprecated
*/
define( 'DataValuesCommon_VERSION', DATAVALUES_COMMON_VERSION );
if ( defined( 'MEDIAWIKI' ) ) {
$GLOBALS['wgExtensionCredits']['datavalues'][] = array(
'path' => __DIR__,
'name' => 'DataValuesCommon',
'version' => DATAVALUES_COMMON_VERSION,
'author' => array(
'[https://www.mediawiki.org/wiki/User:Jeroen_De_Dauw Jeroen De Dauw]'
),
'url' => 'https://github.com/DataValues/Common',
'description' => 'Contains common implementations of the interfaces defined by DataValuesInterfaces',
);
}