Joey Hess
ffc99f5904
switch preprocess hooks to use error function
2008-07-13 15:05:34 -04:00
Joey Hess
b2dea99417
Fix ugly display when editing a page that has vanished.
...
srcfile now has an optional second parameter to avoid it throwing an error
if the source file does not exist.
2008-05-02 13:02:07 -04:00
Adeodato Simó
a8f08ab8e1
Make directives generated by shortcuts accept a `desc` parameter.
...
(cherry picked from commit 252da396bfa728b99af7c9bb304a7b5f3f6d94e6)
2008-03-02 18:04:09 -05:00
Joey Hess
b72b8b2b0e
improve error message if shortcuts.mdwn DNE
2007-12-17 15:33:47 -05:00
Joey Hess
10a2895b3b
* shortcut: Expand %S to the raw input text, not url-encoded.
2007-12-12 16:50:29 -05:00
joshtriplett
e1c54fef3d
Nuke trailing whitespace in shortcut.pm.
2007-05-08 23:00:59 +00:00
joey
ee1ad53c4c
* pagespec_match() has changed to take named parameters, to better allow
...
for extended pagespecs. The old calling convention will still work for
back-compat for now.
* The calling convention for functions in the IkiWiki::PageSpec namespace
has changed so they are passed named parameters.
* Plugin interface version increased to 2.00 since I don't anticipate any
more interface changes before 2.0.
2007-04-27 02:55:52 +00:00
joey
4d8b2d84d5
more i18n improvements
2007-03-07 12:04:45 +00:00
joey
4f56c5ae7c
italisise urls
2007-02-15 08:38:57 +00:00
joey
5a128f3d63
* 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.
2007-01-28 01:01:33 +00:00
joey
8daaa11baa
added some comments for translators
2007-01-04 12:00:23 +00:00
joey
912521ef07
* Initial work on internationalization of the program code. po/ikiwiki.pot
...
is available for translation.
* Export gettext() from IkiWiki module.
2006-12-29 04:38:40 +00:00
joey
eac31eff5c
shortcut stuff
2006-11-20 11:31:23 +00:00
joey
b973ed8269
* Add no_override parameter to hook().
...
* Add a shortcut plugin, inspired by Victor Moral's contributed shortcuts
plugin, but featuring a more ikiwiki-ish syntax and with shortcuts that
can be configured using a page in wiki.
2006-10-15 19:33:52 +00:00