Die Seite für Alsterweiler von Matthias C.S. Dreyer u.a.
MediaWiki:Common.js: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K Die Seite wurde geleert. |
KKeine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/** | |||
* WikiMiniAtlas is a popup click and drag world map. | |||
* See [[meta:WikiMiniAtlas]] for more information. | |||
* Maintainers: [[w:User:Dschwen]] | |||
*/ | |||
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=MediaWiki:Wikiminiatlas.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400' ); | |||
/* | |||
* EditMap wird benötigt um die ImageKarten bearbeiten zu können. | |||
* siehe dazu: https://meta.wikimedia.org/wiki/User:Dapete/ImageMapEdit#English | |||
*/ | |||
if (wgNamespaceNumber==6 && wgAction=='view') { | |||
mw.loader.load('//tools.wmflabs.org/imagemapedit/ime.js'); | |||
}; | |||
/** | |||
* Icons on the top right of the article. | |||
* See also CSS | |||
* | |||
* @source https://www.mediawiki.org/wiki/Snippets/Top_icons | |||
* @version 5 | |||
*/ | |||
$( function ( $ ) { | |||
$( '.Top_icon_raw' ) | |||
.removeClass( 'Top_icon_raw' ) | |||
.addClass( 'Top_icon_dynamic' ) | |||
.prependTo( '#firstHeading' ); | |||
} ); | |||
Version vom 16. November 2015, 15:02 Uhr
/**
* WikiMiniAtlas is a popup click and drag world map.
* See [[meta:WikiMiniAtlas]] for more information.
* Maintainers: [[w:User:Dschwen]]
*/
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=MediaWiki:Wikiminiatlas.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400' );
/*
* EditMap wird benötigt um die ImageKarten bearbeiten zu können.
* siehe dazu: https://meta.wikimedia.org/wiki/User:Dapete/ImageMapEdit#English
*/
if (wgNamespaceNumber==6 && wgAction=='view') {
mw.loader.load('//tools.wmflabs.org/imagemapedit/ime.js');
};
/**
* Icons on the top right of the article.
* See also CSS
*
* @source https://www.mediawiki.org/wiki/Snippets/Top_icons
* @version 5
*/
$( function ( $ ) {
$( '.Top_icon_raw' )
.removeClass( 'Top_icon_raw' )
.addClass( 'Top_icon_dynamic' )
.prependTo( '#firstHeading' );
} );