<?php
require_once( "LanguageUtf8.php" );

# NOTE: To turn off "Current Events" in the sidebar,
# set "currentevents" => "-"

# The names of the namespaces can be set here, but the numbers
# are magical, so don't change or move them!  The Namespace class
# encapsulates some of the magic-ness.
#
/* private */ $wgNamespaceNamesZh = array(
	NS_MEDIA            => "Media",
	NS_SPECIAL          => "Special",
	NS_MAIN             => "",
	NS_TALK             => "Talk",
	NS_USER             => "User",
	NS_USER_TALK        => "User_talk",
	NS_WIKIPEDIA        => $wgMetaNamespace,
	NS_WIKIPEDIA_TALK   => $wgMetaNamespace . "_talk",
	NS_IMAGE            => "Image",
	NS_IMAGE_TALK       => "Image_talk",
	NS_MEDIAWIKI        => "MediaWiki",
	NS_MEDIAWIKI_TALK   => "MediaWiki_talk",
	NS_TEMPLATE         => "Template",
	NS_TEMPLATE_TALK    => "Template_talk",
	NS_HELP             => "Help",
	NS_HELP_TALK        => "Help_talk",
	NS_CATEGORY         => "Category",
	NS_CATEGORY_TALK    => "Category_talk"

) + $wgNamespaceNamesEn;

/* private */ $wgQuickbarSettingsZh = array(
        "无", /* "None" */ 
	"左侧固定", /* "Fixed left" */ 
	"右侧固定", /* "Fixed right" */ 
	"左侧漂移" /* "Floating left" */ 	
);

/* private */ $wgSkinNamesZh = array(
	'standard' => "标准",
	'nostalgia' => "怀旧",
	'cologneblue' => "科隆香水蓝",
	'smarty' => "Paddington",
	'montparnasse' => "Montparnasse",
	'davinci' => "DaVinci",
	'mono' => "Mono",
	'monobook' => "MonoBook",
 "myskin" => "MySkin" 
);

/* private */ $wgMathNamesZh = array(
	"永远使用PNG图像",    /* "Always render PNG" */
	"如果是简单的公式使用HTML，否则使用PNG图像",   /* "HTML if very simple or else PNG" */
	"如果可以用HTML，否则用PNG图像",   /* "HTML if possible or else PNG" */
	"显示为TeX代码(使用文字浏览器时)",  /* "Leave it as TeX (for text browsers)" */
	"推荐为新版浏览器使用"  /* "Recommended for modern browsers" */
);

/* private */ $wgUserTogglesZh = array(
	"hover"		=> "滑过Wiki链接时显示注释",
/* "Show hoverbox over wiki links",*/
	"underline" => "下划链接",
/* "Underline links", */
	"highlightbroken" => "毁坏链接格式<a href=\"\" class=\"new\">像这样</a> (或者像这个<a href=\"\" class=\"internal\">?</a>)",
/* "Format broken links <a href=\"\" class=\"new\">like 
this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).", */
	"justify"	=> "段落对齐",
/* "Justify paragraphs", */
	"hideminor" => "最近更改中隐藏细微修改",
/* "Hide minor edits in recent changes", */
	"usenewrc" => "最近更改增强（只适用部分浏览器）",
/* "Enhanced recent changes (not for all browsers)", */
	"numberheadings" => "标题自动编号",
	"showtoolbar" => "Show edit toolbar",
/* "Auto-number headings", */
   "editondblclick" => "双击页面编辑(JavaScript)",
                 "editsection"=>"允许通过点击[编辑]链接编辑段落",
 	         "editsectiononrightclick"=>"允许右击标题编辑段落(JavaScript)",
 	         "showtoc"=>"显示目录<br>(针对一页超过3个标题的文章)",
	"rememberpassword" => "下次登陆记住密码",
/* "Remember password across sessions", */
	"editwidth" => "编辑栏位宽度",
/* "Edit box has full width", */
	"editondblclick" => "双击编辑页面（Javascript）",
/* "Edit pages on double click (JavaScript)", */
	"watchdefault" => "监视新的以及更改过的文章",
/* "Watch new and modified articles", */
	"minordefault" => "细微编辑为默认设置",
/* "Mark all edits minor by default", */
	"previewontop" => "在编辑框上方显示预览"
/* "Show preview before edit box and not after it" */
);

/* private */ $wgBookstoreListZh = array(
	"AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
	"PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
	"Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
	"Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
);

/* private */ $wgWeekdayNamesZh = array(
        "星期日", "星期一", "星期二", "星期三", "星期四",
	"星期五", "星期六"
/* "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
	"Friday", "Saturday" */
);

/* private */ $wgMonthNamesZh = array(
        "1月", "2月", "3月", "4月", "5月", "6月",
	"7月", "8月", "9月", "10月", "11月",
	"12月"
/* "January", "February", "March", "April", "May", "June",
   "July", "August", "September", "October", "November",
	"December" */
);

/* private */ $wgMonthAbbreviationsZh = array(
"1月", "2月", "3月", "4月", "5月", "6月",
	"7月", "8月", "9月", "10月", "11月",
	"12月"
/* "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug",
	"Sep", "Oct", "Nov", "Dec" */
);

# All special pages have to be listed here: a description of ""
# will make them not show up on the "Special Pages" page, which
# is the right thing for some of them (such as the "targeted" ones).
#
/* private */ $wgValidSpecialPagesZh = array(
	"Userlogin"		=> "",
	"Userlogout"	=> "",
	"Preferences"	=> "参数设置", 
/*"Set my user preferences", */
	"Watchlist"		=> "监视列表",
/* "My watchlist", */
	"Recentchanges" => "最近更新",
/* "Recently updated pages", */
	"Upload"		=> "上载",
/* "Upload image files", */
	"Imagelist"		=> "图像列表",
/* "Image list", */
	"Listusers"		=> "注册用户",
/* "Registered users", */
	"Statistics"	=> "站点统计",
/* "Site statistics", */
	"Randompage"	=> "随机页面",
/* "Random article", */

	"Lonelypages"	=> "孤立页面",
/* "Orphaned articles",*/
	"Unusedimages"	=> "孤立图像",
/* "Orphaned images", */
	"Popularpages"	=> "热点条目",
/* "Popular articles", */
	"Wantedpages"	=> "待撰页面",
/* "Most wanted articles", */
	"Shortpages"	=> "短条目",
	"Longpages"		=> "长条目",
	"Newpages"		=> "新建条目",
#	"Intl"		=> "跨语言链接", # this page not done yet!
	"Ancientpages"		=> "Oldest pages",
	"Allpages"		=> "所有条目",

	"Ipblocklist"	=> "被封IP地址",
	"Maintenance" => "维护页",
	"Specialpages"  => "",
	"Contributions" => "",
	"Emailuser"		=> "",
	"Whatlinkshere" => "",
	"Recentchangeslinked" => "",
	"Movepage"		=> "",
	"Booksources"	=> "站外书源",
#           "Categories" => "页面分类"
	"Export" => "XML export",
	"Version" => "Version",
);

