[Pmwiki-users] pmwiki-2.0.devel13 released
Patrick R. Michaud
pmichaud
Tue Oct 12 00:28:58 CDT 2004
I've just released 2.0.devel13, which makes a number of changes but
primarily introduces support for automatically spacing wikiwords and for
disabling wikiword links.
Automatic spacing of WikiWords is controlled by $SpaceWikiWords and
the $AsSpacedFunction variables. Setting $SpaceWikiWords=1; will
automatically space wikiwords in page text and page titles. $AsSpacedFunction
can be changed to customize the spacing algorithm PmWiki uses for such words
(it uses a somewhat naive algorithm by default).
The directives [:spacewikiwords:] and [:nospacewikiwords:] can be used
to enable/disable wikiword spacing within a page.
In addition, the use of WikiWords to link to other pages is now controlled by a
$LinkWikiWords variable. Setting $LinkWikiWords=0; disables WikiWord
links (but WikiWords still are rendered according to the $SpaceWikiWords
setting above). Similarly, there are [:linkwikiwords:] and [:nolinkwikiwords:]
directives to enable/disable WikiWord linking within a page.
I still do not have wikiword counts implemented in this release--they'll
be available in the next release or two.
The $PageTitle template variable is now simply $Title, and it is replaced
by either the page's title (specified by a [:title ...:] directive) or the
page's name spaced according to $SpaceWikiWords. The default templates
now use $Title instead of $Name and $PageTitle.
Collectively, these changes closed a number of PITS issues relating to
spacing of wikiwords and handling titles. :-)
There are also a few other very minor changes "under the hood" of PmWiki
in preparation for other new features, but I don't think these will
have any impact on sites using 2.0.
Comments, bugs, problems, and suggestions can be sent to the mailing list or
added to http://www.pmwiki.org/PITS.
Pm
More information about the pmwiki-users
mailing list