summaryrefslogtreecommitdiff
path: root/platform/www/conf/interwiki.conf
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2022-03-08 13:08:34 +0000
committerYaco <franco@reevo.org>2022-03-08 13:08:34 +0000
commitc985c40d3f3fc6a2be3be3186df3bf2f32189475 (patch)
treecee11f5e5a7e351ee0fec36d58d72cbee4f7e49b /platform/www/conf/interwiki.conf
first commit after acervus codebase
Diffstat (limited to 'platform/www/conf/interwiki.conf')
-rw-r--r--platform/www/conf/interwiki.conf42
1 files changed, 42 insertions, 0 deletions
diff --git a/platform/www/conf/interwiki.conf b/platform/www/conf/interwiki.conf
new file mode 100644
index 0000000..58bc517
--- /dev/null
+++ b/platform/www/conf/interwiki.conf
@@ -0,0 +1,42 @@
+# Each URL may contain one of these placeholders
+# {URL} is replaced by the URL encoded representation of the wikiname
+# this is the right thing to do in most cases
+# {NAME} this is replaced by the wikiname as given in the document
+# only mandatory encoded is done, urlencoding if the link
+# is an external URL, or encoding as a wikiname if it is an
+# internal link (begins with a colon)
+# {SCHEME}
+# {HOST}
+# {PORT}
+# {PATH}
+# {QUERY} these placeholders will be replaced with the appropriate part
+# of the link when parsed as a URL
+# If no placeholder is defined the urlencoded name is appended to the URL
+
+# To prevent losing your added InterWiki shortcuts after an upgrade,
+# you should add new ones to interwiki.local.conf
+
+wp https://en.wikipedia.org/wiki/{NAME}
+wpfr https://fr.wikipedia.org/wiki/{NAME}
+wpde https://de.wikipedia.org/wiki/{NAME}
+wpes https://es.wikipedia.org/wiki/{NAME}
+wppl https://pl.wikipedia.org/wiki/{NAME}
+wpjp https://ja.wikipedia.org/wiki/{NAME}
+wpru https://ru.wikipedia.org/wiki/{NAME}
+wpmeta https://meta.wikipedia.org/wiki/{NAME}
+doku https://www.dokuwiki.org/
+rfc https://tools.ietf.org/html/rfc
+man http://man.cx/
+amazon https://www.amazon.com/dp/{URL}?tag=splitbrain-20
+amazon.de https://www.amazon.de/dp/{URL}?tag=splitbrain-21
+amazon.uk https://www.amazon.co.uk/dp/{URL}
+paypal https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=
+phpfn https://secure.php.net/{NAME}
+skype skype:{NAME}
+google.de https://www.google.de/search?q=
+go https://www.google.com/search?q={URL}&amp;btnI=lucky
+user :user:{NAME}
+
+# To support VoIP/SIP/TEL links
+callto callto://{NAME}
+tel tel:{NAME}