From 404f54ac60eac6c7ab93cc47a466d7e0fae35821 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 21 Jul 2008 12:46:47 +0100 Subject: [PATCH] Migrate escaped directives (\[[) in doc/bugs to have \[[! prefix --- doc/bugs/Map_sorts_subtags_under_a_different_tag.mdwn | 2 +- ...oc_map_and_template_plugins_do_not_play_well_together.mdwn | 2 +- doc/bugs/debbug_shortcut_should_expand_differently.mdwn | 2 +- doc/bugs/img_plugin_causes_taint_failure.mdwn | 2 +- doc/bugs/iniline_breaks_toc_plugin.mdwn | 2 +- ..._t_calculate___34__common__95__prefix__34___correctly.mdwn | 2 +- .../special_characters_in_tag_names_need_manual_escaping.mdwn | 2 +- ...ki_formatting_does_not_work_between_toc_and_an_inline.mdwn | 2 +- doc/bugs/wikilink_in_table.mdwn | 4 ++-- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/bugs/Map_sorts_subtags_under_a_different_tag.mdwn b/doc/bugs/Map_sorts_subtags_under_a_different_tag.mdwn index 444de431b..fe634e9c1 100644 --- a/doc/bugs/Map_sorts_subtags_under_a_different_tag.mdwn +++ b/doc/bugs/Map_sorts_subtags_under_a_different_tag.mdwn @@ -16,7 +16,7 @@ I have a few tags starting with `a` (abridged list): In `wiki-wc/factors/tag.mdwn`, I have a map for these tags: - \[[map pages="factors/tag/*"]] + \[[!map pages="factors/tag/*"]] and this works, except that for *whatever* reason, it actually sorts the three `affects/*` tags under `active`: diff --git a/doc/bugs/Toc_map_and_template_plugins_do_not_play_well_together.mdwn b/doc/bugs/Toc_map_and_template_plugins_do_not_play_well_together.mdwn index 8c64dfa04..4849edd63 100644 --- a/doc/bugs/Toc_map_and_template_plugins_do_not_play_well_together.mdwn +++ b/doc/bugs/Toc_map_and_template_plugins_do_not_play_well_together.mdwn @@ -8,7 +8,7 @@ The following renders incorrectly: # header2 - \[[map pages="sandbox"]] + \[[!map pages="sandbox"]] Removing the `\[[!toc]]` directive or moving it at the end of the page diff --git a/doc/bugs/debbug_shortcut_should_expand_differently.mdwn b/doc/bugs/debbug_shortcut_should_expand_differently.mdwn index 22a1c149c..d34c40244 100644 --- a/doc/bugs/debbug_shortcut_should_expand_differently.mdwn +++ b/doc/bugs/debbug_shortcut_should_expand_differently.mdwn @@ -1,4 +1,4 @@ -`\[[debbug 123456]]` expands to "bug #123456", which is hyperlinked. Could you please drop the leading "bug", for two reasons? +`\[[!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.: diff --git a/doc/bugs/img_plugin_causes_taint_failure.mdwn b/doc/bugs/img_plugin_causes_taint_failure.mdwn index e2b85e498..14de17557 100644 --- a/doc/bugs/img_plugin_causes_taint_failure.mdwn +++ b/doc/bugs/img_plugin_causes_taint_failure.mdwn @@ -1,6 +1,6 @@ The img plugin causes a taint failure if one tries to link a scaled image, e.g. - \[[img foo.png size=64x64]] + \[[!img foo.png size=64x64]] .ikiwiki.setup: Insecure dependency in mkdir while running with -T switch at /usr/lib/perl5/vendor_perl/5.8.8/IkiWiki.pm line 360. BEGIN failed--compilation aborted at (eval 5) line 109. diff --git a/doc/bugs/iniline_breaks_toc_plugin.mdwn b/doc/bugs/iniline_breaks_toc_plugin.mdwn index dcf975caf..a99f8d6da 100644 --- a/doc/bugs/iniline_breaks_toc_plugin.mdwn +++ b/doc/bugs/iniline_breaks_toc_plugin.mdwn @@ -1,7 +1,7 @@ Hi, I try to make an example to reproduce some bug with inline and toc plugins. My friend uses - \[[inline pages="users/joey" raw="yes"]] + \[[!inline pages="users/joey" raw="yes"]] to include common snippets in various pages, and it works as advertised, but if toc plugin is used, page is messed up. diff --git a/doc/bugs/map_doesn__39__t_calculate___34__common__95__prefix__34___correctly.mdwn b/doc/bugs/map_doesn__39__t_calculate___34__common__95__prefix__34___correctly.mdwn index d6923605d..df00621d8 100644 --- a/doc/bugs/map_doesn__39__t_calculate___34__common__95__prefix__34___correctly.mdwn +++ b/doc/bugs/map_doesn__39__t_calculate___34__common__95__prefix__34___correctly.mdwn @@ -4,7 +4,7 @@ Problem with [[plugins/map]]: ## given map: -\[[map pages="blog/tags/*"]] +\[[!map pages="blog/tags/*"]] ## received map: diff --git a/doc/bugs/special_characters_in_tag_names_need_manual_escaping.mdwn b/doc/bugs/special_characters_in_tag_names_need_manual_escaping.mdwn index 1a43ec3fc..4ff6763a3 100644 --- a/doc/bugs/special_characters_in_tag_names_need_manual_escaping.mdwn +++ b/doc/bugs/special_characters_in_tag_names_need_manual_escaping.mdwn @@ -1,3 +1,3 @@ -Having read i18n_characters_in_post_title, I have a page named `St John's` in a file named `St_John__39__s.mdwn`. Regular wikilinks like `\\[[St_John's]]` successfully point to that page. However, if I tag a page with `\[[tag St_John's]]`, that link is shown as pointing to a non-existant page. Modify the tag to read `\[[tag St_John__39__s]]` works around the problem. +Having read i18n_characters_in_post_title, I have a page named `St John's` in a file named `St_John__39__s.mdwn`. Regular wikilinks like `\\[[St_John's]]` successfully point to that page. However, if I tag a page with `\[[!tag St_John's]]`, that link is shown as pointing to a non-existant page. Modify the tag to read `\[[!tag St_John__39__s]]` works around the problem. [[done]] in 1.49 --[[Joey]] diff --git a/doc/bugs/wiki_formatting_does_not_work_between_toc_and_an_inline.mdwn b/doc/bugs/wiki_formatting_does_not_work_between_toc_and_an_inline.mdwn index a362fdf55..29e03f2d6 100644 --- a/doc/bugs/wiki_formatting_does_not_work_between_toc_and_an_inline.mdwn +++ b/doc/bugs/wiki_formatting_does_not_work_between_toc_and_an_inline.mdwn @@ -1,4 +1,4 @@ -Wiki formatting between `\[[toc ]]` and an inline fails to render. The +Wiki formatting between `\[[!toc ]]` and an inline fails to render. The problem does not seem to trigger if the inline uses the titlepage template, or if it doesn't match any pages. See example below; also reproducible with a single-file wiki containing the text below, rendered via `ikiwiki diff --git a/doc/bugs/wikilink_in_table.mdwn b/doc/bugs/wikilink_in_table.mdwn index f0dc13eaf..cca01718c 100644 --- a/doc/bugs/wikilink_in_table.mdwn +++ b/doc/bugs/wikilink_in_table.mdwn @@ -1,6 +1,6 @@ I try to create wikilink in table. But it does not work. Here is example: - \[[table class=table1 data=""" + \[[!table class=table1 data=""" \[[wikilink_test|index]] \[[wikilink_test\|index]] [wikilink test](/servers/webmail1) @@ -21,7 +21,7 @@ What exactly is a difference between wikilink and URL reference to the same page Trying to report this I found something weird. I changed in the example [[ with || because wiki renders something wrongly. You can see what I tried originally here: - \[[table class=table1 data=""" + \[[!table class=table1 data=""" \[[wikilink_test|servers/webmail1]] \[[wikilink_test|servers/webmail1]] [wikilink test](/servers/webmail1) -- 2.45.1