PmWiki Changelog

What's new in PmWiki 2.2.91

Oct 31, 2016
  • This is a documentation update version.

New in PmWiki 2.2.90 (Sep 1, 2016)

  • Adds a parameter to the upload form which can improve analytics from the server logs.
  • Two new CSS classes were added to help skin developers: imgonly and imgcaption, for standalone embedded pictures with or without a caption.
  • A bug with the plus-links was fixed.
  • The documentation was updated.

New in PmWiki 2.2.89 (Jul 31, 2016)

  • This version allows to set a default class name for simple tables. The (:searchbox:) directive can now have a "placeholder" attribute, and the input type can be changed from "text" to "search" for HTML5 websites. The edit form elements have now identifier attributes to allow easier styling. All core scripts will now inject CSS into the skin only if it hasn't already been defined. The vardoc.php script now recognizes and links to the documentation for the variables $pagename, $Author and $Skin. The documentation was updated.

New in PmWiki 2.2.88 (Jul 2, 2016)

  • This version fixes invalid HTML output of some WikiTrail links. The function PHSC() can now have an optional forth argument for a safe replacement of htmlspecialchars(). A new page variable {$SiteAdminGroup} was added and the documentation was updated.

New in PmWiki 2.2.87 (May 31, 2016)

  • This version adds the $HTMLTagAttr variable to be used in the tag in skins for additional attributes like "lang" or "manifest". To enable it, use it in your skin, for example:
  • The variable $EnableRevUserAgent, if set to 1, will cause the User-Agent string from browsers to be stored with each page history entry (as opposed to only storing the last user agent string). The output variable $DiffUserAgent can be used in history templates like $DiffStartFmt.
  • A wrong page variable in Site.UploadQuickReference was corrected, and the documentation was updated.

New in PmWiki 2.2.86 (Apr 28, 2016)

  • This version adds updates for PHP 7, for the PageStore() class and for the $DefaultPasswords default/unset definitions (no action should be needed upon upgrades). The documentation was updated.

New in PmWiki 2.2.84 (Feb 21, 2016)

  • This versions fixes "indent" and "outdent" styles for right-to-left languages. A new variable $EnableLinkPlusTitlespaced allows "plus links" [[Link|+]] to display the "Spaced Title" of the page instead the "Title". The documentation was updated.

New in PmWiki 2.2.82 (Nov 30, 2015)

  • This version enables stripmagic() to process arrays recursively and updates the documentation.

New in PmWiki 2.2.81 (Nov 30, 2015)

  • This version fixes an inconsistency with single line page text variables. International wikis enabling UTF-8 will now be able to use the CSS classes "rtl" and "ltr" to override the text direction when inserting right to left languages. The documentation was updated.

New in PmWiki 2.2.80 (Nov 30, 2015)

  • This version modifies the (:searchbox:) directive to use type="search" semantic input, and updates the documentation.

New in PmWiki 2.2.79 (Aug 29, 2015)

  • This version adds WikiStyles for the CSS basic colors "fuchsia", "olive", "lime", "teal", "aqua", "orange" and "gray"/"grey". New input elements "email", "url", "number", "date", and "search" can now be used in wiki forms.
  • Note: the "target" attribute of input forms which was added in the previous version broke the PmForm processor, and was removed until we find a solution. If you don't use PmForm and require this attribute (or others), the usual way to add it is to redefine the $InputAttrs array in your local configuration.
  • A new variable $EnableROSEscape can be set to 1 if $ROSPatterns and $ROEPatterns should not process source text wrapped with [=...=] or [@...@]. By default "replace on edit" patterns are performed even in such text.
  • The insMarkup() function in guiedit.js was refactored to allow custom input ids and/or custom functions to process the selected text.
  • The documentation was updated.

New in PmWiki 2.2.78 (Jul 22, 2015)

  • This version updates the $RobotPattern list with currently active user agents. Input forms can have a "target" attribute. The documentation was updated.