/* private */ $wgSysopSpecialPagesZh = array(
	"Blockip"		=> "查封一个IP地址",
	"Asksql"		=> "查询数据库",
	"Undelete"		=> "恢复被删页面"
);

/* private */ $wgDeveloperSpecialPagesZh = array(
	"Lockdb"		=> "设置数据库只读",
	"Unlockdb"		=> "恢复数据库修改权限",
);

/* private */ $wgAllMessagesZh = array(

# Bits of text used by many pages:
#
"categories" => "页面分类",
 	 "category" => "分类",
 	 "category_header" => "类别”$1“中的条目",
 	 "subcategories" => "附分类",
"linktrail"		=> "/^([a-z]+)(.*)\$/sD",
"mainpage"		=> "首页",
"about"			=> "关于",
"aboutwikipedia" => "关于Wikipedia",
"aboutpage"		=> "Wikipedia:关于",
"help"			=> "帮助",
"helppage"		=> "Wikipedia:帮助",
"wikititlesuffix" => "Wikipedia",
"bugreports"	=> "错误报告",
"bugreportspage" => "Wikipedia:错误报告",
"faq"			=> "常见问题解答",
"faqpage"		=> "Wikipedia:常见问题解答",
"edithelp"		=> "编辑帮助",
"edithelppage"	=> "Wikipedia:如何编辑页面",
"cancel"		=> "取消",
"qbfind"		=> "寻找",
"qbbrowse"		=> "浏览",
"qbedit"		=> "编辑",
"qbpageoptions" => "页面选项",
"qbpageinfo"	=> "页面信息",
"qbmyoptions"	=> "我的选项",
"mypage"		=> "我的页面",
"mytalk"		=> "我的对话页",
"currentevents" => "新闻动态",
"errorpagetitle" => "错误",
"returnto"		=> "返回到$1.",
"fromwikipedia"	=> "Wikipedia，自由的百科全书",
"whatlinkshere"	=> "链入页面",
"help"			=> "帮助",
"search"		=> "搜索",
"go"		=> "进入",
"history"		=> "较早版本",
"printableversion" => "可打印版",
"editthispage"	=> "编辑本页",
"deletethispage" => "删除本页",
"protectthispage" => "保护本页",
"unprotectthispage" => "解除保护",
"newpage" => "新页面",
"talkpage"		=> "讨论本页",
	 "postcomment"   => "发表评论",
"articlepage"	=> "查看文章",
"subjectpage"	=> "查看主题", # For compatibility
"userpage" => "查看用户页",
"wikipediapage" => "查看meta页",
"imagepage" => 	"查看图像页面",
"viewtalkpage" => "查看讨论",
"otherlanguages" => "其它语言",
"redirectedfrom" => "(重定向自$1)",
"lastmodified"	=> "最后更改$1.",
"viewcount"		=> "本页面已经被浏览$1次。",
"gnunote" => "所有文本在<a class=internal href='/wiki/GNU_FDL'>GNU自由文档协议证书 </a>下发布",
"printsubtitle" => "(来自 http://zh.wikipedia.org)",
"protectedpage" => "被保护页",
"administrators" => "Wikipedia:管理员",
"sysoptitle"	=> "需要管理员权限",
"sysoptext"		=> "您刚才的请求只有拥有管理员权限的用户才可使用。
参见$1。",
"developertitle" => "需要发展者权限",
"developertext"	=> "您刚才的请求只有拥有发展者权限的用户才可使用。
参见$1。",
"nbytes"		=> "$1字节",
"go"			=> "进入",
"ok"			=> "OK",
"sitetitle"		=> "Wikipedia",
"sitesubtitle"	=> "自由的百科全书",
"retrievedfrom" => "取自\"$1\"",
"newmessages" => "您有$1。",
"newmessageslink" => "新信息",
 "editsection"=>"编辑",	 
 "toc" => "目录",
"showtoc" => "显示",
 	 "hidetoc" => "隐藏",

# Main script and global functions
#
"nosuchaction"	=> "没有这个命令",
"nosuchactiontext" => "URL请求的命令无法被 Wikipedia 软件识别。",
"nosuchspecialpage" => "没有这个特殊页。",

"nospecialpagetext" => "您请求的页面无法被 Wikipedia 软件识别。",

# General errors
#
"error"			=> "错误",
"databaseerror" => "数据库错误",
"dberrortext"	=> "数据库指令语法错误。
这可能是由于非法搜索指令所引起的(见 $5),
也可能是由于软件自身的错误所引起。
最后一次数据库指令是：
<blockquote><tt>$1</tt></blockquote>
来自于函数 \"<tt>$2</tt>\"。
MySQL返回错误 \"<tt>$3: $4</tt>\"。",
"noconnect"		=> "无法在 $1上连接数据库",
"nodb"			=> "无法选择数据库 $1",
"readonly"		=> "数据库禁止访问",
"enterlockreason" => "请输入禁止访问原因, 包括估计重新开放的时间",
"readonlytext"	=> "Wikipedia数据库目前禁止输入新内容及更改，
这很可能是由于数据库正在维修，之后即可恢复。
管理员有如下解释:
<p>$1",
"missingarticle" => "数据库找不到文字\"$1\"。

<p>通常这是由于修订历史页上过时的链接到已经被删除的页面所导致的。

<p>如果情况不是这样，您可能找到了软件内的一个臭虫。
请记录下URL地址，并向管理员报告。",
"internalerror" => "内部错误",
"filecopyerror" => "无法复制文件\"$1\"到\"$2\"。",
"filerenameerror" => "无法重命名文件\"$1\" 到\"$2\"。",
"filedeleteerror" => "无法删除文件 \"$1\"。",
"filenotfound"	=> "找不到文件 \"$1\"。",
"unexpected"	=> "不正常值: \"$1\"=\"$2\"。",
"formerror"		=> "错误：无法提交表单",	
"badarticleerror" => "无法在本页上进行此项操作。",
"cannotdelete"	=> "无法删除选定的页面或图像（它可能已经被其他人删除了）。",
"badtitle"		=> "错误的标题",
"badtitletext"	=> "所请求页面的标题是无效的、不存在，跨语言或跨wiki链接的标题错误。",
"perfdisabled" => "抱歉！由于此项操作有可能造成数据库瘫痪，目前暂时无法使用。",
"perfdisabledsub" => "这里是自$1的复制版本：",

# 登录与登出
#
"logouttitle"	=> "用户退出",
"logouttext"	=> "您现在已经退出。
您可以继续以匿名方式使用Wikipeida，或再次以相同或不同用户身份登录。\n",

"welcomecreation" => "<h2>欢迎，$1!</h2><p>您的帐号已经建立，不要忘记设置Wikipedia个人参数。",

"loginpagetitle" => "用户登录",
"yourname"		=> "您的用户名",
"yourpassword"	=> "您的密码",
"yourpasswordagain" => "再次输入密码",
"newusersonly"	=> "（仅限新用户）",
"remembermypassword" => "下次登录记住密码。",
"loginproblem"	=> "<b>登录有问题。</b><br>再试一次！",
"alreadyloggedin" => "<font color=red><b>用户$1，您已经登录了!</b></font><br>\n",

"login"			=> "登录",
"userlogin"		=> "用户登录",
"logout"		=> "退出",
"userlogout"	=> "用户退出",
"createaccount"	=> "创建新帐号",
 "createaccountmail"     => "通过eMail",
"badretype"		=> "你所输入的密码并不相同。",
"userexists"	=> "您所输入的用户名已有人使用。请另选一个。",
"youremail"		=> "您的电子邮件*",
"yournick"		=> "绰号（签名时用）",
"emailforlost"	=> "* 输入一个电邮地址并不是必须的。但是这将允许他人在您未告知的情况下通过电子邮件与您联系，如果您忘了密码的话电邮地址也会有帮助。",
"loginerror"	=> "登录错误",
"noname"		=> "你没有输入一个有效的用户名。",
"loginsuccesstitle" => "登录成功",
"loginsuccess"	=> "你现在以 \"$1\"的身份登录Wikipedia。",
"nosuchuser"	=> "找不到用户 \"$1\"。
检查您的拼写，或者用下面的表格建立一个新帐号。",
"wrongpassword"	=> "您输入的密码错误，请再试一次。",
"mailmypassword" => "将新密码寄给我",
"passwordremindertitle" => "Wikipedia密码提醒",
"passwordremindertext" => "有人（可能是您，来自IP地址$1)要求我们将新的Wikipedia登录密码寄给你。
用户 \"$2\" 的密码现在是 \"$3\"。
请立即登录并更改密码。",
"noemail"		=> "用户\"$1\"没有登记电子邮件地址。",
"passwordsent"	=> "用户\"$1\"的新密码已经寄往所登记的电子邮件地址。
请在收到后再登录。",

# 编辑
#
"summary"		=> "简述",
"subject"               => "主题",
"minoredit"		=> "这是一个小修改",
"watchthis"		=> "监视本页",
"savearticle"	=> "保存本页",
"preview"		=> "预览",
"showpreview"	=> "显示预览",
"blockedtitle"	=> "用户被封",
"blockedtext"	=> "您的用户名或IP地址已被$1封。
理由是：<br>'''$2'''<p>您可以与$1向其他任何[[Wikipedia:管理员|管理员]]询问。",
 "whitelistedittitle" => "登录后才可编辑",
 	 "whitelistedittext" => "您必须先[[Special:Userlogin|登录]]才可编辑页面。",
 	 "whitelistreadtitle" => "登录后才可阅读",
 	 "whitelistreadtext" => "您必须先[[Special:Userlogin|登录]]才可阅读页面。",
 	 "whitelistacctitle" => "您被禁止建立帐号",
 	 "whitelistacctext" => "在本Wiki中建立帐号您必须先[[Special:Userlogin|登录]]并拥有相关权限。",
 	 "accmailtitle" => "密码寄出",
 	 "accmailtext" => "'$1'的密码已经寄到$2。",
"newarticle"	=> "（新）",
"newarticletext" =>
"您从一个链接进入了一个并不存在的页面。
要创建该页面，请在下面的编辑框中输入内容（详情参见Wikipedia:帮助|帮助页面]]）。
如果您不小心来到本页面，直接点击您浏览器中的“返回”按钮。",

