Die Seite für Alsterweiler von Matthias C.S. Dreyer u.a.

MediaWiki:Common.js: Unterschied zwischen den Versionen

Aus Alsterweiler
Zur Navigation springen Zur Suche springen
K
K
Zeile 1: Zeile 1:
/**
+
/**'''AUF KEINEN FALL LÖSCHEN'''
 
  * WikiMiniAtlas is a popup click and drag world map.
 
  * WikiMiniAtlas is a popup click and drag world map.
 
  * See [[meta:WikiMiniAtlas]] for more information.  
 
  * See [[meta:WikiMiniAtlas]] for more information.  
Zeile 13: Zeile 13:
 
}
 
}
  
/*
+
/*'''AUF KEINEN FALL LÖSCHEN'''
 
  * EditMap wird benötigt um die ImageKarten bearbeiten zu können.
 
  * EditMap wird benötigt um die ImageKarten bearbeiten zu können.
 
  * siehe dazu: https://meta.wikimedia.org/wiki/User:Dapete/ImageMapEdit#English
 
  * siehe dazu: https://meta.wikimedia.org/wiki/User:Dapete/ImageMapEdit#English
Zeile 36: Zeile 36:
 
.prependTo( '#firstHeading' );
 
.prependTo( '#firstHeading' );
 
} );
 
} );
 +
 +
/**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' );

Version vom 25. November 2015, 14:30 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' );
} );

/**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' );