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 |
K |
||
| Zeile 36: | Zeile 36: | ||
.prependTo( '#firstHeading' ); | .prependTo( '#firstHeading' ); | ||
} ); | } ); | ||
| + | |||
| + | /** ICONS oberhalb des Textes | ||
| + | *für jeden Icon ein separates Skript wie folgt | ||
| + | var button = { | ||
| + | "imageFile": "images/f/f9/Pin_1.png", | ||
| + | "speedTip": "big text", | ||
| + | "tagOpen": "<big>", | ||
| + | "tagClose": "</big>", | ||
| + | "sampleText": "big text" | ||
| + | }; | ||
| + | mwCustomEditButtons.push(button); | ||
| + | |||
/**LINK FÜR ASK_ABFRAGEN ZU | /**LINK FÜR ASK_ABFRAGEN ZU | ||
Version vom 6. März 2017, 11:03 Uhr
/**'''AUF KEINEN FALL LÖSCHEN'''
* WikiMiniAtlas is a popup click and drag world map.
* See [[meta:WikiMiniAtlas]] for more information.
* Maintainers: [[w:User:Dschwen]] Früher stand unten statt MediaWiki:OSM - MediaWiki:Wikiminiatlas - geändert am 23.11.29015
*/
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=MediaWiki:WikiMiniatlas.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400' );
var wma_settings =
{
height : 400,
width : 700
}
/*'''AUF KEINEN FALL LÖSCHEN'''
* 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' );
} );
/** ICONS oberhalb des Textes
*für jeden Icon ein separates Skript wie folgt
var button = {
"imageFile": "images/f/f9/Pin_1.png",
"speedTip": "big text",
"tagOpen": "<big>",
"tagClose": "</big>",
"sampleText": "big text"
};
mwCustomEditButtons.push(button);
/**LINK FÜR ASK_ABFRAGEN ZU
* Additional linked icon for the searchlabel of result format "feed"
*
* @since 1.9.0
*
* @rev 1
* @author mwjames
*/
$( '.smw-feed-furtherresults > a' ).addClass( 'feedlink' );