跳转到内容

MediaWiki:Gadget-popups.js

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
(function($, mw) {
//From Wikipedia ZH
//<pre><nowiki>
//////////////////////////////////////////////////
// Translatable strings
//////////////////////////////////////////////////
//
// See instructions at
// http://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups/Translation
var HanAssist = require("ext.gadget.HanAssist");
window.popupStrings = HanAssist.batchConv({
  /////////////////////////////////////
  // summary data, searching etc.
  /////////////////////////////////////
  'article': {hans: '条目', hant: '條目'},
  'category': {hans: '分类', hant: '分類'},
  'categories': {hans: '分类', hant: '分類'},
  'image': {hans: '文件', hant: '檔案'},
  'images': {hans: '文件', hant: '檔案'},
  'stub': {hans: '小作品', hant: '小作品'},
  'section stub': {hans: '小章节', hant: '小章節'},
  'Empty page': {hans: '空页面', hant: '空頁面'},
  'kB': {hans: '千字节', hant: '千位元組'},
  'bytes': {hans: '字节', hant: '位元組'},
  'day': {hans: '日', hant: '日'},
  'days': {hans: '日', hant: '日'},
  'hour': {hans: '时', hant: '時'},
  'hours': {hans: '时', hant: '時'},
  'minute': {hans: '分', hant: '分'},
  'minutes': {hans: '分', hant: '分'},
  'second': {hans: '秒', hant: '秒'},
  'seconds': {hans: '秒', hant: '秒'},
  'week': {hans: '周', hant: '周'},
  'weeks': {hans: '周', hant: '周'},
  'search': {hans: '搜索', hant: '搜尋'},
  'SearchHint': {hans: '搜索包含 %s 的页面', hant: '搜尋包含 %s 的頁面'},
  'web': {hans: '站点', hant: '站點'},
  'global': {hans: '全域', hant: '全域'},
  'globalSearchHint': {hans: '在所有维基媒体项目中搜索 %s', hant: '在所有維基媒體項目中搜尋 %s'},
  'googleSearchHint': {hans: '用 Google 搜索 %s', hant: '用 Google 搜尋 %s'},
  'more...': {hans: '更多...', hant: '更多...'},
  /////////////////////////////////////
  // article-related actions and info
  // (some actions also apply to user pages)
  /////////////////////////////////////
  'actions': {hans: '动作', hant: '動作'},         ///// view articles and view talk
  'popupsMenu': {hans: 'Popups', hant: 'Popups'},
  'disable previews': {hans: '禁用预览', hant: '禁用預覽'},
  'togglePreviewsHint': {hans: '切换本页 Popups 的预览开关', hant: '切換本頁 Popups 的預覽開關'},
  'toggle previews': {hans: '切换预览开关', hant: '切換預覽開關'},
  'reset': {hans: '复位', hant: '複位'},
  'disable': {hans: '禁用 Popups', hant: '禁用 Popups'},
  'disablePopupsHint': {hans: '在本页禁用 Popups,刷新页面以重新启用。', hant: '在本頁禁用 Popups,重新整理頁面以重新啟用。'},
  'purgePopupsHint': {hans: '复位 Popups,清除所有缓存数据。', hant: '複位 Popups,清除所有快取資料。'},
  'PopupsHint': {hans: '复位 Popups,清除所有缓存数据。', hant: '複位 Popups,清除所有快取資料。'},
  'spacebar': {hans: '空格', hant: '空格'},
  'view': {hans: '查看', hant: '檢視'},
  'view article': {hans: '查看条目', hant: '檢視條目'},
  'viewHint': {hans: '前往 %s', hant: '前往 %s'},
  'talk': {hans: '讨论', hant: '討論'},
  'talk page': {hans: '讨论页', hant: '討論頁'},
  'this&nbsp;revision': {hans: '此修订版本', hant: '此修訂版本'},
  'revision %s of %s': {hans: '页面 $2 的修订版本 $1', hant: '頁面 $2 的修訂版本 $1'},
  'Revision %s of %s': {hans: '页面 $2 的修订版本 $1', hant: '頁面 $2 的修訂版本 $1'},
  'the revision prior to revision %s of %s': {hans: '页面 $2 的修订版本 $1 之前的修订版本', hant: '頁面 $2 的修訂版本 $1 之前的修訂版本'},
  'Toggle image size': {hans: '点击切换图片大小', hant: '點擊切換圖片大小'},
  'del': {hans: '删除', hant: '删除'},                 ///// delete, protect, move
  'delete': {hans: '删除', hant: '删除'},
  'deleteHint': {hans: '删除 %s', hant: '删除 %s'},
  'undeleteShort': {hans: '反', hant: '反'},
  'UndeleteHint': {hans: '恢复 %s', hant: '恢復 %s'},
  'protect': {hans: '保护', hant: '保護'},
  'protectHint': {hans: '保护 %s', hant: '保護 %s'},
  'unprotectShort': {hans: '解除', hant: '解除'},
  'unprotectHint': {hans: '解除对 %s 的保护', hant: '解除對 %s 的保護'},
  'move': {hans: '移动', hant: '移動'},
  'move page': {hans: '移动页面', hant: '移動頁面'},
  'MovepageHint': {hans: '修改 %s 的标题', hant: '修改 %s 的標題'},
  'edit': {hans: '编辑', hant: '編輯'},               ///// edit articles and talk
  'edit article': {hans: '编辑条目', hant: '編輯條目'},
  'editHint': {hans: '修改 %s 的内容', hant: '修改 %s 的內容'},
  'edit talk': {hans: '编辑讨论页', hant: '編輯討論頁'},
  'new': {hans: '新', hant: '新'},
  'new topic': {hans: '新主题', hant: '新主题'},
  'newSectionHint': {hans: '在 %s 增加新的评论主题', hant: '在 %s 增加新的評論主題'},
  'null edit': {hans: '空编辑', hant: '空編輯'},
  'nullEditHint': {hans: '制造一次对 %s 的空编辑', hant: '製造一次對 %s 的空編輯'},
  'hist': {hans: '历史', hant: '歷史'},               ///// history, diffs, editors, related
  'history': {hans: '历史', hant: '歷史'},
  'historyHint': {hans: '%s 的修订历史', hant: '%s 的修訂歷史'},
  'last': {hans: '最近', hant: '最近'},
  'lastEdit': {hans: '最近更改', hant: '最近更改'},
  'show last edit': {hans: '最近一次更改', hant: '最近一次更改'},
  'Show the last edit': {hans: '显示最近一次更改的差异', hant: '顯示最近一次更改的差異'},
  'lastContrib': {hans: '最近编辑', hant: '最近編輯'},
  'last set of edits': {hans: '最近编辑', hant: '最近編輯'},
  'lastContribHint': {hans: '显示由最后一位编辑者制造的差异', hant: '顯示由最後一位編輯者製造的差異'},
  'cur': {hans: '当前', hant: '當前'},
  'diffCur': {hans: '与当前版本的差异', hant: '與目前版本的差異'},
  'Show changes since revision %s': {hans: '显示自修订版本 %s 的差异', hant: '顯示自修訂版本 %s 的差異'},
  '%s old': {hans: '%s 前', hant: '%s 前'}, // as in 4 weeks old
  'oldEdit': {hans: '旧编辑', hant: '舊編輯'},
  'purge': {hans: '清除缓存', hant: '清除快取'},
  'purgeHint': {hans: '清除服务器中 %s 的缓存', hant: '清除伺服器中 %s 的快取'},
  'raw': {hans: '源代码', hant: '原始碼'},
  'rawHint': {hans: '查看 %s 的源代码', hant: '檢視 %s 的原始碼'},
  'render': {hans: '简单', hant: '簡單'},
  'renderHint': {hans: '显示 %s 的纯HTML解析', hant: '顯示 %s 的純HTML解析'},
  'Show the edit made to get revision': {hans: '显示编辑以得到修订版本', hant: '顯示編輯以得到修訂版本'},
  'sinceMe': {hans: '自我', hant: '自我'},
  'changes since mine': {hans: '自我修订的差异', hant: '自我修訂的差異'},
  'sinceMeHint': {hans: '显示自我上次修改以来的差异', hant: '顯示自我上次修改以來的差異'},
  'Couldn\'t find an edit by %s\nin the last %s edits to\n%s': {hans: '在 $3 最近 $2 次编辑中找不到 $1 做出的修改', hant: '在 $3 最近 $2 次編輯中找不到 $1 做出的修改'},
  'eds': {hans: '编辑', hant: '編輯'},
  'editors': {hans: '编辑者', hant: '編輯者'},
  'editorListHint': {hans: '列出编辑过 %s 的用户', hant: '列出編輯過 %s 的用戶'},
  'related': {hans: '相关', hant: '相關'},
  'relatedChanges': {hans: '相关更改', hant: '相關更改'},
  'related changes': {hans: '相关更改', hant: '相關更改'},
  'RecentchangeslinkedHint': {hans: '显示相关 %s 的修改', hant: '顯示相關 %s 的修改'},
  'editOld': {hans: '编辑旧版', hant: '編輯舊版'},          ///// edit old version, or revert
  'rv': {hans: '回退', hant: '回退'},
  'revert': {hans: '回退', hant: '回退'},
  'revertHint': {hans: '回退到 %s', hant: '回退到 %s'},
  'undo': {hans: '撤销', hant: '撤銷'},
  'undoHint': {hans: '撤销这次编辑', hant: '撤銷這次編輯'},
  'defaultpopupRedlinkSummary': {hans: '取消到空页面[[%s]]的链接,通过[[WP:POP|popups]]', hant: '取消到空頁面[[%s]]的連結,透過[[WP:POP|popups]]'},
  'defaultpopupFixDabsSummary': {hans: '消歧义[[%s]]到[[%s]],通过[[WP:POP|popups]]', hant: '消歧義[[%s]]到[[%s]],透過[[WP:POP|popups]]'},
  'defaultpopupFixRedirsSummary': {hans: '忽略从[[%s]]到[[%s]]的重定向,通过[[WP:POP|popups]]', hant: '忽略從[[%s]]到[[%s]]的重定向,透過[[WP:POP|popups]]'},
  'defaultpopupExtendedRevertSummary': {hans: '回退到$2在$1时制作的修订版本$3,通过[[WP:POP|popups]]', hant: '回退到$2在$1時製作的修訂版本$3,透過[[WP:POP|popups]]'},
  'defaultpopupRevertToPreviousSummary': {hans: '回退到修订版本%s的上一个版本,通过[[WP:POP|popups]]', hant: '回退到修訂版本%s的上一個版本,透過[[WP:POP|popups]]'},
  'defaultpopupRevertSummary': {hans: '回退到修订版本%s,通过[[WP:POP|popups]]', hant: '回退到修訂版本%s,透過[[WP:POP|popups]]'},
  'defaultpopupQueriedRevertToPreviousSummary': {hans: '回退到修订$1(由$3在$2时制作)的上一个修订版本,通过[[WP:POP|popups]]', hant: '回退到修訂$1(由$3在$2時製作)的上一個修訂版本,透過[[WP:POP|popups]]'},
  'defaultpopupQueriedRevertSummary': {hans: '回退到$3在$2时制作的修订版本$1,通过[[WP:POP|popups]]', hant: '回退到$3在$2時製作的修訂版本$1,透過[[WP:POP|popups]]'},
  'defaultpopupRmDabLinkSummary': {hans: '移除到消歧义页[[%s]]的链接,通过[[WP:POP|popups]]', hant: '移除到消歧義頁[[%s]]的連結,透過[[WP:POP|popups]]'},
  'Redirects': {hans: '重定向', hant: '重定向'}, // as in Redirects to ...
  ' to ': {hans: '到', hant: '到'},           // as in Redirects to ...
  'Bypass redirect': {hans: '忽略重定向', hant: '忽略重定向'},
  'Fix this redirect': {hans: '修复重定向', hant: '修復重定向'},
  'disambig': {hans: '消歧义', hant: '消歧義'},          ///// add or remove dab etc.
  'disambigHint': {hans: '消歧义这个链接到 [[%s]]', hant: '消歧義這個連結到 [[%s]]'},
  'Click to disambiguate this link to:': {hans: '点击以消歧义这个链接到:', hant: '點擊以消歧義這個連結到:'},
  'remove this link': {hans: '移除链接', hant: '移除連結'},
  'remove all links to this page from this article': {hans: '移除此条目到这页的所有链接', hant: '移除此條目到這頁的所有連結'},
  'remove all links to this disambig page from this article': {hans: '移除此条目到这消歧义的所有链接', hant: '移除此條目到這消歧義的所有連結'},
  'mainlink': {hans: '主链接', hant: '主連結'},          ///// links, watch, unwatch
  'wikiLink': {hans: '内部链接', hant: '內部連結'},
  'wikiLinks': {hans: '内部链接', hant: '內部連結'},
  'links here': {hans: '链入', hant: '鏈入'},
  'whatLinksHere': {hans: '链入页面', hant: '鏈入頁面'},
  'what links here': {hans: '链入页面', hant: '鏈入頁面'},
  'WhatlinkshereHint': {hans: '显示链接到 %s 的页面', hant: '顯示連結到 %s 的頁面'},
  'unwatchShort': {hans: '取消', hant: '取消'},
  'watchThingy': {hans: '监视', hant: '監視'},  // called watchThingy because {}.watch is a function
  'watchHint': {hans: '加入 %s 到我的监视列表', hant: '加入 %s 到我的監視列表'},
  'unwatchHint': {hans: '从我的监视列表移除 %s', hant: '從我的監視列表移除 %s'},
  'Only found one editor: %s made %s edits': {hans: '仅找到一位编者:%s 制造了 %s 次编辑', hant: '僅找到一位編者:%s 製造了 %s 次編輯'},
  '%s seems to be the last editor to the page %s': {hans: '%s 看上去是 %s 这页的最后一位编者', hant: '%s 看上去是 %s 這頁的最後一位編者'},
  'rss': {hans: 'RSS', hant: 'RSS'},
  /////////////////////////////////////
  // diff previews
  /////////////////////////////////////
  'Diff truncated for performance reasons': {hans: '差异已被截断', hant: '差異已被截斷'},
  'Old revision': {hans: '旧版本', hant: '舊版本'},
  'New revision': {hans: '新版本', hant: '新版本'},
  'Something went wrong :-(': {hans: '出问题了 :-(', hant: '出問題了 :-('},
  'Empty revision, maybe non-existent': {hans: '空的修订,可能并不存在', hant: '空的修訂,可能並不存在'},
  'Unknown date': {hans: '未知日期', hant: '未知日期'},
  /////////////////////////////////////
  // other special previews
  /////////////////////////////////////
  'Empty category': {hans: '空的分类', hant: '空的分類'},
  'Category members (%s shown)': {hans: '分类成员(%s 显示)', hant: '分類成員(%s 顯示)'},
  'No image links found': {hans: '未找到文件链接', hant: '未找到檔案連結'},
  'File links': {hans: '文件链接', hant: '檔案連結'},
  'not commons': {hans: '维基共享中无此名称的文件。', hant: '維基共享中無此名稱的檔案。'},
  'commons only': {hans: '此文件来自维基共享。', hant: '此檔案來自維基共享。'},
  'No image found': {hans: '找不到文件', hant: '找不到檔案'},
  'commons dupe': {hans: '维基共享中存在此文件的副本。', hant: '維基共享中存在此檔案的副本。'},
  'commons conflict': {hans: '维基共享中存在此文件名称不同的副本。', hant: '維基共享中存在此檔名稱不同的副本。'},
  /////////////////////////////////////
  // user-related actions and info
  /////////////////////////////////////
  'user': {hans: '用户', hant: '用戶'},               ///// user page, talk, email, space
  'user&nbsp;page': {hans: '用户页', hant: '用戶頁'},
  'user talk': {hans: '用户讨论', hant: '用戶討論'},
  'edit user talk': {hans: '编辑用户讨论', hant: '編輯用戶討論'},
  'leave comment': {hans: '留言', hant: '留言'},
  'email': {hans: '电邮', hant: '電郵'},
  'email user': {hans: '电邮用户', hant: '電郵用戶'},
  'EmailuserHint': {hans: '给 %s 发送电子邮件', hant: '給 %s 發送電子郵件'},
  'space': {hans: '空间', hant: '空間'}, // short form for userSpace link
  'PrefixindexHint': {hans: '显示 %s 的用户空间', hant: '顯示 %s 的用戶空間'},
  'count': {hans: '统计', hant: '統計'},             ///// contributions, tree, log
  'edit counter': {hans: '编辑次数', hant: '編輯次數'},
  'katelinkHint': {hans: '%s 的编辑次数', hant: '%s 的編輯次數'},
  'contribs': {hans: '贡献', hant: '貢獻'},
  'contributions': {hans: '贡献', hant: '貢獻'},
  'deletedContribs': {hans: '已删除的贡献', hant: '已刪除的貢獻'},
  'ContributionsHint': {hans: '%s 的用户贡献', hant: '%s 的用戶貢獻'},
  'tree': {hans: '树', hant: '樹'},
  'contribsTreeHint': {hans: '根据名字空间查看 %s 的贡献', hant: '根據名字空間檢視 %s 的貢獻'},
  'log': {hans: '日志', hant: '日誌'},
  'user log': {hans: '用户日志', hant: '用戶日誌'},
  'userLogHint': {hans: '显示 %s 的用户日志', hant: '顯示 %s 的用戶日誌'},
  'arin': {hans: 'ARIN 查询', hant: 'ARIN 查詢'},             ///// ARIN lookup, block user or IP
  'Look up %s in ARIN whois database': {hans: '在 ARIN Whois 数据库中查询 %s', hant: '在 ARIN Whois 資料庫中查詢 %s'},
  'unblockShort': {hans: '解除', hant: '解除'},
  'block': {hans: '封禁', hant: '封禁'},
  'block user': {hans: '封禁用户', hant: '封禁用戶'},
  'IpblocklistHint': {hans: '解封 %s', hant: '解封 %s'},
  'BlockipHint': {hans: '封禁 %s', hant: '封禁 %s'},
  'block log': {hans: '封禁日志', hant: '封禁日誌'},
  'blockLogHint': {hans: '显示 %s 的封禁日志', hant: '顯示 %s 的封禁日誌'},
  'protectLogHint': {hans: '显示 %s 的保护日志', hant: '顯示 %s 的保護日誌'},
  'pageLogHint': {hans: '显示 %s 的日志', hant: '顯示 %s 的日誌'},
  'deleteLogHint': {hans: '显示 %s 的删除日志', hant: '顯示 %s 的刪除日誌'},
  'Invalid %s %s': {hans: '选项 %s 不可用:%s', hant: '選項 %s 不可用:%s'},
  /////////////////////////////////////
  // Autoediting
  /////////////////////////////////////
  'Enter a non-empty edit summary or press cancel to abort': {hans: '输入编辑摘要,或按取消中止操作', hant: '輸入編輯摘要,或按取消中止操作'},
  'Failed to get revision information, please edit manually.\n\n': {hans: '获取修订版本信息失败,请手动修改。\n\n', hant: '獲取修訂版本資訊失敗,請手動修改。\n\n'},
  'The %s button has been automatically clicked. Please wait for the next page to load.': {hans: '按钮 %s 已被自动点击,请等待下一个页面加载。', hant: '按鈕 %s 已被自動點擊,請等待下一個頁面載入。'},
  'Could not find button %s. Please check the settings in your javascript file.': {hans: '找不到按钮 %s,请检查您 JavaScript 文件中的设置。', hant: '找不到按鈕 %s,請檢查您 JavaScript 檔案中的設定。'},
  /////////////////////////////////////
  // Popups setup
  /////////////////////////////////////
  'Open full-size image': {hans: '查看全尺寸图像', hant: '檢視全尺寸影像'},
  'zxy': {hans: 'zxy', hant: 'zxy'}
});
//</nowiki></pre>

    mw.loader.load(mw.config.values.wgServer + mw.config.values.wgScript + '?title=MediaWiki:Gadget-popup.js&action=raw&ctype=text/javascript');
})(jQuery, mediaWiki);
Cookie帮助我们提供我们的服务。通过使用我们的服务,您同意我们使用cookie。