From a94dd618cc4f6c4897f499a6d19ed293859ef557 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 12 Sep 2014 19:23:36 +0100 Subject: Don't URL-encode links to Debian wiki pages --- doc/bugs/debwiki_shortcut_creates_buggy_URLs_to_subpages.mdwn | 2 ++ doc/shortcuts.mdwn | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/bugs/debwiki_shortcut_creates_buggy_URLs_to_subpages.mdwn b/doc/bugs/debwiki_shortcut_creates_buggy_URLs_to_subpages.mdwn index c068c4aa1..f83f960ce 100644 --- a/doc/bugs/debwiki_shortcut_creates_buggy_URLs_to_subpages.mdwn +++ b/doc/bugs/debwiki_shortcut_creates_buggy_URLs_to_subpages.mdwn @@ -1,3 +1,5 @@ E.g. [[!debwiki Derivatives/Guidelines]]. Maybe we should use `%S` instead of `%s` in the shortcut definition? + +> seems reasonable, [[done]] --[[smcv]] diff --git a/doc/shortcuts.mdwn b/doc/shortcuts.mdwn index 753bdb98f..ca529c296 100644 --- a/doc/shortcuts.mdwn +++ b/doc/shortcuts.mdwn @@ -27,7 +27,7 @@ This page controls what shortcut links the wiki supports. * [[!shortcut name=debrt url="https://rt.debian.org/Ticket/Display.html?id=%s"]] * [[!shortcut name=debss url="http://snapshot.debian.org/package/%s/"]] * Usage: `\[[!debss package]]` or `\[[!debss package/version]]`. See for details. -* [[!shortcut name=debwiki url="https://wiki.debian.org/%s"]] +* [[!shortcut name=debwiki url="https://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=gnomebug url="https://bugzilla.gnome.org/show_bug.cgi?id=%s" desc="GNOME bug #%s"]] -- cgit v1.2.3