Release notes | Documentation Index | Glossary

See the cookbook recent changes page for additional updates and activity by other developers, or join the pmwiki mailing lists to discuss feature development with us.

Version 2.2.8 (Monday, 7 December 2009)

  • Fix apostrophes in Author field (PITS:01155).
  • Fix Condition “exists” for PHP 5.3 (PITS:01156).
  • Update documentation.

Version 2.2.7 (Sunday, 8 November 2009)

  • Fix GlobToPCRE() to work with !excl and -excl with PHP 5.3 (PITS:01149).
  • Fix HandleDownload() correctly quote the filenames (PITS:01150).
  • Fix SessionAuth() for PHP 5.3, the $_REQUEST array doesn’t contain the $_COOKIE array (PITS:01141).
  • Fix default timezone for PHP 5.3 (PITS:01141).
  • Update documentation.

Version 2.2.6 (Sunday, 4 October 2009)

  • Escape apostrophes for multiline textarea/hidden form fields.
  • Fix global unset of $MarkupRules in Markup() and DisableMarkup(), reported by D.Faure.
  • Fix call to BuildMarkupRules() in MarkupToHTML(), suggested by Pm.
  • Allow disabling of $PageListFilters and $FPLTemplateFunctions if set to −1 and thus allow replacing a core function with a custom one.
  • Fix DRange() returned timestamps +1min or +1day when it shouldn’t (PITS:01125).
  • Add $MarkupWordwrapFunction to allow custom (:markup:) line width for multibyte wikis (PITS:00703).
  • Add $MakeUploadNamePatterns to allow custom filename normalization for uploads.
  • Add a fourth argument to PostRecentChanges() to allow this function to be called with a custom $RecentChangesFmt array.
  • Add $RecentUploadsFmt, to allow logging of new uploads to the RecentChanges pages (PITS:00088).
  • Fix Notify for some installations in safe_mode (PITS:00976).
  • Add $HTMLHeaderFmt[‘guiedit’] variable in guiedit.php to allow customization (PITS:01146).
  • Update documentation.

Version 2.2.5 (Tuesday, 25 August 2009)

  • Add *.7z as accepted upload extension (PITS:00813).
  • Fix global variable $HandleAttrFmt in HandleAttr (PITS:01126).
  • Allow brackets in input element names (PITS:01131).
  • Fix CSS class applied twice (PITS:01071).
  • Fix Not-Modified headers could prevent caching (PITS:00802).
  • Break FPLTemplate() into configurable sub-parts (PITS:01102).
  • Add (:template none:) section for Pagelist templates.
  • Fix attr-protected page could be deleted with edit permissions (PITS:00238).
  • Update documentation.

Version 2.2.4 (Thursday, 16 July 2009)

  • Fix bug with page attributes, which somehow didn’t make it in the 2.2.3 release.
  • Fix bug with HTML entities in XLPages introduced earlier today in 2.2.3 (reverted, PITS:01114).

Version 2.2.3 (Thursday, 16 July 2009)

  • Fix action=logout could incorrectly set a session cookie (PITS:01062).
  • Fix page history trim in vardoc.php (PITS:01103).
  • Add $EnableUploadGroupAuth, use group password for downloads (PITS:01104).
  • Fix recursive PTV loops, added $MaxPageTextVars (PITS:00915, PITS:01099).
  • Fix mkdirp() messages for absolute paths (PITS:00396).
  • Fix sample-config.php order for urlapprove.php (PITS:01037).
  • Fix broken signature links on preview.
  • Fix crypt.php (action=crypt) could malfunction for passwords with quotes or apostrophes.
  • Fix @_site_* passwords to work in GroupAttributes (PITS:00836, PITS:00998).
  • Fix possible XSS vulnerabilities, reported by Michael Engelke.
  • Update documentation.

Version 2.2.2 (Sunday, 21 June 2009)

  • Fix class in pages not on the breadcrumbs trail, reported by Ed W.
  • Fix tabindex and onclick to guiedit buttons.
  • Fix $GroupPrintHeaderFmt in print.php (PITS:01073).
  • Fix global vars in xlpage-utf-8.php (PITS:00980).
  • Fix $txt in LinkPage (reported by Eemeli Aro).
  • Add $EnableNotifySubjectEncode for international wikis (Cookbook:UTF-8).
  • Fix international message in Abort().
  • Fix security bug with AuthUser, reported by Eemeli Aro. See Release notes.
  • Fix $ActionTitleFmt for login and upload, reported by Eemeli Aro.

