1 News for ikiwiki 3.20100515:
3 There are two significant changes to the page.tmpl template in this version.
4 If you have a locally modified version of that template, you will need to
5 update it at least to contain the following in the HTML `<head>`:
8 <TMPL_IF FORCEBASEURL><base href="<TMPL_VAR FORCEBASEURL>" /><TMPL_ELSE>
9 <TMPL_IF BASEURL><base href="<TMPL_VAR BASEURL>" /></TMPL_IF>
13 Also, the footer should be wrapped in `<TMPL_UNLESS DYNAMIC> ... </TMPL_UNLESS>`
15 There is a new "comment()" pagespec, that can be used to match a
16 comment on a page. It is recommended to use it instead of the old
17 method of using a pagespec such as "internal(comment\_*)" to match
18 things that looked like comments. The old pagespec will now also match
19 comments that are held for moderation; likely not what you want.
21 There have also been some changes to the style.css in this version,
22 particularly to support the new openid selector. If you have a modified
23 version, of style.css, updating it (or moving it to local.css) is
26 ikiwiki 3.20100515 released with [[!toggle text="these changes"]]
27 [[!toggleable text="""
28 * Removed misc.tmpl. Now to theme ikiwiki, you only need to customise
29 a single template, page.tmpl.
30 * If you have a locally customised page.tmpl, it needs to be updated
31 to set <base> when BASEURL or FORCEBASEURL is set.
32 * comments: Comments pending moderation are now stored in the srcdir
33 alongside accepted comments, but with a `._comment_pending` extension.
34 This allows easier byhand moderation, as the "\_pending" need
35 only be stripped off and the comment be committed to version control.
36 * The `comment_pending()` pagespec can be used to match such unmoderated
37 comments, which makes it easy to add a feed of them, or a counter
38 indicating how many there are.
39 * Belatedly added a `comment()` pagespec.
40 * Gave comment and page editing forms some CSS and accessability love.
41 * Renamed postscan hook to indexhtml, to reflect its changed position,
43 * inline: Call indexhtml when inlining internal pages, so their
44 text can be indexed for searching.
45 * Delete hooks are passed deleted internal pages.
46 * openid: Incorporated a fancy openid-selector signin form.
47 (Based on <http://code.google.com/p/openid-selector/>)
48 * openid: Use "openid\_identifier" as the form field, as required
49 by OpenID Authentication v2.0 spec.
50 * Removed the openidsignup option. Instead, my recommendation is to
51 leave passwordauth enabled and let people who don't have an openid use it.
52 The openid selector form avoids the UI annoyance of having both openid
53 and passwordauth on one form.
54 * calendar: Allow negative month to be specified. -1 is last month, etc.
55 (And also negative years.)
56 * calendar: Display year in title of month calendar.
57 * Use xhtml friendly pubdate setting.
58 * remove, rename: Add guards against XSRF attacks."""]]