20 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details. |
20 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details. |
21 */ |
21 */ |
22 |
22 |
23 global $db, $session, $paths, $template, $plugins; // Common objects |
23 global $db, $session, $paths, $template, $plugins; // Common objects |
24 |
24 |
25 $plugins->attachHook('base_classes_initted', ' |
25 $plugins->attachHook('session_started', ' |
26 global $paths; |
26 global $paths; |
27 $paths->add_page(Array( |
27 $paths->add_page(Array( |
28 \'name\'=>\'Create page\', |
28 \'name\'=>\'specialpage_create_page\', |
29 \'urlname\'=>\'CreatePage\', |
29 \'urlname\'=>\'CreatePage\', |
30 \'namespace\'=>\'Special\', |
30 \'namespace\'=>\'Special\', |
31 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
31 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
32 )); |
32 )); |
33 |
33 |
34 $paths->add_page(Array( |
34 $paths->add_page(Array( |
35 \'name\'=>\'All pages\', |
35 \'name\'=>\'specialpage_all_pages\', |
36 \'urlname\'=>\'AllPages\', |
36 \'urlname\'=>\'AllPages\', |
37 \'namespace\'=>\'Special\', |
37 \'namespace\'=>\'Special\', |
38 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
38 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
39 )); |
39 )); |
40 |
40 |
41 $paths->add_page(Array( |
41 $paths->add_page(Array( |
42 \'name\'=>\'List of special pages\', |
42 \'name\'=>\'specialpage_special_pages\', |
43 \'urlname\'=>\'SpecialPages\', |
43 \'urlname\'=>\'SpecialPages\', |
44 \'namespace\'=>\'Special\', |
44 \'namespace\'=>\'Special\', |
45 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
45 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
46 )); |
46 )); |
47 |
47 |
48 $paths->add_page(Array( |
48 $paths->add_page(Array( |
49 \'name\'=>\'About Enano\', |
49 \'name\'=>\'specialpage_about_enano\', |
50 \'urlname\'=>\'About_Enano\', |
50 \'urlname\'=>\'About_Enano\', |
51 \'namespace\'=>\'Special\', |
51 \'namespace\'=>\'Special\', |
52 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
52 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
53 )); |
53 )); |
54 |
54 |
55 $paths->add_page(Array( |
55 $paths->add_page(Array( |
56 \'name\'=>\'GNU General Public License\', |
56 \'name\'=>\'specialpage_gnu_gpl\', |
57 \'urlname\'=>\'GNU_General_Public_License\', |
57 \'urlname\'=>\'GNU_General_Public_License\', |
58 \'namespace\'=>\'Special\', |
58 \'namespace\'=>\'Special\', |
59 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
59 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
60 )); |
60 )); |
61 |
61 |
62 $paths->add_page(Array( |
62 $paths->add_page(Array( |
63 \'name\'=>\'Tag cloud\', |
63 \'name\'=>\'specialpage_tag_cloud\', |
64 \'urlname\'=>\'TagCloud\', |
64 \'urlname\'=>\'TagCloud\', |
65 \'namespace\'=>\'Special\', |
65 \'namespace\'=>\'Special\', |
66 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
66 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
67 )); |
67 )); |
68 '); |
68 '); |