update news for template change
parent
e8a23c299e
commit
6c64ce0336
|
@ -2,23 +2,37 @@ ikiwiki (3.20100422) unstable; urgency=low
|
||||||
|
|
||||||
This version of ikiwiki has a lot of changes that you need to know about.
|
This version of ikiwiki has a lot of changes that you need to know about.
|
||||||
|
|
||||||
|
Now you can include customised versions of templates in the source
|
||||||
|
of your wiki. (For example, templates/page.tmpl.) When these templates
|
||||||
|
are changed, ikiwiki will automatically rebuild pages that use them.
|
||||||
|
|
||||||
The --getctime switch is renamed to --gettimes, and it also gets the
|
The --getctime switch is renamed to --gettimes, and it also gets the
|
||||||
file modification time. And it's a lot faster (when using git). But
|
file modification time. And it's a lot faster (when using git). But
|
||||||
the really important change is, you don't have to remember to use this
|
the really important change is, you don't have to remember to use this
|
||||||
switch. Now ikiwiki will do it when it needs to.
|
switch. Now ikiwiki will do it when it needs to.
|
||||||
|
|
||||||
Starting from this version, the "tagged()" pagespec only matches tags,
|
At last, the "tagged()" pagespec only matches tags, not regular wikilinks.
|
||||||
not regular wikilinks. If your wiki accidentially relied on the old,
|
If your wiki accidentially relied on the old, buggy behavior, you might
|
||||||
buggy behavior, you might need to change its pagespecs to use "link()".
|
need to change its pagespecs to use "link()".
|
||||||
|
|
||||||
Now tag pages can automatically be created as new tags are used. This
|
Many of your wishes have been answered: Now tag pages can automatically be
|
||||||
feature is enabled by default if you have configured a tagbase. It
|
created when new tags are used. This feature is enabled by default if you
|
||||||
can be turned on or off using the tag_autocreate setting.
|
have configured a tagbase. It can be turned on or off using the
|
||||||
|
tag_autocreate setting.
|
||||||
|
|
||||||
The title_natural sort method (as used by the inline directive, etc)
|
These changes may also affect some users:
|
||||||
|
|
||||||
|
* The title_natural sort method (as used by the inline directive, etc)
|
||||||
have been moved to the new sortnaturally plugin, which is not enabled
|
have been moved to the new sortnaturally plugin, which is not enabled
|
||||||
by default since it requires the Sort::Naturally perl module.
|
by default since it requires the Sort::Naturally perl module.
|
||||||
|
|
||||||
|
* TMPL_INCLUDE is no longer supported in any template used by ikiwiki.
|
||||||
|
It used to be allowed in certian templates, but not in others.
|
||||||
|
|
||||||
|
* The add_templates option has been removed from the underlay plugin.
|
||||||
|
If you used this option, you can instead use templates/ subdirectories
|
||||||
|
inside underlay directories added by the add_underlays option.
|
||||||
|
|
||||||
Due to the above and other changes, all wikis need to be rebuilt on
|
Due to the above and other changes, all wikis need to be rebuilt on
|
||||||
upgrade to this version. If you listed your wiki in /etc/ikiwiki/wikilist
|
upgrade to this version. If you listed your wiki in /etc/ikiwiki/wikilist
|
||||||
this will be done automatically when the Debian package is upgraded. Or
|
this will be done automatically when the Debian package is upgraded. Or
|
||||||
|
|
|
@ -74,3 +74,5 @@ Have started working on this.
|
||||||
>>>>>>> many templates, so the clutter is small. (Especially when
|
>>>>>>> many templates, so the clutter is small. (Especially when
|
||||||
>>>>>>> compared to the other clutter the basewiki always puts in destdir.)
|
>>>>>>> compared to the other clutter the basewiki always puts in destdir.)
|
||||||
>>>>>>> This could be revisted later. --[[Joey]]
|
>>>>>>> This could be revisted later. --[[Joey]]
|
||||||
|
|
||||||
|
[[done]]
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
* add_templates option removed from underlay plugin
|
|
||||||
(can use add_underlays instead)
|
|
||||||
* includes no longer allowed in templates
|
|
||||||
* template_params removed (not exported API)
|
|
Loading…
Reference in New Issue