"anontalkpagetext" => "---- ''这是一个还未建立帐号的匿名用户的对话页。我们因此只能用[[IP地址]]来与他／她联络。该IP地址可能由几名用户共享。如果您是一名匿名用户并认为本页上的评语与您无关，请[[Special:Userlogin|创建新帐号或登录]]以避免在未来于其他匿名用户混淆。''",
"noarticletext" => "（本页目前没有内容）",
"updated"		=> "（已更新）",
"note"			=> "<strong>注意：</strong> ",
"previewnote"	=> "请记住这只是预览，内容还未保存！",
"previewconflict" => "这个预览显示了上面文字编辑区中的内容。它将在你选择保存后出现。",
"editing"		=> "正在编辑$1",
 "sectionedit"   => " (段落)",
 "commentedit"   => " (评论)",
"editconflict"	=> "编辑冲突：$1",
"explainconflict" => "有人在你开始编辑后更改了页面。
上面的文字框内显示的是目前本页的内容。
你所做的修改显示在下面的文字框中。
你应当将你所做的修改加入现有的内容中。
<b>只有</b>在上面文字框中的内容会在你点击\"保存页面\"后被保存。\n<p>",
"yourtext"		=> "您的文字",
"storedversion" => "已保存版本",
"editingold"	=> "<strong>警告：你正在编辑的是本页的旧版本。
如果你保存它的话，在本版本之后的任何修改都会丢失。</strong>\n",
"yourdiff"		=> "差别",
"copyrightwarning" => "请注意对Wikipedia的任何贡献都将被认为是在GNU自由文档协议证书下发布。
(细节请见$1).
如果您不希望您的文字被任意修改和再散布，请不要提交。<br>
您同时也向我们保证你所提交的内容是你自己所作，或得自一个不受版权保护或相似自由的来源。
<strong>不要在未获授权的情况下发表！</strong>",

"longpagewarning" => "警告：本页长度达$1KB；一些浏览器将无法编辑长过32KB的文章。请考虑将本文切割成几个小段落。",

