]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/shortcut/discussion.mdwn
one slash is enough to escape
[ikiwiki.git] / doc / plugins / shortcut / discussion.mdwn
index 65a2af960358c16c85274320cf27716c87df24b8..2e2b1b281b5ff5d8009ec841243192371c5778a6 100644 (file)
@@ -1,8 +1,18 @@
-I'd like to use a shortcut like \[[gnumach-1-branch ddb/db_expr.h]] to link to
-<http://cvs.savannah.gnu.org/viewvc/gnumach/ddb/db_expr.h?view=log&root=hurd&pathrev=gnumach-1-branch>.
+The plugin depends on [[mdwn]].  If you have
+disabled [[mdwn]], to get [[shortcut]] work, you need
+commit in a shortcuts.ext (ext is `rcs|creole|html|txt|etc`),
+and edit/patch [[shortcut]].
 
-* Dashes are not allowed in shortcut identifiers.  Why?
+Maybe use the `default_pageext` is better than hardcode .mdwn?
 
-> No reason. Fixed in git. --[[Joey]]
+--[[weakish]]
 
-> (Moved other issue to [[bugs/shortcut_encoding]].)
+> done, it will use `default_pageext` now --[[Joey]] 
+
+---
+
+Instead of modifying the [[basewiki]]'s [[shortcuts]] file for local needs --
+thus copying it at some point and losing continuity with upstream enhancements --
+what about handling a `shortcuts-local.mdwn` or `shortcuts/local.mdwn` (if such
+a file exists in the wiki), and additionally process that one.  Possibily a
+conditional `\[[!inline]]` could be used.  --[[tschwinge]]