-
Notifications
You must be signed in to change notification settings - Fork 1
/
globals.php
71 lines (68 loc) · 1.95 KB
/
globals.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
namespace CluebotNG;
/*
* Copyright (C) 2015 Jacobi Carter and Chris Breneman
*
* This file is part of ClueBot NG.
*
* ClueBot NG is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* ClueBot NG is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with ClueBot NG. If not, see <http://www.gnu.org/licenses/>.
*/
class Globals
{
public static $stdin;
public static $tfas;
public static $tfa;
public static $aoptin;
public static $cb_mysql;
public static $run;
public static $wl = array();
public static $optin;
public static $edit;
public static $stalk;
public static $atime;
public static $namespaces = array(
'special' => -1,
'media' => -2,
'main' => 0,
'talk' => 1,
'user' => 2,
'user talk' => 3,
'wikipedia' => 4,
'wikipedia talk' => 5,
'file' => 6,
'file talk' => 7,
'mediawiki' => 8,
'mediawiki talk' => 9,
'template' => 10,
'template talk' => 11,
'help' => 12,
'help talk' => 13,
'category' => 14,
'category talk' => 15,
'portal' => 100,
'portal talk' => 101,
'book' => 108,
'book talk' => 109,
'draft' => 118,
'draft talk' => 119,
'timedtext' => 710,
'timedtext talk' => 711,
'module' => 828,
'module talk' => 829,
'gadget' => 2300,
'gadget talk' => 2301,
'gadget definition' => 2302,
'gadget definition talk' => 2303,
);
}