Version 2.2.1 (Saturday, 28 March 2009)

  • Fix $FPLTemplateMarkupFunction which somehow didn’t get in the 2.2.0 archive.
  • Fix wikitrails to work cross-group (PITS:00407).
  • Add $EnableRedirectQuiet variable (PITS:00919).
  • Fix {$Title} could display global variables (reported by HansB).
  • Fix reloaded form submissions could lose values (reported by DaveG).
  • Fix preview while restoring a version from history (PITS:01081).
  • Fix relative links with international characters (reported by G. Hermanowicz).
  • Add in sample-config.php example call to xlpage-utf-8.php (PITS:01066).
  • Update documentation.
  • Fix guiedit.php to produce valid HTML.

Version 2.2.0 (Sunday, 18 January 2009)

  • Convert beta series to official release series.
  • Add $FPLTemplateMarkupFunction (PITS:00984, requested by John Rankin).

Version 2.2.0-beta68 (Thursday, 14 August 2008)

  • Fix E_NOTICE errors reported by Dominique Faure.
  • Enable (:redirect:) directives in pagelists.

Version 2.2.0-beta67 (Sunday, 13 July 2008)

  • Add {$LastModifiedTime} page variable.
  • Add $EnableSessionPasswords variable to control session password usage.
  • Add $SessionEncode and $SessionDecode variables to specify functions for encoding/decoding sensitive session data.
  • Updated httpauth.php to use SessionAuth instead of poking in session guts directly.

Version 2.2.0-beta66 (Friday, 4 July 2008)

  • Add content-type/charset to Abort() output (suggested by Petko).
  • Close minor XSS vulnerability (PITS:01030).
  • Add “nested if” capability.
  • Fix bug in $Transition handling that would enable all transitions if any were set (reported by John Rankin).

Version 2.2.0-beta65 (Saturday, 17 November 2007)

  • Fix SiteAdmin.AuthList so that it defaults to list=all (reported by Roman).
  • Fix pmwiki skin to include xmlns= attribute in <html> tag (PITS:00989, reported by Mateusz Czaplinski and Petko Yotov).

Version 2.2.0-beta64 (Tuesday, 13 November 2007)

  • Add times to PmWiki date parsing (e.g., Thursday, 9 August 2007T12:22:04).
  • Suppress warning from ini_set in diag.php (suggested by Petko).
  • Fix handling of → links in trails (reported by Eemeli Aro).
  • Add .kml and .kmz as valid attachment types.
  • Fix handling of &amp; in markup (PITS:00988, reported by Stirling Westrup).
  • Fix duplication of language markers in $XLLangs (PITS:00987, reported by Stirling Westrup).
  • Correct typo in DRange() call in stdmarkup.php (reported by Stirling Westrup).
  • Turn on error displays when diagnostics are enabled.
  • Default PHP’s pcre.backtrack_limit to at least 1000000.

Version 2.2.0-beta63 (Tuesday, 31 July 2007)

  • Added $SkinDirectivesPattern to allow adjustments to available skin directives (requested by Petko).
  • Fix default permissions on Site.AuthUser and Site.AuthList (reported by Scott Connard).
  • Add “monospace” to pmwiki.css default (reported by Joshua Timberman, with assistance from H. Fox)
  • Fix problem with slashes in wildcards to name= and group= parameters (reported by Ian MacGregor).

Version 2.2.0-beta62 (Saturday, 21 July 2007)

  • Fix bug in trails introduced by beta61 (reported by charlequin).

Version 2.2.0-beta61 (Thursday, 19 July 2007)

  • Add ability to grab trails by section.
  • Add an “ontrail” condition (from suggestions by charlequin).

Version 2.2.0-beta59, 2.2.0-beta60 (Wednesday, 18 July 2007)

  • Fix problem with upgrade.php on wiki farms (reported by Scott Connard).
  • Fix problem with distributed version of Site.AuthUser (reported by Jon Haupt).

Version 2.2.0-beta58 (Tuesday, 17 July 2007)

  • Significant change: Site.AuthUser, Site.Blocklist, Site.ApprovedUrls, and Site.NotifyList now appear in the SiteAdmin group by default.
  • Abort if ldap: authentication requested and libraries aren’t present.
  • Added “upgrades.php” script to handle various migration issues.
  • Current PmWiki version is now held in SiteAdmin.Status .
  • Fix ?action=postupload to follow ?action=upload settings.
  • Improvements to SiteAdmin.AuthList page (suggestions and fixes from Ian MacGregor).
  • Allow leading underscores in attachment names (requested by Christophe David).

Version 2.2.0-beta57 (Friday, 15 June 2007)

  • Fix AsSpacedUTF8() to work like AsSpaced() (reported by Petko).
  • Qualify page links that contain parentheses (reported by Petko).
  • Fix bug in (:input default $:var ... :) (reported by Crisses).

