此处列出了MediaWiki命名空间下所有可用的系统消息。
如果想为MediaWiki的本地化贡献翻译,请访问MediaWiki本地化和translatewiki.net。
| 名称 | 默认消息文本 |
|---|---|
| 当前消息文本 | |
| citizen-search-fulltext (留言) (翻译) | 搜索文本 |
| citizen-search-keyhint-exit (留言) (翻译) | 退出搜索 |
| citizen-search-keyhint-open (留言) (翻译) | 打开搜索 |
| citizen-search-keyhint-select (留言) (翻译) | 选择项目 |
| citizen-search-mediasearch (留言) (翻译) | 搜索媒体 |
| citizen-search-noresults-desc (留言) (翻译) | 还可以尝试上面的选项 |
| citizen-search-noresults-title (留言) (翻译) | 不妙!没有“$1”的搜索结果 |
| citizen-search-poweredby (留言) (翻译) | 由 $1 提供技術支援 |
| citizen-search-poweredby-cirrussearch (留言) (翻译) | Elasticsearch |
| citizen-search-poweredby-mediawiki (留言) (翻译) | MediaWiki |
| citizen-search-toggle (留言) (翻译) | 打开/关闭搜索 |
| citizen-share (留言) (翻译) | 分享此页面 |
| citizen-sitestats-articles-label (留言) (翻译) | 条目 |
| citizen-sitestats-edits-label (留言) (翻译) | 编辑 |
| citizen-sitestats-images-label (留言) (翻译) | 文件 |
| citizen-sitestats-users-label (留言) (翻译) | 用户 |
| citizen-skin-desc (留言) (翻译) | 美观易用的响应式MediaWiki皮肤,也会给扩展带来一致的体验。最初为[https://starcitizen.tools/ Star Citizen Wiki](星际公民Wiki)而制作。 |
| citizen-tagline (留言) (翻译) | - |
| citizen-tagline-ns-category (留言) (翻译) | 分类页面 |
| citizen-tagline-ns-file (留言) (翻译) | {{SITENAME}}上的文件 |
| citizen-tagline-ns-help (留言) (翻译) | 帮助页面 |
| citizen-tagline-ns-mediawiki (留言) (翻译) | MediaWiki界面页面 |
| citizen-tagline-ns-project (留言) (翻译) | 有关{{SITENAME}}的信息 |
| citizen-tagline-ns-talk (留言) (翻译) | {{SUBJECTPAGENAME}}的讨论页面 |
| citizen-tagline-ns-template (留言) (翻译) | 模板页面 |
| citizen-tagline-user-regdate (留言) (翻译) | $1加入 |
| citizen-theme-day-label (留言) (翻译) | 浅色 |
| citizen-theme-description (留言) (翻译) | 更改wiki的主题 |
| citizen-theme-exclusion-notice (留言) (翻译) | 此页面始终处于浅色模式。 |
| citizen-theme-name (留言) (翻译) | 颜色 |
| citizen-theme-night-label (留言) (翻译) | 深色 |
| citizen-theme-os-label (留言) (翻译) | 自动 |
| citizen-user-info-text-anon (留言) (翻译) | 未登录用户的IP地址会在进行任意编辑后公开展示。 |
| citizen-user-info-text-temp (留言) (翻译) | 此临时账号是因您在此浏览器及设备上进行了无账号编辑而创建。 |
| citizen-usermenu-toggle (留言) (翻译) | 打开/关闭个人菜单 |
| citizen.css (留言) (翻译) | /* 这里所有CSS都会加载给Citizen皮肤的用户 */ |
| /* 这里所有CSS都会加载给Citizen皮肤的用户 */ /* 修正章节编辑器图标 */ .mw-ui-icon-wikimedia-edit:before { background-image: url(/load.php?modules=skins.citizen.icons&image=wikiText&format=original&lang=zh-cn&skin=citizen&version=18h62); } .mw-editsection-visualeditor:before { background-image: url(/load.php?modules=skins.citizen.icons&image=edit&format=original&lang=zh-cn&skin=citizen&version=18h62); } .mw-ui-icon-edit:before { background-image: url(/load.php?modules=skins.citizen.icons&image=edit&format=original&lang=zh-cn&skin=citizen&version=18h62); } /* 转自Dustloop This page was last edited on 1 November 2024, at 14:58. */ :root { --shadow-1: 0px 2px 2px 0px rgba(0,0,0,0.14) , 0px 3px 1px -2px rgba(0,0,0,0.12) , 0px 1px 5px 0px rgba(0,0,0,0.2); --shadow-2: 0px 2px 5px 0px rgba(0,0,0,0.14) , 0px 1px 10px 0px rgba(0,0,0,0.12) , 0px 2px 4px -1px rgba(0,0,0,0.2); --shadow-3: 0px 8px 17px 2px rgba(0,0,0,0.14) , 0px 3px 14px 2px rgba(0,0,0,0.12) , 0px 5px 5px -3px rgba(0,0,0,0.2); --shadow-4: 0px 16px 24px 2px rgba(0,0,0,0.14) , 0px 6px 30px 5px rgba(0,0,0,0.12) , 0px 8px 10px -7px rgba(0,0,0,0.2); --shadow-5: 0px 24px 38px 3px rgba(0,0,0,0.14) , 0px 9px 46px 8px rgba(0,0,0,0.12) , 0px 11px 15px -7px rgba(0,0,0,0.2); --color-SG-1: #750800; --color-SG-2: #ba0000; } :root.citizen-feature-custom-width-clientpref-standard { --width-layout: 1320px; /* Slightly wider content */ } @media screen and (min-width: 640px) { html.citizen-animations-ready { scroll-behavior: auto; } } /* Disable Tabber scroll animation */ .tabber-animations-ready .tabber__section, .tabber-animations-ready .tabber__tabs { scroll-behavior: unset; } .tabber__tab { color: var(--color-base--subtle); } :root.skin-citizen-light { --card-shadow-dlw: 0px 3px 3px -2px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 1px 8px 0px rgba(0,0,0,0.12); --color-pink: #B22EA1; --color-blue: #1971A4; --color-green: #007A3D; --color-red: #D51515; --color-orange: #975D11; --color-magenta: #A045B0; --color-pastel-red: #ff6666; --color-pastel-green: #77dd77; --color-adaptive-green: #8edf91; --balance-badge-font-color: #404244; --rainbow-text-base-color: black; /* higher contrast text */ --color-base: #373a3c; --color-base--emphasized: #0d0e0e; --color-base--subtle: #5c6064; /* Limbus Company Specific Color Codes */ --LCB-Color-Heads-Hit: hsl(91, 41%, 32%); --LCB-Color-Clash-Win: hsl(30, 100%, 33%); --LCB-Color-On-Use: hsl(193, 85%, 30%); --LCB-Color-Generic-Green: hsl(91, 74%, 32%); --LCB-Color-Debuff: hsl(0, 100%, 40%); --LCB-Color-Buff: hsl(47, 100%, 27%); --LCB-Color-Resource: hsl(29, 47%, 40%); /*User*/ --color-Infobox-Title: #f5e56f; --color-Dic-Theme: var(--LCB-Color-Resource); --color-Dic-Title: white; } :root.skin-citizen-dark { --card-shadow-dlw: 0px 3px 3px -2px rgba(0,0,0,0.4),0px 3px 4px 0px rgba(0,0,0,0.28),0px 1px 8px 0px rgba(0,0,0,0.24); --color-pink: #DE7CD1; --color-blue: #1ba6ff; --color-green: #16df53; --color-red: #ff6b6b; --color-orange: #e8982c; --color-magenta: #f646e8; --color-pastel-red: #FF7575; --color-pastel-green: #77dd77; --color-adaptive-green: #115317; --balance-badge-font-color: black; --rainbow-text-base-color: white; /* higher contrast borders */ --border-color-base: rgba(255,255,255,0.08); --border-color-base--lighter: rgba(255,255,255,0.05); --border-color-base--darker: rgba(255,255,255,0.11); /* higher contrast text */ --color-base: hsl(var(--color-primary__h) 0% 90%); --color-base--emphasized: hsl(var(--color-primary__h) 85% 100%); --color-base--subtle: hsl(var(--color-primary__h) 25% 78%); /* Limbus Company Specific Color Codes */ --LCB-Color-Heads-Hit: hsl(91, 98%, 79%); --LCB-Color-Clash-Win: hsl(30, 100%, 50%); --LCB-Color-On-Use: hsl(193, 97%, 57%); --LCB-Color-Generic-Green: hsl(91, 85%, 59%); --LCB-Color-Debuff: hsl(0, 100%, 63%); --LCB-Color-Buff: hsl(47, 100%, 50%); --LCB-Color-Resource: hsl(29, 47%, 50%); /*User*/ --color-Infobox-Title: #ba0000; --color-Dic-Theme: #750800; --color-Dic-Title: white; } @media (prefers-color-scheme: dark) { :root.skin-theme-clientpref-os { --card-shadow-dlw: 0 3px 3px -2px rgba(0,0,0,0.4),0 3px 4px 0 rgba(0,0,0,0.28),0 1px 8px 0 rgba(0,0,0,0.24); --color-pink: #DE7CD1; --color-blue: #1ba6ff; --color-green: #16df53; --color-red: #ff6b6b; --color-orange: #e8982c; --color-magenta: #f646e8; --color-pastel-red: #FF7575; --color-pastel-green: #77dd77; --color-adaptive-green: #115317; --balance-badge-font-color: black; --rainbow-text-base-color: white; /* higher contrast borders */ --border-color-base: rgba(255,255,255,0.08); --border-color-base--lighter: rgba(255,255,255,0.05); --border-color-base--darker: rgba(255,255,255,0.11); /* higher contrast text */ --color-base: hsl(var(--color-primary__h) 0% 90%); --color-base--emphasized: hsl(var(--color-primary__h) 85% 100%); --color-base--subtle: hsl(var(--color-primary__h) 25% 78%); /* Limbus Company Specific Color Codes */ --LCB-Color-Heads-Hit: hsl(91, 98%, 79%); --LCB-Color-Clash-Win: hsl(30, 100%, 50%); --LCB-Color-On-Use: hsl(193, 97%, 57%); --LCB-Color-Generic-Green: hsl(91, 85%, 59%); --LCB-Color-Debuff: hsl(0, 100%, 63%); --LCB-Color-Buff: hsl(47, 100%, 50%); --LCB-Color-Resource: hsl(29, 47%, 50%); /*User*/ --color-Infobox-Title: #ba0000; --color-Dic-Theme: #750800; --color-Dic-Title: white; } } /********************** Expandable Section button styling *********************/ .mw-collapsible-toggle { padding: 0.2rem 0.5rem; background: var( --color-surface-2 ); border-radius: var(--border-radius--pill); border: 1px solid var(--border-color-base); } .mw-collapsible-toggle:hover { background: var( --color-surface-2--hover ); } .mw-collapsible-toggle:active { background: var( --color-surface-2-active ); } .mw-collapsible-toggle .mw-collapsible-text { font-size: 0.875rem; color: var(--color-base--emphasized); } .mw-collapsible-toggle .mw-collapsible-text:hover { text-decoration: none; } .mw-collapsible-toggle-default:before { content: ''; } .mw-collapsible-toggle-default:after { content: ''; } .mw-enhancedchanges-arrow { background-color: unset; } /***************************** Table Improvements *****************************/ .wikitable { background-color: var(--color-surface-2); overflow-x: unset; } .wikitable tbody tr:nth-child(odd) { background-color: var(--color-surface-1); } .wikitable tbody tr:hover { background-color: var(--color-surface-2--hover); } /***************** disable image zoom transformation on hover *****************/ figure[ typeof~='mw:File' ] > a:first-child img, figure[ typeof~='mw:File/Frameless' ] > a:first-child img, figure[ typeof~='mw:File/Thumb' ] > a:first-child img, figure[ typeof~='mw:File/Frame' ] > a:first-child img { transform: none !important; } /******************************** custom stuff ********************************/ .nearest-neighbor-image-scaling img { image-rendering: pixelated; } .tippy-content .tooltiptext-hr { display: block; height: 1px; margin: var(--space-xs) 0; background: var( --border-color-base ); } /*************** make text stand out against the banner images ***************/ body:not(.citizen-body-header--sticky) .firstHeading { text-shadow: -1px -1px 0 var(--color-surface-0), 1px -1px 0 var(--color-surface-0), -1px 1px 0 var(--color-surface-0), 1px 1px 0 var(--color-surface-0), 4px 3px 0px var(--color-surface-0); } body:not(.citizen-body-header--sticky) #siteSub, body:not(.citizen-body-header--sticky) #contentSub { text-shadow: -1px -1px 0 var(--color-surface-0), 1px -1px 0 var(--color-surface-0), -1px 1px 0 var(--color-surface-0), 1px 1px 0 var(--color-surface-0), 2px 2px 0px var(--color-surface-0); } /********** Div class wrapper for Tabber to fix incompatible drop shadows. **********/ .tabber-shadows-fix { margin:-7px; } .tabber-shadows-fix > .tabber.tabber--live > .tabber__header { margin: 7px 7px 0 7px; } .tabber-shadows-fix > .tabber.tabber--live > .tabber__section > .tabber__panel { padding: 0 7px 7px 7px; } /** * CSS hack to hide immediate heading before movecard * Put here because TemplateStyles does not like :has() */ h3:has(+ .movecard), h4:has(+ .movecard) { position: relative; margin: 0; } h3:has(+ .movecard) > .mw-headline, h4:has(+ .movecard) > .mw-headline { position: absolute; visibility: hidden; font-size: 0; } h3:has(+ .movecard) > .mw-editsection, h4:has(+ .movecard) > .mw-editsection { position: absolute; top: var(--space-xs); right: var(--space-xs); opacity: 0; pointer-event: none; } h3:has(+ .movecard:hover) > .mw-editsection, h4:has(+ .movecard:hover) > .mw-editsection, h3:has(+ .movecard) > .mw-editsection:hover, h4:has(+ .movecard) > .mw-editsection:hover { opacity: 1; pointer-event: auto; } /*********************************** Quizes ***********************************/ .quizQuestions .header { font-size: var(--font-size-large); } .quiz .question { margin-left: 2em; background-color: var(--color-surface-1); padding: 0.1em 1em 1em 1em; margin: 1em; border-radius: var(--border-radius--large); box-shadow: var(--card-shadow-dlw); } .quiz .header .questionId { font-size: var(--font-size-medium); text-indent: 0em; margin-right: 1em; } .quizForm input[type=submit] { padding: 0.25em 0.55em; background: var( --color-surface-2 ); border-radius: var(--border-radius--pill); border: 1px solid var(--border-color-base); color: var(--color-base--emphasized); font-size: var(--font-size-x-large); } .quizForm input[type=submit]:hover { background: var( --color-surface-2--hover ); } .quizForm .correction { background-color: var( --color-surface-0 ); color: var(--color-base); font-size: var(--font-size-x-large); } .quizForm .score { color: var(--color-green); } .quizForm .total { color: var(--color-blue); } .quiz .object .correction { font-size: var(--font-size-medium); } /****** 模板新增依赖 ******/ .scrachedword { text-decoration: line-through; color: var( --color-base--subtle ); } .reword { color: inherit; font-weight: bold; } | |
| citizen.js (留言) (翻译) | /* 这里所有JavaScript都会加载给Citizen皮肤的用户 */ |
| /* 这里的任何JavaScript将为使用Citizen皮肤的用户加载 */ // Wrap Cargo datatables in div wrapper mw.loader.using( 'ext.cargo.datatables', function () { const datatables = document.querySelectorAll( 'table.dataTable' ); if ( datatables !== null ) { datatables.forEach( function ( datatable ) { const wrapper = document.createElement( 'div' ); wrapper.classList.add( 'citizen-table-wrapper' ); datatable.parentNode.insertBefore( wrapper, datatable ); wrapper.appendChild( datatable ); } ); } } ); mw.hook( 'wikipage.content' ).add( function ( content ) { /* * Tippy.js * @see https://atomiks.github.io/tippyjs/ */ // content is a jQuery object, content[0] returns the bodyContent element // Select top-level tooltips const tooltips = content[ 0 ].querySelectorAll( '.tooltip:not( .tooltip .tooltip )' ); if ( tooltips ) { mw.loader.getScript( 'https://unpkg.com/@popperjs/core@2' ).then( function () { mw.loader.getScript( ' https://unpkg.com/tippy.js@6' ).then( function () { // Load styles for shift-away animation mw.loader.load( 'https://unpkg.com/tippy.js@6/animations/shift-away.css', 'text/css' ); const createTippy = function ( element, position ) { const tooltipContent = element.querySelector( ':scope > .tooltiptext' ); tippy( element, { content: tooltipContent.innerHTML, placement: position } ); // Make tooltip focusable by keyboard element.setAttribute( 'tabindex' , '0' ); }; tippy.setDefaultProps( { animation: 'shift-away', allowHTML: true, appendTo: document.body, ignoreAttributes: true, interactive: true } ); tooltips.forEach( function ( tooltip ) { createTippy( tooltip, 'top' ); const nestedTooltip = tooltip.querySelector( '.tooltip' ); if ( nestedTooltip ) { createTippy( nestedTooltip, 'bottom' ); } } ); }, function ( e ) { mw.log.error( e.message ); } ); }, function ( e ) { mw.log.error( e.message ); } ); } } ); | |
| clearyourcache (留言) (翻译) | <strong>注意:</strong>在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。 * <strong>Firefox或Safari:</strong>按住<em>Shift</em>的同时单击<em>刷新</em>,或按<em>Ctrl-F5</em>或<em>Ctrl-R</em>(Mac为<em>⌘-R</em>) * <strong>Google Chrome:</strong>按<em>Ctrl-Shift-R</em>(Mac为<em>⌘-Shift-R</em>) * <strong>Internet Explorer或Edge:</strong>按住<em>Ctrl</em>的同时单击<em>刷新</em>,或按<em>Ctrl-F5</em> * <strong>Opera:</strong>按 <em>Ctrl-F5</em>。 |
| codeeditor-desc (留言) (翻译) | 使用[https://ace.c9.io/ Ace编辑器]实现编辑JavaScript和CSS页面时的语法高亮功能 |
| codeeditor-error-message (留言) (翻译) | 代码编辑器需要WikiEditor被加载。 |
| codeeditor-error-title (留言) (翻译) | 依赖失败 |
| codeeditor-gotoline (留言) (翻译) | 跳转到指定行... |
| codeeditor-gotoline-placeholder (留言) (翻译) | 行[:列] |
| codeeditor-gotoline-prompt (留言) (翻译) | 输入行数 |
| codeeditor-indent (留言) (翻译) | 缩进 |
| codeeditor-invisibleChars-toggle (留言) (翻译) | 显示或隐藏不可见字符 |
| codeeditor-lineWrapping-toggle (留言) (翻译) | 开启/关闭自动换行 |
| codeeditor-next-annotation (留言) (翻译) | 前往下一注释 |
| codeeditor-outdent (留言) (翻译) | 减少缩进 |
| codeeditor-save-with-errors (留言) (翻译) | 文档包含错误。您确定要发布吗? |