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