GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - miraheze/DataMaps

BranchesTags
Open more actions menu

Latest commit

 

History

1,834 Commits
1,834 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
i18n
i18n
 
 
includes
includes
 
 
maintenance
maintenance
 
 
modules
modules
 
 
schemas
schemas
 
 
.eslintignore
.eslintignore
 
 
.eslintrc.json
.eslintrc.json
 
 
.gitignore
.gitignore
 
 
.phpcs.xml
.phpcs.xml
 
 
.stylelintignore
.stylelintignore
 
 
.stylelintrc.json
.stylelintrc.json
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
composer.json
composer.json
 
 
constants.php
constants.php
 
 
extension.json
extension.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

DataMaps extension

This is free software licensed under the GNU General Public License. Please see http://www.gnu.org/copyleft/gpl.html for further details, including the full text and terms of the license.

This repo is a fork

This repository is forked from wiki.gg's version due to its incompatibility with MediaWiki 1.45.

Overview

An extension for displaying interactive maps in articles with no external services. All data is kept and served from the wiki and maintained by editors. Initially made as a replacement for ARK: Survival Evolved Wiki's interactive maps on DOM nodes.

Repository | Issue tracker

Installation

If your wiki is hosted on wiki.gg, simply request the extension via their representatives.

If your wiki is hosted on Miraheze, simply enable it through ManageWiki.

Check the MediaWiki.org page otherwise.

MediaWiki support schedule

This extension's development tracks Miraheze's platform - currently MediaWiki 1.45.

Documentation

  • Creating a map (planned)
  • Data format
  • JavaScript API for gadgets (planned)

Configuration

Check the MediaWiki.org page.

Gadgets

External scripts can hook into Data Maps to provide additional functionality without modifying core code.

  • All Leaflet APIs are public and left exposed under the ext.datamaps.leaflet module.
    • Custom Leaflet layers are exposed under ext.datamaps.leaflet.Ark.
    • Lazy-loaded. Depend (via mw.loader.using) on ext.datamaps.leaflet.
    • DataMap objects provide waitForLeaflet( function callback, [object? context] ).
  • All public APIs of this extension are exposed under window.mw.dataMaps. Check resources/core/index.js for all exposed classes.
  • mw.dataMaps.registerMapAddedHandler( function callback, [object? context] ) may be used to have a function called on every map initialised on current page. The callback receives one parameter, a DataMap instance.
    • Depend (via mw.loader.using) on ext.datamaps.bootstrap to use this.
  • Refer to the source code for information about the classes.

Leaflet

This repository only includes a static build of modified Leaflet. Source code including the modifications is found under this link.

Gadget implications

Certain Leaflet features may not be available when using DataMaps, check the forked repository for more details.

About

No description, website, or topics provided.

Resources

Readme
License

Security policy

Security policy
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

3 forks
Report repository

Releases

Sponsor this project

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.