New in PmWiki 2.2.77 (Jun 20, 2015)

  • Extends the (:if attachments:) conditional to specify file and page names.
  • A {$WikiTitle} page variable was added.
  • A MatchNames() function was introduced as a generic way to match array values the same way MatchPageNames() does currently with lists of pages -- recipe authors can use it to get a subset of attachments for example.
  • The PageStore() class was slightly optimized when recoding pages from-to UTF-8.
  • The documentation was updated.

New in PmWiki 2.2.76 (Jun 20, 2015)

  • Improves support for arrays in form elements: setting default values and recovering values from posted forms.
  • A new "label" argument to checkbox and radio input elements allows easy insertion of clickable text labels after the form elements.
  • Division blocks wrapping standalone images, and standalone image captions, now receive CSS classes allowing greater control via stylesheets.
  • The documentation was updated.

New in PmWiki 2.2.75 (Apr 27, 2015)

  • Adds a pmcrypt($pass, $salt) function which can be used as a replacement for the PHP crypt() function when encrypting passwords. From PHP 5.6 on, crypt() should not be used without a $salt parameter and would raise a notice. If pmcrypt() is called with a $salt parameter it will simply call crypt() in order to check a password. If it is called without a $salt parameter, pmcrypt() will create a password hash with the password_hash() function or with crypt() depending on your installation. You can replace any calls to crypt() with pmcrypt(), notably in config.php when defining $DefaultPasswords entries.
  • Markup was added for the semantic HTML5 tags article, section, nav, header, footer, aside, address.
  • A bug with the uploads feature was fixed when $EnableReadOnly is set, and the documentation was updated.

New in PmWiki 2.2.74 (Mar 30, 2015)

  • This version allows the translation of the word "OK" in authentication forms. The documentation was updated to the latest state on pmwiki.org.

New in PmWiki 2.2.73 (Mar 2, 2015)

  • This release only updates the documentation to the latest state on pmwiki.org.

New in PmWiki 2.2.72 (Jan 28, 2015)

  • This version improves the ?action=ruleset display for markup rules potentially incompatible with PHP 5.5 when the function debug_backtrace() is not available. It restores the ability to set a custom function handling the (:markup:) demos. A variable $AbortFunction was added allowing administrators to override the core Abort() function. The documentation was updated.

New in PmWiki 2.2.71 (Dec 30, 2014)

  • This version removes the hard word wrap in (:markup:) wikicode examples, and instead of tags, it wraps it in tags. This allows newcomers to copy and paste the code in their wikis without inserted line breaks (which often cause the markup to not work).
  • The release also adds back-tracing for markup rules potentially incompatible with PHP 5.5. Such rules, often added by recipes, can trigger "Deprecated: preg_replace()" warnings. To find out which recipes may trigger the warnings, enable diagnostic tools in config.php with $EnableDiag = 1; then open a page with the 'ruleset' action, eg. [[HomePage?action=ruleset]]. The PHP-5.5-incompatible rules will be flagged with filenames, line numbers and patterns. See also the pages Troubleshooting and CustomMarkup on pmwiki.org.
  • The variable $DraftActionsPattern was added, the pagelist "request" parameter can now contain a list of allowed or disallowed parameters that can be overridden by the user, the "input default source" parameter can now contain multiple pages, and a minor bug was fixed in upload.php ('strict' warning). See the updated documentation for more information.

New in PmWiki 2.2.70 (Nov 11, 2014)

  • Updates the documentation to the latest state on pmwiki.org.

New in PmWiki 2.2.69 (Oct 14, 2014)

  • This version fixes a bug when dates are defined as relative to other dates, eg. "2014-10-13 -3 days". The documentation was updated. Note that the instructions in Site.UploadQuickReference were updated to reflect the display of the upload form in current browsers.

