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