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\'=>\'Log in\', |
28 \'name\'=>\'specialpage_log_in\', |
29 \'urlname\'=>\'Login\', |
29 \'urlname\'=>\'Login\', |
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 $paths->add_page(Array( |
33 $paths->add_page(Array( |
34 \'name\'=>\'Log out\', |
34 \'name\'=>\'specialpage_log_out\', |
35 \'urlname\'=>\'Logout\', |
35 \'urlname\'=>\'Logout\', |
36 \'namespace\'=>\'Special\', |
36 \'namespace\'=>\'Special\', |
37 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
37 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
38 )); |
38 )); |
39 $paths->add_page(Array( |
39 $paths->add_page(Array( |
40 \'name\'=>\'Register\', |
40 \'name\'=>\'specialpage_register\', |
41 \'urlname\'=>\'Register\', |
41 \'urlname\'=>\'Register\', |
42 \'namespace\'=>\'Special\', |
42 \'namespace\'=>\'Special\', |
43 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
43 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
44 )); |
44 )); |
45 $paths->add_page(Array( |
45 $paths->add_page(Array( |
46 \'name\'=>\'Edit Profile\', |
46 \'name\'=>\'specialpage_preferences\', |
47 \'urlname\'=>\'Preferences\', |
47 \'urlname\'=>\'Preferences\', |
48 \'namespace\'=>\'Special\', |
48 \'namespace\'=>\'Special\', |
49 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
49 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
50 )); |
50 )); |
51 |
51 |
52 $paths->add_page(Array( |
52 $paths->add_page(Array( |
53 \'name\'=>\'Contributions\', |
53 \'name\'=>\'specialpage_contributions\', |
54 \'urlname\'=>\'Contributions\', |
54 \'urlname\'=>\'Contributions\', |
55 \'namespace\'=>\'Special\', |
55 \'namespace\'=>\'Special\', |
56 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
56 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
57 )); |
57 )); |
58 |
58 |
59 $paths->add_page(Array( |
59 $paths->add_page(Array( |
60 \'name\'=>\'Change style\', |
60 \'name\'=>\'specialpage_change_theme\', |
61 \'urlname\'=>\'ChangeStyle\', |
61 \'urlname\'=>\'ChangeStyle\', |
62 \'namespace\'=>\'Special\', |
62 \'namespace\'=>\'Special\', |
63 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
63 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
64 )); |
64 )); |
65 |
65 |
66 $paths->add_page(Array( |
66 $paths->add_page(Array( |
67 \'name\'=>\'Activate user account\', |
67 \'name\'=>\'specialpage_activate_account\', |
68 \'urlname\'=>\'ActivateAccount\', |
68 \'urlname\'=>\'ActivateAccount\', |
69 \'namespace\'=>\'Special\', |
69 \'namespace\'=>\'Special\', |
70 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
70 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
71 )); |
71 )); |
72 |
72 |
73 $paths->add_page(Array( |
73 $paths->add_page(Array( |
74 \'name\'=>\'Captcha\', |
74 \'name\'=>\'specialpage_captcha\', |
75 \'urlname\'=>\'Captcha\', |
75 \'urlname\'=>\'Captcha\', |
76 \'namespace\'=>\'Special\', |
76 \'namespace\'=>\'Special\', |
77 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
77 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
78 )); |
78 )); |
79 |
79 |
80 $paths->add_page(Array( |
80 $paths->add_page(Array( |
81 \'name\'=>\'Forgot password\', |
81 \'name\'=>\'specialpage_password_reset\', |
82 \'urlname\'=>\'PasswordReset\', |
82 \'urlname\'=>\'PasswordReset\', |
83 \'namespace\'=>\'Special\', |
83 \'namespace\'=>\'Special\', |
84 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
84 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
85 )); |
85 )); |
86 |
86 |
87 $paths->add_page(Array( |
87 $paths->add_page(Array( |
88 \'name\'=>\'Member list\', |
88 \'name\'=>\'specialpage_member_list\', |
89 \'urlname\'=>\'Memberlist\', |
89 \'urlname\'=>\'Memberlist\', |
90 \'namespace\'=>\'Special\', |
90 \'namespace\'=>\'Special\', |
91 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
91 \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
92 )); |
92 )); |
93 |
93 |
94 $paths->add_page(Array( |
94 $paths->add_page(Array( |
95 \'name\'=>\'Language exporter\', |
95 \'name\'=>\'specialpage_language_export\', |
96 \'urlname\'=>\'LangExportJSON\', |
96 \'urlname\'=>\'LangExportJSON\', |
97 \'namespace\'=>\'Special\', |
97 \'namespace\'=>\'Special\', |
98 \'special\'=>0,\'visible\'=>0,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
98 \'special\'=>0,\'visible\'=>0,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\', |
99 )); |
99 )); |
100 |
100 |