* Removed Special:Validate, it's been superseded by the Review extension
[lhc/web/wiklou.git] / languages / LanguageZh_tw.php
index 805c22e..1792aa7 100644 (file)
@@ -6,13 +6,6 @@
 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          => "特殊",
@@ -45,16 +38,7 @@ require_once( "LanguageZh_cn.php" );
         "標準",/* "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",
@@ -63,70 +47,6 @@ require_once( "LanguageZh_cn.php" );
        "新絲書店" => "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 */
@@ -159,11 +79,9 @@ require_once( "LanguageZh_cn.php" );
 "linktrail"            => "/^([a-z]+)(.*)\$/sD",
 "mainpage"             => "首頁",
 "about"                        => "關於",
-"aboutwikipedia" => "關於維基百科",
 "aboutpage"            => "維基百科:關於",
 "help"                 => "幫助",
 "helppage"             => "維基百科:幫助",
-"wikititlesuffix" => "維基百科",
 "bugreports"   => "錯誤報告",
 "bugreportspage" => "維基百科:錯誤報告",
 "faq"                  => "常見問題解答",
@@ -182,7 +100,6 @@ require_once( "LanguageZh_cn.php" );
 "currentevents" => "新聞動態",
 "errorpagetitle" => "錯誤",
 "returnto"             => "返回到$1.",
-"fromwikipedia"        => "維基百科,自由的百科全書",
 "whatlinkshere"        => "鏈入頁面",
 "help"                 => "幫助",
 "search"               => "搜索",
@@ -206,7 +123,6 @@ require_once( "LanguageZh_cn.php" );
 "redirectedfrom" => "(重定向自$1)",
 "lastmodified" => "最後更改$1.",
 "viewcount"            => "本頁面已經被瀏覽$1次。",
-"gnunote" => "所有文本在<a class=internal href='/wiki/GNU_FDL'>GNU自由文檔協議證書 </a>下發佈",
 "printsubtitle" => "(來自 {{SERVER}})",
 "protectedpage" => "被保護頁",
 "administrators" => "維基百科:管理員",
@@ -220,7 +136,7 @@ require_once( "LanguageZh_cn.php" );
 "go"                   => "進入",
 "ok"                   => "好",
 "sitetitle"            => "維基百科",
-"sitesubtitle" => "自由的百科全書",
+"sitesubtitle" => "",
 "retrievedfrom" => "取自\"$1\"",
 "newmessages" => "您有$1。",
 "newmessageslink" => "新信息",
@@ -315,7 +231,7 @@ MySQL返回錯誤 \"<tt>$3: $4</tt>\"。",
 #
 "logouttitle"  => "用戶退出",
 "logouttext"   => "您現在已經退出。
-您可以繼續以匿名方式使用維基百科,或再次以相同或不同用戶身份登錄。\n",
+您可以繼續以匿名方式使用維基百科,或再次以相同或不同用戶身份登錄。",
 
 "welcomecreation" => "<h2>歡迎,$1!</h2><p>您的帳號已經建立,不要忘記設置維基百科個人參數。",
 
@@ -326,7 +242,7 @@ MySQL返回錯誤 \"<tt>$3: $4</tt>\"。",
 "newusersonly" => "(僅限新用戶)",
 "remembermypassword" => "下次登錄記住密碼。",
 "loginproblem" => "<b>登錄有問題。</b><br />再試一次!",
-"alreadyloggedin" => "<font color=red><b>用戶$1,您已經登錄了!</b></font><br />\n",
+"alreadyloggedin" => "<strong>用戶$1,您已經登錄了!</strong><br />",
 
 "login"                        => "登錄",
 "userlogin"            => "用戶登錄",
@@ -419,7 +335,7 @@ MySQL返回錯誤 \"<tt>$3: $4</tt>\"。",
 "nohistory"            => "沒有本頁的修訂記錄。",
 "revnotfound"  => "沒有找到修訂記錄",
 "revnotfoundtext" => "您請求的更早版本的修訂記錄沒有找到。
-請檢查您請求本頁面用的URL是否正確。\n",
+請檢查您請求本頁面用的URL是否正確。",
 "loadhist"             => "載入頁面修訂歷史",
 "currentrev"   => "當前修訂版本",
 "revisionasof" => "$1的修訂版本",
@@ -439,8 +355,6 @@ MySQL返回錯誤 \"<tt>$3: $4</tt>\"。",
 # Search results
 #
 "searchresults" => "搜索結果",
-"searchhelppage" => "維基百科:搜索",
-"searchingwikipedia" => "搜索維基百科",
 "searchresulttext" => "有關搜索維基百科的更多詳情,參見$1。",
 "searchquery"  => "查詢\"$1\"",
 "badquery"             => "搜索查詢不正確",
@@ -468,24 +382,7 @@ MySQL返回錯誤 \"<tt>$3: $4</tt>\"。",
 "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
 #
