aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-28 01:01:33 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-28 01:01:33 +0000
commit5a128f3d6333b16200512b33b5265b1b1e8f3837 (patch)
tree8a7c800acc6ba6dae810794b23506f0a936b4c07 /doc
parente220fbf35d727dca7ed835f797be89381afc873c (diff)
downloadikiwiki-5a128f3d6333b16200512b33b5265b1b1e8f3837.tar
ikiwiki-5a128f3d6333b16200512b33b5265b1b1e8f3837.tar.gz
* Replace underscores in shortcut texts with spaces when formatting for
display. This allows using a shortcut like [[wikipedia War_of_1812]], which links to the correct remote page, but is displayed nicely.
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/shortcuts_don__39__t_escape_from_Markdown.mdwn4
-rw-r--r--doc/plugins/shortcut.mdwn2
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/bugs/shortcuts_don__39__t_escape_from_Markdown.mdwn b/doc/bugs/shortcuts_don__39__t_escape_from_Markdown.mdwn
index f5c4db660..f977dc354 100644
--- a/doc/bugs/shortcuts_don__39__t_escape_from_Markdown.mdwn
+++ b/doc/bugs/shortcuts_don__39__t_escape_from_Markdown.mdwn
@@ -2,4 +2,6 @@ Writing [[wikipedia Low_frequency_oscillation]] causes the word "frequency"
to show up in italics, since underscores are Markdown for italics. Using
[[wikipedia low frequency oscillation]] works in this case, because Wikipedia
will redirect, but it's hardly clean. Maybe the shortcuts plugin should
-run pagetitle() on the text of its link? --Ethan \ No newline at end of file
+run pagetitle() on the text of its link? --Ethan
+
+> [[bugs/done]] --[[Joey]]
diff --git a/doc/plugins/shortcut.mdwn b/doc/plugins/shortcut.mdwn
index 33180b120..83d8593a8 100644
--- a/doc/plugins/shortcut.mdwn
+++ b/doc/plugins/shortcut.mdwn
@@ -5,7 +5,7 @@ This plugin allows external links to commonly linked to sites to be made
more easily using shortcuts. Some examples of using shortcuts include:
\[[google foo]]
- \[[wikipedia War of 1812]]
+ \[[wikipedia War_of_1812]]
\[[debbug 12345]]
The available shortcuts are defined on the [[shortcuts]] page in