"readonlywarning" => "警告：数据库被锁以进行维护，所以您目前将无法保存您的修改。您或许希望先将本断文字复制并保存到文本文件，然后等一会儿再修改。",
"protectedpagewarning" => "警告：本页已经被保护，只有拥有管理员权限的用户才可修改。请确认您遵守
<a href='/wiki/Wikipedia:Protected_page_guidelines'>保护页面守则</a>.",

# History pages
#
"revhistory"	=> "修订历史",
"nohistory"		=> "没有本页的修订记录。",
"revnotfound"	=> "没有找到修订记录",
"revnotfoundtext" => "您请求的更早版本的修订记录没有找到。
请检查您请求本页面用的 URL 是否正确。\n",
"loadhist"		=> "载入页面修订历史",
"currentrev"	=> "当前修订版本",
"revisionasof"	=> "$1的修订版本",
"cur"			=> "当前",
"next"			=> "后继",
"last"			=> "先前",
"orig"			=> "初始",
"histlegend"	=> "说明：(当前)指与当前修订版本比较；(先前)指与前一个修订版本比较，小 指细微修改。",

# Diffs
#
"difference"	=> "（修订版本间差异）",
"loadingrev"	=> "载入修订版本比较",
"lineno"		=> "第 $1 行：",
"editcurrent"	=> "编辑本页的当前修订版本",

# Search results
#
"searchresults" => "搜索结果",
"searchhelppage" => "Wikipedia:搜索",
"searchingwikipedia" => "搜索Wikipedia",
"searchresulttext" => "有关搜索Wikipedia的更多详情,参见$1。",
"searchquery"	=> "查询\"$1\"",
"badquery"		=> "搜索查询不正确",
"badquerytext"	=> "我们无法处理您的查询。
这可能是由于您试图搜索一个短于3个字母的外文单词，
或者您错误地输入了搜索项，例如\"汽车和和火车\"。
请再尝试一个新的搜索项。",
"matchtotals"	=> "搜索项\"$1\"与$2条文章的题目相符，和$3条文章相符。",

"nogomatch" => "没有文章与搜索项完全匹配，请尝试完整文字搜索。",
"titlematches"	=> "文章题目相符",
"notitlematches" => "没有找到匹配文章题目",
"textmatches"	=> "文章内容相符",
"notextmatches"	=> "没有文章内容匹配",

"prevn"			=> "先前$1",
"nextn"			=> "之后$1",
"viewprevnext"	=> "查看 ($1) ($2) ($3).",
"showingresults" => "下面显示<b>$1</b>条结果，从第<b>$2</b>条开始",
"nonefound"		=> "<strong>注意：</strong>失败的搜索往往是由于试图搜索诸如“的”或“和”之类的常见字所引起。",
"powersearch" => "搜索",
"powersearchtext" => "
搜索名字空间：<br>$1<br>$2列出重定向页面；搜索$3 $9",

"searchdisabled" => "<p>Wikipedia内部搜索功能由于高峰时段服务器超载而停止使用。
您可以暂时通过
<a href=\"http://google.com/\">google</a>搜索Wikipedia。
谢谢您的耐心。
<!-- Search Google -->
<form id=\"google\" method=\"get\" action=\"http://www.google.com/custom\">
<table bgcolor=\"#FFFFFF\" cellspacing=0 border=0>
<tr valign=top><td>
<a href=\"http://www.google.com/search\">
<img src=\"http://www.google.com/logos/Logo_40wht.gif\" border=0
alt=\"Google\" align=\"middle\"></a>
</td>
<td>
<input type=text name=\"q\" size=31 maxlength=255 value=\"$1\">
<input type=submit name=\"sa\" value=\"Google搜索\">
<input type=hidden name=\"cof\" value=\"LW:135;L:http://zh.wikipedia.org/upload/wiki.png;LH:133;AH:left;S:http://www.wikiped<font face=arial,sans-serif size=-1>
<input type=hidden name=\"domains\" value=\"zh.wikipedia.org\"><br>
<input type=radio name=\"sitesearch\" value=\"\"> 搜索WWW
<input type=radio name=\"sitesearch\" value=\"zh.wikipedia.org\" checked> 搜索zh.wikipedia.org </font><br>
</td></tr></table></form>
<!-- Search Google -->\n",

# Preferences page
#
"preferences"	=> "参数设置",
"prefsnologin" => "还未登录",
"prefsnologintext"	=> "您必须先<a href=\"" .
  wfLocalUrl( "Special:Userlogin" ) . "\">登录</a>才能设置个人参数。",
"prefslogintext" => "你已经以\"$1\"的身份登录。
你的内部ID是$2。",
"prefsreset"	=> "参数重新设置。",
"qbsettings"	=> "快速导航条设置", 
"changepassword" => "更改密码",
"skin"			=> "Skin",
"math"			=> "数学显示",
"math_failure"		=> "无法解析",
"math_unknown_error"	=> "未知错误",
"math_unknown_function"	=> "未知函数",
"math_lexing_error"	=> "句法错误",
"math_syntax_error"	=> "语法错误",
"saveprefs"		=> "保存参数设置",
"resetprefs"	=> "重设参数",
"oldpassword"	=> "旧密码",
"newpassword"	=> "新密码",
"retypenew"		=> "重复新密码",
"textboxsize"	=> "文字框尺寸",
"rows"			=> "行",
"columns"		=> "列",
"searchresultshead" => "搜索结果设定",
"resultsperpage" => "每页显示链接数",
"contextlines"	=> "每链接行数",
"contextchars"	=> "每行字数",
"stubthreshold" => "stub显示基本限制",
"recentchangescount" => "最近更改页行数",
"savedprefs"	=> "您的个人参数设置已经保存。",
"timezonetext"	=> "输入当地时间与服务器时间(UTC)的时差。",
"localtime"	=> "当地时间",
"timezoneoffset" => "差",
"emailflag"		=> "禁止其他用户发e-mail给我",

# Recent changes
#
"changes" => "更改",
"recentchanges" => "最近更改",
"recentchangestext" => "本页跟踪Wikipedia内最新的更改。
[[Wikipedia:欢迎，新来者|欢迎，新来者]]！
请参见这些页面：[[wikipedia:常见问题解答|Wikipedia常见问题解答]]、
[[Wikipedia:守则与指导|Wikipedia守则]]
（特别是[[wikipedia:命名常规|命名常规]]、
[[wikipedia:中性的观点|中立观点]]）
和[[wikipedia:最常见失礼行为|最常见失礼行为]]。