New in PmWiki 2.2.68 (Sep 2, 2014)

  • Adds a Skins: InterMap prefix pointing to the Skins section on PmWiki.org, a "signature" markup in the edit quick reference, new WikiStyles clear, min-width and max-width and the documentation was updated.

New in PmWiki 2.2.67 (Aug 5, 2014)

  • Fixes an inconsistency with input forms when values are taken from PageTextVariables. The documentation was updated to the latest state on pmwiki.org.

New in PmWiki 2.2.66 (Jul 3, 2014)

  • Fixes a minor longstanding bug in the default Notification format when a page is deleted. In custom patterns, the "_" character will no longer be considered a function name. The documentation was updated.

New in PmWiki 2.2.65 (Jun 10, 2014)

  • Fixes Pagelist handling of {$$PseudoVars} when they contain page variables. File permissions handling was improved when the current directory is owned by "root". The documentation was updated.

New in PmWiki 2.2.64 (May 9, 2014)

  • This version adds the "{(mod)}" markup expression for modulo/reminder calculations, and the "tel:" and "geo:" URI schemes which, on compatible devices like smartphones, allow the creation of links to dial telephone numbers and open map/location applications.
  • The $SysMergePassthru switch was added, if enabled, it allows the "Simultaneous Edits" conflict resolution to use the passthru() function instead of popen().
  • The documentation was updated.

New in PmWiki 2.2.63 (Apr 17, 2014)

  • This version allows for form elements to have custom attributes containing a dash in the attribute names and enables the attributes 'required', 'placeholder' and 'autocomplete' for HTML5 forms.
  • A minor bug with pagelist {$$RequestVariables} appearing on some installations was fixed.
  • The documentation was updated.

New in PmWiki 2.2.62 (Mar 1, 2014)

  • This version adds the variable $EnableTableAutoValignTop which allows to make advanced tables compatible with HTML5. For developers, a fourth argument $template was added to the Markup_e() function, and a callback template 'return' was added. The documentation was updated.

New in PmWiki 2.2.61 (Feb 4, 2014)

  • Removes unnecessary snippets of code and adds the variable $TableCellAlignFmt which allows to make simple tables compatible with HTML5. The documentation was updated.

New in PmWiki 2.2.60 (Jan 13, 2014)

  • This version reverts the changes to the pmwiki.css file made in 2.2.59.

New in PmWiki 2.2.59 (Jan 13, 2014)

  • Has an improvement for Blocklist when multiple text fields are posted.
  • A bug with some nested markup conditionals was fixed.
  • The default skin switched font sizes from points (fixed) to percents (relative).
  • A couple of other minor bugs were fixed and the documentation was updated.

New in PmWiki 2.2.58 (Dec 27, 2013)

  • Enables customization of (:input auth_form:), and fixes a couple of minor bugs. The documentation was updated.

New in PmWiki 2.2.57 (Nov 4, 2013)

  • This version enables the use of the Attach: link format in the (:attachlist:) directive. The documentation was updated.

New in PmWiki 2.2.56 (Oct 1, 2013)

  • This version aims to fix a PHP 5.5 compatibility issue with a deprecated feature of the preg_replace() function. The PageStore() class now detects and works around a bug with the iconv() function, and the documentation was updated.

New in PmWiki 2.2.55 (Sep 17, 2013)

  • This version adds the variable $EnableDraftAtomicDiff. If enabled, publishing from a draft version will clear the history of intermediate draft edits, and the published version will contain a single combined diff from the previous published version. The documentation was updated.

New in PmWiki 2.2.54 (Aug 13, 2013)

  • This version fixes a bug when old versions are restored from draft pages. The documentation was updated.

New in PmWiki 2.2.53 (Jul 9, 2013)

  • Enables a message to be shown when a post is blocked because of too many unapproved links. The documentation was updated.

