summaryrefslogtreecommitdiff
path: root/shortcuts.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'shortcuts.mdwn')
-rw-r--r--shortcuts.mdwn41
1 files changed, 20 insertions, 21 deletions
diff --git a/shortcuts.mdwn b/shortcuts.mdwn
index 037c31e..c102041 100644
--- a/shortcuts.mdwn
+++ b/shortcuts.mdwn
@@ -1,15 +1,14 @@
[[!if test="enabled(shortcut)"
- then="This wiki has shortcuts **enabled**."
- else="This wiki has shortcuts **disabled**."]]
+ then="Denne wiki har forkortelser **aktiveret**."
+ else="Denne wiki har forkortelser **deaktiveret**."]]
-Some examples of using shortcuts include:
+Nogle eksempler på brug af forkortelser:
\[[!google foo]]
\[[!wikipedia War_of_1812]]
\[[!debbug 12345]]
- Check the \[[!cia ikiwiki desc="CIA page for %s"]].
-This page controls what shortcut links the wiki supports.
+Denne side styrer hvilke forkortelser wikien understøtter.
* [[!shortcut name=google url="http://www.google.com/search?q=%s"]]
* [[!shortcut name=archive url="http://web.archive.org/*/%S"]]
@@ -26,10 +25,10 @@ This page controls what shortcut links the wiki supports.
* [[!shortcut name=debmsg url="http://lists.debian.org/msgid-search/%s"]]
* [[!shortcut name=debrt url="https://rt.debian.org/Ticket/Display.html?id=%s"]]
* [[!shortcut name=debss url="http://snapshot.debian.net/package/%s"]]
- * Usage: `\[[!debss package]]`, `\[[!debss package#version]]`, or `\[[!debss package/version]]`. See http://snapshot.debian.net for details.
+ * Brug: `\[[!debss package]]`, `\[[!debss package#version]]`, eller `\[[!debss package/version]]`. Se http://snapshot.debian.net for detailjer.
[[!shortcut name=debwiki url="http://wiki.debian.org/%s"]]
-* [[!shortcut name=fdobug url="https://bugs.freedesktop.org/show_bug.cgi?id=%s" desc="freedesktop.org bug #%s"]]
-* [[!shortcut name=fdolist url="http://lists.freedesktop.org/mailman/listinfo/%s" desc="%s@lists.freedesktop.org"]]
+* [[!shortcut name=fdobug url="https://bugs.freedesktop.org/show_bug.cgi?id=%s" desc="freedesktop.org bug
+* [[!shortcut name=fdolist url="http://lists.freedesktop.org/mailman/listinfo/%s" desc="%s@lists.freedesk
* [[!shortcut name=gnomebug url="http://bugzilla.gnome.org/show_bug.cgi?id=%s" desc="GNOME bug #%s"]]
* [[!shortcut name=linuxbug url="http://bugzilla.kernel.org/show_bug.cgi?id=%s" desc="Linux bug #%s"]]
* [[!shortcut name=mozbug url="https://bugzilla.mozilla.org/show_bug.cgi?id=%s" desc="Mozilla bug #%s"]]
@@ -60,18 +59,18 @@ This page controls what shortcut links the wiki supports.
* [[!shortcut name=man url="http://linux.die.net/man/%s"]]
* [[!shortcut name=ohloh url="http://www.ohloh.net/projects/%s"]]
-To add a new shortcut, use the `shortcut`
-[[ikiwiki/PreprocessorDirective]]. In the url, "%s" is replaced with the
-text passed to the named shortcut, after url-encoding it, and '%S' is
-replaced with the raw, non-encoded text. The optional `desc` parameter
-controls the description of the link.
+Tilføj en ny forkortelse med `shortcut`
+[[PreprocessorDirektivet|ikiwiki/PreprocessorDirective]]. I URLen erstattes "%s"
+med teksten overdraget til den navngivne forkortelse, efter URL-omkodning, og
+'%S' erstattes med den rå ukodede tekst. Den valgfri `desc`-parameter styrer
+beskrivelsen af henvisningen.
-Remember that the `name` you give the shortcut will become a new
-[[ikiwiki/PreprocessorDirective]]. Avoid using a `name` that conflicts
-with an existing directive. These directives also accept a `desc`
-parameter that will override the one provided at definition time.
+Husk at navnet (parameteren `name`) du giver forkortelsen bliver et nyt
+[[ProcessorDirektiv|ikiwiki/PreprocessorDirective]]. Undgå et navn som er i
+strid med et eksisterende direktiv. Disse direktiver accepterer også en `desc`
+parameter som vil overskygge hvad der blev angivet ved definitionen.
-If you come up with a shortcut that you think others might find useful,
-consider contributing it to the [shortcuts page on the ikiwiki
-ikiwiki](http://ikiwiki.info/shortcuts/), so that future versions of
-ikiwiki will include your shortcut in the standard underlay.
+Hvis du finder på en forkortelse som du mener andre kunne få glæde af også, kan
+du overveje at bidrage med den til [shortcuts-siden på ikiwiki
+ikiwikien](http://ikiwiki.info/shortcuts/), så fremtidige versioner af ikiwiki
+inkluderer din forkortelse i standardunderlaget.