SimulacreS > PmWiki > ChangeLog

Version 1.0.13 (26-Oct-2004)

  • Added patch to remove leading and trailing spaces from upload names in upload form (PITS:00116, noted by Bill Henning).

Version 1.0.12 (25-Oct-2004)

  • Improved phpdiff algorithm slightly, to ignore blank lines when determining the shortest distance search (PITS:00096, thanks to Elias Soong for the analysis/suggestion).
  • Added “clear:both” to #printfoot in print.css template (PITS:00079, thanks to SV).
  • Fixed bugs in PrintAttrForm? (thanks to S. Sherebrin).
  • Fixed $Needle appearing in search boxes in edit mode (PITS:00022, thanks to Ari).
  • PmWiki now looks for config.php in the current directory if it’s not found in local/config.php.
  • Fixed bug with non-ASCII characters in URLs? and attachment filenames (PITS:00053, thanks to Henning and Zverik)

Version 1.0.11 (2-Oct-2004)

  • Cleaned up the lines output in page history.
  • Added --< hanging indent (“outdent”) markup (PITS:00065, suggested by John Rankin).
  • Added phpdiff.php script for an entirely PHP-based page history mechanism (many thanks to Nils Knappmeier).
  • Changed stdconfig.php to automatically choose the phpdiff.php script in situations where it seems warranted.
  • Added link to home page in abort message (PITS:00018, thanks to Ben Hochstrasser).

Version 1.0.10 (21-Sep-2004)

  • Enables browser page caches. This is still somewhat experimental. To turn on caching, use $EnableIMSCaching = 1; in local/config.php.

Version 1.0.9 (13-Sep-2004)

  • Fixed pmwiki.php to use preg_replace() instead of ucwords() ucwords doesn’t work in some languages (PITS:00031 — thanks to Zverik).
  • Eliminated ucwords() in search.php — it doesn’t matter since we’re doing a case-insensitive search anyway (PITS:00031).
  • Changed $HTTP_POST_FILES to $_FILES in upload.php for PHP 5 (thanks to Ben Hocstrasser)
  • Internationalized $AuthDeniedFmt and “Page is unsaved” (thanks to Karl Loncarek)

Version 1.0.8 (27-Aug-2004)

  • Fixed sessionauth.php array cast for PHP 5 (thanks to Hochstrasser Benedikt for the fix).

Version 1.0.7 (23-Aug-2004)

  • Fixed minor annoyance where presence of an image in a link always causes it to float (detected by John Rankin).

Version 1.0.6 (19-Aug-2004)

  • Added $LockFile variable to allow explicit setting of the location of the ‘.flock’ file (for cases where $WikiDir isn’t an appropriate place)
  • Made some minor improvements to the sample-config.php file.

Version 1.0.5 (8-Jul-2004)

  • Changed ctype_digit to preg_match—missed these in the 1.0.1 release (many thanks to John Coxon for finding this).
  • Fixed bug with $WikiPageCreateSpaceFmt (thanks to John Rankin for finding this)
  • Modified refcount.php so that save operations are given a chance to complete while refcounts are being computed.

Version 1.0.4 (2-Jul-2004)

  • Modified search.php to enable searches to work when wiki.d is subdivided into subdirectories.
  • Modified search.php so that save operations are given a chance to complete while searches are taking place.
  • Cleaned <caption> markup to not use <td> cell attributes (suggested by John Rankin).

Version 1.0.3 (30-Jun-2004)

  • Fixed E_NOTICE problem with missing QUERY_STRING on IIS systems (thanks to Wolfgang Bund for reporting this)
  • Added column headers and caption cells to simple tables (suggested by John Rankin)
  • Added support for &#x…; hexadecimal character entities (suggested by Clemens Koller)

Version 1.0.2 (28-Jun-2004)

  • Fixed bug in Patch() function (thanks to Nils Knappmeier for finding this)