New in PmWiki 2.2.52 (Jun 10, 2013)

  • This version hides warnings about a deprecated feature in PHP 5.5 installations (preg_replace with /e eval flag). Three new upload extensions were added: docx, pptx and xlsx produced by recent versions of some office suites. The documentation was updated.

New in PmWiki 2.2.51 (May 9, 2013)

  • This version updates the addresses for the remote blocklists.
  • A minor XSS vulnerability for open wikis, which I discovered today, was fixed.
  • The documentation was updated.

New in PmWiki 2.2.50 (Apr 8, 2013)

  • This release only updates the documentation to the latest state on pmwiki.org.

New in PmWiki 2.2.49 (Mar 11, 2013)

  • Adds an array $UploadBlacklist containing forbidden strings of an uploaded filename (case insensitive). Some Apache installations try to execute a file which has ".php", ".pl" or ".cgi" anywhere in the filename, for example, "test.php.txt" may be executed. To disallow such files to be uploaded via the PmWiki interface, add to config.php such a line: $UploadBlacklist = array('.php', '.pl', '.cgi');

New in PmWiki 2.2.48 (Feb 12, 2013)

  • This version fixes a bug introduced yesterday with some links.

New in PmWiki 2.2.47 (Feb 11, 2013)

  • This version enables tooltip titles in links to anchors in the same page, and the documentation was updated.

New in PmWiki 2.2.46 (Jan 8, 2013)

  • Adds $UploadPermAdd and $UploadPermSet variables, and the documentation was updated.
  • If your wiki has uploads enabled, it is recommended to set the variable $UploadPermAdd to 0.
  • The $UploadPermAdd variable sets additional unix permissions applied to newly uploaded files, and should be 0 (recommended as of 2013). If uploaded files cannot be downloaded and displayed on the website, for example with the error 403 Forbidden, set this value to 0444 (core setting, default since 2004).
  • $UploadPermAdd = 0; # recommended
  • The $UploadPermSet variable unconditionally sets the file permissions on newly uploaded files. Only advanced administrators should use it.

New in PmWiki 2.2.45 (Dec 3, 2012)

  • This version fixes some PHP notices appearing on some installations.
  • The documentation was updated.

New in PmWiki 2.2.44 (Oct 22, 2012)

  • This version improves the display of consecutive whitespaces in page histories, and fixes the definition of PageTextVariables containing a dash. The documentation was updated.

New in PmWiki 2.2.43 (Sep 20, 2012)

  • This version makes it possible to use HTML attribute names to contain dashes, and removes a warning when editing and previewing Site.EditForm. The documentation was updated.

New in PmWiki 2.2.42 (Aug 20, 2012)

  • Provides a workaround for cases when a wiki page contains a character nonexistent in the active encoding. The documentation was updated.

New in PmWiki 2.2.41 (Aug 13, 2012)

  • This version changes the internal $KeepToken separator to be compatible with more encodings. The documentation was updated.

New in PmWiki 2.2.40 (Jul 30, 2012)

  • Provides a helper function replacing htmlspecialchars() and compatible with PHP 5.4. The documentation was updated.

New in PmWiki 2.2.39 (Jun 25, 2012)

  • This version provides a fix for links to attachments containing international characters. The documentation was updated.

New in PmWiki 2.2.38 (Jun 25, 2012)

  • This version fixes a "parameter count" warning which appeared on some websites.

New in PmWiki 2.2.37 (May 9, 2012)

  • Provides a workaround for installations with broken iconv() function, while optimizing the recode function.
  • Should fix the "Unable to retrieve edit form" problem in some wikis.
  • Dots in sections are now better supported, PageVariables are expanded in PageList template defaults, and the documentation is updated.

New in PmWiki 2.2.36 (Dec 29, 2011)

  • Fixes the recode function to try to recover Windows-1252 characters in ISO-8859-1 files. A new variable $EnableOldCharset enables the $page["=oldcharset"] entry which will be used in the future. A couple of minor bugs were fixed and the documentation was updated.

