* Added a version plugin that saves state about what's using it, to force

pages to rebuild when ikiwiki's version changes.
master
Joey Hess 2007-12-08 18:33:08 -05:00
parent ff97b0358b
commit fd6d85aa79
4 changed files with 8 additions and 3 deletions

View File

@ -31,11 +31,11 @@ ikiwiki.out: ikiwiki.in
chmod +x ikiwiki.out
extra_build: ikiwiki.out
LANG= perl -I. $(extramodules) $(tflag) ikiwiki.out doc html --templatedir=templates \
LANG= perl -Iblib/lib $(extramodules) $(tflag) ikiwiki.out doc html --templatedir=templates \
--underlaydir=underlays/basewiki --nousedirs\
--wikiname="ikiwiki" --verbose \
--exclude=/discussion --no-discussion --userdir=users \
--plugin=goodstuff \
--plugin=goodstuff --plugin=version \
--plugin=haiku --plugin=polygen --plugin=fortune
./mdwn2man ikiwiki 1 doc/usage.mdwn > ikiwiki.man
./mdwn2man ikiwiki-mass-rebuild 8 doc/ikiwiki-mass-rebuild.mdwn > ikiwiki-mass-rebuild.man

2
debian/changelog vendored
View File

@ -9,6 +9,8 @@ ikiwiki (2.16) UNRELEASED; urgency=low
* Finally implemented a simple per-page data storage mechanism for plugins,
via the %pagestate hash.
* Use pagestate in meta to detect potential redir loops.
* Added a version plugin that saves state about what's using it, to force
pages to rebuild when ikiwiki's version changes.
-- Joey Hess <joeyh@debian.org> Mon, 03 Dec 2007 14:47:36 -0500

View File

@ -1,4 +1,7 @@
This wiki is powered by [ikiwiki](http://ikiwiki.info/).
[[if test="enabled(version)"
then="(Currently running version [[version ]].)"
]]
Some documentation on using ikiwiki:

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-12-08 17:38-0500\n"
"POT-Creation-Date: 2007-12-08 18:30-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"