Version 1.0.1 (20-Jun-2004)

  • Fixed title spacing in AsSpaced? (thanks to Steven Leite)
  • Changed ctype_digit() to preg_match() for PHP 4.1 compatibility
  • Fixed missing $FarmD declaration in XLPage?

Version 1.0.0 (13-Jun-2004)

  • Eliminated use of $HTTP_* variables.
  • Added code to be able to handle multiple ?’s in query strings.
  • Added $DiffAccessLevel, allows WikiAdministrators? to change the password required to access page history.

Version 0.6.21 (27-May-2004)

Version 0.6.20 (25-May-2004)

  • Fixed bug in stdconfig.php with incorrect use of $HandleBrowse instead of $HandleActions (contributed by Ben Shakal)
  • Added workaround in include: handling to overcome PHP’s problem with incorrectly treating strings beginning with ‘inf’ as “infinity” (problem discovered after troubleshooting with Gregory Watts).
  • Changed setting of $EnablePathInfo to be set only if not already set by some other script (requested by Jason Perkins)
  • Updated intermap.txt to reflect new location of PmWiki on pmwiki.org.
  • Modified GroupHeader and GroupFooter? to automatically insert newlines if they aren’t already there (excellent suggestion by Robin Sheat).

Version 0.6.19 (10-May-2004)

  • Added support for edit “change summaries” to be included with each edit. See Cookbook:ChangeSummary for details (requested by Heather J.).
  • Includes updates for “pmwe” from Scott Duff.
  • Added [@...@] markup, which does something roughly equivalent to combining the @@...@@ and [=..=] markups (requested by J. Meijer).

Version 0.6.18 (7-May-2004)

  • Rewrote the Patch() function to use a purely PHP-based implementation instead of making an external call to patch(1).
  • Fixed bug with consecutive [=…=] sequences on systems that treat $KeepToken as a sequence of digits, such as W2K-NL (discovered by J. Meijer).
  • Modified [[include:]] handling so that include directives also work inside of pages called via PrintWikiPage() (e.g., in <!—wiki:…—> directives in templates).
  • Added $GroupPrintHeaderFmt and $GroupPrintFooterFmt variables to specify the pages to be added as headers and footers to ?action=print (requested by Michael Weiner).

Version 0.6.17 (4-May-2004)

  • Added extensions to [[include:]] syntax to allow portions of other pages to be included (suggested by John Rankin with contributions from many).

Version 0.6.16 (28-Apr-2004)

  • Changed rounding for font size changes to nearest unit instead of nearest tenth (suggested by Enrique Pardo).
  • Fixed mkgiddir to remove trailing slashes before directory operations (contributed by John Rankin and Donald Gordon).

Version 0.6.15 (30-Mar-2004)

  • Added <span link=‘wikitrail’> around wiki trail markups (suggested by John Rankin).
  • Added $TrailPathSep variable for use in TrailPaths? (suggested by Niall Durham).
  • Changed $AuthRealmFmt to eliminate per-group realms by default.

Version 0.6.14 (24-Mar-2004)

  • Fixed bug with $WikiWordCountMax limiting replacements in double-brackets (thanks to Eric Celeste for noticing this)
  • Added support for ‘xlpage-i18n’ option in XLPage? to automatically load i18n-specific setup scripts (e.g., for alternate charsets).

Version 0.6.13 (20-Mar-2004)

  • Updates the mailposts.php script to provide better customization of mailposts, e.g., authors and URLs? to modified pages. (Thanks to Thomas -Balu- Walter for suggestions.)

Version 0.6.11 and 0.6.12 (20-Mar-2004)

  • Fixed bug with %class=...% wiki style (thanks to Christian Ridderström)

Version 0.6.10 (18-Mar-2004)

  • Added .sit extension to default upload types (suggested by Enrique Pardo)
  • Added .css extension to default upload types
  • Cleaned up some bugs with indent code and handling of <pre> text
  • Fixed problems in Page Attribute code
  • Cleaned up pmwiki.css file
  • Change pmwiki.tmpl to use XHTML Transitional 1.0, and a table for the wiki title.
  • Fixed handling of $Needle and $SearchGroup in search.php (thanks to Thomas -Balu- Walter for reporting this)

