summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/shortcut.pm
AgeCommit message (Collapse)Author
2009-02-14check for empty srcdirJoey Hess
This happens when using -dumpsetup
2009-02-14downgrade missing shortcuts page error to warningJoey Hess
and response to bug report
2009-02-12shortcut: If default_pageext is set, first look for shortcuts.default_pageextJoey Hess
Falls back to looking for shortcuts.mdwn for backwards compatabiity; there probably exist wikis that have changed the pageext but still use shortcuts.mdwn.
2008-12-23finalise version 3.00 of the plugin apiJoey Hess
2008-12-17Coding style change: Remove explcit vim folding markers.Joey Hess
2008-10-30don't rely on plugin load order when determining generated directivesJoey Hess
Instead, shortcuts will explicitly be marked as such when registered, and listdirectives can filter them out.
2008-10-29fix preview of shortcutsJoey Hess
Move shortcut processing back to checkconfig, and avoid it failing if the srcdir is not defined.
2008-08-03add plugin safe/rebuild info (part 3 of 3)Joey Hess
2008-07-26allow --dumpsetup to be used w/o specifying srcdir and destdirJoey Hess
shortcut tried to use srcdir in checkconfig; change it to not so this will work.
2008-07-13switch preprocess hooks to use error functionJoey Hess
2008-05-02Fix ugly display when editing a page that has vanished.Joey Hess
srcfile now has an optional second parameter to avoid it throwing an error if the source file does not exist.
2008-03-02Make directives generated by shortcuts accept a `desc` parameter.Adeodato Simó
(cherry picked from commit 252da396bfa728b99af7c9bb304a7b5f3f6d94e6)
2007-12-17improve error message if shortcuts.mdwn DNEJoey Hess
2007-12-12* shortcut: Expand %S to the raw input text, not url-encoded.Joey Hess
2007-05-08Nuke trailing whitespace in shortcut.pm.joshtriplett
2007-04-27* pagespec_match() has changed to take named parameters, to better allowjoey
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-03-07more i18n improvementsjoey
2007-02-15italisise urlsjoey
2007-01-28* Replace underscores in shortcut texts with spaces when formatting forjoey
display. This allows using a shortcut like [[wikipedia War_of_1812]], which links to the correct remote page, but is displayed nicely.
2007-01-04added some comments for translatorsjoey
2006-12-29* Initial work on internationalization of the program code. po/ikiwiki.potjoey
is available for translation. * Export gettext() from IkiWiki module.
2006-11-20shortcut stuffjoey
2006-10-15* Add no_override parameter to hook().joey
* 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.