如果您希望 Wikipedia 成功，那么请您不要增加受其它[[wikipedia:版权信息|版权]]
限制的材料，这一点将非常重要。相关的法律责任会伤害本项工程，所以请不要这样做。
此外请参见
[http://meta.wikipedia.org/wiki/Special:Recentchanges 最近的 meta 讨论]。",

"rcloaderr"		=> "载入最近更改",
"rcnote"		=> "下面是最近<strong>$2</strong>天内最新的<strong>$1</strong>次改动。",
"rcnotefrom"	=> "下面是自<b>$2</b>（最多显示<b>$1</b>）。",
"rclistfrom"	=> "显示自$1以来的新更改",
# "rclinks"		=> "显示最后$2小时／$3天内的$1此修改",
"rclinks"		=> "显示最近 $2 天内最新的 $1 次改动。",
"rchide"		=> "以$4形式；$1个小修改；$2个二级名字空间；$3个多重修改",
"diff"			=> "差异",
"hist"			=> "历史",
"hide"			=> "隐藏",
"show"			=> "显示",
"tableform"		=> "表格",
"listform"		=> "列表",
"nchanges"		=> "$1个更改",
"minoreditletter" => "小",
"newpageletter" => "新",

# Upload
#
"upload"		=> "上载文件",
"uploadbtn"		=> "上载文件",
"uploadlink"	=> "上载图像",
"reupload"		=> "重新上载",
"reuploaddesc"	=> "返回上载表单。",
"uploadnologin" => "未登录",
"uploadnologintext"	=> "您必须先<a href=\"" .
  wfLocalUrl( "Special:Userlogin" ) . "\">登录</a>
才能上载文件。",
"uploadfile"	=> "上载文件",
"uploaderror"	=> "上载错误",
"uploadtext"	=> "<strong>停止！</strong>在您上载之前，请先阅读并遵守Wikipedia<a href=\"" .
wfLocalUrlE( "Wikipedia:Image_use_policy" ) . "\">图像使用守则</a>。
<p>如果您要查看或搜索之前上载的图像，
请到<a href=\"" . wfLocalUrlE( "Special:Imagelist" ) .
"\">已上载图像列表</a>.
所有上载与删除行为都被记录在<a href=\"" .
wfLocalUrlE( "Wikipedia:上载纪录" ) . "\">上载纪录</a>内。
<p>使用下面的表单来上载用在条目内新的图像文件。
在绝大多数浏览器内，你会看到一个\"浏览...\"按钮，点击它后就会跳出一个打开文件对话框。
选择一个文件后文件名将出现在按钮旁边的文字框中。
您也必须点击旁边的复选框确认您所上载的文件并没有违反相关版权法律。
点击\"上载\" 按钮完成上载程序。
如果您使用的是较慢的网络连接的话那么这个上载过程会需要一些时间。
<p>我们建议照相图片使用JPEG格式，绘图及其他图标图像使用PNG格式，音像则使用OGG格式。
请使用具有描述性的语言来命名您的文件以避免混乱。
要在文章中加入图像，使用以下形式的连接：
<b>[[图像:file.jpg]]</b>或者<b>[[图像:file.png|解释文字]]</b>
或<b>[[media:file.ogg]]</b>来连接音像文件。
<p>请注意在Wikipedia页面中，其他人可能会为了百科全书的利益而编辑或删除您的上载文件，
而如果您滥用上载系统，您则有可能被禁止使用上载功能。",
"uploadlog"		=> "上载纪录",
"uploadlogpage" => "上载纪录",
"uploadlogpagetext" => "以下是最近上载的文件的一览表。
所有显示的时间都是服务器时间（UTC）。
<ul>
</ul>
",
"filename"		=> "文件名",
"filedesc"		=> "简述",
"affirmation"	=> "我保证本文件的版权持有人同意将其在$1条款下发布。",
"copyrightpage" => "Wikipedia:版权信息",
"copyrightpagename" => "Wikipedia版权",
"uploadedfiles"	=> "已上载文件",
"noaffirmation" => "您必须保证您上载的文件并没有侵犯版权。",
"ignorewarning"	=> "忽略警告并保存文件。",
"minlength"		=> "图像名字必须至少有三个字母。",
"badfilename"	=> "图像名已被改为\"$1\"。",
"badfiletype"	=> "\".$1\"不是所推荐的图像文件格式。",
"largefile"		=> "我们建议图像大小不超过100kb。",
"successfulupload" => "上载成功",
"fileuploaded"	=> "文件\"$1\"上载成功。
请根据连接($2)到图像描述页添加有关文件信息，例如它的来源，在何时由谁创造，
以及其他任何您知道的关于改图像的信息。",
"uploadwarning" => "上载警告",
"savefile"		=> "保存文件",
"uploadedimage" => "已上载\"$1\"",

# Image list
#
"imagelist"		=> "图像列表",
"imagelisttext"	=> "以下是按$2排列的$1幅图像列表。",
"getimagelist"	=> "正在获取图像列表",
"ilshowmatch"	=> "显示所有匹对的图像",
"ilsubmit"		=> "搜索",
"showlast"		=> "显示按$2排列的最后$1幅图像。",
"all"			=> "全部",
"byname"		=> "名字",
"bydate"		=> "日期",
"bysize"		=> "大小",
"imgdelete"		=> "删",
"imgdesc"		=> "述",
"imglegend"		=> "说明：(述) = 显示/编辑图像描述页。",
"imghistory"	=> "图像历史",
"revertimg"		=> "复",
"deleteimg"		=> "删",
"deleteimgcompletely"		=> "删",
"imghistlegend" => "egend: (现) = 目前的图像，(删) = 删除旧版本，
(复) = 恢复到旧版本。
<br><i>点击日期查看当天上载的图像</i>.",
"imagelinks"	=> "图像链接",

"linkstoimage"	=> "以下页面连接到本图像：",
"nolinkstoimage" => "没有页面连接到本图像。",

# Statistics
#
"statistics"	=> "统计",
"sitestats"		=> "站点统计",
"userstats"		=> "用户统计",
"sitestatstext" => "数据库中共有 <b>$1</b> 页页面；
其中包括对话页、关于 Wikipedia 的页面、最少量的\"stub\"页、重定向的页面，
以及未达到条目质量的页面；除此之外还有 <b>$2</b> 页可能是合乎标准的条目。
<p>从系统软件升级以来，全站点共有页面浏览 <b>$3</b> 次，
页面编辑 <b>$4</b> 次，每页平均编辑 <b>$5</b> 次，
各次编辑后页面的每个版本平均浏览 <b>$6</b> 次。",

# Maintenance Page
#
"maintenance"		=> "维护页",
"maintnancepagetext"	=> "这页面提供了几个帮助Wikipedia日常维护的工具。
但其中几个会对我们的数据库造成压力，
所以请您不要在每修理好几个项目后就按重新载入 ;-)",
"maintenancebacklink"	=> "返回维护页",
"disambiguations"	=> "消含糊页",
"disambiguationspage"	=> "Wikipedia:Links_to_disambiguating_pages",
"disambiguationstext"	=> "以下的条目都有到消含糊页的链接，但它们应该是链到适当的题目。<br>一个页面会被视为消含糊页如果它是链自$1.<br>由其它他名字空间来的链接<i>不会</i>在这儿被列出来。",
"doubleredirects"	=> "双重重定向",
"doubleredirectstext"	=> "<b>请注意：</b> 这列表可能包括不正确的反应。
这通常表示在那页面第一个#REDIRECT之下还有文字。<br>\n
每一行都包含到第一跟第二个重定向页的链接，以及第二个重定向页的第一行文字，
通常显示的都会是\“真正\” 的目标页面，也就是第一个重定向页应该指向的条目。",
"brokenredirects"	=> "损坏的重定向页",
"brokenredirectstext"	=> "以下的重定向页指向的是不存在的条目。",
"selflinks"		=> "有自我链接的页面",
"selflinkstext"		=> "以下的页面都错误地包含了连到自己的链接。",
"mispeelings"           => "拼写错误的页面",
"mispeelingstext"               => "以下页面包含了一些常见的拼写错误（见$1）。正确的拼法已经给出。",
"mispeelingspage"       => "常见拼写错误列表",
"missinglanguagelinks"  => "无语言链接",
"missinglanguagelinksbutton"    => "寻找没有该语言的页面",
"missinglanguagelinkstext"      => "这些条目<i>没有</i>链接到$1。
重定向页与副页<b>并没有</b>包括在内。",