Version 0.6.8 and 0.6.9 (3-Mar-2004)

  • Added $EditMessageFmt to edit form.
  • Added $DiffFunction and $PatchFunction for user-supplied diff/patch.
  • Fixed bug with $HTMLTitle in scripts/upload.php (thanks to Mathias Dzionsko for noticing this).
  • Minor edit checkbox now remains set when preview is selected (thanks to Mathias Dzionsko for noticing this).
  • Added $HTMLLineBreak.
  • Modified $WikiStylePattern to allow colons in addition to equals.
  • Added font-family, font-style, font-weight, text-decoration, and class WikiStyle? attributes.
  • Added $EnablePostAuthorRequired.
  • Added preliminary code to enable $PageFileFmt to place pages in subdirectories of $WikiDir.
  • Added LoadPageTemplate? function.

Version 0.6.7 (26-Feb-2004)

  • Bugfix to search.php (introduced in 0.6.2)
  • Added <!--/Page...Fmt--> template syntax to tlayout.php to end sections.
  • pmwiki.php now defines a “PmWiki” constant that scripts can use to verify they’re being called from PmWiki and not directly.

Version 0.6.6 (26-Feb-2004)

  • Bugfix to authorization code (thanks to Thomas Stierli for finding this).

Version 0.6.5 (25-Feb-2004)

  • Bugfix to pgcust.php code.

Version 0.6.4 (25-Feb-2004)

  • Modified code for automatically inserting pub/css/local.css, pub/css/$Group.css, etc., to use a $PageCSSListFmt array for customization.
  • Modified [++...++] and [--...--] markups to use <span> elements + CSS properties instead of the evil, terrible, awful <font> element.

Version 0.6.3 (25-Feb-2004)

  • Fixed bug in search.php generating extraneous “<div id=‘wikitext’>” (thanks to Andres Yver).
  • Moved code for PmWiki.EditQuickReference and PmWiki.UploadQuickReference into the $PageEditFmt and $PageUploadFmt variables (was previously in $HandleEditFmt and $HandleUploadFmt).
  • Changed $HTMLHeaders to <!—HeaderText?—>. $HTMLHeaders is deprecated.
  • Added $AsSpacedFunction.
  • Added code to automatically insert pub/css/local.css, pub/css/$Group.css, and pub/css/$Group.$Title_.css if they exist.
  • Added code so that PmWiki preserves the old page if a new edit cannot be saved, e.g., due to disk full errors. (Thanks to Thomas -Balu- Walter for the suggestion.)
  • Modified FmtPageName so that $…Fmt variables are substituted first.
  • Modified PmWiki template for correct site url link and to use above modifications.

Version 0.6.2 (23-Feb-2004)

  • Fixed possible bug with passing arguments by reference in tlayout.php (thanks to Runar Oudmayer for locating this)
  • Template layout now allows [!—…—] in addition to <!—…—> for template directives.
  • Cleaned up array handling for use with PHP 5 (thanks to Roy for reporting this)

Version 0.6.1 (22-Feb-2004)

  • Redesigned layout (yet again!) to use template files, normally stored in pub/skins/.
  • Removes the stdconfig.php file from the distribution.
  • Added link to author profile page in page history.
  • Greatly improved variable documentation, changed vardoc.php to include [[$Varindex]] markup.

Version 0.6.0 (18-Feb-2004)

Version 0.6.beta17 (17-Feb-2004)

Version 0.6.beta16 (16-Feb-2004)

  • Added class selector to search form.
  • Fixed a bug in handling double quotes inside of [=...=].
  • Added $CurrentTime setting to HandlePost.
  • Fixed pagerev.php to allow better i18n of output
  • Changed $PrintCSS variable to $PrintSkin.
  • Fixed printable view to open in a new window.
  • Updated the refcount.php and rss.php scripts for 0.6. Added an “orphans” option to refcount.php.

