From 2b2ff53c2fe11e4f7d327dd5fa07db081f09bbc4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 9 Jan 2008 06:03:39 -0500 Subject: web commit by http://madduck.myopenid.com/ --- doc/bugs/debbug_shortcut_should_expand_differently.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/bugs/debbug_shortcut_should_expand_differently.mdwn (limited to 'doc') diff --git a/doc/bugs/debbug_shortcut_should_expand_differently.mdwn b/doc/bugs/debbug_shortcut_should_expand_differently.mdwn new file mode 100644 index 000000000..22a1c149c --- /dev/null +++ b/doc/bugs/debbug_shortcut_should_expand_differently.mdwn @@ -0,0 +1,11 @@ +`\[[debbug 123456]]` expands to "bug #123456", which is hyperlinked. Could you please drop the leading "bug", for two reasons? + +First, #123456 is not a bug, it's a bug report. And second, #123456 suffices, doesn't it? By hardcoding the "bug" in there, you make it impossible to start a sentence with a bug number, e.g.: + + There are problems with code. #123456 is a good example of... + +instead of + + There are problems with code. bug #123456 is a good example of... + +Thanks, --[[madduck]] -- cgit v1.2.3 From 65909e354372e174cf3a1af0c934182f64fc7778 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 9 Jan 2008 08:53:06 -0500 Subject: web commit by AlexandreDupas: possible answer --- .../discussion.mdwn | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/bugs/debbug_shortcut_should_expand_differently/discussion.mdwn (limited to 'doc') diff --git a/doc/bugs/debbug_shortcut_should_expand_differently/discussion.mdwn b/doc/bugs/debbug_shortcut_should_expand_differently/discussion.mdwn new file mode 100644 index 000000000..e2922906c --- /dev/null +++ b/doc/bugs/debbug_shortcut_should_expand_differently/discussion.mdwn @@ -0,0 +1,14 @@ +You could change this on your wiki by modifying the shortcut definition : + +Currently this is: + + + [shortcut name=debbug url="http://bugs.debian.org/%s" desc="bug #%s"] + + +You just have to use: + + + [shortcut name=debbug url="http://bugs.debian.org/%s" desc="#%s"] + +(do use double bracket here, I do not understand why the shortcuts [[ikiwiki/PreprocessorDirective]] are parsed inside the code block). -- cgit v1.2.3 From 9f34404bb38b69ea7e438581d0c3348e0d99b5fc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 9 Jan 2008 08:56:06 -0500 Subject: web commit by AlexandreDupas --- doc/bugs/debbug_shortcut_should_expand_differently/discussion.mdwn | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/bugs/debbug_shortcut_should_expand_differently/discussion.mdwn b/doc/bugs/debbug_shortcut_should_expand_differently/discussion.mdwn index e2922906c..8234f806e 100644 --- a/doc/bugs/debbug_shortcut_should_expand_differently/discussion.mdwn +++ b/doc/bugs/debbug_shortcut_should_expand_differently/discussion.mdwn @@ -2,13 +2,10 @@ You could change this on your wiki by modifying the shortcut definition : Currently this is: - [shortcut name=debbug url="http://bugs.debian.org/%s" desc="bug #%s"] - You just have to use: - [shortcut name=debbug url="http://bugs.debian.org/%s" desc="#%s"] - -(do use double bracket here, I do not understand why the shortcuts [[ikiwiki/PreprocessorDirective]] are parsed inside the code block). + +(I use single bracket here beacause of [[bugs/wiki_links_still_processed_inside_code_blocks]]) -- cgit v1.2.3