Version 2.2.0-beta56 (Wednesday, 13 June 2007)

  • Fix AsSpaced() to not add spaces before leading digit, and treat hyphenated digits as complete numbers.
  • Fix infinite recursion in self-referencing page text variables (PITS:00915).
  • Fix bug introduced in beta55 not handling end anchors correctly (reported by Roman).

Version 2.2.0-beta55 (Monday, 11 June 2007)

  • Fix attributes to (:input e_form:) (PITS:00387, re-reported by Crisses).
  • UpdatePage() now calls StopWatch() to record posting.
  • Display stopwatch output as part of redirect.
  • Fix wiki styles bug when $EnableLinkPageRelative is set (reported by Petko).
  • Revise TextSection() code to hopefully avoid pcre limits (reported by Kathryn Andersen, Knut Alboldt).
  • Add wrap=inline and wrap=none options to page list.

Version 2.2.0-beta53, 2.2.0-beta54 (Saturday, 2 June 2007)

  • Improve error message reporting for markup rules (suggestion by Knut Alboldt).
  • Clean up more E_NOTICE warnings (reported by Ian MacGregor).
  • Add focus= option to (:input:) controls.
  • Added CSS .faqtoc class, to be able to display only the questions coming from the #includefaq page list template.
  • Changed PmWiki.FAQ to use .faqtoc class.
  • Fix bug in TextSection (PITS:00935, reported by Jean-Fabrice).
  • Fix bug in page list caching of trails.

Version 2.2.0-beta52 (Saturday, 26 May 2007)

  • Add per-PageStore attributes (from a suggestion by Tobias Thelen).
  • Add {$PasswdRead}, {$PasswdEdit}, etc. to display page password settings.
  • Add Site.AuthList to display all password permissions on a site.
  • Reorder $PageListFilters slightly.
  • Add “passwd=“ option to page list, to return only those pages that have some sort of password attribute on them.
  • Add line numbers to StopWatchHTML output.
  • Clean up handling of $AuthCascade.

Version 2.2.0-beta51 (Wednesday, 23 May 2007)

  • Add fmt=count to page list (reminder from Hans).
  • Ignore hidden files in skin directories when searching for .tmpl (suggestion by Stephan Becker).
  • Clean up queuing of pages to be updated in .pageindex .
  • Reset $LinkTargets() at beginning of each UpdatePage() sequence.

Version 2.2.0-beta50 (Tuesday, 22 May 2007)

  • Fix HTML cache when drafts are enabled, or other recipes using CondAuth().
  • Prevent page lists with protected pages from HTML cache.

Version 2.2.0-beta48, 2.2.0-beta49 (Monday, 21 May 2007)

  • Fix spurious value= attribute in <textarea> tag generated by (:input textarea ... :).
  • Allow either (:input default ...:) or (:input defaults ...:).
  • Fix problem with page text variable handling in (:input defaults:).
  • Allow either (:template default:) or (:template defaults:) in page list templates.
  • Fix a bug handling dates with suffixes (reported by Crisses).

Version 2.2.0-beta47 (Sunday, 20 May 2007)

  • Fix bug with quote handling in (:include:) options (reported by Hans).

Version 2.2.0-beta46 (Saturday, 19 May 2007)

  • Moved $PageTextVarPatterns definition from scripts/stdmarkup.php to pmwiki.php.
  • Ignore Markup() rules that have unresolved $when parameters.
  • Fix issue in authuser.php when $auth array isn’t set (contributed by Ben Stallings).
  • The (:include:) directive now performs template argument processing on the included text.
  • Optimized (:pagelist:) slightly when sorting on page variables.
  • Refactored (:input ... :) markups.
  • Added HandleDispatch(), which allows action handlers to easily redispatch to other actions (and add messages).
  • Added FmtTemplateVars(), to perform various template-substitutions.

Version 2.2.0-beta45 (Wednesday, 2 May 2007)

  • Update pmwiki’s date parsing to use a common routine, recognizing dates within strings and restricting range to 1900–2039.
  • Add additional parameter to “date” conditional.
  • Add if= option to page list (suggested by Crisses).
  • Refactor code to use TextSection() and RetrieveAuthSection() functions.
  • The value= parameter to (:input textarea:) now works properly (including values loaded from $InputValues).
  • The (:input default:) directive now allows loading input control defaults from another page via the source= parameter.
  • Remove automatic call to FmtPageName() in $ROSPatterns. Add $ROEPatterns (from suggestions by JB and others).
  • Fix minor variable bugs in scripts/crypt.php.
  • Remove E_NOTICE errors (reported by Hans).
  • Fix handling of page variables when pagename is empty or not provided.
  • Add $EnableLinkPageRelative configuration option.
  • Clean up handling of arguments to {(ftime ...)}.
  • Remove mailposts.php call in stdconfig.php (reported by Christophe David).

