System messages
From Game Wiki - VortanMU
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 | |
| timeless.js (talk) (Translate) | /* All JavaScript here will be loaded for users of the Timeless skin */ |
| $( function () { // sidebar-chunk only applies to desktop-small, but the toggles are hidden at // other resolutions regardless and the css overrides any visible effects. var $dropdowns = $( '#personal, #p-variants-desktop, .sidebar-chunk' ); /** * Desktop menu click-toggling * * We're not even checking if it's desktop because the classes in play have no effect * on mobile regardless... this may break things at some point, though. */ /** * Close all dropdowns */ function closeOpen() { $dropdowns.removeClass( 'dropdown-active' ); } /** * Click behaviour */ $dropdowns.on( 'click', function ( e ) { // Check if it's already open so we don't open it again // eslint-disable-next-line no-jquery/no-class-state if ( $( this ).hasClass( 'dropdown-active' ) ) { if ( $( e.target ).closest( $( 'h2, #p-variants-desktop h3' ) ).length > 0 ) { // treat reclick on the header as a toggle closeOpen(); } // Clicked inside an open menu; don't do anything } else { closeOpen(); e.stopPropagation(); // stop hiding it! $( this ).addClass( 'dropdown-active' ); } } ); $( document ).on( 'click', function ( e ) { if ( $( e.target ).closest( $dropdowns ).length > 0 ) { // Clicked inside an open menu; don't close anything } else { closeOpen(); } } ); } ); mw.hook( 'wikipage.content' ).add( function ( $content ) { // Gotta wrap them for this to work; maybe later the parser etc will do this for us?! $content.find( 'div > table:not( table table )' ).wrap( '<div class="content-table-wrapper"><div class="content-table"></div></div>' ); $content.find( '.content-table-wrapper' ).prepend( '<div class="content-table-left"></div><div class="content-table-right"></div>' ); /** * Set up borders for experimental overflowing table scrolling * * I have no idea what I'm doing. * * @param {jQuery} $table */ function setScrollClass( $table ) { var $tableWrapper = $table.parent(), // wtf browser rtl implementations scroll = Math.abs( $tableWrapper.scrollLeft() ); $tableWrapper.parent() // 1 instead of 0 because of weird rtl rounding errors or something .toggleClass( 'scroll-left', scroll > 1 ) .toggleClass( 'scroll-right', $table.outerWidth() - $tableWrapper.innerWidth() - scroll > 1 ); } $content.find( '.content-table' ).on( 'scroll', function () { setScrollClass( $( this ).children( 'table' ).first() ); if ( $content.attr( 'dir' ) === 'rtl' ) { $( this ).find( 'caption' ).css( 'margin-right', Math.abs( $( this ).scrollLeft() ) + 'px' ); } else { $( this ).find( 'caption' ).css( 'margin-left', $( this ).scrollLeft() + 'px' ); } } ); /** * Mark overflowed tables for scrolling */ function unOverflowTables() { $content.find( '.content-table > table' ).each( function () { var $table = $( this ), $wrapper = $table.parent().parent(); if ( $table.outerWidth() > $wrapper.outerWidth() ) { $wrapper.addClass( 'overflowed' ); setScrollClass( $table ); } else { $wrapper.removeClass( 'overflowed scroll-left scroll-right fixed-scrollbar-container' ); } } ); // Set up sticky captions $content.find( '.content-table > table > caption' ).each( function () { var $container, tableHeight, $table = $( this ).parent(), $wrapper = $table.parent().parent(); if ( $table.outerWidth() > $wrapper.outerWidth() ) { $container = $( this ).parents( '.content-table-wrapper' ); $( this ).width( $content.width() ); tableHeight = $container.innerHeight() - $( this ).outerHeight(); $container.find( '.content-table-left' ).height( tableHeight ); $container.find( '.content-table-right' ).height( tableHeight ); } } ); } unOverflowTables(); $( window ).on( 'resize', unOverflowTables ); /** * Sticky scrollbars maybe?! */ $content.find( '.content-table' ).each( function () { var $table, $tableWrapper, $spoof, $scrollbar; $tableWrapper = $( this ); $table = $tableWrapper.children( 'table' ).first(); // Assemble our silly crap and add to page $scrollbar = $( '<div>' ).addClass( 'content-table-scrollbar inactive' ).width( $content.width() ); $spoof = $( '<div>' ).addClass( 'content-table-spoof' ).width( $table.outerWidth() ); $tableWrapper.parent().prepend( $scrollbar.prepend( $spoof ) ); } ); /** * Scoll table when scrolling scrollbar and visa-versa lololol wut */ $content.find( '.content-table' ).on( 'scroll', function () { // Only do this here if we're not already mirroring the spoof var $mirror = $( this ).siblings( '.inactive' ).first(); $mirror.scrollLeft( $( this ).scrollLeft() ); } ); $content.find( '.content-table-scrollbar' ).on( 'scroll', function () { var $mirror = $( this ).siblings( '.content-table' ).first(); // Only do this here if we're not already mirroring the table // eslint-disable-next-line no-jquery/no-class-state if ( !$( this ).hasClass( 'inactive' ) ) { $mirror.scrollLeft( $( this ).scrollLeft() ); } } ); /** * Set active when actually over the table it applies to... */ function determineActiveSpoofScrollbars() { $content.find( '.overflowed .content-table' ).each( function () { var $scrollbar = $( this ).siblings( '.content-table-scrollbar' ).first(); // Skip caption var captionHeight = $( this ).find( 'caption' ).outerHeight() || 0; if ( captionHeight ) { // Pad slightly for reasons captionHeight += 8; } var tableTop = $( this ).offset().top, tableBottom = tableTop + $( this ).outerHeight(), viewBottom = window.scrollY + document.documentElement.clientHeight, active = tableTop + captionHeight < viewBottom && tableBottom > viewBottom; $scrollbar.toggleClass( 'inactive', !active ); } ); } determineActiveSpoofScrollbars(); $( window ).on( 'scroll resize', determineActiveSpoofScrollbars ); function showContent(id) { const conteudos = document.querySelectorAll('.nav-content'); conteudos.forEach((div) => { div.classList.remove('show-content'); }); document.getElementById(id).classList.add('show-content'); } /** * Make sure tablespoofs remain correctly-sized? */ $( window ).on( 'resize', function () { $content.find( '.content-table-scrollbar' ).each( function () { var width = $( this ).siblings().first().find( 'table' ).first().width(); $( this ).find( '.content-table-spoof' ).first().width( width ); $( this ).width( $content.width() ); } ); } ); } ); /* ===== Mega-menu estável – Timeless (.mw-portlet) ===== */ mw.loader.using(['jquery']).then(function () { try { if (window.__megaMenuStable) return; window.__megaMenuStable = true; var NAV_SEL = '#site-navigation .sidebar-inner'; var isDesktop = function () { return window.innerWidth >= 851; }; function build() { var $container = $(NAV_SEL); if (!$container.length) return; // limpa qualquer resíduo de execuções anteriores $container.find('h3.has-mega').removeClass('has-mega active'); $container.find('ul.submenu').remove(); $(document).off('.megamenu'); $(window).off('.megamenu'); // para cada seção (portlet) $container.find('.mw-portlet').each(function () { var $portlet = $(this); var $h3 = $portlet.children('h3').first(); var $ul = $portlet.children('ul').first(); if (!$ul.length) $ul = $portlet.find('> .mw-portlet-body > ul').first(); if (!$h3.length || !$ul.length) return; var $links = $ul.find('> li > a'); if (!$links.length) return; // marca o título como "tem mega" $h3.addClass('has-mega'); // define colunas dinamicamente var n = $links.length; var cls = 'submenu'; if (n > 20) cls += ' submenu-4-columns'; else if (n > 12) cls += ' submenu-3-columns'; else if (n > 6) cls += ' submenu-2-columns'; // cria o painel var $submenu = $('<ul/>', { 'class': cls }).appendTo($portlet); $links.each(function () { $('<li/>').append($(this).clone()).appendTo($submenu); }); // esconde a lista original e o painel $ul.hide(); $submenu.hide(); // posiciona ao lado da barra e alinhado ao título function reposition() { var left = $container.outerWidth() + 12; // distância da sidebar var top = $h3.position().top - 6; // alinhado pela altura do h3 $submenu.css({ left: left, top: top }); } function open() { // fecha outros $container.find('h3.has-mega').not($h3).removeClass('active'); $container.find('ul.submenu').not($submenu).hide(); $h3.addClass('active'); reposition(); $submenu.stop(true, true).fadeIn(90); } function close() { $h3.removeClass('active'); $submenu.stop(true, true).fadeOut(90); } function toggle() { ($submenu.is(':visible')) ? close() : open(); } // hover/click com delay pra não sumir no caminho do mouse var closeTimer = null; $h3.on('mouseenter.megamenu', function () { if (isDesktop()) open(); }).on('mouseleave.megamenu', function () { if (isDesktop()) { closeTimer = setTimeout(function () { if (!$submenu.is(':hover') && !$h3.is(':hover')) close(); }, 120); } }).on('click.megamenu', function (e) { if (!isDesktop()) { e.preventDefault(); toggle(); } }); $submenu.on('mouseenter.megamenu', function () { if (isDesktop()) { clearTimeout(closeTimer); open(); } }).on('mouseleave.megamenu', function () { if (isDesktop()) { closeTimer = setTimeout(function () { if (!$h3.is(':hover')) close(); }, 120); } }); $(window).on('resize.megamenu', reposition); }); // fecha clicando fora $(document).on('click.megamenu', function (e) { if ($(e.target).closest(NAV_SEL).length === 0) { var $c = $(NAV_SEL); $c.find('h3.has-mega').removeClass('active'); $c.find('ul.submenu').hide(); } }); } mw.hook('wikipage.content').add(build); $(build); console.log('[MegaMenu] OK'); } catch (err) { console.error('[MegaMenu] erro', err); } }); | |
| timeouterror (talk) (Translate) | Server timed out |
| timeouterror-text (talk) (Translate) | The maximum request time of $1 sec. was exceeded. |
| timezone-invalid (talk) (Translate) | Invalid time zone or time offset. |
| timezone-local (talk) (Translate) | Local |
| timezone-useoffset-placeholder (talk) (Translate) | Example values: "-07:00" or "01:00" |
| timezone-utc (talk) (Translate) | UTC |
| timezonelegend (talk) (Translate) | Time zone: |
| timezoneregion-africa (talk) (Translate) | Africa |
| timezoneregion-america (talk) (Translate) | America |
| timezoneregion-antarctica (talk) (Translate) | Antarctica |
| timezoneregion-arctic (talk) (Translate) | Arctic |
| timezoneregion-asia (talk) (Translate) | Asia |
| timezoneregion-atlantic (talk) (Translate) | Atlantic Ocean |
| timezoneregion-australia (talk) (Translate) | Australia |
| timezoneregion-europe (talk) (Translate) | Europe |
| timezoneregion-indian (talk) (Translate) | Indian Ocean |
| timezoneregion-pacific (talk) (Translate) | Pacific Ocean |
| timezoneuseoffset (talk) (Translate) | Other (time offset from UTC) |
| timezoneuseserverdefault (talk) (Translate) | Use wiki default ($1) |
| title-invalid (talk) (Translate) | The requested page title is invalid |
| title-invalid-characters (talk) (Translate) | The requested page title contains invalid characters: "$1". |
| title-invalid-empty (talk) (Translate) | The requested page title is empty or contains only a namespace prefix. |
| title-invalid-interwiki (talk) (Translate) | The requested page title contains an interwiki link which cannot be used in titles. |
| title-invalid-leading-colon (talk) (Translate) | The requested page title contains an invalid colon at the beginning. |
| title-invalid-magic-tilde (talk) (Translate) | The requested page title contains invalid magic tilde sequence (<nowiki>~~~</nowiki>). |
| title-invalid-relative (talk) (Translate) | Title has relative path. Relative page titles (./, ../) are invalid, because they will often be unreachable when handled by user's browser. |
| title-invalid-talk-interwiki (talk) (Translate) | The requested page title refers to an incorrectly specified talk page for a title on another wiki. Talk pages of titles on other wikis should be written with the interwiki prefix first, as "mw:Talk:Foo", not "Talk:mw:Foo". |
| title-invalid-talk-namespace (talk) (Translate) | The requested page title refers to an incorrectly specified talk page for a page in another namespace. Talk pages of non-mainspace pages should be written as "Project talk:Foo", not "Talk:Project:Foo". |
| title-invalid-too-long (talk) (Translate) | The requested page title is too long. It must be no longer than $1 {{PLURAL:$1|byte|bytes}} in UTF-8 encoding. The title you entered is $2 {{PLURAL:$2|byte|bytes}}. |
| title-invalid-utf8 (talk) (Translate) | The requested page title contains an invalid UTF-8 sequence. |
| titlematches (talk) (Translate) | Page title matches |
| titleprotected (talk) (Translate) | This title has been protected from creation by [[User:$1|$1]]. The reason given is <em>$2</em>. |
| titleprotectedwarning (talk) (Translate) | <strong>Warning: This page has been protected so that [[Special:ListGroupRights|specific rights]] are needed to create it.</strong> The latest log entry is provided below for reference: |
| tmp-create-error (talk) (Translate) | Could not create temporary file. |
| tmp-write-error (talk) (Translate) | Error writing temporary file. |
| toc (talk) (Translate) | Contents |
| today-at (talk) (Translate) | $1 |
| tog-ccmeonemails (talk) (Translate) | Send me copies of emails I send to other users |
| tog-diffonly (talk) (Translate) | Don't show page content below diffs |
| tog-editondblclick (talk) (Translate) | Edit pages on double click |
| tog-editrecovery (talk) (Translate) | Enable the [[Special:EditRecovery|{{int:editrecovery}}]] feature |
| tog-editrecovery-help (talk) (Translate) | You can give feedback on the [$1 project's talk page]. |
| tog-editsectiononrightclick (talk) (Translate) | Enable section editing by right clicking on section titles |
| tog-enotifminoredits (talk) (Translate) | Email me also for minor edits of pages and files |
| tog-enotifrevealaddr (talk) (Translate) | Reveal my email address in notification emails |
| tog-enotifusertalkpages (talk) (Translate) | Email me when my user talk page is changed |
| tog-enotifwatchlistpages (talk) (Translate) | Email me when a page or a file on my watchlist is changed |
| tog-extendwatchlist (talk) (Translate) | Expand watchlist to show all changes, not just the most recent |
| tog-fancysig (talk) (Translate) | Treat signature as wikitext (without an automatic link to your user page) |