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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
|
<?php
/** Cantonese (粵語)
*
* To improve a translation please visit https://translatewiki.net
*
* @ingroup Language
* @file
*
* @author Anson2812
* @author Antonytse
* @author Horacewai2
* @author Justincheng12345
* @author Kaganer
* @author KaiesTse
* @author Mark85296341
* @author Nemo bis
* @author Simon Shek
* @author Waihorace
* @author William915
* @author Wong128hk
* @author Xiaomingyan
* @author Yfdyh000
*/
$namespaceNames = array(
NS_MEDIA => '媒體',
NS_SPECIAL => '特別',
NS_TALK => '傾偈',
NS_USER => '用戶',
NS_USER_TALK => '用戶傾偈',
NS_PROJECT_TALK => '$1傾偈',
NS_FILE => '文件',
NS_FILE_TALK => '文件傾偈',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki傾偈',
NS_TEMPLATE => '模',
NS_TEMPLATE_TALK => '模傾偈',
NS_HELP => '幫手',
NS_HELP_TALK => '幫手傾偈',
NS_CATEGORY => '分類',
NS_CATEGORY_TALK => '分類傾偈',
);
$namespaceAliases = array(
"媒体" => NS_MEDIA,
"特殊" => NS_SPECIAL,
"對話" => NS_TALK,
"对话" => NS_TALK,
"討論" => NS_TALK,
"讨论" => NS_TALK,
"用户" => NS_USER,
"用戶 對話" => NS_USER_TALK,
"用户 对话" => NS_USER_TALK,
"用戶 討論" => NS_USER_TALK,
"用户 讨论" => NS_USER_TALK,
'$1_傾偈' => NS_PROJECT_TALK,
"檔" => NS_FILE,
"檔案" => NS_FILE,
"档" => NS_FILE,
"档案" => NS_FILE,
"圖" => NS_FILE,
"圖像" => NS_FILE,
"图" => NS_FILE,
"图像" => NS_FILE,
'Image' => NS_FILE,
'Image_talk' => NS_FILE_TALK,
"檔 討論" => NS_FILE_TALK,
"档 讨论" => NS_FILE_TALK,
"檔案 討論" => NS_FILE_TALK,
"档案 讨论" => NS_FILE_TALK,
"圖 討論" => NS_FILE_TALK,
"图 讨论" => NS_FILE_TALK,
"圖像 討論" => NS_FILE_TALK,
"图像 讨论" => NS_FILE_TALK,
'MediaWiki_傾偈' => NS_FILE_TALK,
"模 討論" => NS_TEMPLATE_TALK,
"模 讨论" => NS_TEMPLATE_TALK,
"幫助" => NS_HELP,
"說明" => NS_HELP,
"帮手" => NS_HELP,
"帮助" => NS_HELP,
"说明" => NS_HELP,
"幫手 討論" => NS_HELP_TALK,
"幫助 討論" => NS_HELP_TALK,
"說明 討論" => NS_HELP_TALK,
"帮手 讨论" => NS_HELP_TALK,
"帮助 讨论" => NS_HELP_TALK,
"说明 讨论" => NS_HELP_TALK,
"類" => NS_CATEGORY,
"类" => NS_CATEGORY,
"分类" => NS_CATEGORY,
"類 討論" => NS_CATEGORY_TALK,
"分類 討論" => NS_CATEGORY_TALK,
"类 讨论" => NS_CATEGORY_TALK,
"分类 讨论" => NS_CATEGORY_TALK,
);
$specialPageAliases = array(
'Activeusers' => array( '活躍用戶名單' ),
'Allmessages' => array( '系統信息' ),
'Allpages' => array( '所有頁' ),
'Ancientpages' => array( '舊版' ),
'Blankpage' => array( '空版' ),
'Block' => array( '封' ),
'Booksources' => array( '書本來源' ),
'BrokenRedirects' => array( '斷鏈' ),
'Categories' => array( '分類' ),
'ChangePassword' => array( '改密碼' ),
'ComparePages' => array( '比較頁面' ),
'Confirmemail' => array( '確認電郵' ),
'Contributions' => array( '貢獻' ),
'CreateAccount' => array( '開戶' ),
'Deadendpages' => array( '掘頭頁' ),
'DeletedContributions' => array( '刪咗嘅貢獻' ),
'DoubleRedirects' => array( '雙重跳轉' ),
'EditWatchlist' => array( '改監視清單' ),
'Emailuser' => array( '電郵用戶' ),
'Export' => array( '匯出' ),
'Fewestrevisions' => array( '最少修訂版本' ),
'FileDuplicateSearch' => array( '搵重複文件' ),
'Filepath' => array( '檔案路徑' ),
'Import' => array( '匯入' ),
'Invalidateemail' => array( '錯電郵' ),
'BlockList' => array( '封咗嘅列表' ),
'LinkSearch' => array( '搵連結' ),
'Listadmins' => array( '管理員列表' ),
'Listbots' => array( '機械人列表' ),
'Listfiles' => array( '檔案列表' ),
'Listgrouprights' => array( '用戶組權限' ),
'Listredirects' => array( '重定向列表' ),
'Listusers' => array( '用戶列表' ),
'Lockdb' => array( '鎖資料庫' ),
'Log' => array( '日誌' ),
'Lonelypages' => array( '無鏈頁面' ),
'Longpages' => array( '長頁' ),
'MergeHistory' => array( '合併歷史' ),
'MIMEsearch' => array( 'MIME搜索' ),
'Mostcategories' => array( '最多分類' ),
'Mostimages' => array( '最多鏈嘅檔案' ),
'Mostlinked' => array( '最多鏈嘅頁' ),
'Mostlinkedcategories' => array( '最多鏈嘅分類' ),
'Mostlinkedtemplates' => array( '最多鏈嘅模' ),
'Mostrevisions' => array( '最多版本' ),
'Movepage' => array( '搬頁' ),
'Mycontributions' => array( '我嘅貢獻' ),
'MyLanguage' => array( '我個話' ),
'Mypage' => array( '我嘅頁面' ),
'Mytalk' => array( '我嘅傾偈' ),
'Myuploads' => array( '我嘅上傳' ),
'Newimages' => array( '新文件' ),
'Newpages' => array( '新版' ),
'PasswordReset' => array( '重設密碼' ),
'PermanentLink' => array( '永久鏈' ),
'Preferences' => array( '喜好設定' ),
'Prefixindex' => array( '全部頁嘅前綴' ),
'Protectedpages' => array( '保護頁' ),
'Protectedtitles' => array( '保護咗嘅標題' ),
'Randompage' => array( '是但一版' ),
'Randomredirect' => array( '是但一個跳轉' ),
'Recentchanges' => array( '最近修改' ),
'Recentchangeslinked' => array( '外鏈修改' ),
'Revisiondelete' => array( '修訂版本刪除' ),
'Search' => array( '搜索' ),
'Shortpages' => array( '短版' ),
'Specialpages' => array( '專門版' ),
'Statistics' => array( '統計' ),
'Tags' => array( '標籤' ),
'Unblock' => array( '解封' ),
'Uncategorizedcategories' => array( '無樓上嘅分類' ),
'Uncategorizedimages' => array( '無分類嘅檔案' ),
'Uncategorizedpages' => array( '無分類嘅頁' ),
'Uncategorizedtemplates' => array( '無分類嘅模' ),
'Undelete' => array( '反刪除' ),
'Unlockdb' => array( '解鎖資料庫' ),
'Unusedcategories' => array( '未用分類' ),
'Unusedimages' => array( '未用檔案' ),
'Unusedtemplates' => array( '未用模' ),
'Unwatchedpages' => array( '無人監視嘅版' ),
'Upload' => array( '上傳' ),
'Userlogin' => array( '簽到' ),
'Userlogout' => array( '簽走' ),
'Userrights' => array( '用戶權限' ),
'Version' => array( '版本' ),
'Wantedcategories' => array( '要求嘅分類' ),
'Wantedfiles' => array( '要求嘅文件' ),
'Wantedpages' => array( '要求嘅頁面' ),
'Wantedtemplates' => array( '要求嘅模' ),
'Watchlist' => array( '監視清單' ),
'Whatlinkshere' => array( '邊度鏈去呢版' ),
'Withoutinterwiki' => array( '無連去其他話嘅版' ),
);
$bookstoreList = array(
'AddALL' => 'http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN',
'Barnes & Noble' => 'http://search.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1',
'亞馬遜' => 'http://www.amazon.com/exec/obidos/ISBN=$1',
'博客來書店' => 'http://www.books.com.tw/exep/prod/booksfile.php?item=$1',
'三民書店' => 'http://www.sanmin.com.tw/page-qsearch.asp?ct=search_isbn&qu=$1',
'天下書店' => 'http://www.cwbook.com.tw/search/result1.jsp?field=2&keyWord=$1',
'新絲路書店' => 'http://www.silkbook.com/function/Search_list_book_data.asp?item=5&text=$1'
);
$datePreferences = array(
'default',
'yue dmy',
'yue mdy',
'yue ymd',
'ISO 8601',
);
$defaultDateFormat = 'yue';
$dateFormats = array(
'yue time' => 'H:i',
'yue date' => 'Y年n月j號 (l)',
'yue both' => 'Y年n月j號 (D) H:i',
'yue dmy time' => 'H:i',
'yue dmy date' => 'j-n-Y',
'yue dmy both' => 'j-n-Y H:i',
'yue mdy time' => 'H:i',
'yue mdy date' => 'n-j-Y',
'yue mdy both' => 'n-j-Y H:i',
'yue ymd time' => 'H:i',
'yue ymd date' => 'Y-n-j',
'yue ymd both' => 'Y-n-j H:i',
);
|