System messages
Appearance
This is a list of system messages available in the MediaWiki namespace.
Please visit MediaWiki Localisation and translatewiki.net if you wish to contribute to the generic MediaWiki localisation.
Name | Default message text |
---|---|
Current message text | |
codeeditor-searchReplace-toggle (talk) (Translate) | Toggle search and replace dialog |
codeeditor-toolbar-toggle (talk) (Translate) | Toggle code editor |
collabpad (talk) (Translate) | CollabPad |
collabpad-doctitle (talk) (Translate) | CollabPad: $1 |
collabpad-import-subtitle (talk) (Translate) | Imported from $1 |
collapsible-collapse (talk) (Translate) | Collapse |
collapsible-collapse-all-text (talk) (Translate) | Collapse all |
collapsible-collapse-all-tooltip (talk) (Translate) | Collapse all collapsible elements on the current page |
collapsible-expand (talk) (Translate) | Expand |
collapsible-expand-all-text (talk) (Translate) | Expand all |
collapsible-expand-all-tooltip (talk) (Translate) | Expand all collapsible elements on the current page |
colon-separator (talk) (Translate) | : |
comma-separator (talk) (Translate) | , |
common.css (talk) (Translate) | /* CSS placed here will be applied to all skins */ |
/* Prevent Chrome auto-boost weirdness */ html { -webkit-text-size-adjust: 100%; } /* ===== Infobox base (light theme default) ===== */ table.infobox{ width:22em; max-width:22em; box-sizing:border-box; float:right; clear:right; margin:0 0 1em 1em; border:1px solid #a2a9b1; background:#f8f9fa; color:inherit; font-size:90%; line-height:1.5em; /* use 'separate' so table padding works like enwiki */ border-collapse:separate; border-spacing:0; padding:.5em; } table.infobox th, table.infobox td{ padding:.5em .45em; /* enwiki-ish cell padding */ vertical-align:top; } table.infobox th{ text-align:left; } /* Title — no background by default; 125% and centered */ table.infobox th.infobox-title{ text-align:center; font-size:125%; font-weight:bold; background:transparent; /* default: none */ padding:.35em .45em .3em; } /* Only apply color when |color= was set (module adds class + CSS var) */ table.infobox th.infobox-title.has-title-color{ background:var(--ib-title-bg); } /* Image row: remove padding so image can touch the inner edges; make image 100% */ table.infobox td.infobox-image-cell{ padding:0; } table.infobox td.infobox-image-cell img{ display:block; width:100%; height:auto; } /* Prevent long strings from breaking layout */ table.infobox td{ overflow-wrap:anywhere; word-break:break-word; } /* Explicit Dark (already present, keep yours) */ html.skin-theme-clientpref-night table.infobox { background:#1f2327; border-color:#3c4043; color:#e8eaed; } html.skin-theme-clientpref-night table.infobox th { background:transparent; color:#e8eaed; } html.skin-theme-clientpref-night table.infobox td { background:transparent; color:#e8eaed; } html.skin-theme-clientpref-night table.infobox a { color:#8ab4f8; } html.skin-theme-clientpref-night table.infobox a:visited { color:#c58af9; } /* Automatic + OS is dark */ @media (prefers-color-scheme: dark) { html.skin-theme-clientpref-os table.infobox { background:#1f2327; border-color:#3c4043; color:#e8eaed; } html.skin-theme-clientpref-os table.infobox th { background:transparent; color:#e8eaed; } html.skin-theme-clientpref-os table.infobox td { background:transparent; color:#e8eaed; } html.skin-theme-clientpref-os table.infobox a { color:#8ab4f8; } html.skin-theme-clientpref-os table.infobox a:visited { color:#c58af9; } /* keep title readable; no special bg unless |color= was set */ html.skin-theme-clientpref-os table.infobox th.infobox-title { background: transparent; } } /* — Light mode: improve infobox label/value contrast; title stays transparent — */ table.infobox th:not(.infobox-title) { background: #f2f2f2; font-weight: 600; } /* ===================== QUICK FACTS (touch devices only) ===================== */ /* The block is scoped to coarse pointers so desktop is untouched */ @media (pointer: coarse) { /* Default (light) tokens */ :root { --qf-bg: #f8f9fa; --qf-hdr-bg: #eaecf0; --qf-fg: #202122; --qf-border: #a2a9b1; } details.quickfacts { margin: .5em 0 1em; border: 1px solid var(--qf-border); border-radius: 6px; background: var(--qf-bg); color: var(--qf-fg); overflow: hidden; } /* Summary header + chevron affordance */ details.quickfacts > summary.quickfacts-summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; padding: .6em .8em; background: var(--qf-hdr-bg); color: var(--qf-fg); list-style: none; } details.quickfacts > summary.quickfacts-summary::-webkit-details-marker { display: none; } details.quickfacts > summary.quickfacts-summary::after { content: "▾"; /* closed state chevron */ font-size: 1.1em; line-height: 1; margin-left: .5em; transition: transform .2s ease; } details.quickfacts[open] > summary.quickfacts-summary::after { content: "▴"; /* open state chevron */ } /* Optional polish */ details.quickfacts > summary.quickfacts-summary:hover { filter: brightness(.98); } details.quickfacts > summary.quickfacts-summary:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; } /* Make the infobox full width inside Quick facts */ details.quickfacts .infobox.infobox--in-quickfacts { float: none; width: 100%; max-width: none; margin: 0; } } /* ===================== DARK / AUTO-DARK OVERRIDES ===================== */ /* Vector's explicit dark toggles */ html.skin-theme-clientpref-night details.quickfacts, html.skin-theme-clientpref-dark details.quickfacts, html[data-mw-color-scheme="dark"] details.quickfacts { --qf-bg: #1f2327; --qf-hdr-bg: #2a2e33; --qf-fg: #e8eaed; --qf-border: #3c4043; } /* “Automatic” (OS dark) */ @media (prefers-color-scheme: dark) { html.skin-theme-clientpref-os details.quickfacts { --qf-bg: #1f2327; --qf-hdr-bg: #2a2e33; --qf-fg: #e8eaed; --qf-border: #3c4043; } } /* ======= Article hero from infobox image (touch devices only) ======= */ @media (pointer: coarse) { .article-hero { width: 100%; aspect-ratio: 10 / 7; /* reserves height: no reflow jump */ overflow: hidden; border-radius: 0 0 8px 8px; margin: 0 0 1rem 0; background: #111; contain: layout paint size; transform: translateZ(0); /* gentle reveal to avoid flash while cloning */ opacity: 0; transition: opacity .2s ease; } .article-hero.is-ready { opacity: 1; } /* Make any wrapper we clone fill the crop frame */ .article-hero a, .article-hero span, .article-hero figure, .article-hero picture { display: block; height: 100%; } .article-hero img, .article-hero video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; } } /* Dark/auto placeholder tint */ html.skin-theme-clientpref-night .article-hero, html.skin-theme-clientpref-dark .article-hero, html[data-mw-color-scheme="dark"] .article-hero { background: #0f1316; } @media (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .article-hero { background: #0f1316; } } | |
common.js (talk) (Translate) | /* Any JavaScript here will be loaded for all users on every page load. */ |
/* Hero image above the title, cloned from infobox (touch devices only) */ (function () { if (!window.matchMedia || !matchMedia('(pointer: coarse)').matches) return; if (document.querySelector('.article-hero')) return; function bestSrc(img) { // prefer the largest srcset candidate if present var ss = img.getAttribute('srcset'); if (!ss) return img.currentSrc || img.src || ''; var last = ss.split(',').pop().trim().split(/\s+/)[0]; return last || img.currentSrc || img.src || ''; } function run() { var imgCell = document.querySelector('table.infobox .infobox-image-cell'); if (!imgCell) return; // Prefer cloning a wrapper so link/captions survive if present var wrapper = imgCell.querySelector('a, span, figure, picture') || imgCell.querySelector('img'); if (!wrapper) return; var header = document.querySelector('.mw-body-header') || document.getElementById('firstHeading'); if (!header) return; // Build hero before header (reserves space up-front) var hero = document.createElement('div'); hero.className = 'article-hero'; header.parentNode.insertBefore(hero, header); // Clone the wrapper; if we only have <img>, create a fresh <img> with best candidate var cloneNode; if (wrapper.tagName.toLowerCase() === 'img') { cloneNode = document.createElement('img'); cloneNode.src = bestSrc(wrapper); cloneNode.alt = ''; // decorative hero; alt remains in infobox cloneNode.decoding = 'async'; cloneNode.loading = 'eager'; cloneNode.fetchPriority = 'high'; cloneNode.sizes = '100vw'; } else { cloneNode = wrapper.cloneNode(true); // Ensure nested <img> uses a high-res candidate var heroImg = cloneNode.querySelector('img'); if (heroImg) { heroImg.src = bestSrc(heroImg); heroImg.alt = ''; heroImg.decoding = 'async'; heroImg.loading = 'eager'; heroImg.fetchPriority = 'high'; heroImg.sizes = '100vw'; } } hero.appendChild(cloneNode); // Reveal smoothly on the next frame requestAnimationFrame(function () { hero.classList.add('is-ready'); }); } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', run, { once: true }); } else { run(); } })(); /* Quick facts: collapse infobox under first paragraph on touch devices */ mw.hook('wikipage.content').add(function ($content) { // Only on touch devices if (!window.matchMedia || !window.matchMedia('(pointer: coarse)').matches) return; var $ibox = $content.find('table.infobox').first(); if (!$ibox.length) return; // First real paragraph in article content var $firstP = $content .find('.mw-parser-output > p') .filter(function () { return $(this).text().trim().length > 0; }) .first(); if (!$firstP.length) return; // Build <details> wrapper var $details = $('<details>', { 'class': 'quickfacts', 'aria-label': 'Quick facts' }); var $summary = $('<summary>', { 'class': 'quickfacts-summary', text: 'Quick facts' }); $details.append($summary); // Mark infobox so CSS can remove float/width inside quickfacts $ibox.addClass('infobox--in-quickfacts'); // Move the infobox inside the details (not cloning; avoids duplicate content for SR) $details.append($ibox); // Insert directly after the first paragraph $details.insertAfter($firstP); }); | |
communityconfiguration-cite-description (talk) (Translate) | Customize the format and appearance of references. |
communityconfiguration-cite-title (talk) (Translate) | Cite |
compare-page1 (talk) (Translate) | Page 1 |
compare-page2 (talk) (Translate) | Page 2 |
compare-rev1 (talk) (Translate) | Revision 1 |
compare-rev2 (talk) (Translate) | Revision 2 |
compare-revision-not-exists (talk) (Translate) | The revision you specified does not exist. |
compare-submit (talk) (Translate) | Compare |
comparepages (talk) (Translate) | Compare pages |
comparepages-summary (talk) (Translate) | |
compareselectedversions (talk) (Translate) | Compare selected revisions |
config-admin-box (talk) (Translate) | Administrator account |
config-admin-email (talk) (Translate) | Email address: |
config-admin-email-help (talk) (Translate) | Enter an email address here to allow you to receive email from other users on the wiki, reset your password, and be notified of changes to pages on your watchlist. You can leave this field empty. |
config-admin-error-bademail (talk) (Translate) | You have entered an invalid email address. |
config-admin-error-password (talk) (Translate) | Internal error when setting a password for the admin "<nowiki>$1</nowiki>": <pre>$2</pre> |
config-admin-error-password-invalid (talk) (Translate) | Invalid wiki admin password: $1 |
config-admin-error-user (talk) (Translate) | Internal error when creating an admin with the name "<nowiki>$1</nowiki>". |
config-admin-help (talk) (Translate) | Enter your preferred username here, for example "Joe Bloggs". This is the name you will use to log in to the wiki. |
config-admin-name (talk) (Translate) | Your username: |
config-admin-name-blank (talk) (Translate) | Enter an administrator username. |
config-admin-name-invalid (talk) (Translate) | The specified username "<nowiki>$1</nowiki>" is invalid. Specify a different username. |
config-admin-password (talk) (Translate) | Password: |
config-admin-password-blank (talk) (Translate) | Enter a password for the administrator account. |
config-admin-password-confirm (talk) (Translate) | Password again: |
config-admin-password-mismatch (talk) (Translate) | The two passwords you entered do not match. |
config-advanced-settings (talk) (Translate) | Advanced configuration |
config-almost-done (talk) (Translate) | You are almost done! You can now skip the remaining configuration and install the wiki right now. |
config-apc (talk) (Translate) | [https://www.php.net/apc APC] is installed |
config-apcu (talk) (Translate) | [https://www.php.net/apcu APCu] is installed |
config-back (talk) (Translate) | ← Back |
config-cache-accel (talk) (Translate) | PHP object caching (APC or APCu) |
config-cache-help (talk) (Translate) | Object caching is used to improve the speed of MediaWiki by caching frequently used data. Medium to large sites are highly encouraged to enable this, and small sites will see benefits as well. |
config-cache-memcached (talk) (Translate) | Use Memcached (requires additional setup and configuration) |
config-cache-none (talk) (Translate) | No caching (no functionality is removed, but speed may be impacted on larger wiki sites) |