Wikivoyage:Marker Package

The Marker Package provides Lua modules and JavaScript scripts for the support of map markers.

The Marker Package consists of

JavaScript scripts implementation

[Quelltext bearbeiten]

Gadget-InitListingTools.js calls both the Gadget-ListingEditor and the Gadget-ListingInfo. Please add the JavaScript scripts to the pages MediaWiki:Common.js and MediaWiki:Mobile.js, respectively.

// Initialization of listing editor and listing info mw.loader.load( "//de.wikivoyage.org/w/index.php?title=MediaWiki:Gadget-ListingEditor.js&action=raw&ctype=text/javascript" ); 

Please note the slight difference between MediaWiki:Common.js and MediaWiki:Mobile.js.

Style sheets

[Quelltext bearbeiten]