Version 0.6.beta15 (15-Feb-2004)

Version 0.6.beta14 (15-Feb-2004)

  • Changed $WikiWordSearchPathFmt to become $WikiWordPagePathFmt.
  • Defaulted link count of PmWiki to 1.
  • Changed location of configuration file to be local/config.php.
  • Added $SpaceWikiWords==2 option for alternate AsSpaced() functionality.
  • Fixed bug where “wiki:” of empty pages in PrintFmt printed current contents.
  • Fixed bug in .indent class of stdlayout.css.
  • Removed requirement of $action==‘edit’ to set author id.
  • Added setting of pagename to stdconfig.php.
  • Moved skins CSS files from pub/css/ to pub/skins/ .

Version 0.6.beta13 (13-Feb-2004)

  • Really fixed search header for non-path info installations (credit to dave at thunderbunny)

Version 0.6.beta12 (13-Feb-2004)

  • Fixed [=…=] processing to work around [[noheader]], [[nofooter]], etc.

Version 0.6.beta11 (13-Feb-2004)

  • Fixed search header for non-path info installations.

Version 0.6.beta10 (12-Feb-2004)

  • Fixed bug in setting of $PageRedirectFmt (thanks to Christian Ridderström)
  • Added print.php for printable page functionality
  • Changed default layout slightly
  • Changed default contents of left sidebar

Version 0.6.beta9 (12-Feb-2004)

  • Removed notify.php script from distribution
  • Added $GroupFreeLinkPattern to enable cookbook scripts to differentiate old vs. new freelinks. This may disappear in future releases.
  • Added $WikiWordCount and $WikiWordCountMax.
  • Added $WikiWordReplaceFmt.

Version 0.6.beta8 (11-Feb-2004)

  • cleaned up E_NOTICE bugs
  • added error_reporting(E_ALL ^ E_NOTICE) to pmwiki.php
  • restored missing $PageRedirectFmt variable
  • added {{Group/free link}} markup for testing/evaluation
  • fixed problem with consecutive —> indents
  • redesigned stdlayout code yet again
  • added Cookbook: InterMap entry
  • fixed minor= and source= prompts for pagerevs

Version 0.6.beta7 (9-Feb-2004)

  • Added $WikiWordSearchPathFmt functionality
  • Fixed numerous internationalization strings
  • Added XLPage() function to load translations from wiki pages
  • Added missing .indent CSS class for indented text
  • Changed identification markup (still working on this)
  • Cleaned up performance problem with [[$Searchresults]] in search.php

Version 0.6.beta6 (9-Feb-2004)

  • Fixed FmtPageName to again make copies instead of using references—the optimization introduced in 0.6.beta5 caused [=…=] markups to fail.

Version 0.6.beta5 (8-Feb-2004)

  • Changed FmtPageName to use references to globals instead of making copies. This eliminates the need for $GCount=0 in many module
  • Added —→ markup
  • Added $SearchExcludePatterns to search.php
  • Made PmWiki a lot smarter (but probably still not perfect) about where/when to place paragraph tags
  • Added SDVA() function
  • Fixed bug in PrintAttrForm (thanks to James Davis)
  • Added class=‘wikiaction’ to action headers
  • Redesigned stdlayout.php
  • Added —signature markup
  • Added setlocale() for environments with locale == ‘C’ to improve i18n
  • Cleaned up lastmodifies in footers
  • Re-enabled upload capabilities

Version 0.6.beta4 (2-Feb-2004)

  • Added author tracking
  • Added capability to remark on minor edits
  • Added authorship information to diff output
  • Added minor edit display toggle to diff output
  • Improved support for international accents in page names and WikiWords
  • Cleaned up handling of url fragments
  • Added capability for parameterized InterMap links—substituting a term or string in the middle of a target uri
  • Fixed ISBN InterMap link
  • Factored some FreeLinks code
  • Fields saved with pages are now controlled by the $PostFields array.

