=======================
Simpler page ids, faster performance and better memory efficiency,
new general-purpose page type including tracker and fit support, more
robust parenting, skin improvements, preliminary stylesheet support,
code cleanups, doctest no longer used.
**Upgrade notes**
If you have pages with punctuation in the names, or zwiki tracker
issues, you'll need to change their id/name. See below.
If you have a tracker in your wiki, you'll also need to install the
latest IssueTracker/FilterIssues pages and add a new 'isIssue'
FieldIndex to your catalog. Also, in a large wiki you may find
changing issue descriptions is much slower than before. See below.
issuedtml and stxprelinkdtmlhtml pages will be auto-upgraded to the
new stxprelinkdtmlfitissuehtml type.
The CMF install method in Extensions has been renamed to Install.py.
**General**
* Simpler page ids
Page ids are now always derived from the name (title). This
improves performance, removes a source of confusion, but means
pages can no longer have a totally different title and id (like
tracker issues used to). Also, page ids no longer include
punctuation, and fuzzy links now ignore punctuation.
Pages with old-style ids should be renamed so that wiki links to
them will work. You can upgrade these pages and update links
throughout the wiki by visiting SOMEPAGEURL/upgradeAll. This
may take a long time; you can watch progress in the debug
log. It's safe to run this more than once. Alternately, you can
visit SOMEPAGE/upgradeId to rename and relink a single page.
Some incoming links may break due to url changes; having the
zwiki standard_error_message installed will help.
* Improved performance and memory efficiency
Link rendering is faster due to the new ids and code
refactoring.
(Unscientific ab test: roughly a 4x speedup rendering a
normal page and 20x for a long one.) Also, zwiki is no longer
so eager to load all pages into the zodb cache. Certain
operations will still trigger this (search, rename) but in
general use, a zope serving large wikis should now use less
memory. This may also help your performance and reduce "first
page render" delay.
* new/improved page lookup methods: pages, pageIds, pageNames,
pageIdsStartingWith, pageNamesStartingWith,
firstPageIdStartingWith, firstPageNameStartingWith, pageWithId,
pageWithName, pageWithNameOrId, pageWithFuzzyName. Use these in
your DTML code when possible as they will be optimized. pageWith*
now return a correct acquisition wrapper (fixes IssueNo0472).
pageWithFuzzyName's ignore_case has no extra cost now and is
always on. The argument is left in place for backwards
compatibility for the moment. Also this may have been acquiring
pages, fixed.
* new general-purpose page type incorporating issue and fit
support: stxprelinkdtmlfitissuehtml. stxprelinkdtmlhtml and
issuedtml pages are auto-upgraded to this. This page type
displays an issue properties form if the page name begins with
IssueNo. Also, any tables whose first cell begins with "fit." or
"fittests." are run as fit tests at page view time.
* rename improvements: support for upgrading to new-style ids;
allow renames without sending mail; reduce unnecessary indexing;
preserve creation info when renaming (IssueNo0398); be more
tolerant of confused parentage;
* Don't leave orphans when deleting a page
* cleaner catalog logging
* all doctests have been converted to pyunit tests
* Details of WWML changes in last month's release (PeterMerel):
- C2-compatible apostrophe embedding using minimal-munch
- C2-compatible generation of indents from leading spaces
- Intuitive fixed-width tables using | as a column delimiter. I
purely hate the STX tables, which do everything except the most
obvious formatting everybody wants.
- Ability to use images as page names with [image-url]
- Ability to generate blockquotes by using = instead of *
- Ability to force a BR in definitions using \\
- Probably some other things I've forgotten.
**Skins and content**
* the latest zwiki.org RecentChanges: fix a mispaced try which
allowed errors, be less chatty about brute force/catalog, move
note field next to page name, drop the "use table" option and the
T issue indicator.
* edit form layout improvements
* lose the gray title background and use site logo on all "form" pages
* Made the diff form skinnable: support a 'diffform' page template
or dtml method accepting two arguments: 'revA' and 'difftext'.
* Made the contents view skinnable: support a 'contentspage' page
template or dtml method accepting two arguments: 'hierarchy'
(a html string) and 'singletons' (a list of html strings).
* allow multiple space-separated wiki names in backlinks' other
parents field and the page management form (PeterMerel)
* contents improvements: make "you are here" bold; list singletons
at the bottom, if any. (PeterMerel)
* "contents" is used more consistently and is the preferred new name
for the map method.
* page creation links now have class "new" (IssueNo0456)
* preliminary CSS support: the default skin embeds a "stylesheet"
object if present.
**Mail**
* longish headings were not being stripped from mailouts
* mail out comments with their original formatting (not the page
diff)
* don't try to find a subject in comment body any more
* don't send mailouts from a page named TestPage, whether or not it has
[test] subject; log discarded [test] mailouts
**CMF**
* cmf_install_zwiki.py has been renamed to Install.py (IssueNo0460)
**Tracker**
* Issue pages have a new naming scheme to conform with the new
page ids: "IssueNoNNNN issue description". upgradeAll will take
care of this for you. Old IssueNoXXXX urls will still work if
you have standard_error_message installed. You need updated
IssueTracker/FilterIssues pages which can be found in
ZWiki/content/tracker. A new 'isIssue' FieldIndex is required in
the catalog.
* changeProperties has been replaced by changeIssueProperties.
This does a full page rename, with link updating, when changing
an issue description (slow).
* The 'issuedtml' page type is deprecated; the new combined
'stxprelinkdtmlfitissuehtml' type is used instead. Old issue
pages will be auto-upgraded. See also HowToInstallAZwikiTracker.
* If you use the new page type throughout, you can change an
ordinary page into an issue by renaming it "IssueNo..." and vice
versa.