require_once( "LanguageUtf8.php" );
require_once( "LanguageZh_cn.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_tw = array(
NS_MEDIA => "媒體",
NS_SPECIAL => "特殊",
"標準",/* "Standard" */
"懷舊",/* "Nostalgia" */
"科隆香水藍" /* "Cologne Blue" */
-);
-
-/* private */ $wgMathNamesZh_tw = 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" */
-);
-
+) + $wgSkinNamesEn;
/* private */ $wgBookstoreListZh_tw = array(
"博客來書店" => "http://www.books.com.tw/exep/openfind_book_keyword.php?cat1=4&key1=$1",
"新絲書店" => "http://www.silkbook.com/function/Search_List_Book.asp?item=5&text=$1"
);
-# 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_tw = 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" => "舊條目",
- "Allpages" => "所有條目",
-
- "Ipblocklist" => "被封網址列表",
- "Maintenance" => "維護頁",
- "Specialpages" => "",
- "Contributions" => "",
- "Emailuser" => "",
- "Whatlinkshere" => "鏈入頁面",
- "Recentchangeslinked" => "链出更改",
- "Movepage" => "鏈出更改",
- "Booksources" => "站外書源",
-# "Categories" => "頁面分類"
- "Export" => "導出為XML",
- "Version" => "媒體維基版本",
-);
-
-/* private */ $wgSysopSpecialPagesZh_tw = array(
- "Blockip" => "查封一個網址",
- "Asksql" => "查詢數據庫",
- "Undelete" => "恢復被刪頁面"
-);
-
-/* private */ $wgDeveloperSpecialPagesZh_tw = array(
- "Lockdb" => "設置數據庫只讀",
- "Unlockdb" => "恢復數據庫修改權限",
-);
-
/* private */ $wgAllMessagesZh_tw = array(
/* User toggles */
"linktrail" => "/^([a-z]+)(.*)\$/sD",
"mainpage" => "首頁",
"about" => "關於",
-"aboutwikipedia" => "關於維基百科",
"aboutpage" => "維基百科:關於",
"help" => "幫助",
"helppage" => "維基百科:幫助",
-"wikititlesuffix" => "維基百科",
"bugreports" => "錯誤報告",
"bugreportspage" => "維基百科:錯誤報告",
"faq" => "常見問題解答",
"currentevents" => "新聞動態",
"errorpagetitle" => "錯誤",
"returnto" => "返回到$1.",
-"fromwikipedia" => "維基百科,自由的百科全書",
"whatlinkshere" => "鏈入頁面",
"help" => "幫助",
"search" => "搜索",
"redirectedfrom" => "(重定向自$1)",
"lastmodified" => "最後更改$1.",
"viewcount" => "本頁面已經被瀏覽$1次。",
-"gnunote" => "所有文本在<a class=internal href='/wiki/GNU_FDL'>GNU自由文檔協議證書 </a>下發佈",
-"printsubtitle" => "(來自 http://zh-tw.wikipedia.org)",
+"printsubtitle" => "(來自 {{SERVER}})",
"protectedpage" => "被保護頁",
"administrators" => "維基百科:管理員",
"sysoptitle" => "需要管理員權限",
"newusersonly" => "(僅限新用戶)",
"remembermypassword" => "下次登錄記住密碼。",
"loginproblem" => "<b>登錄有問題。</b><br />再試一次!",
-"alreadyloggedin" => "<font color=red><b>用戶$1,您已經登錄了!</b></font><br />\n",
+"alreadyloggedin" => "<strong>用戶$1,您已經登錄了!</strong><br />\n",
"login" => "登錄",
"userlogin" => "用戶登錄",
# Search results
#
"searchresults" => "搜索結果",
-"searchhelppage" => "維基百科:搜索",
-"searchingwikipedia" => "搜索維基百科",
"searchresulttext" => "有關搜索維基百科的更多詳情,參見$1。",
"searchquery" => "查詢\"$1\"",
"badquery" => "搜索查詢不正確",
"searchdisabled" => "<p>維基百科內部搜索功能由於高峰時段服務器超載而停止使用。
您可以暫時通過
<a href=\"http://google.com.tw/\">google</a>搜索維基百科。
-謝謝您的耐心。
-<!-- Search Google -->
-<form id=\"google\" method=\"get\" action=\"http://www.google.com.tw/custom\">
-<table bgcolor=\"#FFFFFF\" cellspacing=0 border=0>
-<tr valign=top><td>
-<a href=\"http://www.google.com.tw/search\">
-<img src=\"http://www.google.com.tw/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-tw.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-tw.wikipedia.org\"><br />
-<input type=radio name=\"sitesearch\" value=\"\"> 搜索WWW
-<input type=radio name=\"sitesearch\" value=\"zh-tw.wikipedia.org\" checked> 搜索zh-tw.wikipedia.org </font><br />
-</td></tr></table></form>
-<!-- Search Google -->\n",
+謝謝您的耐心。",
# Preferences page
#
",
"filename" => "文件名",
"filedesc" => "簡述",
-"affirmation" => "我保證本文件的版權持有人同意將其在$1條款下發佈。",
"copyrightpage" => "維基百科:版權信息",
"copyrightpagename" => "維基百科版權",
"uploadedfiles" => "已上載文件",
-"noaffirmation" => "您必須保證您上載的文件並沒有侵犯版權。",
-"ignorewarning" => "忽略警告並保存文件。",
"minlength" => "圖像名字必須至少有三個字母。",
"badfilename" => "圖像名已被改為\"$1\"。",
"badfiletype" => "\".$1\"不是所推薦的圖像文件格式。",
"listusers" => "用戶列表",
"specialpages" => "特殊頁面",
"spheading" => "特殊頁面",
-"sysopspheading" => "管理員特殊頁面",
-"developerspheading" => "發展者特殊頁面",
"protectpage" => "保護頁面",
"recentchangeslinked" => "鏈出更改",
"rclsub" => "(從 \"$1\"鏈出的頁面)",
"watchdetails" => "($1個頁面(不含對話頁)被監視;
總共$2個頁面被編輯;
$3...
- <a href='$4'>顯示並編輯完整列表</a>.)",
+ [$4 顯示並編輯完整列表].)",
"watchmethod-recent" => "檢查被監視頁面的最近編輯",
"watchmethod-list" => "checking watched pages for recent edits",
"removechecked" => "將被選頁面從監視列表中移除",
"undeleterevision" => "刪除$1時的版本",
"undeletebtn" => "恢復!",
"undeletedarticle" => "已經恢復“$1”",
-"undeletedtext" => "[[$1]]已經被成功復原。
+"undeletedtext" => "[[:$1|$1]]已經被成功復原。
有關維基百科最近的刪除與復原,參見[[維基百科:刪除紀錄]]",
# Contributions
"ipbreason" => "原因",
"ipbsubmit" => "查封該地址",
"badipaddress" => "網址不正確。",
-"noblockreason" => "您必須說明查封的具體理由。",
"blockipsuccesssub" => "查封成功",
"blockipsuccesstext" => "網址“$1”已經被查封。
<br />參看[[特殊:被封網址列表|被封網址列表]]以復審查封。",
"ipusubmit" => "解除禁封",
"ipusuccess" => "網址”$1”已經被解除禁封",
"ipblocklist" => "被封網址列表",
-"blocklistline" => "$1,$2禁封$3",
+"blocklistline" => "$1,$2禁封$3 ($4)",
"blocklink" => "禁封",
"unblocklink" => "解除禁封",
"contribslink" => "貢獻",
<br />請記住在維護完成後重新開放數據庫。",
"unlockdbsuccesstext" => "維基百科數據庫重新開放。",
-# SQL query
-#
-"asksql" => "SQL查詢",
-"asksqltext" => "用下麵的表單對維基百科數據庫進行直接查詢。
-使用單引號('像這樣')來分割字串符。
-這樣做有可能增加服務器的負擔,所以請慎用本功能。",
-"sqlquery" => "輸入查詢",
-"querybtn" => "提交查詢",
-"selectonly" => "除了“SELECT”以外的所有查詢都只限維基百科發展者使用。",
-"querysuccessful" => "查詢成功",
-
# Move page
#
"movepage" => "移動頁面",
'blocklogpage' => "封鎖記錄", //"Block_log",
'categoriespagetext' => "以下列出所有的頁面分類。", //"The following categories exists in the wiki.",
'categoryarticlecount' => "該類頁面共有 $1 條目", //There are $1 articles in this category.",
-'clearyourcache' => "'''注意:''' 保存設置後,要清掉瀏覽器的緩存才能生效:'''Mozilla:''' 點''刷新'' (或用快鍵''Ctrl-R''),'''IE / Opera:''' ''Ctrl-F5'', '''Safari:''' ''Cmd-R'', '''Konqueror''' ''Ctrl-R''。",//"'''Note:''' After saving, you have to clear your browser cache to see the changes: '''Mozilla:''' click ''Reload'' (or ''Ctrl-R''), '''IE / Opera:''' ''Ctrl-F5'', '''Safari:''' ''Cmd-R'', '''Konqueror''' ''Ctrl-R''.",
+'clearyourcache' => "'''注意:''' 保存設置後,要清掉瀏覽器的緩存才能生效:'''Mozilla / Firefox:''' ''Ctrl-Shift-R'', '''Internet Explorer:''' ''Ctrl-F5'', '''Safari:''' ''Cmd-Shift-R'', '''Konqueror:''' ''F5''。",
'edit' => "編輯", //"Edit",
'navigation' => "導航", //"Navigation",
'nstab-category' => "分類", //"Category",
'nstab-user' => "用戶頁面", //"User page",
'nstab-wp' => "關於", //"About",
'portal' => "社區",//"Community portal",
-'prefs-help-userdata' => "*<strong>真實姓名</strong>(可選):用以對您的貢獻署名。<br />*<strong>點子郵件</strong>(可選):讓他人通過網站在不知道您的電子郵件地址的情況下通過電子郵件與您聯絡,以及通過電子郵件取得遺忘的密碼。", /*"* <strong>Real name</strong> (optional): if you choose to provide it this will be used for giving you attribution for your work.<br />
+'prefs-help-realname' => "*<strong>真實姓名</strong>(可選):用以對您的貢獻署名。<br />",
+'prefs-help-email' => "*<strong>點子郵件</strong>(可選):讓他人通過網站在不知道您的電子郵件地址的情況下通過電子郵件與您聯絡,以及通過電子郵件取得遺忘的密碼。", /*"* <strong>Real name</strong> (optional): if you choose to provide it this will be used for giving you attribution for your work.<br />
* <strong>Email</strong> (optional): Enables people to contact you through the website without you having to reveal your
email address to them, and it can be used to send you a new password if you forget it.", */
'prefs-misc' => "雜項", //"Misc settings",
"aboutsite" => "關於 {{SITENAME}}",
"disclaimers" => "免責聲明",
"tog-fancysig" => "使用原始簽名 (不產生自動連結)",
-"qbsettingsnote" => '這些設定只會在 \'Standard\' 和 \'CologneBlue\' 面板生效',
"tog-previewonfirst" => "第一次編輯時顯示原文內容的預覽",
"copyright" => "本站所有內容允許以下方式利用: $1",
"loginprompt" => "您必須允許瀏覽器紀錄Cookie才能成功登入 Wikipedia 並順利進行操作",
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( "維基百科對話", $text ) ) { return 5; }
- if ( 0 == strcasecmp( "圖像", $text ) ) { return 6; }
- if ( 0 == strcasecmp( "圖像對話", $text ) ) { return 7; }
+ 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( "維基百科對話", $text ) ) { return 5; }
+ if ( 0 == strcasecmp( "圖像", $text ) ) { return 6; }
+ if ( 0 == strcasecmp( "圖像對話", $text ) ) { return 7; }
return false;
}
return $wgMathNamesZh_tw;
}
- function getValidSpecialPages()
- {
- global $wgValidSpecialPagesZh_tw;
- return $wgValidSpecialPagesZh_tw;
- }
-
- function getSysopSpecialPages()
- {
- global $wgSysopSpecialPagesZh_tw;
- return $wgSysopSpecialPagesZh_tw;
- }
-
- function getDeveloperSpecialPages()
- {
- global $wgDeveloperSpecialPagesZh_tw;
- return $wgDeveloperSpecialPagesZh_tw;
-
- }
-
- function getMessage( $key )
- {
+ function getMessage( $key ) {
global $wgAllMessagesZh_tw;
if(array_key_exists($key, $wgAllMessagesZh_tw))
return $wgAllMessagesZh_tw[$key];