NP_WIKIPEDIA => NP_PROJECT, and code readability stuff
[lhc/web/wiklou.git] / includes / Defines.php
1 <?php
2 # A few constants that might be needed during LocalSettings.php
3
4 define( 'DBO_DEBUG', 1 );
5 define( 'DBO_NOBUFFER', 2 );
6 define( 'DBO_IGNORE', 4 );
7 define( 'DBO_TRX', 8 );
8 define( 'DBO_DEFAULT', 16 );
9
10 # Virtual namespaces; these don't appear in the page database:
11 define('NS_MEDIA', -2);
12 define('NS_SPECIAL', -1);
13
14 # Real namespaces:
15 define('NS_MAIN', 0);
16 define('NS_TALK', 1);
17 define('NS_USER', 2);
18 define('NS_USER_TALK', 3);
19 define('NS_PROJECT', 4);
20 define('NS_PROJECT_TALK', 5);
21 define('NS_IMAGE', 6);
22 define('NS_IMAGE_TALK', 7);
23 define('NS_MEDIAWIKI', 8);
24 define('NS_MEDIAWIKI_TALK', 9);
25 define('NS_TEMPLATE', 10);
26 define('NS_TEMPLATE_TALK', 11);
27 define('NS_HELP', 12);
28 define('NS_HELP_TALK', 13);
29 define('NS_CATEGORY', 14);
30 define('NS_CATEGORY_TALK', 15);
31
32 # Fix the code and remove these...
33 define('NS_WP', NS_PROJECT);
34 define('NS_WP_TALK', NS_PROJECT_TALK);
35 define('NS_WIKIPEDIA', NS_PROJECT);
36 define('NS_WIKIPEDIA_TALK', NS_PROJECT_TALK);
37
38 ?>