]> sipb.mit.edu Git - ikiwiki.git/commitdiff
* Added a version plugin that saves state about what's using it, to force
authorJoey Hess <joey@kitenet.net>
Sat, 8 Dec 2007 23:33:08 +0000 (18:33 -0500)
committerJoey Hess <joey@kitenet.net>
Sat, 8 Dec 2007 23:33:08 +0000 (18:33 -0500)
  pages to rebuild when ikiwiki's version changes.

Makefile.PL
debian/changelog
doc/ikiwiki.mdwn
po/ikiwiki.pot

index cd9683d279ed241a82ddc4eef1e0d2a8a1a37969..0315b6d49bfe9bfff2a8c76eff7112601bd0a196 100755 (executable)
@@ -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
index 7fc48ed513f81920d66ab0a6c4618c67192d3e17..26e9ea7cbf8aec4c295ec8f98ae7a17ddd4685e8 100644 (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
 
index a93bfb2e4b369749eedc2c3114902c55f79ff464..c3773ed3a627babb20d726bfe545d9f411d69edb 100644 (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:
 
index 66659457a231a4c58cca16577d1999a8e4ba5107..d928d1414eec82033fa339ed5f532f8a173ce624 100644 (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"