shortcuts: Suggestions for multi-language links

master
PaulePanter 2010-09-02 14:26:49 +00:00 committed by Joey Hess
parent 704038db29
commit e3238ee21c
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
# Suggestions for multi-language links
Sites like Wikipedia have different URLs for each language. The shortcut for Wikipedia `!wikipedia` points to `https://secure.wikimedia.org/wikipedia/en/wiki/%s` which is the English version.
Do you have a suggestion on how to make that shortcut also be used to point to a different language.
1. The option to just adapt the shortcut (`s/en/de/`) is quite cumbersome for non English speakers and also has the disadvantage of always updating the shortcut links manually after each modification in the upstream ikiwiki shortcut list to stay in sync.
1. Adding an extra shortcut for every language, e. g. `!wikipediade`, with for example the country TLD in it is an option but would make the shortcut list quite big.
1. Adding a `lang` parameter comes also to my mind, but I do not know how feasible that is.
Thanks. --[[PaulePanter]]