Version 2.2.0-beta44 (Monday, 16 April 2007)

  • Fix case conversion of U+027D and U+026B (reported by Petko).
  • Add $FTimeFmt to set default formatting for {(ftime)}.
  • Add %s conversion to {(ftime)} for systems that don’t have it by default.
  • Report an error if edit form cannot be read (suggested by Hans).
  • Don’t report ?cannot acquire lockfile when simply browsing pages.
  • Add $EnableReadOnly flag to signal when PmWiki is to be run in read-only mode.

Version 2.2.0-beta43 (Sunday, 15 April 2007)

  • Update drafts code to add $EnablePublishAttr and change button labels when drafts are enabled (PITS:00755).
  • Removed no-longer-needed ‘compat1x.php’ and ‘mailposts.php’ from distribution.
  • Added $DraftRecentChangesFmt.
  • Added “markup expressions{(...)} into the core.
  • Added charset= attribute to saved pages.
  • Update pagelist.php and xlpage-utf-8.php to handle case-insensitive searches.
  • Added some optimizations to phpdiff.php script to produce more useful history information.

Version 2.2.0-beta42 (Tuesday, 27 March 2007)

  • Fix a bug with order=title in pagelists (reported by Anno).

Version 2.2.0-beta41 (Monday, 26 March 2007)

  • Added $EnableWSPre option, which allows easy adjustment of the “leading space → preformatted text” (or “whitespace”) rule.
  • Added a new “pre” wikistyle, to designate blocks that are to be treated as preformatted text.

Version 2.2.0-beta40 (Saturday, 24 March 2007)

  • Fix bug with order=title in pagelists when using $Titlespaced (PITS:00906, reported by Feral).
  • Report state of allow_url_fopen when downloads fail in blocklist.php.

Version 2.2.0-beta39 (Friday, 23 March 2007)

  • Allow page variable filters to appear as options in (:template defaults:) (reported by SteP).
  • Updated Site.PageListTemplates to use (:template:) directives.
  • Remove ‘#wikileft h1’ and ‘#wikileft h5’ from pmwiki default stylesheet.

Version 2.2.0-beta38 (Thursday, 22 March 2007)

  • Strip control characters from $ChangeSummary.
  • Fix problem with count=m..n where m..n is outside the range of available pages (reported by SteP).
  • Allow (:template default ...:) to specify a class= option.
  • Redirect pagename can now include an anchor (PITS:00558)

Version 2.2.0-beta37 (Friday, 16 March 2007)

  • Allow an optional space after comma separators in wildcard patterns (reported by Han Baas).

Version 2.2.0-beta36 (Friday, 16 March 2007)

  • Allow nested page text variables to work, remove extraneous ENT_NOQUOTES parameter.
  • Add new (:template ...:) directives for pagelist templates.
  • Modify count= option to pagelists to allow for alternate ranges.

Version 2.2.0-beta35 (Monday, 5 March 2007)

Version 2.2.0-beta33, 2.2.0-beta34 (Thursday, 1 March 2007)

  • Refactor wildcard handling into its own GlobToPCRE function.
  • Allow negated wildcards for page variable filters in pagelists (PITS:00878, reported by Jiri)
  • Fix wildcards so that spaces no longer separate patterns (use commas).
  • Fix handling of ‘&’ prior to (:input:) and other directives (reported by Luigi).
  • Adjust position of %define=...% wiki styles to occur after ampersands.
  • Adjust copyright dates on many files.
  • Allow spaces around text variable names in page text variable markups.

Version 2.2.0-beta32 (Wednesday, 28 February 2007)

  • Fix erroneous $EnableCreole item in docs/sample-config.php (reported by Sigurd).
  • Added (:elseif:) and (:else:) markups (PITS:00787).
  • Fix global $Skin variable handling when using SetSkin from within markup.
  • Make sure directives aren’t treated like page text variables (reported by Petko).
  • Remove call to ResolvePageName() from authuser.php .
  • Simplify LDAP authentication for Active Directory sites.
  • Cache lowercase/uppercase patterns in AsSpacedUTF8().

Version 2.2.0-beta31 (Sunday, 11 February 2007)

Version 2.2.0-beta29, 2.2.0-beta30 (Friday, 9 February 2007)

  • MakePageName now uses the first matching entry of $PagePathFmt as the home page of groups without a home page.
  • Add AsSpacedUTF8() to handle title spacing in utf-8 (PITS:00875, contributed by Petko, Celok)
  • Fix $RequestedPage when running with utf-8.
  • Add <meta> content-type tag for utf-8.
  • Add an experimental caching system for pagelists.
  • Fix $SuffixPattern and link suffixes for utf-8 (PITS:00881, reported by ppip).

