summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-04-14 16:53:18 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-04-14 16:53:18 +0200
commit80ef688498003eb65c0739d66ac03dfe01ebb319 (patch)
tree2e600016e8bbaa3be0a07b9451e283760e856c88
parent03e45da6f96fd9aa411e015554f559b3ee9a61da (diff)
Add interwiki links to international wikis
See http://bugs.archlinux.org/task/17580
-rw-r--r--extensions/ArchInterWiki.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/extensions/ArchInterWiki.sql b/extensions/ArchInterWiki.sql
new file mode 100644
index 00000000..28b492bc
--- /dev/null
+++ b/extensions/ArchInterWiki.sql
@@ -0,0 +1,12 @@
+REPLACE INTO
+ interwiki (iw_prefix, iw_url, iw_local, iw_trans)
+VALUES
+ ('de', 'https://wiki.archlinux.de/title/$1', 1, 0),
+ ('en', 'http://wiki.archlinux.org/index.php/$1', 1, 0),
+ ('es', 'http://www.archlinux-es.org/wiki/index.php?title=$1', 1, 0),
+ ('fr', 'http://wiki.archlinux.fr/$1', 1, 0),
+ ('pl', 'http://wiki.arch-linux.pl/wiki/$1', 1, 0),
+ ('pt-br', 'http://wiki.archlinux-br.org/$1', 1, 0),
+ ('ro', 'http://wiki.archlinux.ro/index.php/$1', 1, 0),
+ ('sv', 'http://wiki.archlinux.se/index.php?title=$1', 1, 0),
+ ('uk', 'http://wiki.archlinux.org.ua/$1', 1, 0);