# Miscellaneous special pages
#
"orphans"		=> "孤立条目",
"lonelypages"	=> "孤立页面",
"unusedimages"	=> "未使用图像",
"popularpages"	=> "热点条目",
"nviews"		=> "$1次浏览",
"wantedpages"	=> "待撰页面",
"nlinks"		=> "$1个链接",
"allpages"		=> "所有页面",
"randompage"	=> "随机页面",
"shortpages"	=> "短条目",
"longpages"		=> "长条目",
"listusers"		=> "用户列表",
"specialpages"	=> "特殊页面",
"spheading"		=> "特殊页面",
"sysopspheading" => "管理员特殊页面",
"developerspheading" => "发展者特殊页面",
"protectpage"	=> "保护页面",
"recentchangeslinked" => "链出更改",
"rclsub"		=> "（从 \"$1\"链出的页面）",
"debug"			=> "除错",
"newpages"		=> "新页面",
"intl"		=> "跨语言链接",
"movethispage"	=> "移动本页",
"unusedimagestext" => "<p>请注意其他网站（例如其他语言版本的Wikipedia）
有可能直接链接本图像，所以这里列出的图像有可能依然被使用。",
"booksources"	=> "战外书源",
"booksourcetext" => "以下是链接到销售书籍的网站列表，
因此有可能拥有您所寻找的图书的进一步资料。
Wikipedia与这些公司并没有任何商业关系，因此本表不应该
被看作是一种背书。",
"alphaindexline" => "$1 到 $2",

# Email this user
#
"mailnologin"	=> "无电邮地址",
"mailnologintext" => "您必须先<a href=\"" .
  wfLocalUrl( "Special:Userlogin" ) . "\">登录</a>
并在<a href=\"" .
  wfLocalUrl( "Special:Preferences" ) . "\">参数设置</a>
中有一个有效的e-mail地址才可以电邮其他用户。",
"emailuser"		=> "E-mail该用户",
"emailpage"		=> "E-mail用户",
"emailpagetext"	=> "如果该用户已经在他或她的参数设置页中输入了有效的e-mail地址，以下的表格将寄一个信息给该用户。您在您参数设置中所输入的e-mail地址将出现在邮件“发件人”一栏中，这样该用户就可以回复您。",
"noemailtitle"	=> "无e-mail地址",
"noemailtext"	=> "该用户还没有指定一个有效的e-mail地址，
或者选择不接受来自其他用户的e-mail。",

"emailfrom"		=> "发件人",
"emailto"		=> "收件人",
"emailsubject"	=> "主题",
"emailmessage"	=> "信息",
"emailsend"		=> "发送",
"emailsent"		=> "E-mail已发送",
"emailsenttext" => "您的e-mail已经发出。",

# Watchlist
#
"watchlist"		=> "监视列表",
"watchlistsub"	=> "(用户\"$1\")",
"nowatchlist"	=> "您的监视列表为空。",
"watchnologin"	=> "未登录",
"watchnologintext"	=> "您必须先<a href=\"" .
  wfLocalUrl( "Special:Userlogin" ) . "\">登录</a>
才能更改您的监视列表",
"addedwatch"	=> "加入到监视列表",
"addedwatchtext" => "本页（“$1”）已经被加入到您的<a href=\"" .
  wfLocalUrl( "Special:Watchlist" ) . "\">监视列表</a>中。
未来有关它或它的对话页的任何修改将会在本页中列出，
而且还会在<a href=\"" .
  wfLocalUrl( "Special:Recentchanges" ) . "\">最近更改列表</a>中
以<b>粗体</b>形式列出。</p>

