Bürokraten | |
---|---|
ILeonx | |
Administratoren | |
Kingcat 100 | |
Magiczocker | |
MarkusRost | |
Nethonos | |
violine1101 | |
Fandom-Ansprechpartner | |
Nekky-chan |
Die Adminpinnwand ist für den einfacheren Kontakt mit Administratoren gedacht. Auch für Administratoren ist es einfacher wenn an einer Stelle die Probleme gesammelt werden und nicht überall im Wiki verteilt sind. Auf dieser Seite gilt – wie auch auf anderen Diskussionsseiten – die Pflicht, den eigenen Beitrag zu signieren.
Folgende Richtlinien sind zu beachten:
- Administrative Probleme stehen im Vordergrund, sprich: Benutzer sperren, Seiten schützen, Wiederherstellungen, ...
- Allgemeine Fragen sollten im Hintergrund stehen und sollten auf der Gemeinschaftsportal-Diskussionsseite gepostet werden.
- Keine Löschanträge; hierzu liegt die entsprechende Vorlage vor:
{{Löschen|Grund}}
. - Nutzungsregeln sind bei den Richtlinien zu finden.
- Fragen, welche sich auf einen speziellen Admin beziehen, sind auf dessen Diskussionsseite zu stellen.
mobile.css + common.js
Nabend, es gibt wieder eine neue Version mobile.css mit dieser Änderung aus dem englischen Wiki. Hab auch gleichzeitig den Hotbarteil von Grid2 wieder rausgenommen, der bei der letzten Änderung aus Versehen wieder rein gekommen ist. Durch die Änderung werden 6 Bilder nicht mehr genutzt, diese können gelöscht werden.
- Datei:Mobile-search-start.png
- Datei:Mobile-search-end.png
- Datei:Mobile-search-background.png
- Datei:Mobile-search-button.png
- Datei:Vector-tabs-background.png
- Datei:Content-background.png
Mobile.css |
---|
/** Minecraft skin **/ /* Give the background the stone and grass texture: [[File:Mobile-header-background.png]] [[File:Background.png]] */ body { background-color: #202020; background-image: url(http://hydra-media.cursecdn.com/minecraft-de.gamepedia.com/2/29/Mobile-header-background.png), url(http://hydra-media.cursecdn.com/minecraft-de.gamepedia.com/2/26/Background.png); background-repeat: repeat-x, repeat; } /* 3D search box */ #searchbox { background-color: #FFF; } .search_bar { position: relative; border-top: 3px solid #E6E6E6; border-left: 3px solid #B0B0B0; background-color: #D0CFCF; background-image: -webkit-linear-gradient(#C3C3C3, #DCDBDB); background-image: -o-linear-gradient(#C3C3C3, #DCDBDB); background-image: linear-gradient(#C3C3C3, #DCDBDB); color: #3C3B3B; height: 23px; } .search_bar:before { content: ""; position: absolute; border-top: 3px solid #B0B0B0; border-left: 3px solid #FFF; bottom: 0; left: -3px; } .search_bar:after { content: ""; position: absolute; border-top: 3px solid #FFF; border-left: 3px solid #E6E6E6; top: -3px; right: 0; } #sq { border: 0; } #search { background-color: transparent; padding: 0 0.5em; } /* [[File:Search-button.svg]] */ #searchbox #goButton { background: url(http://hydra-media.cursecdn.com/minecraft-de.gamepedia.com/0/0e/Search-button.svg) no-repeat 5px 2px / 18px; } /* Let nav go over the top of other things, instead of pushing them down */ #nav { position: absolute; z-index: 99; } /* Give the main content area its healthy blue glow, and a bit of grass: [[File:Mobile-content-background.png]] */ #content_wrapper { background: url(http://hydra-media.cursecdn.com/minecraft-de.gamepedia.com/1/12/Mobile-content-background.png) repeat-x #E6EFF4; padding-top: 16px; margin: 18px 0; } #content { padding: 1em; } #firstHeading { margin-top: 0; } #copyright { color: #FFF; } #copyright a { color: #BFBFBF; } /* Clear floats */ .visualClear { clear: both; } /** Template stylings **/ /* [[Template:Grid2]] */ .grid2 { display: inline-block; position: relative; text-align: left !important; background-color: #8B8B8B; height: 32px; width: 32px; padding: 2px; vertical-align: bottom; } .grid2.output { height: 48px; width: 48px; } .grid2 img, .pixel-image img { image-rendering: -moz-crisp-edges; image-rendering: -o-crisp-edges; image-rendering: -webkit-optimize-contrast; -ms-interpolation-mode: nearest-neighbor; } .grid2 .border { display: block; margin: -2px 0 0 -2px; border-style: solid none none solid; border-width: 2px; border-color: #373737; height: 100%; } .grid2 .border > span { display: block; margin-right: -2px; border-style: none solid solid none; border-width: 2px; border-color: #FFFFFF; height: 100%; } .grid2 .image, .grid2 .default-image { position: absolute; line-height: 16px; top: 2px; width: 32px; height: 32px; } .grid2.output .image { top: 10px; left: 10px; } .grid2 .image > a.new { background-image: url("http://hydra-media.cursecdn.com/minecraft-de.gamepedia.com/4/4e/Grid_Layout_Unbekannt.png"); display: block; width: 32px; height: 32px; outline: none; text-indent: -99999px; } .grid2 .number { position: absolute; right: -2px; bottom: -2px; text-align: right; font-family: Minecraft; font-size: 16px; color: #FFF; pointer-events: none; z-index: 6; text-shadow: 2px 2px 0px #3F3F3F; filter: dropshadow(color=#3F3F3F, offx=2, offy=2); } .grid2 .number a { color: #FFF; text-decoration: none; } .grid2 .number .selflink { font-weight: normal; } .grid2 .image a.new + .number { display: none; } .grid2 .animated .image, .grid2 .paused .image { display: none; } .grid2 .animated .image.active, .grid2 .paused .image.active { display: block; } .grid2-Crafting_Table, .grid2-Furnace, .grid2-Brewing_Stand table, .grid2-generic { background: #C6C6C6; border: outset 2px #999; padding: 6px; text-align: left !important; width: auto; } .grid2-Crafting_Table td, .grid2-Furnace td, .grid2-Brewing_Stand td, .grid2-generic td { border: none; padding: 0; } /* [[Template:Grid2/Crafting Table]] */ .grid2-Crafting_Table .arrow, .grid2-Crafting_Table .shapeless { text-align: center; vertical-align: bottom; } .grid2-Crafting_Table .arrow { width: 40px; padding-bottom: 5px; } .grid2-Crafting_Table .shapeless span { cursor: help; } /* [[Template:Grid2/Furnace]] */ .grid2-Furnace { padding-left: 24px; padding-right: 24px; } .grid2-Furnace .arrow, .grid2-Furnace .output { text-align: center; vertical-align: middle; } .grid2-Furnace .arrow { padding-right: 18px !important; padding-left: 14px !important; } /* [[Template:Grid2/Brewing Stand]] */ .grid2-Brewing_Stand { position: relative; width: 144px; } .grid2-Brewing_Stand .bubbles { text-align: right; } .grid2-Brewing_Stand .input { padding: 3px 0 !important; vertical-align: top; } .grid2-Brewing_Stand .output1 { padding: 4px 10px 14px 0 !important; } .grid2-Brewing_Stand .output2 { padding-top: 18px !important; } .grid2-Brewing_Stand .output3 { padding: 4px 0 14px 10px !important; } .grid2-Brewing_Stand .paths { position: absolute; bottom: 42px; left: 42px; z-index: 5; } /* [[Template:Infobox]] */ .notaninfobox { clear: right; margin: 3px 0px 3px 3px; width: 300px; font-size: 90%; background: #FFFFFF; float: right; border: 1px solid #CCCCCC; padding: 2px; } .notaninfobox table, .notaninfobox td { border: 0; } .notaninfobox p { margin: 0; } .infobox-title { font-weight: bold; text-align: center; font-size: 120%; } .infobox-imagearea { text-align: center; padding: 4px; } /* [[Template:Navbox]] */ .navbox { border: 1px solid #CCC; margin: 1em auto 0; clear: both; } .navbox-top { white-space: nowrap; background-color: #CCC; } .navbox-group { background-color: #EEE; white-space: nowrap; text-align: right; } .navbox-list { width: 100%; } /* [[Template:Sprite]] */ .sprite { display: inline-block; position: relative; overflow: hidden; vertical-align: middle; height: 16px; width: 16px; } .sprite > span { position: absolute; height: 256px; width: 256px; } /* The blue header used throughout the wiki */ .mcwiki-header { background: #729FCF; border: 1px solid #ccc; border-bottom: 4px groove #999999; border-right: 4px groove #999999; padding: 5px; } /* Horizontal list */ .hlist ul { display: inline; margin: 0; padding: 0; } .hlist li { display: inline-block; white-space: nowrap; margin: 0; } .hlist li:after { content: " •"; } .hlist li:last-child:after, .hlist li.last-child:after { content: ""; } .hlist li > ul li:first-child:before { content: "("; } .hlist li > ul li:last-child:after, .hlist li > ul li.last-child:after { content: ")"; } .hlist li li li { font-size: x-small; } /* Turn a list into a tree view style (See [[.minecraft]]) */ .treeview { margin-top: 0.3em; } .treeview ul, .treeview li { margin: 0; padding: 0; list-style-type: none; list-style-image: none; } .treeview li li { position: relative; padding-left: 13px; margin-left: 7px; border-left: 1px solid #636363; } .treeview li li:before { content: ""; position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-bottom: 1px solid #636363; } .treeview li li.first:before { border-color: #636363; border-style: solid; border-width: 1px 0 0 1px; height: 100%; margin-top: 11px; width: 10px; } .treeview li li.first, .treeview li li:last-child { border: 0; padding-left: 14px; } .treeview li li:last-child:before { border-left: 1px solid #636363; width: 10px; } /* Generic nowrap class */ .nowrap { white-space: nowrap; } .footer { clear:both; } /* Fix gallery */ ul.gallery li.gallerybox div.thumb { text-align: center; } ul.gallery li.gallerybox { display: inline-block; vertical-align: top; } ul.gallery { padding: 2px; } /* Set wikitable background to its intended color */ .wikitable { background: #F9F9F9; } /* Hide things on mobile (the extension is meant to do this automatically, but it doesn't work) */ .nomobile { display: none; } #content > h2:first-child { display: none; } /* Make sure the logo fits */ #mcw-logo img { max-width: 100%; height: auto; } |
Außerdem auch noch eine neue Version der Common.js (englische Änderungen). Nur ein paar kleinere Änderungen.
Common.js |
---|
( function() { 'use strict'; /** * Instead of cluttering up the global scope with * variables, they should instead be set as a * property of this global variable * * E.g: Instead of * myVar = 'blah'; * use * mcw.myVar = 'blah'; */ window.mcw = {}; /* Legacy support */ mcw.baseURL = '/'; mcw.wikiURL = '/'; /* Variables for interface text used throughout the script, for ease of translating */ mcw.i18n = { // Collapsible tables and page loader hideText: 'einklappen', showText: 'ausklappen', hideArrow: '▲', showArrow: '▼', arrowClass: 'pfeil', // Grid gridPrefix: 'Grid', gridModsURL: 'Mod', // Page loader loadErrorTitle: 'An error occurred loading the content', // File upload defaultLicense: 'License' }; /* Add extra buttons to the classic toolbar */ if ( mw.user.options.get( 'showtoolbar' ) && !mw.user.options.get( 'usebetatoolbar' ) ) { importScript( 'MediaWiki:Toolbar.js' ); } /* Wait for DOMContentLoaded */ $( function() { /** * Helper for getting the right text/symbol for a collapsible table, depending on * whether the table is collapsed or not, and whether it's meant to have text or arrows */ mcw.collapsibleButtonText = function( $table, $collapsed) { if ($collapsed) { if ( $table.hasClass( mcw.i18n.arrowClass ) ) { return mcw.i18n.showArrow; } else { return mcw.i18n.showText; } } else { if ( $table.hasClass( mcw.i18n.arrowClass ) ) { return mcw.i18n.hideArrow; } else { return mcw.i18n.hideText; } } }; /** * Collapsible tables * * Based on http://www.mediawiki.org/wiki/Manual:Collapsible_tables#Common.js_script_.28before_1.18.29 */ mcw.makeCollapsible = function( $content ) { if ( $content === undefined ) { $content = $( 'table.collapsible' ); } else { $content = $content.find( 'table.collapsible' ); } if ( !$content.length ) { return false; } var buttonText = ' <span class="collapsible-button">[<span class="jslink">' + mcw.i18n.hideText + '</span>]</span> '; $content.each( function() { var $table = $( this ), $header, $collapseButton, firstWidth, secondWidth; // This table is already collapsible if ( $table.data( 'collapsible' ) ) { return true; } // Use the collapse-button if specified otherwise the first header cell of the first row $header = $table.find( 'tr:first .collapse-button' ); if ( !$header.length ) { $header = $table.find( 'tr:first > th:first' ); } // No header or the table body is empty if ( !$header.length || !$table.find( 'tr:not(tr:first)' ).text().replace( /\n/g, '' ).length ) { return true; } // For the button to float properly, it has to be /before/ the cell text if ( $table.hasClass( 'collapse-button-none' ) ) { $header.append( buttonText ); } else { $header.prepend( buttonText ); } // Find max button size, and set its min-width to it $collapseButton = $table.find( '.collapsible-button' ); $collapseButton.find( '> .jslink' ).text(mcw.collapsibleButtonText($table,false)); firstWidth = $collapseButton.width(); $collapseButton.find( '> .jslink' ).text(mcw.collapsibleButtonText($table,true)); secondWidth = $collapseButton.width(); if ( firstWidth != secondWidth ) { if ( firstWidth < secondWidth ) { $collapseButton.css( 'min-width', secondWidth ); } else { $collapseButton.css( 'min-width', firstWidth ); } } // Set the text back to hide if it's not collapsed to begin with if ( !$table.hasClass( 'collapsed' ) ) { $collapseButton.find( '> .jslink' ).text(mcw.collapsibleButtonText($table,false)); } $table.data( 'collapsible', true ); } ); }; $( '#mw-content-text' ).on( 'click', 'table.collapsible .collapsible-button .jslink', function( e ) { var $table = $( this ).closest( 'table.collapsible' ); // Stop table sorting activating when clicking the link e.stopPropagation(); if ( $table.hasClass( 'collapsed' ) ) { $table.removeClass( 'collapsed' ).addClass( 'expanded' ); $( this ).text(mcw.collapsibleButtonText($table,false)); } else { $table.removeClass( 'expanded' ).addClass( 'collapsed' ); $( this ).text(mcw.collapsibleButtonText($table,true)); } } ); mcw.makeCollapsible(); /** * Fix edit summary prompt for undo * * Fixes the fact that the undo function combined with the "no edit summary prompter" * causes problems if leaving the edit summary unchanged. * Added by [[wikipedia:User:Deskana]], code by [[wikipedia:User:Tra]]. * See https://bugzilla.wikimedia.org/show_bug.cgi?id=8912 */ if ( document.location.search.indexOf( "undo=" ) !== -1 && document.getElementsByName( 'wpAutoSummary' )[0] ) { document.getElementsByName( 'wpAutoSummary' )[0].value='1'; } mcw.animation = function() { /** * Element animator * * Will cycle the active class on any child elements * within an element with the animated class. */ if ( mcw.animate === undefined && $( '.animated' ).length ) { mcw.animate = setInterval( function() { $( '.animated' ).each( function() { var current = $( this ).find( '.active' ).removeClass( 'active' ), next = current.next(); if ( !current.next().length ) { next = $( this ).children().eq( 0 ); } next.addClass( 'active' ); } ); }, 2000 ); } /** * Frame loader * * Loads a semi-colon (;) separated list of images * to be animated by the element animator * * Has special support for [[Template:Grid2]] */ var $animate = $( '.animated' ), size = {}, fileNamespace = mw.config.get( 'wgFormattedNamespaces' )[6]; if ( $animate.length ) { $animate.each( function() { var imgs = $( this ).data( 'imgs' ), imgSize = $( this ).data( 'img-size' ), grid2 = $( this ).closest( '.grid2' ), mod = $( this ).data( 'mod' ); if ( !imgs ) { return true; } if ( grid2.length ) { grid2 = true; imgSize = '32x32'; } else { grid2 = false; if ( imgSize ) { imgSize = imgSize.split( 'x' ); imgSize[0] = imgSize[0].replace( /[\D ]/, '' ); imgSize[1] = imgSize[1].replace( /[\D ]/, '' ); if ( imgSize[1] ) { imgSize[0] += 'x' + imgSize[1]; } imgSize = imgSize[0]; } else { imgSize = ''; } } if ( size[imgSize] === undefined ) { size[imgSize] = []; } imgs = imgs.split( ';' ); imgs.shift(); $.each( imgs, function() { if ( !this.trim() ) { return true; } var parts, name; if ( grid2 ) { if ( this.indexOf( ':' ) > -1 ) { parts = $.map( this.split( /[:,]+/ ), $.trim ); if ( parts[0].toLowerCase() === 'v' || parts[0].toLowerCase() === 'vanilla' ) { name = fileNamespace + ':' + mcw.i18n.gridPrefix + ' ' + parts[1] + '.png'; } else { name = fileNamespace + ':' + mcw.i18n.gridPrefix + ' ' + parts[1] + ' (' + parts[0] + ').png'; } } else { parts = $.map( this.split( ',' ), $.trim ); if ( !mod ) { name = fileNamespace + ':' + mcw.i18n.gridPrefix + ' ' + parts[0] + '.png'; } else { name = fileNamespace + ':' + mcw.i18n.gridPrefix + ' ' + parts[0] + ' (' + mod + ').png'; } } if ( size[imgSize].indexOf( name ) < 0 ) { size[imgSize].push( name ); } } else if ( size[imgSize].indexOf( fileNamespace + ':' + this.trim() ) < 0 ) { size[imgSize].push( fileNamespace + ':' + this.trim() ); } } ); } ); var redirectPromise = [], urlPromise = [], redirects = {}, urls = {}; $.each( size, function( size ) { var titles = this; if ( !titles ) { return true; } // Split titles up into blocks of 50, which is the API's title limit for standard users for ( var i = 0; i < titles.length; i += 50 ) { ( function() { var section = titles.slice( i, i + 50 ).join( '|' ); redirectPromise.push( // Thanks to bug 23750 (https://bugzilla.wikimedia.org/show_bug.cgi?id=23750) // &redirects doesn't work properly with prop=imageinfo. Some of the images // will return without any imageinfo, even though they are valid. // So the redirects have to be resolved in a separate request... $.ajax( { type: 'POST', url: '/api.php?action=query&format=json&redirects', data: { titles: section }, timeout: 20000 } ).done( function( data ) { if ( data.query.redirects ) { $.each( data.query.redirects, function() { redirects[this.to] = this.from; section = section.replace( this.from, this.to ); } ); } var thumburl = '', sizes = size.split( 'x' ); if ( sizes[0] ) { thumburl = '&iiurlwidth=' + sizes[0]; if ( sizes[1] ) { thumburl += '&iiurlheight=' + sizes[1]; } } urlPromise.push( $.ajax( { type: 'POST', url: '/api.php?action=query&format=json&prop=imageinfo&iiprop=url' + thumburl, data: { titles: section }, timeout: 20000 } ).done( function( data ) { $.each( data.query.pages, function( index ) { if ( index < 0 ) { return true; } if ( !this.imageinfo ) { mw.log( 'Imageinfo is empty' ); return true; } var url = this.imageinfo[0].thumburl || this.imageinfo[0].url; if ( redirects.hasOwnProperty( this.title ) ) { urls[redirects[this.title].replace( new RegExp( fileNamespace + ':(.*)' ), '$1' ) + size] = url; } else { urls[this.title.replace( new RegExp( fileNamespace + ':(.*)' ), '$1' ) + size] = url; } } ); } ).fail( function( error ) { mw.log( error ); } ) ); } ).fail( function( error ) { mw.log( error ); } ) ); } )(); } } ); $.when.apply( $, redirectPromise ).then( function() { $.when.apply( $, urlPromise ).then( function() { $animate.each( function() { var imgs = $( this ).data( 'imgs' ), imgSize = $( this ).data( 'img-size' ), html = '', grid2 = $( this ).closest( '.grid2' ), mod = $( this ).data( 'mod' ); if ( !imgs ) { return true; } if ( grid2.length ) { grid2 = true; imgSize = '32x32'; } else { grid2 = false; if ( imgSize ) { imgSize = imgSize.split( 'x' ); imgSize[0] = imgSize[0].replace( /[\D ]/, '' ); imgSize[1] = imgSize[1].replace( /[\D ]/, '' ); if ( imgSize[1] ) { imgSize[0] += 'x' + imgSize[1]; } imgSize = imgSize[0]; } else { imgSize = ''; } } imgs = imgs.split( ';' ); imgs.shift(); $.each( imgs, function() { if ( !this.trim() ) { if ( grid2 ) { html += '<span class="image"> </span>'; } return true; } var parts, name, link, url, num; if ( grid2 ) { if ( this.indexOf( ':' ) > -1 ) { parts = $.map( this.split( /[:,]+/ ), $.trim ); if ( parts[0].toLowerCase() === 'v' || parts[0].toLowerCase() === 'vanilla' ) { name = link = parts[1]; url = urls[mcw.i18n.gridPrefix + ' ' + parts[0] + '.png' + imgSize]; num = parts[2]; } else { name = parts[1] + ' (' + parts[0] + ')'; link = mcw.i18n.gridModsURL + '/' + parts[0] + '/' + parts[1]; url = urls[mcw.i18n.gridPrefix + ' ' + name + '.png' + imgSize]; num = parts[2]; } } else { parts = $.map( this.split( ',' ), $.trim ); if ( !mod ) { name = link = parts[0]; url = urls[mcw.i18n.gridPrefix + ' ' + parts[0] + '.png' + imgSize]; num = parts[1]; } else { name = parts[0] + ' (' + mod + ')'; link = mcw.i18n.gridModsURL + '/' + mod + '/' + parts[0]; url = urls[mcw.i18n.gridPrefix + ' ' + name + '.png' + imgSize]; num = parts[1]; } } html += '<span class="image">'; if ( name ) { if ( url ) { html += '<a title="' + link + '" href="/' + link.replace( / /g, '_' ) + '"><img width="32" height="32" src="' + url + '" alt="' + name + '"></a>'; if ( num ) { html += '<span class="number"><a title="' + link + '" href="/' + link.replace( / /g, '_' ) + '">' + num + '</a></span>'; } } else { html += '<a class="new" title="' + fileNamespace + ':' + mcw.i18n.gridPrefix + ' ' + name + '.png" href="/index.php?title=Special:Upload&wpDestFile=' + mcw.i18n.gridPrefix + '_' + name.replace( / /g, '_' ) + '.png"></a>'; } } else { html += ' '; } html += '</span>'; } else { name = this.trim(); html += '<span>'; if ( urls[name + imgSize] ) { html += '<a href="/' + fileNamespace + ':' + name.replace( / /g, '_' ) + '"><img src="' + urls[name + imgSize] + '" alt="' + name + '"></a>'; } else { html += '<a class="new" title="' + fileNamespace + ':' + name + '" href="/index.php?title=Spezial:Hochladen&wpDestFile=' + name.replace( / /g, '_' ) + '">' + fileNamespace + ':' + name + '</a>'; } html += '</span>'; } } ); $( this ).append( html ).data( 'imgs', null ); } ); } ); } ); } }; mcw.animation(); /** * Pause grid GUI templates (e.g. [[Template:Grid2/Crafting Table]]) on mouseover * * This is so people have a chance to look at each image on the cell * and click on pages they want to view. */ $( '#mw-content-text' ).on( { 'mouseenter': function() { $( this ).find( '.animated' ).removeClass( 'animated' ).addClass( 'paused' ); }, 'mouseleave': function() { $( this ).find( '.paused' ).removeClass( 'paused' ).addClass( 'animated' ); } }, '.grid2-Crafting_Table, .grid2-furnace, .grid2-Brewing_Stand' ); /** * Add fake last-child class in navboxes for IE8 */ if ( $.client.profile().name === 'msie' && $.client.profile().versionBase === '8' ) { $( '.navbox-list li:last' ).addClass( 'last-child' ); } /** * Page loader * * Allows a page to be downloaded and shown within another page. * Use with [[Template:LoadPage]] */ var $loadPage = $( '.load-page' ); if ( $loadPage.length ) { // We need the spinner to show loading is happening, but we don't want // to have a delay while the module downloads, so we'll load this now, // regardless of if something is clicked mw.loader.load( 'jquery.spinner' ); var $buttonText = $( '<span/>' ) .addClass( 'load-page-button' ) .css( { display: 'inline-block', marginLeft: '0.8em', fontWeight: 'normal' } ) .html( '[<span class="jslink">' + mcw.i18n.hideText + '</span>]' ); $loadPage.find( '.mw-headline:first' ).each( function() { var $button, firstWidth, secondWidth; // Add the button $( this ).append( $buttonText.clone() ); // Find max button size, and set its min-width to it $button = $( this ).find( '> .load-page-button' ); firstWidth = $button.width(); $button.find( '> .jslink' ).text( mcw.i18n.showText ); secondWidth = $button.width(); if ( firstWidth != secondWidth ) { if ( firstWidth < secondWidth ) { $button.css( 'min-width', secondWidth ); } else { $button.css( 'min-width', firstWidth ); } } } ); } $( '#mw-content-text' ).on( 'click', '.load-page-button > .jslink', function() { var $this = $( this ), $button = $this.parent(), $body = $this.closest( '.load-page' ), $content = $body.find( '.load-page-content' ); if ( !$body.data( 'loaded' ) ) { var oldButton = $button.html(); // Just in-case the spinner module is still not ready yet mw.loader.using( 'jquery.spinner', function() { $button.html( $.createSpinner() ); } ); new mw.Api().get( { action: 'parse', prop: 'text', title: mw.config.get( 'wgPageName' ), text: '{' + '{:' + $body.data( 'page' ) + '}}' } ).done( function( data ) { $content.html( data.parse.text['*'] ); $button.html( oldButton ).find( '> .jslink' ).text( mcw.i18n.hideText ); $body.data( 'loaded', true ); // Add Ajax compatible functions here // TODO: Use mw.hook once we get MW1.22 mcw.animation(); mcw.makeCollapsible( $content ); if ( $content.find( 'table.sortable' ).length ) { mw.loader.using( 'jquery.tablesorter', function() { $content.find( 'table.sortable' ).tablesorter(); } ); } } ).fail( function( _, error ) { $button.html( oldButton ); var errorText = ''; if ( error.textStatus ) { errorText = error.textStatus; } else if ( error.error ) { errorText = error.error.info; } mw.notify( errorText, { title: mcw.i18n.loadErrorTitle, autoHide: false } ); } ); } else if ( $this.text() === mcw.i18n.showText ) { $content.show(); $this.text( mcw.i18n.hideText ); } else { $content.hide(); $this.text( mcw.i18n.showText ); } } ); /** * Make simple search suggestions box separately styled */ mw.loader.using( 'mediawiki.searchSuggest', function() { $( '.suggestions:first' ).addClass( 'searchbar' ); } ); /** * Issue tracker loader */ /**if ( $( '#issue-list' ).length ) { var page = $( '#issue-list' ).data( 'name' ) || mw.config.get( 'wgPageName' ), amount = $( '#issue-list' ).data( 'num' ) || 20; if ( $.isArray( page ) ) { page = page.join( '" OR summary ~ "' ); } var jql = encodeURIComponent( 'project in (MC, MCPE) AND resolution = Unresolved AND ( summary ~ "' + page + '" )' ); $.ajax( 'https://mojang.atlassian.net/rest/api/latest/search?maxResults=' + amount + '&fields=summary&jql=' + jql ).done( function( search ) { if ( !search.issues.length ) { $( '#issue-list' ).text( 'No issues were found.' ); return false; } var compIssues = [], pocketIssues = []; $.each( search.issues, function() { if ( this.key.indexOf( 'MCPE' ) < 0 ) { compIssues.push( '<li>[<a href="https://mojang.atlassian.net/browse/' + this.key + '">' + this.key + '</a>] - ' + this.fields.summary + '</li>' ); } else { pocketIssues.push( '<li>[<a href="https://mojang.atlassian.net/browse/' + this.key + '">' + this.key + '</a>] - ' + this.fields.summary + '</li>' ); } } ); var html = ''; if ( compIssues.length ) { html = '<p><b>Computer:</b></p><ul>' + compIssues.join( '\n' ) + '</ul>'; } if ( pocketIssues.length ) { html += '\n<p><b>Pocket Edition:</b></p><ul>' + pocketIssues.join( '\n' ) + '</ul>'; } if ( search.total > amount ) { var extra = search.total - amount; html += '\n<p><a href="https://mojang.atlassian.net/issues/?jql=' + jql + '">View ' + extra + ' more result'; if ( extra > 1 ) { html += 's'; } html += '</a></p>'; } $( '#issue-list' ).html( html ); } ); } */ /** * Set unlicensed as the default license on file pages * * That way the file will be categorised so someone can find a license for the file */ if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Hochladen' ) { if ( $( '#wpLicense' ).val() === '' ) { $( '#wpLicense' ).val( 'mcw.i18n.defaultLicense' ); } mw.loader.using( 'mediawiki.legacy.upload', function() { var change = setInterval( function() { if ( licenseSelectorCheck ) { $( '#wpLicense' ).change(); clearInterval( change ); } }, 500 ); } ); } /** * Creates minecraft style tooltips * * Replaces normal tooltips. Supports minecraft [[formatting codes]] (except k), and a description with line breaks (/). * Use mcw.useNativeMinetip = true to use normal tooltips, with the description added */ mcw.minetip = { // Add normal minetip events, removing legacy tooltip create: function() { var tooltip; $( '#mw-content-text' ).on( { 'mouseenter.minetip': function( e ) { var $elem = $( this ), title = $elem.data( 'minetip-title' ), description = $elem.data( 'minetip-text' ); if ( title === undefined ) { // Use title attribute of the element or the first link directly under it title = $elem.attr( 'title' ) || $elem.find( '> a:first' ).attr( 'title' ); if ( title ) { // Set the retrieved title as data for future use $elem.data( 'minetip-title', title ); } else { return; } } $elem.add( '*', $elem ).filter( '[title]' ).removeAttr( 'title' ); if ( title === 0 ) { return; } var text = '<span class="title">' + title + '&f</span>'; if ( description ) { text += '\n<span class="description">' + description.replace( /\\\//g, '/' ).replace( /\//g, '<br>' ) + '&f</span>'; } if ( !$( '#minetip-tooltip' ).length ) { $( 'body' ).append( '<div id="minetip-tooltip"/>' ); } tooltip = $( '#minetip-tooltip' ); // Add classes for minecraft formatting codes while ( text.match( /&[0-9a-el-o]/ ) ) { text = text.replace( /&([0-9a-el-o])(.*?)(&f|$)/g, '<span class="format-$1">$2</span>&f' ); } // Remove reset formatting text = text.replace( /&f/g, '' ); tooltip.html( text ); // Trigger a mouse movement to position the tooltip $elem.trigger( 'mousemove', e ); }, 'mousemove.minetip': function( e, trigger ) { if ( !$( '#minetip-tooltip' ).length ) { $( this ).trigger( 'mouseenter' ); return; } // Get event data from remote trigger e = trigger || e; var top = e.clientY - 34, left = e.clientX + 14, width = tooltip.outerWidth( true ), height = tooltip.outerHeight( true ), $win = $( window ), winWidth = $win.width(), winHeight = $win.height(); // If going off the right of the screen, go to the left of the cursor if ( left + width > winWidth ) { left -= width + 36; } // If now going off to the left of the screen, resort to going below the cursor if ( left < 0 ) { left = 0; top += 82; // Go above the cursor if too low if ( top + height > winHeight ) { top -= 77 + height; } // Don't go off the top of the screen } else if ( top < 0 ) { top = 0; // Don't go off the bottom of the screen } else if ( top + height > winHeight ) { top = winHeight - height; } // Apply the positions tooltip.css( { top: top, left: left } ); }, 'mouseleave.minetip': function() { if ( !tooltip ) { return; } tooltip.remove(); } }, '.minetip, .grid2 .image' ).off( '.minetipNative' ); }, // Remove all events destroy: function() { $( '#mw-content-text' ).off( '.minetip .minetipNative' ); $( '#minetip-tooltip' ).remove(); }, // Add native browser tooltip events, removing normal minetip native: function() { $( '#mw-content-text' ).on( 'mouseenter.minetipNative', '.minetip, .grid2 .image', function() { var title = $( this ).data( 'minetip-title' ), description = $( this ).data( 'minetip-text' ), existingTitle = $( this ).attr( 'title' ) || $( this ).find( '> a:first' ).attr( 'title' ); if ( title || title === 0 || $( this ).attr( 'title' ) ) { // Remove titles within so they don't interfere $( this ).find( '[title]' ).removeAttr( 'title' ); } if ( title === 0 ) { $( this ).removeAttr( 'title' ); return; } else if ( !title && ( !existingTitle || !description ) ) { return; } else if ( !title && existingTitle ) { $( this ).data( 'minetip-title', existingTitle ); } var text = title || existingTitle; if ( description ) { text += '\n' + description; } // Remove formatting text = text.replace( /&([0-9a-fl-o])/g, '' ) .replace( /\\\//g, '/' ) .replace( /\//g, '\n' ) .replace( ///g, '/' ); $( this ).attr( 'title', text ); } ).off( '.minetip' ); } }; if ( mcw.useNativeMinetip ) { mcw.minetip.native(); } else { mcw.minetip.create(); } } ); } )(); |
Bei Fragen, fragen. --eagle3000 (D ~ B) 22:06, 1. Jan. 2014 (UTC)
- Erledigt
- Achso, und bitte die Datei Datei:Mobile-header-background.png mit der gleichnamigen Datei aus dem englischen Wiki (en:File:Mobile-header-background.png) aktualisieren. --eagle3000 (D ~ B) 15:44, 2. Jan. 2014 (UTC)
archiv 11
Bitte Archiv 11 im Header ergänzen, Oktober - Dezember 2013. --Caleb Blackhand 07:47, 2. Jan. 2014 (UTC)
- Erledigt --.zip de.MinecraftWiki-Admin Diskussion 12:03, 2. Jan. 2014 (UTC)
Unlöschbare Datei?
Irgendwas ist entweder mit der Datenbank auf Curse oder mit der eingesetzten MediaWiki-Version kaputt: In Spezial:Unbenutzte_Dateien gammelt immer noch der Verweis auf die Datei "Potion flow chart.png" rum, die inzwischen von Oliver zweimal gelöscht wurde. Hat jemand eine Idee, wie man die loswird? --Caleb Blackhand 09:33, 4. Jan. 2014 (UTC)
- Drei Admins haben es nochmal versucht. Die Datei geht aber trotzdem nicht weg. -- Oliver Scholz - Wiki Admin 13:40, 4. Jan. 2014 (UTC)
- Penetrant, die Datei. Hmpf. Auf Curse hoffen dürfte uns nicht helfen, oder? --Caleb Blackhand 13:45, 4. Jan. 2014 (UTC)
- Weiß nicht, glaube eher nicht. Problem hatte ich eben auch bei "Vorlage:Server-Software/Nein". -- Oliver Scholz - Wiki Admin 13:49, 4. Jan. 2014 (UTC)
- Ist weg. ILeon ᐸ Diskussion
Beiträge - de.Wiki Admin 14:31, 4. Jan. 2014 (UTC)- Ich frag nicht... Danke, Leon. --Caleb Blackhand 14:35, 4. Jan. 2014 (UTC)
- "lud eine neue Version von „Datei:Potion flow chart.png“ hoch" - aha! -- Oliver Scholz - Wiki Admin 15:09, 4. Jan. 2014 (UTC)
- Richtig. Ich hab eine neue Version hochgeladen, weil die Datei leer war. Beim Hochladen trat allerdings ein Internet Fehler auf. ILeon ᐸ Diskussion
Beiträge - de.Wiki Admin 16:42, 4. Jan. 2014 (UTC)
- Richtig. Ich hab eine neue Version hochgeladen, weil die Datei leer war. Beim Hochladen trat allerdings ein Internet Fehler auf. ILeon ᐸ Diskussion
- "lud eine neue Version von „Datei:Potion flow chart.png“ hoch" - aha! -- Oliver Scholz - Wiki Admin 15:09, 4. Jan. 2014 (UTC)
- Ich frag nicht... Danke, Leon. --Caleb Blackhand 14:35, 4. Jan. 2014 (UTC)
- Ist weg. ILeon ᐸ Diskussion
- Weiß nicht, glaube eher nicht. Problem hatte ich eben auch bei "Vorlage:Server-Software/Nein". -- Oliver Scholz - Wiki Admin 13:49, 4. Jan. 2014 (UTC)
- Penetrant, die Datei. Hmpf. Auf Curse hoffen dürfte uns nicht helfen, oder? --Caleb Blackhand 13:45, 4. Jan. 2014 (UTC)
Editwunsch
Bitte einmal im Redirect Vorlage:V die Kategorie:Abkürzung ergänzen. Danke. --Caleb Blackhand 17:21, 6. Jan. 2014 (UTC)
- Erledigt -- Sumpfhütte 17:30, 6. Jan. 2014 (UTC)
Werbung für Serverhoster in Minecraft-Server
In Minecraft-Server wird Werbung für bestimmte Serverhoster eingefügt, leider kann ich IP den Abschnitt nicht löschen. Meine Änderung wird vom Einsteller der Werbung reverted. 80.134.55.23 10:10, 8. Jan. 2014 (UTC)
- Ich glaube nicht, dass es gezielte Werbung war, weil nicht eine, sondern mehrere Adressen genannt wurden - übrigens genauso wie in dem Abschnitt oben drüber, der nicht bemängelt wird. Weil die Info an sich ja nicht falsch ist, habe ich den Abschnitt mal neu (und ohne Adressen) formuliert. -- Sumpfhütte 12:57, 8. Jan. 2014 (UTC)
- Wie soll hier unterschieden werden, ob das von einem Mitarbeiter von Hoster AAA (oder von Obi), der dann - damit's nicht sofort nach Eigenwerbung aussieht - noch ein paar URLS der Konkurrenz mit aufführt - oder ob das von einem "normalen User" hier reingesetzt wurde. Die Edithistory von Spezial:Beiträge/CapM0rg4n sieht eher nach der ersten Variante aus... 80.134.55.23 14:21, 8. Jan. 2014 (UTC)
- Das dies nicht so leicht ist hat Sumpfhütte ja die aktuelle Lösung gefunden. -- Oliver Scholz - Wiki Admin 14:43, 8. Jan. 2014 (UTC)
- Ich stimme inzwischen 55.23 zu, was die Ausrichting der CapM0rg4n'schen Bearbeitungen angeht.. oder? --Caleb Blackhand 18:10, 8. Jan. 2014 (UTC)
- Ich auch. Und ILeon hat den Artikel vorerst gesperrt. -- Sumpfhütte 19:08, 8. Jan. 2014 (UTC)
- Ich stimme inzwischen 55.23 zu, was die Ausrichting der CapM0rg4n'schen Bearbeitungen angeht.. oder? --Caleb Blackhand 18:10, 8. Jan. 2014 (UTC)
- Das dies nicht so leicht ist hat Sumpfhütte ja die aktuelle Lösung gefunden. -- Oliver Scholz - Wiki Admin 14:43, 8. Jan. 2014 (UTC)
- Wie soll hier unterschieden werden, ob das von einem Mitarbeiter von Hoster AAA (oder von Obi), der dann - damit's nicht sofort nach Eigenwerbung aussieht - noch ein paar URLS der Konkurrenz mit aufführt - oder ob das von einem "normalen User" hier reingesetzt wurde. Die Edithistory von Spezial:Beiträge/CapM0rg4n sieht eher nach der ersten Variante aus... 80.134.55.23 14:21, 8. Jan. 2014 (UTC)
neue Gridbild-Lizenz
Wäre es möglich, eine neue Bild-Lizenz "Vorlage:License Mojang Grid" aufzunehmen, die zwar den Textbaustein der Mojang-Lizenz einbindet, wie die "Vorlage:License Mojang", aber nicht die Kategorie "Mojang Bilder" vergibt, sondern die Kategorie "Grid Bilder"? Das würde das Hochladen neuer Mojang-Gridbilder (nicht Mod-Gridbilder) gleich der richtigen Kategorie zuordnen. Dank Bot-Einsatz haben zur Zeit alle Grid-Bilder die Kategorie "Grid Bilder", aber nur einige davon haben die Mojang-Lizenz, obwohl alle sie haben müssten. Diese stehen dann auch noch in beiden Kategorien, was die Kategorie "Mojang Bilder" ziemlich aufbläht. Die neue Lizenz-Vorlage müsste im MediaWiki-Auswahldialog beim Datei-Hochladen als weitere Auswahlmöglichkeit erscheinen. Bei der Gelegenheit könnte man auch den Text "Die Datei ist ein Screenshot direkt aus Minecraft" für die Mojang-Lizenz erweitern um "... oder von Mojang", denn Screenshots von den Mojang-Webseiten, die hier im Wiki dokumentiert sind, fallen doch auch unter die Mojang-Lizenz. -- Sumpfhütte 15:20, 10. Jan. 2014 (UTC)
- Eigentlich ist das eine gute Idee. Die Gridbilder sind aber kein Eigentum von Mojang, sondern werden von einem der englischen Wiki-Autoren erstellt. Da stellt sich mir die Frage, ob diese Lizenz dafür überhaupt verwendet werden kann/darf. --.zip de.MinecraftWiki-Admin Diskussion 16:05, 10. Jan. 2014 (UTC)
- Ich habe mal im engl. Wiki geschaut: eine zufällige Auswahl dreier Gridbilder (Stone, Dirt, Grass Block) hat immer die Mojang-Lizenz. Die engl. Gridbilder wurden im Laufe der Zeit von unterschiedlichen Autoren hochgeladen, so dass ein einzelner Autor nicht auszumachen ist. Das deutet eher auf geistiges Eigentum von Mojang an den Texturen hin. Die Screenshots laufen ja auch unter Mojang-Lizenz, unabhängig von dem abgebildeten, ggf. sehr künstlerischen Bauwerk, das ja auch kein Eigentum von Mojang ist. Ich hätte im Zweifelsfall der Textur die Priorität gegeben. Daher bezog sich meine Frage auch nur auf Mojang-Gridbilder, nicht auf Mod-Gridbilder. Was meinst du, wen könnte man da fragen? -- Sumpfhütte 16:32, 10. Jan. 2014 (UTC)
- Die Frage ist: Wo ist die Textur her, die für die Bilder genutzt wird. Wenn die Antwort dazu "Minecraft Sources" oder dergleichen lautet, dann ist meiner Meinung nach eine Mojang-Lizenz hier richtig. Selbst wenn für die Bilder 3 Texturen im richtigen Winkel aneinandergesetzt werden müssen, so ist die "Schöpfungshöhe" doch bei der Texturerstellung zu sehen, nicht bei der (ziemlich standartisierten) Gridbild-Zusammenstellung. Prinzipiell könnte ich ein 3D-Programm (wie z.B. DAZ Studio) dazu nutzen, die Texturen auf Oberflächen zu tackern und das Ergebnis zu rendern. Mein Aufwand wäre dabei vernachlässigbar. --Caleb Blackhand 16:36, 10. Jan. 2014 (UTC)
- Ok, dann spricht auch von der Seite wohl nichts gegen das Vorhaben. Nur: Brauchen wir dazu unbedingt eine neue Lizenz-Vorlage, oder kann man das auch anders lösen? (magic words oder ähnliches)--.zip de.MinecraftWiki-Admin Diskussion 16:03, 11. Jan. 2014 (UTC)
- ILeon hatte in der "Vorlage:License Mojang" etwas eingebaut mit ogg-Dateien, ich probiere das mal zu erweitern... -- Sumpfhütte 17:34, 11. Jan. 2014 (UTC)
- Erledigt. -- Sumpfhütte 18:28, 11. Jan. 2014 (UTC)
- ILeon hatte in der "Vorlage:License Mojang" etwas eingebaut mit ogg-Dateien, ich probiere das mal zu erweitern... -- Sumpfhütte 17:34, 11. Jan. 2014 (UTC)
- Ok, dann spricht auch von der Seite wohl nichts gegen das Vorhaben. Nur: Brauchen wir dazu unbedingt eine neue Lizenz-Vorlage, oder kann man das auch anders lösen? (magic words oder ähnliches)--.zip de.MinecraftWiki-Admin Diskussion 16:03, 11. Jan. 2014 (UTC)
- Die Frage ist: Wo ist die Textur her, die für die Bilder genutzt wird. Wenn die Antwort dazu "Minecraft Sources" oder dergleichen lautet, dann ist meiner Meinung nach eine Mojang-Lizenz hier richtig. Selbst wenn für die Bilder 3 Texturen im richtigen Winkel aneinandergesetzt werden müssen, so ist die "Schöpfungshöhe" doch bei der Texturerstellung zu sehen, nicht bei der (ziemlich standartisierten) Gridbild-Zusammenstellung. Prinzipiell könnte ich ein 3D-Programm (wie z.B. DAZ Studio) dazu nutzen, die Texturen auf Oberflächen zu tackern und das Ergebnis zu rendern. Mein Aufwand wäre dabei vernachlässigbar. --Caleb Blackhand 16:36, 10. Jan. 2014 (UTC)
- Ich habe mal im engl. Wiki geschaut: eine zufällige Auswahl dreier Gridbilder (Stone, Dirt, Grass Block) hat immer die Mojang-Lizenz. Die engl. Gridbilder wurden im Laufe der Zeit von unterschiedlichen Autoren hochgeladen, so dass ein einzelner Autor nicht auszumachen ist. Das deutet eher auf geistiges Eigentum von Mojang an den Texturen hin. Die Screenshots laufen ja auch unter Mojang-Lizenz, unabhängig von dem abgebildeten, ggf. sehr künstlerischen Bauwerk, das ja auch kein Eigentum von Mojang ist. Ich hätte im Zweifelsfall der Textur die Priorität gegeben. Daher bezog sich meine Frage auch nur auf Mojang-Gridbilder, nicht auf Mod-Gridbilder. Was meinst du, wen könnte man da fragen? -- Sumpfhütte 16:32, 10. Jan. 2014 (UTC)
Neuanmeldung
Wir haben ein Neuanmeldungs-Logbuch. Weiß jemand, warum da viele Benutzer nicht drin stehen, z.B. CapM0rg4n? -- Sumpfhütte 18:37, 10. Jan. 2014 (UTC)
- Gute Frage. Das Problem hat die Wikipedia aber auch, seit es dieses "Zentrale Login" (dort 'SUL' genannt) gab - da verschwanden auch mal Neuanmeldungen, wenn es in Wahrheit Benutzer aus einem anderen Wiki der Familie waren. Und da MC nur eines der Wikis in der Gamepedia-Familie ist.... --Caleb Blackhand 18:48, 10. Jan. 2014 (UTC)
- Das war sogar schon vor Gamepedia als niederländisch, englisch und deutsch zusammen auf einer Datenbank liefen. -- Oliver Scholz - Wiki Admin 20:47, 10. Jan. 2014 (UTC)
- Ich wollte es auch gar nicht auf die Migration schieben, sondern nur auf die ziemlich große Anzahl von "Heimatwikis" hinweisen, die es inzwischen gibt. --Caleb Blackhand 21:06, 10. Jan. 2014 (UTC)
- Das war sogar schon vor Gamepedia als niederländisch, englisch und deutsch zusammen auf einer Datenbank liefen. -- Oliver Scholz - Wiki Admin 20:47, 10. Jan. 2014 (UTC)
common.js
Einmal bitte diese Änderungen übernehmen und
$( '#wpLicense' ).val( 'mcw.i18n.defaultLicense' );
zu
$( '#wpLicense' ).val( mcw.i18n.defaultLicense );
ändern. Danke --eagle3000 (D ~ B) 12:15, 12. Jan. 2014 (UTC)
- Erledigt--.zip de.MinecraftWiki-Admin Diskussion 12:39, 12. Jan. 2014 (UTC)
Und weil ich dich gerne nerve noch einen letzten Wunsch:
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Hochladen' ) {
zu
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Upload' ) {
--eagle3000 (D ~ B) 13:05, 12. Jan. 2014 (UTC)
- Auch das Erledigt. Was bewirkt jetzt genau die Änderung ins Englische?--.zip de.MinecraftWiki-Admin Diskussion 13:12, 12. Jan. 2014 (UTC)
- Dass die Defaultlizenz beim Hochladen angezeigt wird. Eigentlich. Funktioniert bei mir in meiner .js aber nicht global.. --eagle3000 (D ~ B) 13:16, 12. Jan. 2014 (UTC)
- Okay.. ich dachte, dass das Wiki seit dem Upgrade nicht mehr ne Zeit braucht um das Script "anzuwenden", es scheint aber doch, dann jetzt funktioniert es. Ich hab nämlich nach geschätzen 10x überprüfen keinen Fehler gefunden. Kann also als erledigt gesehen werden. --eagle3000 (D ~ B) 13:37, 12. Jan. 2014 (UTC)
- Dass die Defaultlizenz beim Hochladen angezeigt wird. Eigentlich. Funktioniert bei mir in meiner .js aber nicht global.. --eagle3000 (D ~ B) 13:16, 12. Jan. 2014 (UTC)
Entsperrwunsch Vorlage:User WikiAdmin
Moin. Könnte die o.g. Vorlage mal auf Sperrlevel "Angemeldeter Benutzer" runtergesetzt werden? Ich möchte jetzt Userbox->Babelbox ändern, und die Vorlage im Zuge der Babel-System-Umbenennungen in Kürze auf Vorlage:Babel WikiAdmin verschieben (lassen - durch meinen Bot). --Caleb Blackhand 16:29, 13. Jan. 2014 (UTC)
- Eine Beschränkung auf angemeldete Benutzer gibt es nicht. Nur "automatisch bestätigte Nutzer", also solche, die sich mit ihrer E-Mail-Adresse angemeldet haben. Dass da Bots dazu gehören bezweifle ich. Einfacher wird es wohl sein, die eine Vorlage von Hand zu verschieben. --.zip de.MinecraftWiki-Admin Diskussion 16:48, 13. Jan. 2014 (UTC)
- Na rate mal, wie mein Bot-Account durch die Curse-Anmeldung gekommen ist? Rrrrrichtig - mit einer Email-Adresse ;)
- Anonsten könnte man die Vorlage auch ganz freigeben - was der "sysop only"-Schutz bei einer genau zweimal eingebundenen Vorlage soll, weiss ich nicht. --Caleb Blackhand 16:50, 13. Jan. 2014 (UTC)
- Ok, ich war mir nicht mehr sicher, ob dein Bot vor oder nach der Migration erstellt wurde. Davor konnten Accounts auch ohne E-Mail-Adresse erstellt werden. Vorlage wird entsperrt. --.zip de.MinecraftWiki-Admin Diskussion 16:59, 13. Jan. 2014 (UTC)
Änderungswunsch Vorlage:Version
Bitte die Aufrufe der Vorlage "version link" (ziemlich am Ende der Seite) durch vlink ersetzen. Dies dient der Vorbereitungd er Umbenennung der version link - Vorlage - wenn aber alles größere schon die Abkürzung verwendet, ist die Vorlage einfacher umzubenennen. ;) --Caleb Blackhand 09:43, 14. Jan. 2014 (UTC)
- Erledigt. -- Sumpfhütte 11:32, 14. Jan. 2014 (UTC)
- Danke, das war eine von 4 (oder so) Stellen, wo die Vorlage tatsächlich benutzt worden ist ;) Erledigt. --Caleb Blackhand 12:09, 14. Jan. 2014 (UTC)
Editwunsch Benutzer:YSelf/old
Bitte einmal die Babel-Zeile austauschen durch:
{{babel | Name | Deutschland | System/Windows | Minecrafter | Minecraftname | Beta | de | en-2 | fr-1 | Wikicode | C-Sharp | Java | HTML | CSS | C | PHP | Gronkh/nein}}
Dies dient nur der Beibehaltung der bisherigen Optik nach Umbenennung der Babelvorlagen. --Caleb Blackhand 12:39, 16. Jan. 2014 (UTC)
- Erledigt ILeon ᐸ Diskussion
Beiträge - de.Wiki Admin 13:09, 16. Jan. 2014 (UTC)
Großlöschantrag
Sodale, die Babels sind allesamt umgestellt. Nun kann/darf ein Admin alle Weiterleitungen, die der Bot erstellt hat, wieder löschen ;) Soll ich den Bot die Löschanträge auf alle Ausgangs-Seiten von Benutzer:CalebBot/Arbeitsauftrag stellen lassen, oder geht das ohne LAs? --Caleb Blackhand 20:06, 16. Jan. 2014 (UTC)
- Nein, das geht auch ohne. --.zip de.MinecraftWiki-Admin Diskussion 15:54, 17. Jan. 2014 (UTC)
- Erledigt--.zip de.MinecraftWiki-Admin Diskussion 17:27, 17. Jan. 2014 (UTC)
- Ich danke. Hier hast du Vorlage:Grid2 für deine Löschknöpfe, die glühen bestimmt grade. --Caleb Blackhand 17:29, 17. Jan. 2014 (UTC)
- Dankeschön :)- Ich habe mir vorhin die Frage gestellt, ob man das Löschen nicht irgendwie leichter machen kann. Hast du vielleicht was parat? --.zip de.MinecraftWiki-Admin Diskussion 17:33, 17. Jan. 2014 (UTC)
- In der Wikipedia gibt es eine Tool-Sammlung, mit der man eine Drop-Down-Liste mit Löschgründen hat, und bei Auswahl eines Grundes die Seite gelöscht wird. Wenn ich mal Langeweile habe, versuche ich mal, das hierher zu portieren (ausprobieren muss es dann einer von euch Admins) --Caleb Blackhand 17:39, 17. Jan. 2014 (UTC)
- Ich verklicke mich aber so oft :(. Aktuell haben wir ja auch ein Drow-Down-Menü. Der Löschknopf befindet sich direkt darunter. Die Arbeit, die du mit der Portierung hättest wäre vermutlich größer, als die Ersparnis für die Admins. --.zip de.MinecraftWiki-Admin Diskussion 17:45, 17. Jan. 2014 (UTC)
- In der Wikipedia gibt es eine Tool-Sammlung, mit der man eine Drop-Down-Liste mit Löschgründen hat, und bei Auswahl eines Grundes die Seite gelöscht wird. Wenn ich mal Langeweile habe, versuche ich mal, das hierher zu portieren (ausprobieren muss es dann einer von euch Admins) --Caleb Blackhand 17:39, 17. Jan. 2014 (UTC)
- Dankeschön :)- Ich habe mir vorhin die Frage gestellt, ob man das Löschen nicht irgendwie leichter machen kann. Hast du vielleicht was parat? --.zip de.MinecraftWiki-Admin Diskussion 17:33, 17. Jan. 2014 (UTC)
- Ich danke. Hier hast du Vorlage:Grid2 für deine Löschknöpfe, die glühen bestimmt grade. --Caleb Blackhand 17:29, 17. Jan. 2014 (UTC)
- Erledigt--.zip de.MinecraftWiki-Admin Diskussion 17:27, 17. Jan. 2014 (UTC)
Verschiebeantrag
Bitte im Zuge der Lizenzvorlagenumbesetllung die Vorlage:License Mojang auf Vorlage:Lizenz-Mojang verschieben - zunächst mit Weiterleitung, und in MediaWiki:Licenses umändern (in dem Zusammenhang dort bitte auch Vorlage:License Copyright auf Vorlage:Lizenz-Copyright ändern) --Caleb Blackhand 09:56, 17. Jan. 2014 (UTC)
- Erledigt. -- Sumpfhütte 09:53, 17. Jan. 2014 (UTC)
- Teilweise. Bitte noch die MediaWiki-Seite anpassen. --Caleb Blackhand 10:04, 17. Jan. 2014 (UTC)
- Ach ja, sorry - done :-) -- Sumpfhütte 10:32, 17. Jan. 2014 (UTC)
- Danke. Ich melde mich, wennd er Bot mit den mehr als 2500 Einbindungen durch ist *stöhn* --Caleb Blackhand 10:41, 17. Jan. 2014 (UTC)
- Schon mal als "Zwischenmeldung": Bei ein paar Dateien brauche ich Adminhilfe für die Ersetzung {{License Mojang}} nach {{Lizenz-Mojang}}, und zwar:
- Datei:Mojang AB logo.png
- Datei:Mclogo.png
- Datei:Grid Layout Braublasen.gif (Hmm, hier wird die Lizenz eine falsche Kategorie zusätzlich vergeben, fürchte ich)
- Datei:EffectsCSS.png
- Datei:Minecraft Wiki header.png
- Weitere Bilder, wenn der Bot drüber stolpert. --Caleb Blackhand 15:30, 17. Jan. 2014 (UTC)
- Erledigt--.zip de.MinecraftWiki-Admin Diskussion 16:24, 17. Jan. 2014 (UTC)
- --Caleb Blackhand 18:41, 17. Jan. 2014 (UTC)
- Erledigt--.zip de.MinecraftWiki-Admin Diskussion 18:44, 17. Jan. 2014 (UTC)
- Ach ja, sorry - done :-) -- Sumpfhütte 10:32, 17. Jan. 2014 (UTC)
- So, jetzt kann auch diese letzte Weiterleitung weg - der Bot ist durch. Es waren in der Tat 2202 edits..... hat 'ein wenig' gedauert. --Caleb Blackhand 20:54, 17. Jan. 2014 (UTC)
- Du hattest Recht mit den zwei Kategorien bei "Datei:Grid Layout Braublasen.gif". Ich habe die Lizenz-Vorlage entsprechend angepasst. Und die letzte Weiterleitung ist auch weg. -- Sumpfhütte 22:56, 17. Jan. 2014 (UTC)
- Teilweise. Bitte noch die MediaWiki-Seite anpassen. --Caleb Blackhand 10:04, 17. Jan. 2014 (UTC)
Änderungswunsch MediaWiki:Common.css
Bitte einmal im Kommentar [[Template:Sprite/Preview]] durch [[Template:Sprite/Vorschau]] ersetzen oder einfach die eckigen Klammern entfernen. Auch wenn man in CSS-Dateien nicht auf Links klicken kann - MediaWiki speichert das als existierenden Link. --Caleb Blackhand 10:08, 18. Jan. 2014 (UTC)
- Erledigt ILeon ᐸ Diskussion
Beiträge - de.Wiki Admin 10:30, 18. Jan. 2014 (UTC)
Editwunsch TNT-Golem
Bitte einmal die Vorlage:healthbar durch Vorlage:Lebensleiste ersetzen --Caleb Blackhand 09:22, 19. Jan. 2014 (UTC)
- Erledigt -- Oliver Scholz - Wiki Admin 10:16, 19. Jan. 2014 (UTC)
Editwunsch MediaWiki:Uploadtext und MediaWiki:Clearyourcache
Ich hab zu spät gesehen, dass auf diesen Seiten ja auch die Tastenvorlage im Einsatz ist. Bitte einmal {{key durch {{Taste durchtauschen. --Caleb Blackhand 14:31, 21. Jan. 2014 (UTC)
- Erledigt. -- Sumpfhütte 14:55, 21. Jan. 2014 (UTC)
common.js und common.css
Es gibt mal wieder eine neue Version der beiden Dateien. Diesmal sind es eigentlich nur Fixes bzgl. der Lua-Sachen. Bei Fragen wie immer einfach fragen.
Common.js |
---|
( function() { 'use strict'; /** * Instead of cluttering up the global scope with * variables, they should instead be set as a * property of this global variable * * E.g: Instead of * myVar = 'blah'; * use * mcw.myVar = 'blah'; */ window.mcw = {}; /* Legacy support */ mcw.baseURL = '/'; mcw.wikiURL = '/'; /* Variables for interface text used throughout the script, for ease of translating */ mcw.i18n = { // Collapsible tables and page loader hideText: 'einklappen', showText: 'ausklappen', hideArrow: '▲', showArrow: '▼', arrowClass: 'pfeil', // Grid gridPrefix: 'Grid', gridModsURL: 'Mod', // Page loader loadErrorTitle: 'An error occurred loading the content', // File upload defaultLicense: 'Lizenz-Unklar' }; /* Add extra buttons to the classic toolbar */ if ( mw.user.options.get( 'showtoolbar' ) && !mw.user.options.get( 'usebetatoolbar' ) ) { importScript( 'MediaWiki:Toolbar.js' ); } /* Wait for DOMContentLoaded */ $( function() { /** * Helper for getting the right text/symbol for a collapsible table, depending on * whether the table is collapsed or not, and whether it's meant to have text or arrows */ mcw.collapsibleButtonText = function( $table, $collapsed) { if ($collapsed) { if ( $table.hasClass( mcw.i18n.arrowClass ) ) { return mcw.i18n.showArrow; } else { return mcw.i18n.showText; } } else { if ( $table.hasClass( mcw.i18n.arrowClass ) ) { return mcw.i18n.hideArrow; } else { return mcw.i18n.hideText; } } }; /** * Collapsible tables * * Based on http://www.mediawiki.org/wiki/Manual:Collapsible_tables#Common.js_script_.28before_1.18.29 */ mcw.makeCollapsible = function( $content ) { if ( $content === undefined ) { $content = $( 'table.collapsible' ); } else { $content = $content.find( 'table.collapsible' ); } if ( !$content.length ) { return false; } var buttonText = ' <span class="collapsible-button">[<span class="jslink">' + mcw.i18n.hideText + '</span>]</span> '; $content.each( function() { var $table = $( this ), $header, $collapseButton, firstWidth, secondWidth; // This table is already collapsible if ( $table.data( 'collapsible' ) ) { return true; } // Use the collapse-button if specified otherwise the first header cell of the first row $header = $table.find( 'tr:first .collapse-button' ); if ( !$header.length ) { $header = $table.find( 'tr:first > th:first' ); } // No header or the table body is empty if ( !$header.length || !$table.find( 'tr:not(tr:first)' ).text().replace( /\n/g, '' ).length ) { return true; } // For the button to float properly, it has to be /before/ the cell text if ( $table.hasClass( 'collapse-button-none' ) ) { $header.append( buttonText ); } else { $header.prepend( buttonText ); } // Find max button size, and set its min-width to it $collapseButton = $table.find( '.collapsible-button' ); $collapseButton.find( '> .jslink' ).text(mcw.collapsibleButtonText($table,false)); firstWidth = $collapseButton.width(); $collapseButton.find( '> .jslink' ).text(mcw.collapsibleButtonText($table,true)); secondWidth = $collapseButton.width(); if ( firstWidth != secondWidth ) { if ( firstWidth < secondWidth ) { $collapseButton.css( 'min-width', secondWidth ); } else { $collapseButton.css( 'min-width', firstWidth ); } } // Set the text back to hide if it's not collapsed to begin with if ( !$table.hasClass( 'collapsed' ) ) { $collapseButton.find( '> .jslink' ).text(mcw.collapsibleButtonText($table,false)); } $table.data( 'collapsible', true ); } ); }; $( '#mw-content-text' ).on( 'click', 'table.collapsible .collapsible-button .jslink', function( e ) { var $table = $( this ).closest( 'table.collapsible' ); // Stop table sorting activating when clicking the link e.stopPropagation(); if ( $table.hasClass( 'collapsed' ) ) { $table.removeClass( 'collapsed' ).addClass( 'expanded' ); $( this ).text(mcw.collapsibleButtonText($table,false)); } else { $table.removeClass( 'expanded' ).addClass( 'collapsed' ); $( this ).text(mcw.collapsibleButtonText($table,true)); } } ); mcw.makeCollapsible(); /** * Fix edit summary prompt for undo * * Fixes the fact that the undo function combined with the "no edit summary prompter" * causes problems if leaving the edit summary unchanged. * Added by [[wikipedia:User:Deskana]], code by [[wikipedia:User:Tra]]. * See https://bugzilla.wikimedia.org/show_bug.cgi?id=8912 */ if ( document.location.search.indexOf( "undo=" ) !== -1 && document.getElementsByName( 'wpAutoSummary' )[0] ) { document.getElementsByName( 'wpAutoSummary' )[0].value='1'; } mcw.animation = function() { /** * Element animator * * Will cycle the active class on any child elements * within an element with the animated class. */ if ( mcw.animate === undefined && $( '.animated' ).length ) { mcw.animate = setInterval( function() { $( '.animated' ).each( function() { var $current = $( this ).children( '.active' ), $next = $current.nextAll( ':not(.skip):first' ); if ( !$next.length ) { $next = $( this ).children( ':not(.skip):first' ); } $current.removeClass( 'active' ); $next.addClass( 'active' ); } ); }, 2000 ); } /** * Frame loader * * Loads a semi-colon (;) separated list of images * to be animated by the element animator * * Has special support for [[Template:Grid2]] */ var $animate = $( '.animated' ), size = {}, fileNamespace = mw.config.get( 'wgFormattedNamespaces' )[6]; if ( $animate.length ) { $animate.each( function() { var imgs = $( this ).data( 'imgs' ), imgSize = $( this ).data( 'img-size' ), grid2 = $( this ).closest( '.grid2' ), mod = $( this ).data( 'mod' ); if ( !imgs ) { return true; } if ( grid2.length ) { grid2 = true; imgSize = '32x32'; } else { grid2 = false; if ( imgSize ) { imgSize = imgSize.split( 'x' ); imgSize[0] = imgSize[0].replace( /[\D ]/, '' ); imgSize[1] = imgSize[1].replace( /[\D ]/, '' ); if ( imgSize[1] ) { imgSize[0] += 'x' + imgSize[1]; } imgSize = imgSize[0]; } else { imgSize = ''; } } if ( size[imgSize] === undefined ) { size[imgSize] = []; } imgs = imgs.split( ';' ); imgs.shift(); $.each( imgs, function() { if ( !this.trim() ) { return true; } var parts, name; if ( grid2 ) { if ( this.indexOf( ':' ) > -1 ) { parts = $.map( this.split( /[:,]+/ ), $.trim ); if ( parts[0].toLowerCase() === 'v' || parts[0].toLowerCase() === 'vanilla' ) { name = fileNamespace + ':' + mcw.i18n.gridPrefix + ' ' + parts[1] + '.png'; } else { name = fileNamespace + ':' + mcw.i18n.gridPrefix + ' ' + parts[1] + ' (' + parts[0] + ').png'; } } else { parts = $.map( this.split( ',' ), $.trim ); if ( !mod ) { name = fileNamespace + ':' + mcw.i18n.gridPrefix + ' ' + parts[0] + '.png'; } else { name = fileNamespace + ':' + mcw.i18n.gridPrefix + ' ' + parts[0] + ' (' + mod + ').png'; } } if ( size[imgSize].indexOf( name ) < 0 ) { size[imgSize].push( name ); } } else if ( size[imgSize].indexOf( fileNamespace + ':' + this.trim() ) < 0 ) { size[imgSize].push( fileNamespace + ':' + this.trim() ); } } ); } ); var redirectPromise = [], urlPromise = [], redirects = {}, urls = {}; $.each( size, function( size ) { var titles = this; if ( !titles ) { return true; } // Split titles up into blocks of 50, which is the API's title limit for standard users for ( var i = 0; i < titles.length; i += 50 ) { ( function() { var section = titles.slice( i, i + 50 ).join( '|' ); redirectPromise.push( // Thanks to bug 23750 (https://bugzilla.wikimedia.org/show_bug.cgi?id=23750) // &redirects doesn't work properly with prop=imageinfo. Some of the images // will return without any imageinfo, even though they are valid. // So the redirects have to be resolved in a separate request... $.ajax( { type: 'POST', url: '/api.php?action=query&format=json&redirects', data: { titles: section }, timeout: 20000 } ).done( function( data ) { if ( data.query.redirects ) { $.each( data.query.redirects, function() { redirects[this.to] = this.from; section = section.replace( this.from, this.to ); } ); } var thumburl = '', sizes = size.split( 'x' ); if ( sizes[0] ) { thumburl = '&iiurlwidth=' + sizes[0]; if ( sizes[1] ) { thumburl += '&iiurlheight=' + sizes[1]; } } urlPromise.push( $.ajax( { type: 'POST', url: '/api.php?action=query&format=json&prop=imageinfo&iiprop=url' + thumburl, data: { titles: section }, timeout: 20000 } ).done( function( data ) { $.each( data.query.pages, function( index ) { if ( index < 0 ) { return true; } if ( !this.imageinfo ) { mw.log( 'Imageinfo is empty' ); return true; } var url = this.imageinfo[0].thumburl || this.imageinfo[0].url; if ( redirects.hasOwnProperty( this.title ) ) { urls[redirects[this.title].replace( new RegExp( fileNamespace + ':(.*)' ), '$1' ) + size] = url; } else { urls[this.title.replace( new RegExp( fileNamespace + ':(.*)' ), '$1' ) + size] = url; } } ); } ).fail( function( error ) { mw.log( error ); } ) ); } ).fail( function( error ) { mw.log( error ); } ) ); } )(); } } ); $.when.apply( $, redirectPromise ).then( function() { $.when.apply( $, urlPromise ).then( function() { $animate.each( function() { var imgs = $( this ).data( 'imgs' ), imgSize = $( this ).data( 'img-size' ), html = '', grid2 = $( this ).closest( '.grid2' ), mod = $( this ).data( 'mod' ); if ( !imgs ) { return true; } if ( grid2.length ) { grid2 = true; imgSize = '32x32'; } else { grid2 = false; if ( imgSize ) { imgSize = imgSize.split( 'x' ); imgSize[0] = imgSize[0].replace( /[\D ]/, '' ); imgSize[1] = imgSize[1].replace( /[\D ]/, '' ); if ( imgSize[1] ) { imgSize[0] += 'x' + imgSize[1]; } imgSize = imgSize[0]; } else { imgSize = ''; } } imgs = imgs.split( ';' ); imgs.shift(); $.each( imgs, function() { if ( !this.trim() ) { if ( grid2 ) { html += '<span class="image"> </span>'; } return true; } var parts, name, link, url, num; if ( grid2 ) { if ( this.indexOf( ':' ) > -1 ) { parts = $.map( this.split( /[:,]+/ ), $.trim ); if ( parts[0].toLowerCase() === 'v' || parts[0].toLowerCase() === 'vanilla' ) { name = link = parts[1]; url = urls[mcw.i18n.gridPrefix + ' ' + parts[0] + '.png' + imgSize]; num = parts[2]; } else { name = parts[1] + ' (' + parts[0] + ')'; link = mcw.i18n.gridModsURL + '/' + parts[0] + '/' + parts[1]; url = urls[mcw.i18n.gridPrefix + ' ' + name + '.png' + imgSize]; num = parts[2]; } } else { parts = $.map( this.split( ',' ), $.trim ); if ( !mod ) { name = link = parts[0]; url = urls[mcw.i18n.gridPrefix + ' ' + parts[0] + '.png' + imgSize]; num = parts[1]; } else { name = parts[0] + ' (' + mod + ')'; link = mcw.i18n.gridModsURL + '/' + mod + '/' + parts[0]; url = urls[mcw.i18n.gridPrefix + ' ' + name + '.png' + imgSize]; num = parts[1]; } } html += '<span class="image">'; if ( name ) { if ( url ) { html += '<a title="' + link + '" href="/' + link.replace( / /g, '_' ) + '"><img width="32" height="32" src="' + url + '" alt="' + name + '"></a>'; if ( num ) { html += '<span class="number"><a title="' + link + '" href="/' + link.replace( / /g, '_' ) + '">' + num + '</a></span>'; } } else { html += '<a class="new" title="' + fileNamespace + ':' + mcw.i18n.gridPrefix + ' ' + name + '.png" href="/index.php?title=Special:Upload&wpDestFile=' + mcw.i18n.gridPrefix + '_' + name.replace( / /g, '_' ) + '.png"></a>'; } } else { html += ' '; } html += '</span>'; } else { name = this.trim(); html += '<span>'; if ( urls[name + imgSize] ) { html += '<a href="/' + fileNamespace + ':' + name.replace( / /g, '_' ) + '"><img src="' + urls[name + imgSize] + '" alt="' + name + '"></a>'; } else { html += '<a class="new" title="' + fileNamespace + ':' + name + '" href="/index.php?title=Spezial:Hochladen&wpDestFile=' + name.replace( / /g, '_' ) + '">' + fileNamespace + ':' + name + '</a>'; } html += '</span>'; } } ); $( this ).append( html ).data( 'imgs', null ); } ); } ); } ); } }; mcw.animation(); /** * Pause grid GUI templates (e.g. [[Template:Grid2/Werkbank]]) on mouseover * * This is so people have a chance to look at each image on the cell * and click on pages they want to view. */ $( '#mw-content-text' ).on( { 'mouseenter': function() { $( this ).find( '.animated' ).removeClass( 'animated' ).addClass( 'paused' ); }, 'mouseleave': function() { $( this ).find( '.paused' ).removeClass( 'paused' ).addClass( 'animated' ); } }, '.grid2-Crafting_Table, .grid2-furnace, .grid2-Brewing_Stand' ); /** * Add fake last-child class in navboxes for IE8 */ if ( $.client.profile().name === 'msie' && $.client.profile().versionBase === '8' ) { $( '.navbox-list li:last' ).addClass( 'last-child' ); } /** * Page loader * * Allows a page to be downloaded and shown within another page. * Use with [[Template:LoadPage]] */ var $loadPage = $( '.load-page' ); if ( $loadPage.length ) { // We need the spinner to show loading is happening, but we don't want // to have a delay while the module downloads, so we'll load this now, // regardless of if something is clicked mw.loader.load( 'jquery.spinner' ); var $buttonText = $( '<span/>' ) .addClass( 'load-page-button' ) .css( { display: 'inline-block', marginLeft: '0.8em', fontWeight: 'normal' } ) .html( '[<span class="jslink">' + mcw.i18n.hideText + '</span>]' ); $loadPage.find( '.mw-headline:first' ).each( function() { var $button, firstWidth, secondWidth; // Add the button $( this ).append( $buttonText.clone() ); // Find max button size, and set its min-width to it $button = $( this ).find( '> .load-page-button' ); firstWidth = $button.width(); $button.find( '> .jslink' ).text( mcw.i18n.showText ); secondWidth = $button.width(); if ( firstWidth != secondWidth ) { if ( firstWidth < secondWidth ) { $button.css( 'min-width', secondWidth ); } else { $button.css( 'min-width', firstWidth ); } } } ); } $( '#mw-content-text' ).on( 'click', '.load-page-button > .jslink', function() { var $this = $( this ), $button = $this.parent(), $body = $this.closest( '.load-page' ), $content = $body.find( '.load-page-content' ); if ( !$body.data( 'loaded' ) ) { var oldButton = $button.html(); // Just in-case the spinner module is still not ready yet mw.loader.using( 'jquery.spinner', function() { $button.html( $.createSpinner() ); } ); new mw.Api().get( { action: 'parse', prop: 'text', title: mw.config.get( 'wgPageName' ), text: '{' + '{:' + $body.data( 'page' ) + '}}' } ).done( function( data ) { $content.html( data.parse.text['*'] ).show(); $button.html( oldButton ).find( '> .jslink' ).text( mcw.i18n.hideText ); $body.data( 'loaded', true ); // Add Ajax compatible functions here // TODO: Use mw.hook once we get MW1.22 mcw.animation(); mcw.makeCollapsible( $content ); if ( $content.find( 'table.sortable' ).length ) { mw.loader.using( 'jquery.tablesorter', function() { $content.find( 'table.sortable' ).tablesorter(); } ); } } ).fail( function( _, error ) { $button.html( oldButton ); var errorText = ''; if ( error.textStatus ) { errorText = error.textStatus; } else if ( error.error ) { errorText = error.error.info; } mw.notify( errorText, { title: mcw.i18n.loadErrorTitle, autoHide: false } ); } ); } else if ( $this.text() === mcw.i18n.showText ) { $content.show(); $this.text( mcw.i18n.hideText ); } else { $content.hide(); $this.text( mcw.i18n.showText ); } } ); /** * Make simple search suggestions box separately styled */ mw.loader.using( 'mediawiki.searchSuggest', function() { $( '.suggestions:first' ).addClass( 'searchbar' ); } ); /** * Issue tracker loader */ /**if ( $( '#issue-list' ).length ) { var page = $( '#issue-list' ).data( 'name' ) || mw.config.get( 'wgPageName' ), amount = $( '#issue-list' ).data( 'num' ) || 20; if ( $.isArray( page ) ) { page = page.join( '" OR summary ~ "' ); } var jql = encodeURIComponent( 'project in (MC, MCPE) AND resolution = Unresolved AND ( summary ~ "' + page + '" )' ); $.ajax( 'https://mojang.atlassian.net/rest/api/latest/search?maxResults=' + amount + '&fields=summary&jql=' + jql ).done( function( search ) { if ( !search.issues.length ) { $( '#issue-list' ).text( 'No issues were found.' ); return false; } var compIssues = [], pocketIssues = []; $.each( search.issues, function() { if ( this.key.indexOf( 'MCPE' ) < 0 ) { compIssues.push( '<li>[<a href="https://mojang.atlassian.net/browse/' + this.key + '">' + this.key + '</a>] - ' + this.fields.summary + '</li>' ); } else { pocketIssues.push( '<li>[<a href="https://mojang.atlassian.net/browse/' + this.key + '">' + this.key + '</a>] - ' + this.fields.summary + '</li>' ); } } ); var html = ''; if ( compIssues.length ) { html = '<p><b>Computer:</b></p><ul>' + compIssues.join( '\n' ) + '</ul>'; } if ( pocketIssues.length ) { html += '\n<p><b>Pocket Edition:</b></p><ul>' + pocketIssues.join( '\n' ) + '</ul>'; } if ( search.total > amount ) { var extra = search.total - amount; html += '\n<p><a href="https://mojang.atlassian.net/issues/?jql=' + jql + '">View ' + extra + ' more result'; if ( extra > 1 ) { html += 's'; } html += '</a></p>'; } $( '#issue-list' ).html( html ); } ); } */ /** * Set unlicensed as the default license on file pages * * That way the file will be categorised so someone can find a license for the file */ if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Upload' ) { if ( $( '#wpLicense' ).val() === '' ) { $( '#wpLicense' ).val( mcw.i18n.defaultLicense ); } mw.loader.using( 'mediawiki.legacy.upload', function() { var change = setInterval( function() { if ( licenseSelectorCheck ) { $( '#wpLicense' ).change(); clearInterval( change ); } }, 500 ); } ); } /** * Creates minecraft style tooltips * * Replaces normal tooltips. Supports minecraft [[formatting codes]] (except k), and a description with line breaks (/). * Use mcw.useNativeMinetip = true to use normal tooltips, with the description added */ mcw.minetip = { // Add normal minetip events, removing legacy tooltip create: function() { var tooltip; $( '#mw-content-text' ).on( { 'mouseenter.minetip': function( e ) { var $elem = $( this ), title = $elem.data( 'minetip-title' ), description = $elem.data( 'minetip-text' ); if ( title === undefined ) { // Use title attribute of the element or the first link directly under it title = $elem.attr( 'title' ) || $elem.find( '> a:first' ).attr( 'title' ); if ( title ) { // Set the retrieved title as data for future use $elem.data( 'minetip-title', title ); } else { return; } } $elem.add( '*', $elem ).filter( '[title]' ).removeAttr( 'title' ); if ( title === 0 ) { return; } var text = '<span class="title">' + title + '&f</span>'; if ( description ) { text += '\n<span class="description">' + description.replace( /\\\//g, '/' ).replace( /\//g, '<br>' ) + '&f</span>'; } if ( !$( '#minetip-tooltip' ).length ) { $( 'body' ).append( '<div id="minetip-tooltip"/>' ); } tooltip = $( '#minetip-tooltip' ); // Add classes for minecraft formatting codes while ( text.match( /&[0-9a-el-o]/ ) ) { text = text.replace( /&([0-9a-el-o])(.*?)(&f|$)/g, '<span class="format-$1">$2</span>&f' ); } // Remove reset formatting text = text.replace( /&f/g, '' ); tooltip.html( text ); // Trigger a mouse movement to position the tooltip $elem.trigger( 'mousemove', e ); }, 'mousemove.minetip': function( e, trigger ) { if ( !$( '#minetip-tooltip' ).length ) { $( this ).trigger( 'mouseenter' ); return; } // Get event data from remote trigger e = trigger || e; var top = e.clientY - 34, left = e.clientX + 14, width = tooltip.outerWidth( true ), height = tooltip.outerHeight( true ), $win = $( window ), winWidth = $win.width(), winHeight = $win.height(); // If going off the right of the screen, go to the left of the cursor if ( left + width > winWidth ) { left -= width + 36; } // If now going off to the left of the screen, resort to going below the cursor if ( left < 0 ) { left = 0; top += 82; // Go above the cursor if too low if ( top + height > winHeight ) { top -= 77 + height; } // Don't go off the top of the screen } else if ( top < 0 ) { top = 0; // Don't go off the bottom of the screen } else if ( top + height > winHeight ) { top = winHeight - height; } // Apply the positions tooltip.css( { top: top, left: left } ); }, 'mouseleave.minetip': function() { if ( !tooltip ) { return; } tooltip.remove(); } }, '.minetip, .grid2 .image, .gri2 .item, .grid3 .item' ).off( '.minetipNative' ); }, // Remove all events destroy: function() { $( '#mw-content-text' ).off( '.minetip .minetipNative' ); $( '#minetip-tooltip' ).remove(); }, // Add native browser tooltip events, removing normal minetip native: function() { $( '#mw-content-text' ).on( 'mouseenter.minetipNative', '.minetip, .grid2 .image, .grid2 .item, .grid3 .item', function() { var title = $( this ).data( 'minetip-title' ), description = $( this ).data( 'minetip-text' ), existingTitle = $( this ).attr( 'title' ) || $( this ).find( '> a:first' ).attr( 'title' ); if ( title || title === 0 || $( this ).attr( 'title' ) ) { // Remove titles within so they don't interfere $( this ).find( '[title]' ).removeAttr( 'title' ); } if ( title === 0 ) { $( this ).removeAttr( 'title' ); return; } else if ( !title && ( !existingTitle || !description ) ) { return; } else if ( !title && existingTitle ) { $( this ).data( 'minetip-title', existingTitle ); } var text = title || existingTitle; if ( description ) { text += '\n' + description; } // Remove formatting text = text.replace( /&([0-9a-fl-o])/g, '' ) .replace( /\\\//g, '/' ) .replace( /\//g, '\n' ) .replace( ///g, '/' ); $( this ).attr( 'title', text ); } ).off( '.minetip' ); } }; if ( mcw.useNativeMinetip ) { mcw.minetip.native(); } else { mcw.minetip.create(); } } ); } )(); |
Common.css |
---|
/* Try to keep font style and width consistent across platforms */ body { font-family: "Liberation Sans", Arial, Helvetica, FreeSans, sans-serif; } /** Template stylings **/ /* [[Template:Grid2]]: [[File:Grid Layout Unbekannt.png]] */ .grid2 { display: inline-block; position: relative; text-align: left !important; background-color: #8B8B8B; height: 32px; width: 32px; padding: 2px; vertical-align: bottom; } .grid2.output { height: 48px; width: 48px; } .grid2 img, .pixel-image img { image-rendering: -moz-crisp-edges; image-rendering: -o-crisp-edges; image-rendering: -webkit-optimize-contrast; -ms-interpolation-mode: nearest-neighbor; } .grid2 .border { display: block; margin: -2px 0 0 -2px; border-style: solid none none solid; border-width: 2px; border-color: #373737; height: 100%; } .grid2 .border > span { display: block; margin-right: -2px; border-style: none solid solid none; border-width: 2px; border-color: #FFFFFF; height: 100%; } .grid2 .image, .grid2 .default-image { position: absolute; line-height: 16px; top: 2px; width: 32px; height: 32px; } .grid2.output .image { top: 10px; left: 10px; } .grid2 .image > a.new { background-image: url("http://hydra-media.cursecdn.com/minecraft-de.gamepedia.com/4/4e/Grid_Layout_Unbekannt.png"); display: block; width: 32px; height: 32px; outline: none; text-indent: -99999px; } .grid2 .number { position: absolute; right: -2px; bottom: -2px; text-align: right; font-family: Minecraft; font-size: 16px; color: #FFF; pointer-events: none; z-index: 6; text-shadow: 2px 2px 0px #3F3F3F; filter: dropshadow(color=#3F3F3F, offx=2, offy=2); } .grid2 .number a { color: #FFF; text-decoration: none; } .grid2 .number .selflink { font-weight: normal; } .grid2 .image a.new + .number { display: none; } .grid2 .animated .image, .grid2 .paused .image { display: none; } .grid2 .animated .image.active, .grid2 .paused .image.active { display: block; } /* Grid3 */ .grid3 { position: relative; display: inline-block; font-size: 16px; text-align: center !important; background-color: #8B8B8B; border: 2px solid #373737; border-right-color: #FFF; border-bottom-color: #FFF; width: 2em; height: 2em; vertical-align: bottom; } .grid3.output { font-size: 24px; } .grid3:before, .grid3:after { content: ""; position: absolute; background-color: #8B8B8B; height: 2px; width: 2px; } .grid3:before { bottom: -2px; left: -2px; } .grid3:after { top: -2px; right: -2px; } .grid3 img { padding: 2px; } .grid3 > .item, .grid3 > .default-item { position: absolute; margin: -18px 0 0 -18px; top: 1em; } .grid3 > .item > a.new { background: url(http://hydra-media.cursecdn.com/minecraft-de.gamepedia.com/4/4e/Grid_Layout_Unbekannt.png) no-repeat 2px; display: block; width: 32px; height: 32px; padding: 2px; text-indent: -9999px; overflow: hidden; } .grid3 > .item > .number { position: absolute; right: 0; bottom: 0; font-family: Minecraft; font-size: 16px; font-weight: normal; line-height: 16px; color: #FFF; pointer-events: none; text-shadow: 2px 2px 0 #3F3F3F; filter: dropshadow(color=#3F3F3F, offx=2, offy=2); z-index: 6; } .grid3 > .item > .number > a { color: #FFF; text-decoration: none; } .grid3 > .item > .number > .selflink { font-weight: normal; } .grid3 > .item > a.new + .number { display: none; } .grid3 { padding: 0; } /* Generic grid layout styling */ .grid2-Crafting_Table, .grid2-Furnace, .grid2-Brewing_Stand table, .grid2-generic { background: #C6C6C6; border: outset 2px #999; padding: 6px; text-align: left !important; } .grid2-Crafting_Table td, .grid2-Furnace td, .grid2-Brewing_Stand td, .grid2-generic td { border: none; padding: 0; } /* [[Template:Grid2/Werkbank]] */ .grid2-Crafting_Table .arrow, .grid2-Crafting_Table .shapeless { text-align: center; vertical-align: bottom; } .grid2-Crafting_Table .arrow { width: 40px; padding-bottom: 5px; } .grid2-Crafting_Table .shapeless span { cursor: help; } /* [[Template:Grid2/Ofen]] */ .grid2-Furnace { padding-left: 24px; padding-right: 24px; } .grid2-Furnace .arrow, .grid2-Furnace .output { text-align: center; vertical-align: middle; } .grid2-Furnace .arrow { padding-right: 18px !important; padding-left: 14px !important; } /* [[Template:Grid2/Braustand]] */ .grid2-Brewing_Stand { position: relative; width: 144px; } .grid2-Brewing_Stand .bubbles { text-align: right; } .grid2-Brewing_Stand .input { padding: 3px 0 !important; vertical-align: top; } .grid2-Brewing_Stand .output1 { padding: 4px 10px 14px 0 !important; } .grid2-Brewing_Stand .output2 { padding-top: 18px !important; } .grid2-Brewing_Stand .output3 { padding: 4px 0 14px 10px !important; } .grid2-Brewing_Stand .paths { position: absolute; bottom: 42px; left: 42px; z-index: 5; } /* [[Template:Infobox]] */ .notaninfobox { clear: right; margin: 3px 0px 3px 3px; width: 300px; font-size: 90%; background: #FFF; float: right; border: 1px solid #CCC; padding: 2px; } .infobox-title { font-weight: bold; text-align: center; font-size: 120%; } .infobox-imagearea { text-align: center; padding: 4px; } .infobox-imagearea > div:not(:first-child) { padding-top: 1em; } .notaninfobox table { width: 100%; } .notaninfobox p { margin: 0; } .notaninfobox audio { width: 184px; } .notaninfobox dl:last-child { margin-bottom: 0.2em; } .infobox-footer { text-align: center; } /* Merge adjacent dls in the infobox (since they're usually supposed to be one, but the wiki screws up sometimes) */ .notaninfobox dl + dl { margin-top: -0.4em; } /* [[Template:InfoboxZeile]] */ .infobox-row, .infobox-label { white-space: nowrap; font-weight: bold; } /* [[Template:Navbox]] */ .navbox { background: #FFF; border: 1px solid #CCC; margin: 1em auto 0; clear: both; width: 100%; } .navbox table { background: #FFF; margin-left: -4px; margin-right: -2px; } .navbox table:first-child { margin-top: -2px; } .navbox table:last-child { margin-bottom: -2px; } .navbox-top { white-space: nowrap; background-color: #CCC; padding: 0 3px; } .navbox-navbar, .navbox-navbar-mini { float: left; font-size: 80%; } .navbox-title { padding: 0 10px; font-size: 110%; } .navbox-group { background-color: #EEE; padding: 0 10px; white-space: nowrap; text-align: right; } .navbox-list { width: 100%; padding: 0 0 0 2px; } /* [[Template:Sprite]] */ .sprite { display: inline-block; position: relative; overflow: hidden; vertical-align: middle; height: 16px; width: 16px; } .sprite > span { position: absolute; height: 256px; width: 256px; } /* [[Template:Sprite/Vorschau]] */ .sprite-preview:hover div { opacity: 0.7 !important; } /** Misc stuff **/ /* Prevent page jump from the toolbar loading, doesn't affect people with the toolbar disabled */ #toolbar { height: 22px; } /* Remove the header from the main page */ body.page-Minecraft_Wiki.action-view h1.firstHeading, body.page-Minecraft_Wiki.action-view #contentSub { display: none; } /* Fix floating bodyContent getting caught on something, and displaying too low */ #bodyWrapper { display: inline-block; width: 100%; } /* Remove sidead from main page editcopy since it breaks the page and isn't on the real main page */ body.page-Minecraft_Wiki_editcopy .atfmrec { display: none; } /* Collapsible Tables ([[MediaWiki:Common.js]]) */ table.collapsed tr.collapsible { display: none; } .collapsible-button { float: right; font-weight: normal; margin-left: 0.8em; } .collapsible.collapse-button-left > tr > th .collapsible-button, .collapsible.collapse-button-left > * > tr > th .collapsible-button { float: left; margin-right: 0.8em; margin-left: 0; } .collapsible.collapse-button-none > tr > th .collapsible-button, .collapsible.collapse-button-none > * > tr > th .collapsible-button { float: none; } /* Alternating cell background */ .alternatecells:nth-child(odd) { background-color: #F9F9F9; } /* Alternating table rows, primarily used with [[Template:InfoboxZeile]] */ .alternaterows tr:nth-child(even), .infobox-rows tr:nth-child(even) { background-color: #F9F9F9; } /* The blue header used throughout the wiki */ .mcwiki-header { background: #729FCF; border: 1px solid #CCC; border-bottom: 4px groove #999; border-right: 4px groove #999; padding: 5px; } /* Scale file page image to the width of the page */ #file img { max-width: 100%; height: auto; } /* Remove margin from file page table */ #mw-imagepage-section-filehistory .filehistory { margin-right: 0; } /* Highlight clicked reference in blue to help navigation */ ol.references li:target, sup.reference:target, span.citation:target { background-color: #C1DAF2; } /* Style the sitenotice */ #siteNotice #localNotice, .page-MediaWiki_Sitenotice .mw-content-ltr > div { background-color: #FFF; border: 1px solid #D3D3D3; margin-bottom: 12px; text-align: center; } /* Minecraft font */ @font-face { font-family: Minecraft; src: url("http://hydra-media.cursecdn.com/hydra/fonts/minecraft.eot?#iefix"), url("http://hydra-media.cursecdn.com/hydra/fonts/minecraft.woff") format('woff'), url("http://hydra-media.cursecdn.com/hydra/fonts/minecraft.ttf") format('truetype'); } /* Pre-style sidebar portlets before JS loads, so sidebar is less jumpy (reset in [[MediaWiki:Noscript.css]] when JS is off) [[File:Panel-divider.png]] */ div#mw-panel div.portal { margin: -11px 9px 10px 11px; padding: 0.25em 0; background-image: url(http://hydra-media.cursecdn.com/minecraft-de.gamepedia.com/b/bf/Panel-divider.png); background-position: left top; background-repeat: no-repeat; } div#mw-panel div.portal div.body { background-image: none; padding: 0; margin: 0 0 0 1.25em; } div#mw-panel div.portal h5 { padding: 4px 0 3px 1.5em; margin-bottom: 0; } div#mw-panel div.portal div.body ul li { padding: 0.25em 0; } #mw-panel #p-Minecraft_Wiki { background-image: none; margin-top: 0; } #p-Minecraft_Wiki h5 { display: none; } #mw-panel #p-Minecraft_Wiki div.body { margin-left: 0.5em; } #p-Useful_pages div.body, #p-tb div.body { display: none; } /* Allow parts of toc to be hidden */ /* Section levels */ .toc-hidelevel2 .toclevel-1 ul, .toc-hidelevel3 .toclevel-2 ul, .toc-hidelevel4 .toclevel-2 ul, /* Numbers */ .toc-nonumbers .tocnumber { display: none; } /* Pre-collapse collapsed tables, so there is no page jump when JS kicks in */ .collapsible.collapsed > tr, .collapsible.collapsed > tbody > tr { display: none; } .collapsible.collapsed > tr:first-child, .collapsible.collapsed > tbody > tr:first-child { display: table-row; } .collapsible.collapsed > thead + tbody > tr:first-child { display: none; } /* Improve ASIRRA styling */ #asirra_InstructionsTextId { display: none; } #AsirraDiv { margin-bottom: 10px; } /* Turn a list into a tree view style (See [[.minecraft]]) */ .treeview { margin-top: 0.3em; } .treeview ul, .treeview li { margin: 0; padding: 0; list-style-type: none; list-style-image: none; } .treeview li { display: table; } .treeview li li { position: relative; padding-left: 13px; margin-left: 7px; border-left: 1px solid #636363; } .treeview li li:before { content: ""; position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-bottom: 1px solid #636363; } .treeview li li.first:before { border-color: #636363; border-style: solid; border-width: 1px 0 0 1px; height: 100%; margin-top: 11px; width: 10px; } .treeview li li.first, .treeview li li:last-child { border: 0; padding-left: 14px; } .treeview li li:last-child:before { border-left: 1px solid #636363; width: 10px; } /* Simulate link styling for JS only links */ .jslink { color: #0645AD; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; } .jslink:hover { text-decoration: underline; cursor: pointer; } .jslink:active { color: #FAA700; } /* Improve styling of sub-categories */ #mw-subcategories ul { list-style-type: none; margin-left: 10px; } /* Use vector style arrows for enhanced rc instead of those ones from like 2003 */ .mw-enhancedchanges-arrow.mw-collapsible-toggle-expanded { background-image: url(/extensions/Vector/modules/images/open.svg); } .mw-enhancedchanges-arrow.mw-collapsible-toggle-collapsed { background-image: url(/extensions/Vector/modules/images/closed-ltr.svg); } /* Horizontal list */ .hlist ul { display: inline; margin: 0; } .hlist li { display: inline-block; margin: 0; white-space: nowrap; } .hlist li:not(:last-child) { padding-right: 0.313em; } .hlist li:not(:last-child):after { content: ""; display: inline-block; position: relative; left: 0.313em; bottom: 0.234em; background-color: #000; height: 3px; width: 3px; } .hlist li > ul li:first-child:before { content: "("; } .hlist li > ul li:last-child:after { content: ")"; margin-right: -0.313em; } .hlist li li li { font-size: x-small; } /* Generic styling for animation class */ .animated > *:not(.active):not(.skip), .paused > *:not(.active):not(.skip) { display: none; } /* Generic nowrap class */ .nowrap { white-space: nowrap; } /* Hide noscript only elements */ .noscript { display: none; } /* Cite text needs to be a block element, but should display inline */ .references > li { white-space: nowrap; } div.cite-reference-text { display: inline; vertical-align: top; white-space: normal; } /* Add [[File:Mojang logo.svg]] to known MC dev userlinks: [[File:Mojang logo.svg]] */ .mw-userlink[title="User:Jeb"], .mw-userlink[title="User:Dinnerbone"], .mw-userlink[title="User:EvilSeph"], .mw-userlink[title="User:MarcWatson"], .mw-userlink[title="User:Tahg"] { padding-left: 17px; background: url("http://hydra-media.cursecdn.com/minecraft-de.gamepedia.com/thumb/a/ad/Mojang_logo.svg/14px-Mojang_logo.svg.png") no-repeat left center; } /* Mark internal links as plain */ #content a.external[href^="http://minecraft.gamepedia.com"], #content a.external[href^="http://minecraft-de.gamepedia.com"] { background: none; padding-right: 0; } /* Make tabs the correct size */ * { -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; } /* Remove bullets/numbers from a list */ .list-style-none ul, .list-style-none ol { list-style: none; margin-left: 0; } /* Classes corresponding to Minecraft formatting codes */ .format-0 { color: #000; text-shadow: 0.125em 0.125em 0 #000; } .format-1 { color: #00A; text-shadow: 0.125em 0.125em 0 #00002A; } .format-2 { color: #0A0; text-shadow: 0.125em 0.125em 0 #002A00; } .format-3 { color: #0AA; text-shadow: 0.125em 0.125em 0 #002A2A; } .format-4 { color: #A00; text-shadow: 0.125em 0.125em 0 #2A0000; } .format-5 { color: #A0A; text-shadow: 0.125em 0.125em 0 #A200A2; } .format-6 { color: #FA0; text-shadow: 0.125em 0.125em 0 #2A2A00; } .format-7 { color: #AAA; text-shadow: 0.125em 0.125em 0 #2A2A2A; } .format-8 { color: #555; text-shadow: 0.125em 0.125em 0 #151515; } .format-9 { color: #55F; text-shadow: 0.125em 0.125em 0 #15153F; } .format-a { color: #5F5; text-shadow: 0.125em 0.125em 0 #153F15; } .format-b { color: #5FF; text-shadow: 0.125em 0.125em 0 #153F3F; } .format-c { color: #F55; text-shadow: 0.125em 0.125em 0 #3F1515; } .format-d { color: #F5F; text-shadow: 0.125em 0.125em 0 #3F153F; } .format-e { color: #FF5; text-shadow: 0.125em 0.125em 0 #3F3F15; } .format-l { font-weight: bold; letter-spacing: 0.125em; } .format-m { text-decoration: line-through; } .format-n { text-decoration: underline; } .format-o { font-style: italic; } /* Styling for minecraft style tooltip */ #minetip-tooltip { position: fixed; background-color: rgba(16, 0, 16, 0.94); border-top: 0.125em solid rgba(80, 0, 255, 0.31); border-bottom: 0.125em solid rgba(40, 0, 127, 0.31); color: #FFF; padding: 0.125em 0.25em; font-family: Minecraft; font-size: 16px; white-space: nowrap; pointer-events: none; line-height: 1.25em; text-shadow: 0.125em 0.125em 0 #3F3F3F; margin: 0.25em 0.375em; z-index: 100; } #minetip-tooltip:before { content: ""; position: absolute; top: -0.25em; right: -0.125em; bottom: -0.25em; left: -0.125em; border: 0.125em solid rgba(16, 0, 16, 0.94); } #minetip-tooltip:after { content: ""; position: absolute; top: -0.125em; right: -0.25em; bottom: -0.125em; left: -0.25em; background-image: -webkit-linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)), -webkit-linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)); background-image: linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)), linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)); background-size: 0.125em 100%; background-repeat: no-repeat; background-position: left, right; border: solid rgba(16, 0, 16, 0.94); border-width: 0 0.125em; } #minetip-tooltip > .description { display: block; margin-top: 0.25em; } /* Hide step-by-step publishing as it's broken */ .wikiEditor-ui-buttons { display: none !important; } /* Fix wikiEditor spacing */ #upload_container { margin-top: -1px; } #upload_div { margin: 0; width: auto; border-width: 1px 0; box-shadow: none; } .wikiEditor-ui-top { border: 0 !important; } .wikiEditor-ui-toolbar { border-bottom: 1px solid silver; } /* Fix social icons and promos in portlets */ #mw-panel #p-sitePromos, #mw-panel #p-socialProfiles { margin: -11px 9px 10px 11px !important; } #mw-panel #p-sitePromos .body, #mw-panel #p-socialProfiles .body { margin-left: 0 !important; padding: 4px 0; } #mw-panel .socialSidebar { text-align: left; } #mw-panel .socialLink { margin: 0 4px 0 0; } /* Move the portlets up */ #p-logo { margin-bottom: 0; } /* Fix enhanced RC spacing */ .mw-enhancedchanges-arrow-space { vertical-align: top; } /* Remove on MW1.22: Make notifications fixed, so they're always visible */ #mw-notification-area { position: fixed; top: 2.5em; } /* Only show content on mobile version */ .mobileonly { display: none; } |
--eagle3000 (D ~ B) 17:51, 21. Jan. 2014 (UTC)
- Deine Common.js-Übernahme war fehlerhaft. --eagle3000 (D ~ B) 18:36, 21. Jan. 2014 (UTC)
- Ja, irgendwie sind alle Bildwechselelemente (wie z.B. Crafttingfelder) eingefroren. –- Oliver Scholz - Wiki Admin 18:38, 21. Jan. 2014 (UTC)
- Ahja, dann mach mal bitte die Änderungen in common.js wieder rückgängig. --eagle3000 (D ~ B) 18:40, 21. Jan. 2014 (UTC)
- Klappt alles, hatte zu viel/wenig kopiert. -- Oliver Scholz - Wiki Admin 18:42, 21. Jan. 2014 (UTC)
- Ahja, dann mach mal bitte die Änderungen in common.js wieder rückgängig. --eagle3000 (D ~ B) 18:40, 21. Jan. 2014 (UTC)
- Ja, irgendwie sind alle Bildwechselelemente (wie z.B. Crafttingfelder) eingefroren. –- Oliver Scholz - Wiki Admin 18:38, 21. Jan. 2014 (UTC)
Löschantrag Datei:Grid Layout Ofenfortschritt (aktiv).png
Duplikat von Datei:Grid Layout Ofenfortschritt.png, seit der Umstellung auf das LUA-Grid-Modul nicht mehr im Einsatz --Caleb Blackhand 19:54, 21. Jan. 2014 (UTC)
- Erledigt -- Oliver Scholz - Wiki Admin 19:57, 21. Jan. 2014 (UTC)