Extension:DataMaps
Appearance
Release status: beta |
|
|---|---|
| Implementation | ContentHandler, Parser function |
| Author(s) | alex4401 (Alex44019talk) |
| Latest version | 0.12.0 |
| MediaWiki | 1.37 |
| PHP | >= 8.1 |
| Database changes | No |
|
|
| Licence | GNU General Public License 2.0 or later |
| Download | GitHub:
Note: |
| Example | ARK: Survival Evolved Wiki Temtem Wiki |
The DataMaps extension lets you display interactive maps without additional services.
Installation
- Download and place the file(s) in a directory called
DataMapsin yourextensions/folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'DataMaps' );
- Optionally, if you do not want to use the built-in namespace create one and set
$wgDataMapsNamespaceIdto its ID.
Done – Navigate to Special:Versionon your wiki to verify that the extension is successfully installed.
Wikis on wiki.gg can request this extension to be enabled via the platform's representatives.
Configuration parameters
- $wgDataMapsNamespaceId
- Identifier of the namespace that all maps will live in.
- Default:
managed(uses built-in namespace) - $wgDataMapsDefaultFeatures
- Associative array which controls whether features are enabled by default on maps.
ShowCoordinates(default:true): self-explanatory.ShowLegendAlwaysAbove(default:false): displays the legend above the map (mobile style) on all screens.RequireCustomMarkerIDs(default:false): requires every marker to have a unique identifier specified (for permanent links or collectible identification).Search(default:false): enables marker search in top-left corner of the map.SortChecklistsByAmount(default:true): sorts collectible marker groups by number of markers associated.
Categories:
- Beta status extensions
- ContentHandler extensions
- Parser function extensions
- ParserFirstCallInit extensions
- ContentHandlerDefaultModelFor extensions
- CodeEditorGetPageLanguage extensions
- CanonicalNamespaces extensions
- GPL licensed extensions
- Extensions in GitHub version control
- All extensions
- Map extensions
- Leaflet extensions
- Mapping
