|
|
Line 54: |
Line 54: |
| } | | } |
| } | | } |
|
| |
| /**
| |
| * WikiMiniAtlas
| |
| *
| |
| * Description: WikiMiniAtlas is a popup click and drag world map.
| |
| * This script causes all of our coordinate links to display the WikiMiniAtlas popup button.
| |
| * The script itself is located on the Meta-Wiki because it is used by many projects.
| |
| * See [[Meta:WikiMiniAtlas]] for more information.
| |
| * Note - use of this service is recommended to be replaced with mw:Help:Extension:Kartographer
| |
| */
| |
| $( function () {
| |
| var requireWikiminiatlas = $( 'a.external.text[href*="geohack"]' ).length || $( 'div.kmldata' ).length;
| |
| if ( requireWikiminiatlas ) {
| |
| mw.loader.load( '//meta.wikimedia.org/w/index.php?title=MediaWiki:Wikiminiatlas.js&action=raw&ctype=text/javascript' );
| |
| }
| |
| } );
| |
|
| |
|
| /** | | /** |