GeoHazardWatch

Page Actions


InterWikiLinks

InterWiki links let you link to a page on another site using a short prefix instead of a full URL.

Syntax

[Prefix:PageName]
[Display Text|Prefix:PageName]

Examples:

  • [Wikipedia:Wiki] links to the Wikipedia article on "Wiki"
  • [Einstein|Wikipedia:Albert_Einstein] links with custom display text

Configured InterWiki Sites

The following sites are configured in ngdpbase.interwiki.sites:

PrefixDestinationURL template
WikipediaEnglish Wikipediahttps://en.wikipedia.org/wiki/%s
JSPWikiApache JSPWiki documentationhttps://jspwiki-wiki.apache.org/Wiki.jsp?page=%s
GVPGlobal Volcanism Program — volcano by numberhttps://volcano.si.edu/volcano.cfm?vn=%s
GVP-COUNTRYGlobal Volcanism Program — volcanoes by countryhttps://volcano.si.edu/volcanolist_countries.cfm?country=%s
geoGeoHazardWatchhttps://geohazardwatch.com/view/%s
grokGrokipediahttps://grokipedia.com/page/%s

Prefixes are matched case-insensitively, so geo:, Geo: and GEO: all resolve.

Additional sites may be configured in data/config/app-custom-config.json under ngdpbase.interwiki.sites.

Adding a New InterWiki Site

Add an entry to ngdpbase.interwiki.sites in data/config/app-custom-config.json:

"ngdpbase.interwiki.sites": {
  "MySite": {
    "url": "https://example.com/view/%s",
    "description": "My external site",
    "enabled": true,
    "openInNewWindow": true
  }
}

The %s placeholder is replaced with the page name from the link.

See also Configuration Properties Reference and Server Management.