summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/skeleton.pm.example
AgeCommit message (Collapse)Author
2010-09-07needsbuild hook interface changed; the hooks should now return the modified ↵Joey Hess
array of things that need built. (Backwards compatability code keeps plugins using the old interface working.)
2010-08-02fix copy'n'paste errorintrigeri
2010-08-02Revert "Added a rescan hook."intrigeri
This reverts commit 25447bccae0439ea56da7a788482a4807c7c459d.
2010-07-30Added a rescan hook.intrigeri
This is needed for the po plugin vs. e.g. meta titles. In order to get rid of the ugly "rebuilding all pages to fix meta titles" thing, Joey suggested to make "po, at scan time, re-run the scan hooks, passing them modified content (either converted from po to mdwn or with the escaped stuff cheaply de-escaped)". This would unfortunately not work, as the meta plugin gathers its data using the preprocess hook in scan mode: it would overwrite with buggy data the correct data we would have forced it to gather in po's scan hook. We then need a hook that runs *after* the preprocess hook has been run in scan mode, but *before* any page rendering is started. Hence this one.
2010-07-26Add new disable hook, allowing plugins to perform cleanup after they have ↵Joey Hess
been disabled.
2010-07-14add section to getsetup infoJoey Hess
2010-06-18needsbuild hook is passed an array refJoey Hess
2010-05-06Renamed postscan hook to indexhtml, to reflect its changed position.Joey Hess
Probably only the search plugin uses it, so this seemed safe.
2010-05-03Add ACTIONS variable to page.tmpl, which allows plugins to add arbitrary ↵Joey Hess
links to the action bar without modifying the template further. (COMMENTSLINK and DISCUSSIONLINK could be folded into this, but are kept separate for now to avoid breaking modified templates.)
2009-09-10Add genwrapper hook, that can be used to add code into the C wrapper.Joey Hess
2009-01-27rename hook: instead of modifying the passed-by-name array, return a copyintrigeri
This is intended to solve Joey's concerns expressed on http://ikiwiki.info/todo/need_global_renamepage_hook/, i.e. the need to make it possible to use this hook from external plugins. A plugin using this hook still can add/modify/remove elements of the @torename array. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26hook function names should be the same as the hook nameJoey Hess
2009-01-27revert renamepage's hook original nameintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26only pass named parameters to the canremove hookintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26only pass named parameters to the canrename hookintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26add mising hooks and fix syntax errorJoey Hess
2009-01-19remove cansave plugin, now replaced by Joey's checkcontent oneintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-18fix previous buggy mergeintrigeri
2009-01-17Merge commit 'upstream/master' into prv/pointrigeri
Conflicts: IkiWiki/Plugin/editpage.pm IkiWiki/Plugin/skeleton.pm.example doc/plugins/write.mdwn t/syntax.t
2009-01-16add new hook to skeletonJoey Hess
2009-01-13Merge commit 'upstream/master' into prv/pointrigeri
2009-01-07increment interface versionJoey Hess
2009-01-06typoJoey Hess
2009-01-01skeleton plugin: added the canrename and canremove hooksintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01editpage: added a cansave hookintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-17Coding style change: Remove explcit vim folding markers.Joey Hess
2008-09-23Fix typo in skeleton.pm.example: sessionncgi (with extra n)Simon McVittie
(cherry picked from commit 72ffc85d6acb8b99839ac98a2c23dbef410b5666)
2008-08-03add plugin safe/rebuild info (part 3 of 3)Joey Hess
2008-07-29Merge branch 'tova' into autoconfigJoey Hess
Conflicts: debian/changelog
2008-07-29add refresh hookJoey Hess
2008-07-26remove default values in getsetupJoey Hess
They were a bit confusing, since they did not actually set the default, and example values are sufficient.
2008-07-26finish adding getsetup hooks to pluginsJoey Hess
2008-07-21rename skeleton.pmJoey Hess
Add '.example' so it's not installed with the other plugins.