[Pmwiki-users] pmwiki-1.0.11 released

Patrick R. Michaud pmichaud
Sat Oct 2 16:20:20 CDT 2004


I've just released pmwiki-1.0.11, which has a few new important items.

First, this version includes the --< "hanging indent" or "outdent"
    markup, which indents second and subsequent lines of text
    leaving the first line at the margin (as demonstrated by this
    paragraph).  Thanks to John Rankin for suggesting it.

Second, this release now includes a php-based diff algorithm as part
of the distribution.  The script is based upon Nils Knappmeier's
excellent PHPDiffEngine cookbook recipe, but has been rewritten somewhat
from the original to improve performance and integrate a bit better
with the rest of the scripts.  (Nils deserves a huge amount of credit
for the research and effort he put in to creating this script.)  It
may still have some quirks here and there, but I've reviewed, tested,
and used it enough that it's now the algorithm being used on pmwiki.org.

To use the PHP-based diff algorithm, simply add the following to config.php:

    include_once('scripts/phpdiff.php');

In addition, although the external diff program remains the default
configuration in this version, PmWiki will automatically switch to use the 
PHP-based diff algorithm if it appears that the external one will not work 
(either because the external program doesn't exist, as on Windows platforms, 
or because safe_mode restrictions are in effect).

Finally, this release improves the display of line counts in the page
history, and includes a link back to the wiki home page when an error
of some sort occurs.

Bug reports should be entered in the PmWiki Issue Tracking System
at http://www.pmwiki.org/PITS .  Comments and questions are welcome
on the mailing list, as always.

Pm



More information about the pmwiki-users mailing list