<p>如果您之后想将该页面从监视列表中删除，点击导航条中的“停止监视”链接。",
"removedwatch"	=> "停止监视",
"removedwatchtext" => "页面“$1”已经从您的监视页面中移除。",
"watchthispage"	=> "监视本页",
"unwatchthispage" => "停止监视",
"notanarticle"	=> "不是条目",
	 "watchnochange" => "在显示的时间段内您所监视的页面没有更改。",
 	 "watchdetails" => "($1个页面（不含对话页）被监视；
 	 总共$2个页面被编辑；
 	 $3...
 	 <a href='$4'>显示并编辑完整列表</a>.)",
 	 "watchmethod-recent" => "检查被监视页面的最近编辑",
 	 "watchmethod-list" => "checking watched pages for recent edits",
 	 "removechecked" => "将被选页面从监视列表中移除",
 	 "watchlistcontains" => "您的监视列表包含$1个页面。",
 	 "watcheditlist" => "这里是您所监视的页面的列表。要移除某一页面，只要选择该页面然后点击”移除页面“按钮。",
 	 "removingchecked" => "移除页面...",
 	 "couldntremove" => "无法移除'$1'...",
 	 "iteminvalidname" => "页面'$1'错误，无效命名...",
 	 "wlnote" => "以下是最近<b>$2</b>小时内的最后$1次修改。",

# Delete/protect/revert
#
"deletepage"	=> "删除页面",
"confirm"		=> "确认",
"confirmdelete" => "确认删除",
"deletesub"		=> "（正在删除“$1”）",
"confirmdeletetext" => "您即将从数据库中永远删除一个页面或图像以及其历史。
请确定您要进行此项操作，并且了解其后果，同时您的行为符合[[Wikipedia:守则与指导]]。
",
"confirmcheck"	=> "是的，我确定要删除。",
"actioncomplete" => "操作完成",
"deletedtext"	=> "“$1”已经被删除。
最近删除的纪录请参见$2。",
"deletedarticle" => "已删除“$1”",

"dellogpage"	=> "删除纪录",
"dellogpagetext" => "以下是最近删除的纪录列表。
所有的时间都是使用服务器时间(UTC)。
<ul>
</ul>
",
"deletionlog"	=> "删除纪录",
"reverted"		=> "恢复到早期版本",
"deletecomment"	=> "删除理由",
"imagereverted" => "恢复到早期版本操作完成。",
"rollback"		=> "Roll back",
"rollbacklink"	=> "rollback",
"cantrollback"	=> "无法恢复编辑；最后的巩县者是本文的唯一作者。",
"revertpage"	=> "恢复到$1的最后一次编辑",

# Undelete
"undelete" => "恢复被删页面",
"undeletepage" => "浏览及恢复被删页面",
"undeletepagetext" => "以下页面已经被删除，但依然在档案中并可以被恢复。
档案库可能被定时清理。",
"undeletearticle" => "恢复被删文章",
"undeleterevisions" => "$1版本存档",
"undeletehistory" => "如果您恢复了该页面，所有版本都会被恢复到修订历史中。
如果本页删除后有一个同名的新页面建立，
被恢复的版本将会称为较新的历史，而新页面的当前版本将无法被自动复原。",
"undeleterevision" => "删除$1时的版本",
"undeletebtn" => "恢复！",
"undeletedarticle" => "已经恢复“$1”",
"undeletedtext"   => "[[$1]]已经被成功复原。
有关Wikipedia最近的删除与复原，参见[[Wikipedia:删除纪录]]",

# Contributions
#
"contributions"	=> "用户贡献",
"mycontris" => "我的贡献",
"contribsub"	=> "为$1",
"nocontribs"	=> "没有找到符合特征的更改。",
"ucnote"		=> "以下是该用户最近<b><$2/b>天内的最后<b>$1</b>次修改。",
"uclinks"		=> "参看最后$1次修改；参看最后$2天。",
"uctop"		=> " (顶)" ,

# What links here
#
"whatlinkshere"	=> "链入页面",
"notargettitle" => "无目标",
"notargettext"	=> "您还没有指定一个目标页面或用户以进行此项操作。",
"linklistsub"	=> "(链接列表)",
"linkshere"		=> "以下页面链接到这里：",
"nolinkshere"	=> "没有页面链接到这里。",
"isredirect"	=> "重定向页",

# Block/unblock IP
#
"blockip"		=> "查封IP地址",
"blockiptext"	=> "用下面的表单来禁止来自某一特定IP地址的修改权限。
只有在为防止破坏，及符合[[Wikipedia:守则与指导]]的情况下才可采取此行动。
请在下面输入一个具体的理由（例如引述一个被破坏的页面）。",
"ipaddress"		=> "IP地址",
"ipbreason"		=> "原因",
"ipbsubmit"		=> "查封该地址",
"badipaddress"	=> "IP地址不正确。",
"noblockreason" => "您必须说明查封的具体理由。",
"blockipsuccesssub" => "查封成功",
"blockipsuccesstext" => "IP地址“$1”已经被查封。
<br>参看[[Special:被封IP地址列表|被封IP地址列表]]以复审查封。",
"unblockip"		=> "解除禁封IP地址",
"unblockiptext"	=> "用下面的表单来恢复先前被禁封的IP地址的书写权。",
"ipusubmit"		=> "解除禁封",
"ipusuccess"	=> "IP地址“$1”已经被解除禁封",
"ipblocklist"	=> "被封IP地址列表",
"blocklistline"	=> "$1，$2禁封$3",
"blocklink"		=> "禁封",
"unblocklink"	=> "解除禁封",
"contribslink"	=> "贡献",

# Developer tools
#
"lockdb"		=> "禁止更改数据库",
"unlockdb"		=> "开放更改数据库",
"lockdbtext"	=> "锁住数据库将禁止所有用户进行编辑页面、更改参数、编辑监视列表以及其他需要更改数据库的操作。
请确认您的决定，并且保证您在维护工作结束后会重新开放数据库。",
"unlockdbtext"	=> "开放数据库将会恢复所有用户进行编辑页面、修改参数、编辑监视列表以及其他需要更改数据库的操作。
请确认您的决定。",
"lockconfirm"	=> "是的，我确实想要封锁数据库。",
"unlockconfirm"	=> "是的，我确实想要开放数据库。",
"lockbtn"		=> "数据库上锁",
"unlockbtn"		=> "开放数据库",
"locknoconfirm" => "您并没有勾选确认按钮。",
"lockdbsuccesssub" => "数据库成功上锁",

"unlockdbsuccesssub" => "数据库开放",
"lockdbsuccesstext" => "Wikipedia数据库已经上锁。
<br>请记住在维护完成后重新开放数据库。",
"unlockdbsuccesstext" => "Wikipedia数据库重新开放。",

# SQL query
#
"asksql"		=> "SQL查询",
"asksqltext"	=> "用下面的表单对Wikipedia数据库进行直接查询。
使用单引号（'像这样'） 来分割字串符。
这样做有可能增加服务器的负担，所以请慎用本功能。",
"sqlquery"		=> "输入查询",
"querybtn"		=> "提交查询",
"selectonly"	=> "除了“SELECT”以外的所有查询都只限Wikipedia发展者使用。",
"querysuccessful" => "查询成功",