New in PmWiki 2.2.35 (Nov 12, 2011)

  • Fixes a critical PHP injection vulnerability, reported today by Egidio Romano. PmWiki versions 2.2.X, 2.1.X, 2.0.X and 2.0.beta33 and newer are vulnerable. When you upgrade, please read carefully the Release notes for all PmWiki versions since yours.
  • If you cannot upgrade, it is recommended to disable Searches at the earliest opportunity (even if your wiki skin doesn't have a search form). Add to config.php such a line: if ($action == 'search') $action = 'browse';
  • If your old version wiki allows editing by not entirely trusted visitors, even on limited pages like a WikiSandbox, you should also disable PageLists. Add to config.php this line: $EnablePageList = 0;
  • This version has an important change for international wikis: the XLPage() function no longer loads encoding scripts such as xlpage-utf-8.php. When you upgrade, you need to include those scripts from config.php, before calling XLPage(): include_once("scripts/xlpage-utf-8.php"); # if your wiki uses UTF-8
  • XLPage('bg','PmWikiBg.XLPage');
  • All links can now have tooltip titles. Previously, only images and external links could have tooltip titles, now this feature is enabled for internal links. To set a tooltip title, add it in quotes after the link address:
  • [[Main.HomePage"This is a tooltip title"]]
  • [[Main.HomePage"This is a tooltip title"|Home]]
  • [[http://www.pmwiki.org"Home of PmWiki"]]
  • Attach:image.jpg"Tooltip title of the image"
  • The following new upload extensions were added: svg, xcf, ogg, flac, ogv, mp4, webm, odg, epub. A couple of minor optimizations were added (MarkupExpressions and rendering of page history) and the documentation was updated.

New in PmWiki 2.2.34 (Nov 12, 2011)

  • Resets the timestamps of the default pages Site(Admin).AuthUser which are expected in case of upgrades from the versions 2.1.*.
  • Core MarkupExpressions which manipulate strings should now work better with international characters.
  • The documentation was updated to its latest state from pmwiki.org.

New in PmWiki 2.2.33 (Sep 24, 2011)

  • Fixes a security bug introduced in 2.2.32 which left the groups Site and SiteAdmin open for reading and editing because the pages Site.GroupAttributes and SiteAdmin.GroupAttributes didn't have all necessary attributes.
  • All wikis running 2.2.32 should upgrade. If you cannot immediately upgrade, you can set the attributes from your wiki:
  • open the attributes page [[SiteAdmin.GroupAttributes?action=attr]] and set a "read" and an "edit" password, @lock is recommended.
  • open the attributes page [[Site.GroupAttributes?action=attr]] and set an "edit" password, @lock is recommended. Do not set a "read" password here.
  • The release also fixes the refcount.php script to produce valid HTML, and updates intermap.txt entries PITS: and Wikipedia: to point to their current locations.

New in PmWiki 2.2.32 (Sep 19, 2011)

  • The first version shipping with the core documentation in the UTF-8 encoding. PmWiki will automatically convert it on the fly for wikis using an older encoding.
  • It is recommended that all new PmWiki installations enable UTF-8. Migration of existing wikis from an older encoding to UTF-8 shouldn't be rushed: it is not trivial and will be documented in the future.
  • A required HTML xmlns attribute was added to the print skin template. The history rendering is now faster when many lines are added or removed.

New in PmWiki 2.2.31 (Sep 10, 2011)

  • Fixes a required HTML xmlns attribute to the print skin template. The history rendering is now faster when many lines are added or removed.

New in PmWiki 2.2.30 (Aug 16, 2011)

  • Fixes a $Charset definition in international iso-8859-*.php files. This will help for a future transition to UTF-8.
  • A variable $EnableRangeMatchUTF8 was added, set it to 1 to enable range matches of pagenames in UTF-8 like [A-D]. Previously the range matches were always enabled in UTF-8, but we found out that on some installations this feature breaks all pagelists, even those without range matches. In case the feature worked for you, you can re-enable it.

New in PmWiki 2.2.29 (Jul 25, 2011)

  • This release fixes Attach links that were broken with the Path fix in 2.2.28 earlier today.

New in PmWiki 2.2.28 (Jul 25, 2011)

  • This release fixes 2 potential XSS vulnerabilities and a bug with Path: links.

New in PmWiki 2.2.27 (Jun 20, 2011)

  • Fixes a validation bug on pages after a redirection.
  • A new block WikiStyle %justify% was added, allowing left and right aligned text.
  • The page history now accepts a URL parameter ?nodiff=1 which hides the rendering of edit differences, showing only timestamps, authors, summaries and "Restore" links; it allows to restore a vandalized page with a huge contents or history which otherwise would break the memory or time limits of the server.

New in PmWiki 2.2.26 (May 23, 2011)

  • Fixes a redundant removal of link hashes from WikiTrails, and updates the documentation to the most recent version from PmWiki.org.

New in PmWiki 2.2.25 (May 23, 2011)

  • Only updates the documentation to the latest state on pmwiki.org.

New in PmWiki 2.2.24 (May 23, 2011)

  • Reverts the way existing PageVariables are processed, like version 2.2.21 or earlier, but it adds a special variable $authpage which can be used in PageVar definitions. It is the same as the $page array, but exists only if the visitor has read permissions.

New in PmWiki 2.2.23 (Jan 26, 2011)

  • This version sets the default value of $EnablePageVarAuth to 0 until we investigate a reported problem with authentication.

New in PmWiki 2.2.22 (Jan 17, 2011)

  • This version adds the variable $EnableXLPageScriptLoad which, if set to 0, will prevent authors to load scripts from XLPage and to accidentally change the encoding of the wiki. If you use it, make sure you include the required files, eg. xlpage-utf-8.php from local config files.
  • PageVariables should now respect authentications: without read permissions, the title, description, change summary, author of a protected page are unavailable. PageVariables that are computed without reading the page are still available (eg. $Group, $Namespaced, $Version etc.). Administrators can revert the previous behavior by adding to config.php such a line: $EnablePageVarAuth = 0;

New in PmWiki 2.2.21 (Dec 15, 2010)

  • Due to a mis-configuration of a local svn repository, some of the changes intended for 2.2.20 didn't make it in the correct branch. This release corrects this.

New in PmWiki 2.2.20 (Dec 15, 2010)

  • This version fixes a potential XSS vulnerability, reported today. An AuthUser bug with excluding users from authgroups was fixed. A new InterMap prefix PmL10n: was added, it leads to the Localization section on PmWiki.org and should help the work of translators. A couple of other minor bugs were fixed and the documentation was updated.

New in PmWiki 2.2.19 (Dec 15, 2010)

  • This is a documentation-update release.

New in PmWiki 2.2.18 (Dec 15, 2010)

  • This version fixes 3 minor bugs, and updates the documentation.

New in PmWiki 2.2.17 (Jun 21, 2010)

  • This version adds a variable $PostConfig containing functions and scripts to be loaded after stdconfig.php.
  • Tabindex was added as a valid form field attribute.
  • Protected downloads now respect existing browser caches.
  • AuthUser now allows more flexible cookbook recipe integration.
  • A couple of bugs were fixed and the documentation was updated.

New in PmWiki 2.2.16 (May 10, 2010)

  • Fixes a bug with parsing html attributes which could allow XSS injection. Wikis allowing unprotected editing are encouraged to upgrade.
  • A bug with the "center" button of the GUI edit toolbar was corrected.

New in PmWiki 2.2.15 (Mar 29, 2010)

  • Adds some minor bugfixes and optimizations notably a bug with (:template none:) introduced in the last version 2.2.14.

New in PmWiki 2.2.14 (Feb 23, 2010)

  • This release corrects inline styles for WikiTrail links. Undefined include/template {$$variables} are now removed from the included section, like Page(Text)Variables, and can be used in conditional expressions. If needed, this change can be reverted by adding to config.php such a line: $EnableRawTemplateVars = 1; # keep and display unset {$$variables}
  • PageList templates now accept the sections !first and !last for markup to appear for every page in list except the first or last one.
  • "Title" attributes were added to external links. You can have tooltip titles on external links, including InterMap and attachments, by adding the link title in double quotes after the URL:[[http://www.pmwiki.org"Home of PmWiki"| External link]]
  • For international wikis, PmWiki now automatically translates the titles of technical pages like GroupAttributes or RecentChanges -- just define these strings as usual in XLPage, for example, in French: 'AllRecentChanges' => 'Tous les changements récents',

New in PmWiki 2.2.13 (Feb 22, 2010)

  • Fixes a bug with $DiffKeepNum introduced in 2.2.10 -- the count of revisions was incorrect and a page could drop more revisions than it should.
  • The page history layout was modified with a rough consensus in the community. The history now defaults to "source" view with word-level highlighting of the differences. Authors can see the changes in rendered output by clicking on the link "Show changes to output". Admins can switch back the default by adding such a line to config.php: $DiffShow['source'] = (@$_REQUEST['source']=='y')?'y':'n';
  • To disable word-level highlighting and show plain text changes: $EnableDiffInline = 0;

New in PmWiki 2.2.12 (Feb 17, 2010)

  • Adds simple word-level highlighting of differences in the page history, when "Show changes to markup" is selected. To enable the feature, add to config.php such a line: $EnableDiffInline = 1;
  • This feature is like what the InlineDiff recipe provides, but not exactly the same, and the implementation is simpler. It is enabled on PmWiki.org and can be improved -- your comments are welcome.

New in PmWiki 2.2.11 (Feb 15, 2010)

  • Adds two new table directives for header cells, (:head:) and (:headnr:). They work the same way as (:cell:) and (:cellnr:) except that create instead of html tags.
  • The pagerev.php script was refactored into separate functions to allow easier integration of recipes displaying the page history.
  • A couple of minor bugs were fixed and the documentation was updated.

New in PmWiki 2.2.10 (Jan 18, 2010)

  • Most important in this release is the official change of $EnableRelativePageVars to 1. The change is about how {$Variable} in included pages is understood by PmWiki.
  • When $EnableRelativePageVars is set to 0, {$Name} displays the name of the currently browsed page. Even if {$Name} is in an included page, it will display the name of the browsed page.
  • When $EnableRelativePageVars is set to 1, {$Name} displays the name of the physical page where it written. If {$Name} is in an included page, it will display the name of the included page.
  • {*$Name} always displays the name of the currently browsed page, regardless of $EnableRelativePageVars.
  • So, if your wiki relies on page variables from included pages, and doesn't have $EnableRelativePageVars set to 1, after upgrading to 2.2.9, you can revert to the previous behavior by adding to config.php such a line: $EnableRelativePageVars = 0;
  • More information about page variables can be found at: http://www.pmwiki.org/wiki/PmWiki/PageVariables
  • This release adds a new variable $EnablePageTitlePriority which defines how to treat multiple (:title..:) directives. If set to 1, the first title directive will be used, and if a page defines a title, directives from included pages cannot override it. PmWiki default is 0, for years, the last title directive was used (it could come from an included page or GroupFooter).
  • This release also adds a new variable $DiffKeepNum, specifying the minimum number (default 20) of edits that will be kept even if some of them are older than the limit of $DiffKeepDays.
  • A number of bugs were fixed and the documentation was updated.

New in PmWiki 2.2.8 (Dec 16, 2009)

  • This release fixes another PHP 5.3 compatibility issue with conditional markup.
  • The Author field now handles apostrophes correctly.
  • The documentation was updated.