Version 2.2.0-beta28 (Saturday, 3 February 2007)

  • Update blocklist.php so that all posted fields are checked for block values (PITS:00850).

Version 2.2.0-beta27 (Thursday, 25 January 2007)

  • Fix markup processing sequence for (:input default:), (:input select:), etc. (problem noted by Marc).
  • Fix default value of order= parameter to MakePageList().

Version 2.2.0-beta26 (Tuesday, 23 January 2007)

  • Fix a bug where pagelist list= option had no effect when reading from trails (from an rss problem noted by Russ Fink).

Version 2.2.0-beta24, 2.2.0-beta25 (Monday, 22 January 2007)

  • Add a scripts/creole.php module for Creole markup (http://www.wikicreole.org/).
  • Move WikiWords out of the core defaults — can be enabled via $EnableWikiWords.
  • Fix handling of WikiWords following & or #, as in &AElig; and #FFFF00 (reported by Moni Kellermann).
  • Adjust FormatTableRow() to support Creole-style tables (using single |’s).
  • Update docs/sample-config.php with new configurations and options.
  • Added code to allow Abort() to refer to additional information on pmwiki.org.
  • Added $EnableSkinDiag, which checks templates for required <!--HTMLHeader→ and <!--HTMLFooter→ directives.
  • Removed deprecated $BasicLayoutVars support from skins.php.

Version 2.2.0-beta22, 2.2.0-beta23 (Wednesday, 17 January 2007)

  • Added $EnableActions, to allow pmwiki.php to be included without generating output (from a suggestion by Wouter Groeneveld).
  • Fix bug in “order=“ option to (:pagelist:) (reported by Mike Bishop).
  • Change DisplayStopWatch() function to StopWatchHTML().
  • Allow multiple lines for markup:, wiki:, and page: template directives (reported by Marc)

Version 2.2.0-beta21 (Friday, 12 January 2007)

  • Fix <vspace> bug in searchresults output (PITS:00846, reported by M. Czaplinski, marc, and others).
  • Fix numerous E_NOTICE warnings and incorrect constants (PITS:00853, contributed by AndrewFyfe).

Version 2.2.0-beta20 (Thursday, 11 January 2007)

  • $FeedPageListOpt needs to be declared global in feeds.php.
  • Add “404 Not Found” status code to ?invalid page name aborts (PITS:00854, suggested by Athan).
  • Remove stale entries from $PageExistsCache when a new PageStore is added (reported by Hans).

Version 2.2.0-beta19 (Friday, 29 December 2006)

  • Have blocklist check $_POST[‘text’] only when it is set (from a report by Simon).

Version 2.2.0-beta18 (Thursday, 28 December 2006)

  • Change $pagename parameter in UpdatePage() to be passed by reference (suggestion by J. Meijer).
  • Fix $EnableRobotsCloakActions so that it works again with page variables.
  • Add “XML Sitemaps” to $RobotPattern.
  • Change $MetaRobots to return “nofollow,noindex” for non-existent pages.
  • Prefer “404 Not Found” to “403 Forbidden” for robots attempting to do invalid actions on non-existent pages.
  • Add rel=‘nofollow’ to “create attachment” links.
  • Added class=‘inputbox’ to select boxes (suggested by Hans).
  • Added .odt, .ods, and .odp file extensions to allowed uploads (suggested by Algis Kabaila, Robin Sheat, and others).
  • Clean up some error warnings (PITS:00801, contributed by psvo).
  • Set $ScriptUrl to ‘https:’ when accessed via SSL link (suggestions from C. Ridderström, H. Fox, PITS:00410, PITS:00527, PITS:00595).
  • Fix bug in link= and trail= options to (:pagelist:) (reported by C. Ridderström).

Version 2.2.0-beta17 (Wednesday, 13 December 2006)

  • Fix spurious hidden field in (:searchbox:) output (reported by Hans).
  • Fix $CaseConversions array for \xc4\xb1 and \xc5\xbf (reported by Petko Yotov).
  • Refactor (:input:) markup handling.
  • Add (:input select ...:) markup (PITS:00567).
  • Add (:input default ...:) markup — may change before 2.2.0 release.
  • Add ability to set defaults for radio/checkbox/select controls.

Version 2.2.0-beta16 (Friday, 10 November 2006)

  • Fix problem with (:e_preview:) directive when viewing an edit form (reported by Dominique Faure).
  • Fix out-of-memory problem in scripts/compat1x.php when dealing with large pages to be converted (contributed by Donald Gordon).
  • Fix problem of Variable: lines immediately followed by newline (reported by Hans).
  • Fix uninitialized variable errors in FormatTableRow() (reported by Bob Sanders).
  • Fix second argument of MakeBaseName() (provided by Stirling Westrup).

Version 2.2.0-beta15 (Monday, 16 October 2006)

  • Fix bug with displaying multi-line (:var:value:) page text variables (reported by Pico).
  • Improve PageStore ls() method slightly, to restrict pagename searches to directories of a given depth (based on an issue reported by Chris Cox).
  • Added $IsBlocked status variable to scripts/blocklist.php.
  • Added $UnapprovedLink array to report unapproved links.
  • Added $TimeISOFmt, $TimeISOZFmt, and $CurrentTimeISO variables.
  • Switched scripts/feeds.php to use $TimeISOZFmt instead of $ISOTimeFmt.
  • Added request= option to (:pagelist:), switched pagelist to default to not use url/form parameters.
  • Fixed bug with array {$$options} in pagelist.

Version 2.2.0-beta14 (Friday, 6 October 2006)

Version 2.2.0-beta13 (Wednesday, 4 October 2006)

  • Fix handling of angle brackets (and potential XSS) in pagelists combined with page text variables (noted by Pico).

Version 2.2.0-beta12 (Tuesday, 3 October 2006)

  • Added the UpdatePage() function into the core.

Version 2.2.0-beta11 (Tuesday, 3 October 2006)

  • Added ability to automatically create targets.
  • Added sample code to docs/sample-config.php for automatic generation of Category.* pages.
  • Fixed character escapes in pagelist {$$option} variables.

Version 2.2.0-beta10 (Monday, 2 October 2006)

  • Added {$$option} variables to get option values from (:pagelist:) (based on a recipe from Martin Fick).
  • Changed {$PageCount}, {$GroupPageCount}, and {$GroupCount} to be {$$PageCount}, {$$GroupPageCount}, and {$$GroupCount}.
  • Added {$BaseName} page variable and $BaseNamePatterns.

Version 2.2.0-beta9 (Sunday, 1 October 2006)

  • Fix bug with $EnablePageListProtect (reported by Brent Zupp).
  • Added ability to select based on page variables in (:pagelist:).

Version 2.2.0-beta8 (Saturday, 30 September 2006)

  • Update scripts/blocklist.php to check only $_POST[‘text’] instead of entire markup text.
  • Fix bug in pagelist.php that wouldn’t return correctly formatted array in certain circumstances (noted by Florian Fischer and JDem).

Version 2.2.0-beta7 (Saturday, 30 September 2006)

  • Added scripts/blocklist.php to core.
  • Updated handling of $PageTextVarPatterns.
  • Eliminated need for extra flush() steps in notify.php, pagelist.php.

Version 2.2.0-beta6 (Wednesday, 27 September 2006)

  • Fix bug with initialization of $FeedPageListOpt in scripts/feeds.php (reported by Roman).
  • Fix bug with over-eager (:textvar:value:) markup (from a bug reported by Chris Cox).

Version 2.2.0-beta4, 2.2.0-beta5 (Wednesday, 27 September 2006)

  • Fix bug with name= option in pagelist (reported by Ben Wilson).
  • Fix bug with array_merge under PHP 5 (reported by Kathryn Andersen).

Version 2.2.0-beta3 (Tuesday, 26 September 2006)

  • Remove extra <!--→ comment at end of table directives (noted by Ben Stallings).
  • Fix directive form of page text variables (reported by Kathryn Andersen).
  • Add first version of new modular pagelist code.

Version 2.2.0-beta2 (Monday, 25 September 2006)

  • Add support for {$:var} page text variables, and (:var:...:) markup.
  • Fix default setting of $EnableRelativePageVars in docs/sample-config.php .

Version 2.2.0-beta1 (Monday, 25 September 2006)

  • Added {*$var} page variables (always the currently browsed page).
  • Convert link and page variable handling in (:include:) to be relative to the included page.
  • Added $EnableRelativePageVars and $EnableRelativePageLinks variables, as well as transition options.
  • Added basepage= option to (:include:).
  • Updated $GroupHeaderFmt and $GroupFooterFmt to use basepage= option.
  • Adjusted $MakePageNamePatterns to automatically strip any #… or ?… from the end of a pagename input string (solution to a problem reported by J. Meijer).

Version 2.1.27 (Monday, 11 December 2006)

  • Backport in bug fix for TableRowFormat (from 2.2.0-beta16).
  • Add support for {*$Variable} syntax (from 2.2.0 page variables).

Version 2.1.26 (Monday, 11 September 2006)

  • Fix a bug with variable referencing that caused feeds.php to get a confused PCache (reported by Helge Larsen).

Version 2.1.25 (Friday, 8 September 2006)

  • Fixed a bug in authuser.php that would fail if $AuthUser isn’t defined (reported by Hans Huijgen).
  • Added <!--XMLHeader→ and <!--XMLFooter→ aliases to <!--HTMLHeader→ and <!--HTMLFooter→ directives in skin templates (suggested by John Rankin).
  • Added $PageExistsCache (suggested by John Rankin).

Version 2.1.24 (Wednesday, 6 September 2006)

  • Fixed a bug in authuser.php that had trouble dealing with non-array entries in $AuthUser (reported by Udo).
  • Can now specify authorization groups using $AuthUser[‘@group’] entries.
  • Can now specify an Apache .htgroup-formatted file for authorization groups via $AuthUser[‘htgroup’].

Versions 2.1.21, 2.1.22, 2.1.23 (Tuesday, 5 September 2006, Wednesday, 6 September 2006)

  • Close a potential security hole with $FarmD when register_globals is set “On”.
  • Correct a syntax error in feeds.php (noted by Ben Wilson).
  • Fix a bug that prevented PmWiki from reading page files generated by versions prior to 0.5.6 (discovered by Milan Avramovic).

Version 2.1.20 (Monday, 4 September 2006)

  • Fixed a bug in (:attachlist:) when passed a wikiword argument (reported by Kathryn Andersen).
  • Changed $HTMLStylesFmt[‘markup’] to honor config.php setting (reported by Hans).

Version 2.1.19 (Wednesday, 30 August 2006)

  • Corrected a bug in the pageindex code that was causing the .pageindex to not update as quickly as it should.
  • Slightly changed the handling of ‘width’ and ‘height’ in wikistyles.php, so that they can be be applied as attributes to and tags.
  • Updated the Keep() function to recognize closing block tags as being in the ‘B’ block pool.
  • Fixed a bug with wikistyles and form tags.
  • Version 2.1.18 (Monday, 28 August 2006)

    • Closed a potential cross-site scripting vulnerability in table markups (reported by JB).
    • Added (:input image:) markup (requested by JB).
    • Fixed problem with ?action=print failing to set {$Action} (reported by Bart).

    Version 2.1.17 (Saturday, 26 August 2006)

    • Added some improvements to IMS caching to better handle logout and authorization actions (PITS:00573, reported by floozy and Henrik Bechmann).

    Version 2.1.16 (Saturday, 26 August 2006)

    • Added $SkinLibDirs variable, to select filesystem and url locations where skins may be found (resolves PITS:00708, as reported by Hagan Fox, with additional suggestions from Ben Wilson).
    • Changed <!--HeaderText--> to <!--HTMLHeader--> in skin templates, and added an optional <!--HTMLFooter--> directive (PITS:00767).
    • Adjusted the pmwiki and print skins to use the new directives.

    Version 2.1.15 (Friday, 25 August 2006)

    • Fixed issue dealing with order of @_site_* passwords (reported by Jean-Fabrice and others).
    • Added $LocalDir variable (requested by John Rankin).
    • Removed an unnecessary setting of $DefaultPage in scripts/pgcust.php (it’s now handled by ResolvePageName() ).
    • Added some variables and changes in wikistyles.php to better support wikipublisher (contributed by John Rankin).
    • RetrieveAuthPage (PmWikiAuth) now recognizes a $level of ‘ALWAYS’ as indicating that access should always be allowed, regardless of current passwords or identities.
    • Added filter specifier for AuthUser LDAP authentication (contributed by Balu).

    Version 2.1.13, 2.1.14 (Tuesday, 15 August 2006, Wednesday, 16 August 2006)

    • Updated scripts/authuser.php to allow ldaps://… authentications (contributed by Michael Brenner).
    • Fixed problem with numeric passwords introduced in 2.1.beta20 (reported by Christophe David and Dirk Blaas).

    Version 2.1.12 (Monday, 7 August 2006)

    • Corrected typo in Site.SideBar file (reported by Judith Zacharie).
    • Suppressed warning message for search on sites without a wikilib.d/ directory.
    • Added capability for nested divs.
    • Use $Transition[‘nodivnest’] to restore previous non-nesting div/table behavior.
    • Including authuser.php now automatically resolves pagename.
    • Added (:noaction:) directive to turn off actions.
    • Fixed bug in wikistyles prior to image blocks.
    • Added white-space as allowed wikistyle (suggested by C. Ridderström).
    • Allow colons, hyphens, and dots in id= tags.

    Version 2.1.11 (Friday, 9 June 2006)

    • Fixed generation of empty paragraphs around %define=...% wikistyles (PITS:00753).

    Version 2.1.10 (Sunday, 4 June 2006)

    • Added a around the RecentChanges link in the pmwiki skin (PITS:00750, suggested by Hagan Fox).
    • Changed the $Action variable to $ActionTitle (PITS:00749, reported by Hagan Fox).
    • Changed $FPLTemplatePageFmt to be an array of pages to be searched for page templates, enabled searching of current page and Site.LocalTemplates page.
    • Updated .vspace margin in sidebar for pmwiki skin (PITS:00751, by Hagan Fox).

    Version 2.1.9 (Friday, 2 June 2006)

    • Fixed a bug with [[~Author]] links (PITS:00530 reported by Klonk, PITS:00611 reported by weijang, PITS:00671 reported by Stirling Westrup, and helpful clues provided by Clayton Curtis).

    Version 2.1.8 (Thursday, 1 June 2006)

    • Added ability to specify notification entries from local/config.php as well as Site.Notify (suggested by Christophe David).
    • Fixed $Transition[‘vspace’] from 2.1.7.

    Version 2.1.7 (Wednesday, 31 May 2006)

    • Adjusted width of edit form for IE browsers (contributed by Roman and H. Fox).
    • Suppress authentication failure error from LDAP (PITS:00739).
    • Fixed problem with invalid page names resulting in redirect loop (PITS:00723, reported by jojoo).
    • Added “Group.” and “Group/” page name syntax, resolving PITS:00736 (from a suggestion by Pico).
    • Changed handling of “vspace” paragraphs.
    • Fixed some XSS vulnerabilities in uploads.php and url links (reported by Moritz Naumann, http://moritz-naumann.com).
    • Added notify.php script, allowing finer control of email notifications.

    Version 2.1.6 (Monday, 22 May 2006)

    • Optimized performance of urlapprove.php.
    • Added (:if auth xyz PageName:) syntax.
    • Corrected XSS bug in trails.php.
    • Slightly improved performance of free links.
    • Restore ability to use hyphens in InterMap links (reported by Henrik Bechmann).

    Version 2.1.4, 2.1.5 (Wednesday, 29 March 2006)

    • Fixed problem with pagelist-based feeds (PITS:00709, reported by Jon Haupt).
    • Added {$Action} page variable. (PITS:00696, reported by Sebastian Pipping).
    • Added stripmagic() around variables submitted to authuser.php.
    • Fixed problem with multi-term searches containing special characters (PITS:00713, reported by Leo).
    • Switched (:attachlist:) to use a natural case sort (suggested by H. Fox).

    Version 2.1.3 (Friday, 17 March 2006)

    • Re-fixed problem with PHP 5.1.1 and lines= option to (:include:) (PITS:00620).
    • Fixed empty LDAP password issue (reported by Thomas Lederer).

    Version 2.1.2 (Thursday, 16 March 2006)

    • Fixed <h1>/<h2> tag mismatches (PITS:00702, reported by Martin Hason).
    • Fixed bug with $AllowPassword and “nopass” (reported by M. Weiner and bram brambring).
    • Improved the speed of RSS and other web feeds when $EnablePageListProtect is not set.

    Version 2.1.1 (Monday, 13 March 2006)

    • Fixed a bug with multiple authorization groups as a password (PITS:00699, reported by Ari Epstein).
    • Updated the authorization code to be a bit more liberal with password/group settings.
    • Updated PmWiki.FAQ page to be able to grab FAQ items from other pages in the documentation.

    Version 2.1.0 (Sunday, 12 March 2006)

    • Many many documentation updates (special thanks to many authors).
    • Allow trailing underscores in upload names (requested by Hans).
    • Fixed ‘ak_print’ problem causing accesskey=‘a’ for print (noted by Pico).
    • Added code to make sure each anchor is generated only once per page (for XHTML validity).
    • Added a $BlockPattern variable to recognize block HTML tags.
    • Made an adjustment to Keep() so that it places strings with block HTML into the ‘B’ pool.
    • Adjusted stdmarkup.php to not produce paragraphs for keep blocks in the ‘B’ pool.
    • Corrected a variety of i18n phrases.
    • Added class=‘escaped’ to distinguish @@...@@ from [@...@] (from a comment by Hans).
    • Slightly changed styling of .faq divs.
    • Made the edit textarea a couple of rows smaller to better fit on smaller displays (suggested by H. Fox).

    ChangeLog Archive - changes prior to version 2.1.0.


    This page may have a more recent version on pmwiki.org: PmWiki:ChangeLog, and a talk page: PmWiki:ChangeLog-Talk.