1 This version of ikiwiki has a lot of changes that you need to know about.
3 Now you can include customised versions of templates in the source
4 of your wiki. (For example, templates/page.tmpl.) When these templates
5 are changed, ikiwiki will automatically rebuild pages that use them.
7 Allowing untrusted users to upload attachments with the ".tmpl"
8 extension is not recommended, as that allows anyone to change
11 The --getctime switch is renamed to --gettime, and it also gets the
12 file modification time. And it's a lot faster (when using git). But
13 the really important change is, you don't have to remember to use this
14 switch. Now ikiwiki will do it when it needs to.
16 At last, the "tagged()" pagespec only matches tags, not regular wikilinks.
17 If your wiki accidentially relied on the old, buggy behavior, you might
18 need to change its pagespecs to use "link()".
20 Many of your wishes have been answered: Now tag pages can automatically be
21 created when new tags are used. This feature is enabled by default if you
22 have configured a tagbase. It can be turned on or off using the
23 `tag_autocreate` setting.
25 These changes may also affect some users:
27 * The `title_natural` sort method (as used by the inline directive, etc)
28 has been moved to the new sortnaturally plugin, which is not enabled
29 by default since it requires the Sort::Naturally perl module.
31 * `TMPL_INCLUDE` is no longer supported in any template used by ikiwiki.
32 It used to be allowed in certian templates, but not in others.
34 * The `add_templates` option has been removed from the underlay plugin.
35 If you used this option, you can instead use templates/ subdirectories
36 inside underlay directories added by the `add_underlays` option.
38 Due to the above and other changes, all wikis need to be rebuilt on
39 upgrade to this version. If you listed your wiki in /etc/ikiwiki/wikilist
40 this will be done automatically when the Debian package is upgraded. Or
41 use ikiwiki-mass-rebuild to force a rebuild.
43 ikiwiki 3.20100427 released with [[!toggle text="these changes"]]
44 [[!toggleable text="""
46 * tag: Automatic creation of tag pages can now be enabled using
47 the tag\_autocreate setting. (David Riebenbauer)
48 * Customised templates can now be included in the source of wikis
49 (and also in underlays), and dependencies on them are tracked.
50 * TMPL\_INCLUDE is no longer supported in any template.
51 * underlay: Removed the add\_templates option.
52 * Add template\_depends function to plugin API.
53 * bzr: Fix bzr log parsing to work with bzr 2.0. (liw)
54 * comments: Fix missing entity encoding in title.
55 * txt: Add a special case for robots.txt.
57 * Add support for link types, and make the the tagged() pagespec only
58 match tags, not regular links (a bugfix).
59 * Rebuild wikis on upgrade to this version to get tag link types recorded
61 * Revamp sorting system; allow new sort methods to be added by plugins,
62 and add a "sortspec" syntax that can combine, reverse, etc sort methods.
63 * meta: Add `meta(author)`, `meta(title)` etc sortspecs to allow sorting
65 * meta: Add optional sortas parameter to author and title meta directives.
66 This can be used to get names sorted by last name without displaying
68 * sortnaturally: New plugin; the title\_natural sort method has moved here.
69 * meta: store fields consistently unescaped, and escape on use.
70 (A wiki rebuild is also needed due to this change.)
72 * Update dependency for git-core to git transition.
73 * po: Check that translated underlay directories exist before using them
75 * po: Configuring the same language as master and slave confuses processing;
76 so filter out such a misconfiguration.
77 * calendar: Add archive\_pagespec, which is used by ikiwiki-calendar to
78 specify which pages to include on the calendar archive pages.
79 (The pagespec can still also be specified on the ikiwiki-calendar command
81 * pagestats: Class parameter can be used to override default class for
83 * pagestats: Use style=list to get a list of tags, scaled by use like
84 in a tag cloud. This is useful to put in a sidebar.
85 * Rework example blog front page.
86 * CSS and templates for sidebar changed to use a class, not an id.
87 * sidebar: Now a sidebar directive can be used to override the sidebar
89 * Enable calendar and sidebar in auto-blog.setup.
90 * sidebar: Add global\_sidebars setting.
91 * conditional: Fix bug that forced "all" mode off by default.
92 * calendarmonth.tmpl: The month calendar is now put in a sidebar.
93 * calendar: Improved display of arrows.
94 * Rename --getctime to --gettime. (The old name still works for
95 backwards compatibility.)
96 * --gettime now also looks up last modification time.
97 * Automatically run --gettime the first time ikiwiki is run on
98 a given srcdir. (Use --no-gettime to disable.)
99 * Add rcs\_getmtime to plugin API; currently only implemented
101 * Optimise --gettime for git, so it's appropriately screamingly
102 fast. (This could be done for most other backends too.)
103 * However, --gettime for git no longer follows renames. That would
104 be slow, and whether a renamed wiki page is the same page is really
106 * Use above to fix up timestamps on docwiki, as well as ensure that
107 timestamps on basewiki files shipped in the deb are sane.
108 * autoindex: Switch to using %wikistate instead of abusing
110 * bzr: Support rcs\_getmtime, and fix rcs\_getctime implementation
112 * Quite a lot of new optimisations, and one major fix to a recent
113 performance regression.
114 * Moved javascript files under the ikiwiki/ directory, to avoid cluttering
115 the top of the web root. This is another things that requires a wiki
116 rebuild on upgrade to this version.
117 * Fix removal of rendered files in rebuild mode.
118 * Add page() PageSpec, which is like glob() but matches only pages,
119 not other files."""]]