InterWikiLinks
InterWiki links let you link to pages on other wikis using a short prefix instead of a full URL.
Syntax
[SiteName:PageName]
[SiteName:PageName|Display Text]
Examples:
[Wikipedia:Wiki]→ links to the Wikipedia article on "Wiki"[Wikipedia:Albert_Einstein|Einstein]→ links with custom display text
Configured InterWiki Sites
The following sites are configured in ngdpbase.interwiki.sites:
| Prefix | Destination | Notes |
|---|---|---|
Wikipedia | English Wikipedia | https://en.wikipedia.org/wiki/%s |
JSPWiki | Apache JSPWiki docs | https://jspwiki-wiki.apache.org/Wiki.jsp?page=%s |
MeatBall | MeatBall Wiki | http://www.usemod.com/cgi-bin/mb.pl?%s |
GVP | Global Volcanism Program — volcano by number | https://volcano.si.edu/volcano.cfm?vn=%s |
GVP-COUNTRY | Global Volcanism Program — volcanoes by country | https://volcano.si.edu/volcanolist_countries.cfm?country=%s |
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/wiki/%s",
"description": "My external wiki",
"enabled": true,
"openInNewWindow": true
}
}
The %s placeholder is replaced with the page name from the link.
See also Configuration Properties Reference and Server Management.
No comments yet.