Version 0.6.beta3 (31-Jan-2004)

  • Fixed bug in “Restore” feature (thanks to JF)
  • Added robots meta tag to output (suggested by bram brambring)
  • Fixed WikiStyles to allow WikiWord-like patterns and not break uris with multiple %-encoded octets
  • Added experimental support for international accents in WikiWords
    • Added FmtURIs function to convert chars >=127 to uri-escaped sequences
    • Changed $LinkToken to \037 (was \264)

Version 0.6.beta2 (30-Jan-2004)

  • Fixed bug in styles being over-applied to all HTML tags.
  • Added ‘\\’ at end of line to mean line break (excellent suggestion by Christian Ridderström)
  • Updated HandleAttr and attributes code to use new layout design.
  • Changed <p /> to be <p></p> to conform with XHTML 1.0 spec.
  • Added $HTMLVSpace variable to control output of vertical space breaks.
  • Added wikilink, createlink, and urllink CSS classes to anchor tags.
  • Added |, `, and ^ to the list of characters that cannot appear in URL (in $UrlPathPattern).
  • Removed some code that supports PHP <4.1; PHP 4.1.0 is now the minimum.
  • Changed some $HTTP_POST_VARS and $HTTP_GET_VARS to $_REQUEST.
  • Added “source=“ parameter to page revisions code (pagerev.php)
  • Redesigned search.php code, search results can now be placed inside of a wiki page.
  • Fixed bug in search.php of not HTML encoding some characters such as > or ‘.
  • Fixed possible bug in !!!-headings with creating <h7>, <h8>, <h9>, etc. (Thanks to Balu for finding this.)

Version 0.6.beta1 (20-Jan-2004)

  • Moved old 0.5 default layout settings to scripts/layout-0.5.php
  • Added stdlayout, csslayout to scripts directory
  • Modified scripts/stdconfig.php to automatically include stdlayout.php unless $PageHeaderFmt is already set.
  • Changed default umask setting to be set based on permissions in wiki.d/
  • Created pub/ and pub/css/ directories
  • Replaced $ScriptDir variable with $PmWikiDirUrl
  • Replaced $WikiImgUrl in pmwiki.php with $PageLogoUrlFmt in scripts/stdlayout.php, eliminated $WikiImg variable.
  • Added $PubDirUrl
  • Removed $BodyWidth, $BodyLeft from pmwiki.php
  • Moved default stylesheet information to pub/css/pmwiki.css
  • Changed location where default page name is determined
  • Added optimization to FmtPageName to immediately return if string doesn’t contain a ‘$’
  • Redesigned page revision code, moved out of pmwiki.php into scripts/pagerev.php. Automatically included by scripts/stdconfig.php unless $HandleActions[‘diff’] is already defined.

Version 0.5.27 (11-Jan-2004)

  • Added Keep() function to make it easier for external modules to process text and preserve it from further PmWiki processing.
  • Added name= attribute to files saved by WritePage() function.

Version 0.5.26 (29-Dec-2003)

  • Added “preview=y” to restore links to generate page previews upon restore.
  • Added support for named entities in RSS/RDF generation, convert non-ASCII characters in RDF descriptions into XML numbered entitites (thanks to Patrick Ogay for finding this)
  • Fixed bug in $PageEditFmt (thanks to E. Duncan Scott for finding this)
  • Added ThisSite: InterMap reference to thiswiki.php (contributed by Dave Jackson)
  • Moved HandleCrypt to scripts/crypt.php, added sample code for inserting into local.php (suggested by Christian Ridderström)

Version 0.5.25 (10-Nov-2003)

  • Fixed E_NOTICE error with $LastModifiedHost (thanks to Richard Canning for discovering this).
  • Fixed WikiWord#label bug (thanks to John Rankin and others).
  • Added $SpaceWikiWordsString for customizing AsSpaced() (suggested by Fred Henle).
    Fatal error: fopen(wiki.d/PmWiki.WikiStyles) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Aucun fichier ou dossier de ce type in /mnt/114/sda/7/1/www.simulacres/wiki/index.php on line 639