@@ -593,16 +490,12 @@ alt=\"Google\" align=\"middle\"></a>
 "uploadlogpagetext" => "以下是最近上載的文件的一覽表。
 所有顯示的時間都是服務器時間。
 <ul>
-</ul>
-",
+</ul>",
 "filename"             => "文件名",
 "filedesc"             => "簡述",
-"affirmation"  => "我保證本文件的版權持有人同意將其在$1條款下發佈。",
 "copyrightpage" => "維基百科:版權信息",
 "copyrightpagename" => "維基百科版權",
 "uploadedfiles"        => "已上載文件",
-"noaffirmation" => "您必須保證您上載的文件並沒有侵犯版權。",
-"ignorewarning"        => "忽略警告並保存文件。",
 "minlength"            => "圖像名字必須至少有三個字母。",
 "badfilename"  => "圖像名已被改為\"$1\"。",
 "badfiletype"  => "\".$1\"不是所推薦的圖像文件格式。",
@@ -775,8 +668,7 @@ alt=\"Google\" align=\"middle\"></a>
 "confirmdelete" => "確認刪除",
 "deletesub"            => "(正在刪除“$1”)",
 "confirmdeletetext" => "您即將從數據庫中永遠刪除一個頁面或圖像以及其歷史。
-請確定您要進行此項操作,並且瞭解其後果,同時您的行為符合[[維基百科:守則與指導]]。
-",
+請確定您要進行此項操作,並且瞭解其後果,同時您的行為符合[[維基百科:守則與指導]]。",
 "actioncomplete" => "操作完成",
 "deletedtext"  => "“$1”已經被刪除。
 最近刪除的紀錄請參見$2。",
@@ -786,8 +678,7 @@ alt=\"Google\" align=\"middle\"></a>
 "dellogpagetext" => "以下是最近刪除的紀錄列表。
 所有的時間都是使用服務器時間。
 <ul>
-</ul>
-",
+</ul>",
 "deletionlog"  => "刪除紀錄",
 "reverted"             => "回降到早期版本",
 "deletecomment"        => "刪除理由",
@@ -810,7 +701,7 @@ alt=\"Google\" align=\"middle\"></a>
 "undeleterevision" => "刪除$1時的版本",
 "undeletebtn" => "恢復!",
 "undeletedarticle" => "已經恢復“$1”",
-"undeletedtext"   => "[[$1]]已經被成功復原。
+"undeletedtext"   => "[[:$1|$1]]已經被成功復原。
 有關維基百科最近的刪除與復原,參見[[維基百科:刪除紀錄]]",
 
 # Contributions
@@ -843,7 +734,6 @@ alt=\"Google\" align=\"middle\"></a>
 "ipbreason"            => "原因",
 "ipbsubmit"            => "查封該地址",
 "badipaddress" => "網址不正確。",
-"noblockreason" => "您必須說明查封的具體理由。",
 "blockipsuccesssub" => "查封成功",
 "blockipsuccesstext" => "網址“$1”已經被查封。
 <br />參看[[特殊:被封網址列表|被封網址列表]]以復審查封。",
@@ -877,17 +767,6 @@ alt=\"Google\" align=\"middle\"></a>
 <br />請記住在維護完成後重新開放數據庫。",
 "unlockdbsuccesstext" => "維基百科數據庫重新開放。",
 
-# SQL query
-#
-"asksql"               => "SQL查詢",
-"asksqltext"   => "用下麵的表單對維基百科數據庫進行直接查詢。
-使用單引號('像這樣')來分割字串符。
-這樣做有可能增加服務器的負擔,所以請慎用本功能。",
-"sqlquery"             => "輸入查詢",
-"querybtn"             => "提交查詢",
-"selectonly"   => "除了“SELECT”以外的所有查詢都只限維基百科發展者使用。",
-"querysuccessful" => "查詢成功",
-
 # Move page
 #
 "movepage"             => "移動頁面",
@@ -951,7 +830,7 @@ alt=\"Google\" align=\"middle\"></a>
 '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",
@@ -993,7 +872,6 @@ email address to them, and it can be used to send you a new password if you forg
 "aboutsite" => "關於 {{SITENAME}}",
 "disclaimers" => "免責聲明",
 "tog-fancysig" => "使用原始簽名 (不產生自動連結)",
-"qbsettingsnote" => '這些設定只會在 \'Standard\' 和 \'CologneBlue\' 面板生效',
 "tog-previewonfirst" => "第一次編輯時顯示原文內容的預覽",
 "copyright" => "本站所有內容允許以下方式利用: $1",
 "loginprompt" => "您必須允許瀏覽器紀錄Cookie才能成功登入 Wikipedia 並順利進行操作",
@@ -1018,14 +896,14 @@ class LanguageZh_tw extends LanguageZh_cn {
                        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;
        }
 
@@ -1039,32 +917,7 @@ class LanguageZh_tw extends LanguageZh_cn {
                return $wgSkinNamesZh_tw;
        }
 
-       function getMathNames() {
-               global $wgMathNamesZh_tw;
-               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];