# Move page
#
"movepage"		=> "移动页面",
"movepagetext"	=> "用下面的表单来重命名一个页面，并将其修订历史同时移动到新页面。
老的页面将成为新页面的重定向页。
链接到老页面的链接并不会自动更改；
请[[Special:Maintenance|检查]]双重或损坏重定向链接。
您应当负责确定所有链接依然会链到指定的页面。

注意如果新页面已经有内容的话，页面将'''不会'''被移动，
除非新页面无内容或是重定向页，而且没有修订历史。
这意味着您再必要时可以在移动到新页面后再移回老的页面，
同时您也无法覆盖现有页面。

<b>警告！</b>
对一个经常被访问的页面而言这可能是一个重大与唐突的更改；
请在行动前先了结其所可能带来的后果。",
"movepagetalktext" => "有关的对话页（如果有的话）将被自动与该页面一起移动，'''除非'''：
*您将页面移动到不同的名字空间（namespaces）；
*新页面已经有一个包含内容的对话页，或者
*您不勾选下面的复选框。

在这些情况下，您在必要时必须手工移动或合并页面。",
"movearticle"	=> "移动页面",
"movenologin"	=> "未登录",
"movenologintext" => "您必须是一名登记用户并且<a href=\"" .
  wfLocalUrl( "Special:Userlogin" ) . "\">登录</a>
后才可移动一个页面。",
"newtitle"		=> "新标题",
"movepagebtn"	=> "移动页面",
"pagemovedsub"	=> "移动成功",
"pagemovedtext" => "页面“[[$1]]”已经移动到“[[$2]]”。",
"articleexists" => "该名字的页面已经存在，或者您选择的名字无效。请再选一个名字。",
"talkexists"	=> "页面本身移动成功，
但是由于新标题下已经有对话页存在，所以对话页无法移动。请手工合并两个页面。",
"movedto"		=> "移动到",
"movetalk"		=> "如果可能的话，请同时移动对话页。",
"talkpagemoved" => "相应的对话页也已经移动。",
"talkpagenotmoved" => "相应的对话页<strong>没有</strong>被移动。",

);

class LanguageZh extends LanguageUtf8 {

        function getDefaultUserOptions () {
                $opt = Language::getDefaultUserOptions();
                return $opt;
        }

	function getBookstoreList () {
		global $wgBookstoreListZh ;
		return $wgBookstoreListZh ;
	}

	function getNamespaces() {
		global $wgNamespaceNamesZh;
		return $wgNamespaceNamesZh;
	}

	function getNsText( $index ) {
		global $wgNamespaceNamesZh;
		return $wgNamespaceNamesZh[$index];
	}

	function getNsIndex( $text ) {
		global $wgNamespaceNamesZh;

		foreach ( $wgNamespaceNamesZh as $i => $n ) {
			if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
		}
		# Aliases
        if ( 0 == strcasecmp( "特殊", $text ) ) { return -1; }
        if ( 0 == strcasecmp( "", $text ) ) { return ; }
        if ( 0 == strcasecmp( "对话", $text ) ) { return 1; }
        if ( 0 == strcasecmp( "用户", $text ) ) { return 2; }
        if ( 0 == strcasecmp( "用户对话", $text ) ) { return 3; }
        if ( 0 == strcasecmp( "Wikipedia_对话", $text ) ) { return 5; }
        if ( 0 == strcasecmp( "图像", $text ) ) { return 6; }
        if ( 0 == strcasecmp( "图像对话", $text ) ) { return 7; }
		return false;
	}

	function getQuickbarSettings() {
		global $wgQuickbarSettingsZh;
		return $wgQuickbarSettingsZh;
	}

	function getSkinNames() {
		global $wgSkinNamesZh;
		return $wgSkinNamesZh;
	}

	function getMathNames() {
		global $wgMathNamesZh;
		return $wgMathNamesZh;
	}

	function getUserToggles() {
		global $wgUserTogglesZh;
		return $wgUserTogglesZh;
	}

	function getMonthName( $key )
	{
		global $wgMonthNamesZh;
		return $wgMonthNamesZh[$key-1];
	}

	/* by default we just return base form */
	function getMonthNameGen( $key )
	{
		global $wgMonthNamesZh;
		return $wgMonthNamesZh[$key-1];
	}

	function getMonthAbbreviation( $key )
	{
		global $wgMonthAbbreviationsZh;
		return $wgMonthAbbreviationsZh[$key-1];
	}

	function getWeekdayName( $key )
	{
		global $wgWeekdayNamesZh;
		return $wgWeekdayNamesZh[$key-1];
	}

# The date and time functions can be tweaked if need be

	# inherit userAdjust()
 
	function date( $ts, $adj = false )
	{
		if ( $adj ) { $ts = $this->userAdjust( $ts ); }

		$d = substr( $ts, 0, 4 ) . "年" .
		  $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
		  (0 + substr( $ts, 6, 2 )) . "日";
		return $d;
	}

	function timeanddate( $ts, $adj = false )
	{
		return $this->time( $ts, $adj ) . " " . $this->date( $ts, $adj );
	}

	function getValidSpecialPages()
	{
		global $wgValidSpecialPagesZh;
		return $wgValidSpecialPagesZh;
	}

	function getSysopSpecialPages()
	{
		global $wgSysopSpecialPagesZh;
		return $wgSysopSpecialPagesZh;
	}

	function getDeveloperSpecialPages()
	{
		global $wgDeveloperSpecialPagesZh;
		return $wgDeveloperSpecialPagesZh;

	}

	function getMessage( $key )
	{
		global $wgAllMessagesZh;
		if(array_key_exists($key, $wgAllMessagesZh))
			return $wgAllMessagesZh[$key];
		else
			return Language::getMessage( $key );
	}

	# inherit default iconv(), ucfirst(), checkTitleEncoding()

	function stripForSearch( $string ) {
		# MySQL fulltext index doesn't grok utf-8, so we
		# need to fold cases and convert to hex
		# we also separate characters as "words"
		global $wikiLowerChars;
		return preg_replace(
		  "/([\\xc0-\\xff][\\x80-\\xbf]*)/e",
		  "' U8' . bin2hex( strtr( \"\$1\", \$wikiLowerChars ) )",
		  $string );
	}
}


?>
