PmWiki /
ChangeLog
< 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.110 (2018-11-05)
- Fix
{(substr )}
markup expression with non-number arguments could cause warnings, reported by Simon. - Add
$PageListSortCmpFunction
, default to current ‘strcasecmp’. - Add global
$MarkupMarkupLevel
which changes when the processing is inside(:markup:)
blocks. - Fix inconsistent white space with inline
[@escaped code@]
, reported by Dannybpng. - Update documentation.
Version 2.2.109 (2018-07-09)
- Update pmcrypt() to exclude negative -@groups from hash checking.
- Add
$EnableMarkupDiag
to backtrace all markup calls, suggested by ChuckG. - Fix Path InterMap broken in 2.2.108, reported by ChuckG.
- Update documentation.
Version 2.2.108 (2018-07-05)
- Add $PCCFOverrideFunction.
- $AuthUserPageFmt can now be an array of page names.
- Add $PageCacheFileFmt default to "%s/%s,cache" (like before), allowing custom cache filenames.
- Form checkbox labels now have the same tooltip title as the checkbox.
- Add
%reversed%
WikiStyle. - RefCount: add label to checkbox, class to table.
- Vardoc: fix markup call, reported by Hans-Jürgen Godau.
- pmcrypt() return false when salt appears to be some old PmWiki attribute.
- Default InterMap PmWiki URLs have now the HTTPS protocol (suggested by Simon).
- Update documentation.
Version 2.2.107 (2018-02-02)
- Fix Forms and Pagelists warnings in PHP 7.2, reported by DFaure.
- Fix order=title broken with the previous commit, reported by ChuckG.
- Add
$MailFunction
- Add ".rtl *" styles.
- Update documentation.
Version 2.2.106 (2017-12-01)
- Add pmsetcookie(),
$EnableCookieSecure
,$EnableCookieHTTPOnly
(PITS:01425). - Refactor PageListSort() to make it work for PHP 7.2 without requiring create_function().
- Fix ordering broken with the previous commit, reported by ChuckG.
- Fix `wikiword markup, reported by Steve Glover.
- Update documentation.
Version 2.2.105 (2017-11-07)
- Refactor
HandleUpload()
– addUploadSetVars(
to allow custom upload add-ons to set variables.$pagename
- Fix bug with PQA() that caused invalid HTML with attributes glued together.
Version 2.2.104 (2017-10-11)
- Fix bug with WikiTrails introduced with 2.2.103 (PITS:01422).
Version 2.2.103 (2017-10-01)
- Add pagelist list=grouphomes and fmt=#grouphomes.
- Update all scripts for PHP 7.2 (bugtrack).
- Make responsive skin also compatible with PmWiki versions 2.2.55 or earlier.
- Add *.vtt (web subtitles) as allowed upload extension.
- Fix Charset headers for xlpage-iso-*.php
- Refactor PageStore class to remove create_function() calls.
- Add "title" attribute to input form elements.
- Re-add the definition of the $rrep variable in Markup expressions, reported by ChuckG.
- Add
$AuthLDAPReferrals
to set LDAP_OPT_REFERRALS if needed, reported by Kirk Zurell. - Fix missing
$pagename
for WikiWord links. - Update documentation.
Version 2.2.102 (2017-08-05)
- Revert fix for PITS:01300, the markup engine breaks when a text variable content is longer than 2699 characters.
- Add a text box in SiteAdmin.AuthList to allow filtering of the results.
Version 2.2.101 (2017-07-30)
- Rename function PageStore to __construct, to prevent PHP 7 strict or deprecated notices.
Version 2.2.100 (2017-07-30)
- Workaround around Subversion incompatibility with
string not intended as SVN keyword.$Author
:...$ - Responsive skin: add spacing above the #wikitext block, similar to the default skin.
- Update documentation.
Version 2.2.99 (2017-06-26)
- Fix Preview didn’t show changes due to
$ROSPatterns
(PITS:01408). - Remove markup rules for previewing author signature not needed anymore.
- Fix bug and warning appearing in PHP 4 installations.
- Update Wikipedia intermap entry (secure https).
- Fix bug with
[[<<]]
styles "clear:both". Fix incomplete definition of page text variable halts the rendering (PITS:01300).- Fix
$Version
didn’t work as a vardoc link. - Update documentation.
Version 2.2.98 (2017-05-31)
- Fix WikiStyles where "pct" was incorrectly dropped from some classnames (PITS:01404).
- Hide warning about missing intermap file.
- Add pmwiki-responsive skin, based on modified Skins:2016
- Responsive skin: Hide icon if PageActions empty. Fix "close" icon didn’t appear for the PageActions block. Unrestrict menu height. Switching from portrait view with menu open to landscape: page should not be greyed out (PITS:01406). Landscape view: fix overflow for search form in Epiphany (likely Safari and other AppleWebKit-based browsers). Move the <main> tag up to allow scrolling of the whole #wikibody. Large preformatted blocks will also scroll in the mobile view. Set limit for desktop layout to 50em~800px. Scrollable tables via cosmetic JavaScript.
- Both skins: Set default text color (PITS:01406).
- Fix Deprecated notice for Site.AuthUser password attributes.
- Vardoc links now use MakeLink() to allow a custom LinkPage function, fix bug reported by ChuckG.
- $InclCount now counts per browsed page (for multi-page processing recipes).
- Make $markupid variable available to markup replacement functions.
- Refactor function ReplaceOnSave to allow easier calling from recipes (PITS:01407).
- Enable *.mkv as allowed video extension.
- Fix bug with attachlist markup.
- Fix alternative bold/italics markup in sample-config.php (PITS:01400).
- Fix lost space in markup tables, replace markup tables <code> with <pre> and add style "pre-wrap" (reported by ChuckG).
- Update documentation.
Version 2.2.97 (2017-04-07)
- Fix bug concerning
$ScriptUrl
when$EnablePathInfo
is set, introduced in 2.2.96, reported by 3 users. - Update documentation.
Version 2.2.96 (2017-04-05)
- Fix severe PHP code injection vulnerability, reported by Gabriel Margiani.
- Filter
$pagename
to exclude certain characters. - Add $pagename_unfiltered in case a recipe requires it.
- Filter
- Update documentation.
Version 2.2.95 (2017-02-28)
- Update documentation.
Version 2.2.94 (2017-01-31)
- Strip both .html and .htm extensions (Cookbook:HtmlUrls-Talk).
- Clear $PageExistsCache[
$pagename
] when a page is created or deleted (PITS:01401). - Update documentation.
Version 2.2.93 (2016-12-31)
- Update documentation.
Version 2.2.92 (2016-11-30)
- Skip checking for
$AllowPassword
if empty or false. - Enable FmtPageName() to expand PageVariables with asterisks.
- Update documentation.
Version 2.2.91 (2016-09-30)
- Update documentation.
Version 2.2.90 (2016-08-31)
- Add action parameter to upload form URL.
- Add
imgonly
andimgcaption
CSS classes (PITS:01390). - Fix plus-links with suffix
[[Page|+]]s
(PITS:01392). - Update documentation.
Version 2.2.89 (2016-07-30)
- Add identifiers to Site.EditForm elements to enable easier styling.
- Add
$SimpleTableDefaultClassName
, default unset (PITS:00638). - Add temporary $new[‘=html’] entry, in SaveAttributes().
- Fix superfluous line breaks in SiteAdmin.AuthList.
- Add optional placeholder attribute in
(:searchbox:)
- Add
$SearchBoxInputType
, default ‘text’. - Set
$HTMLStylesFmt
via SDVA() in vardoc.php, urlapprove.php, and xlpage-utf-8.php. - Fix vardoc.php to recognize and link variables
$pagename
,$Author
,$Skin
, and to sort case insensitively. - Update documentation.
Version 2.2.88 (2016-06-29)
- Fix invalid HTML output of WikiTrail links (PITS:01388).
- Add 4th argument $double_encode to PHSC() for safe replacement of htmlspecialchars().
- Add page variable
{$SiteAdminGroup}
(PITS:00951). - Update documentation.
Version 2.2.87 (2016-05-31)
Version 2.2.86 (2016-04-28)
- Fix PageStore() for PHP 7.
- Fix
$DefaultPasswords
for PHP 7. - Update documentation.
Version 2.2.85 (2016-03-31)
- Add svg(z) and SVG(Z) as embeddable image extensions (PITS:00197, PITS:00435).
- Add *.svgz as allowed upload extension.
- Update documentation.
Version 2.2.84 (2016-02-21)
- Update/fix URL in UPGRADES.txt (PITS:01378).
- Fix indent and outdent CSS for RTL languages (PITS:01379).
- Add
$EnableLinkPlusTitlespaced
(PITS:01140). - Update documentation.
Version 2.2.83 (2015-12-31)
- Update documentation.
Version 2.2.82 (2015-11-30)
- Enable stripmagic() to process arrays recursively.
- Update documentation.
Version 2.2.81 (2015-10-31)
- Fix single line PageTextVariable definition (reported by HansB).
- Add .ltr and .rtl CSS classes for UTF-8.
- Update documentation.
Version 2.2.80 (2015-09-30)
- Modify
(:searchbox:)
to use type="search" input. - Update documentation.
Version 2.2.79 (2015-08-27)
- Modify guiedit.js::insMarkup() to accept a custom function name processing the text, and a custom id for the text area.
- Add CSS basic colors ‘fuchsia’,’olive’,’lime’,’teal’,’aqua’,’orange’ and ‘grey’ as WikiStyles (PITS:01373).
- Add
$EnableROSEscape
, default 0 (PmWiki:TextFormattingRules-Talk). - Remove ‘target’ attribute in input forms (breaks PmForm).
- Add HTML5 input types email, url, number, date, search.
- Add attribution in script comments.
- Update documentation.
Version 2.2.78 (2015-07-21)
- Update $RobotPattern with current user agents.
- Accept ‘target’ attribute in input forms.
- Update documentation.
Version 2.2.77 (2015-06-19)
- Add generic function MakeNames() to process MakePageNames().
- Extend
(:if attachments:)
to specify file and page names (PITS:01087). - Optimize PageStore::recode() to cache utf8_decode and utf8_encode callbacks.
- Add
{$WikiTitle}
page variable. - Update documentation.
Version 2.2.76 (2015-05-31)
- Recover posted arrays (indexed or associative, not multidimensional) when a password is required (PITS:00835, PITS:01110).
- Add label argument to checkbox and radio inputs (PITS:01367).
- Enable PHSC() to process arrays recursively.
- Enable processing of arrays as input values (PITS:01032).
- Add CSS classes to standalone image div and caption (PITS:00489, PITS:00497).
- Update documentation.
Version 2.2.75 (2015-04-26)
- Fix uploads to respect $EnableReadOnly.
- Escape HTML special characters when printing failed callback creation.
- Add pmcrypt() for PHP 5.6 compatibility.
- Add markup for HTML5 semantic tags article, section, nav, header, footer, aside, address.
- Update documentation.
Version 2.2.74 (2015-03-28)
- Allow translation of the "OK" string in forms (PITS:01363).
- Update documentation.
Version 2.2.73 (2015-02-28)
- Update documentation.
Version 2.2.72 (2015-01-27)
- Enable markup debug messages even when debug_backtrace() is not available.
- Add
$AbortFunction
- Restore ability to set a custom $MarkupWordwrapFunction, add $MarkupWrapTag (related to earlier fix for PITS:01360).
- Update documentation.
Version 2.2.71 (2014-12-29)
- Add
$DraftActionsPattern
- Enable "input default source" parameter to contain multiple pages.
- Enable "pagelist request" parameter to contain a list of (dis)allowed parameters.
- Enable Markup() backtrace for ?action=ruleset.
- Fix strict warning for blacklisted uploads (PITS:01359).
- Fix wrong hard wrap in
(:markup:)
code examples (PITS:01360). - Update documentation.
Version 2.2.70 (2014-11-08)
- Update documentation.
Version 2.2.69 (2014-10-13)
- Fix DRange() for ISO-8601 dates +/- X days.
- Fix wording in Site.UploadQuickReference
- Update documentation.
Version 2.2.68 (2014-09-01)
- Add Skins: InterMap prefix.
- Add signature to Site.EditQuickReference (PITS:01350).
- Allow $PostConfig entries to be launched after per-page customization, before other stdconfig.php inclusions if values<50.
- Add WikiStyles clear, min and max width and height (PITS:00860), fix %p class=…% with more than one space.
- Update documentation.
Version 2.2.67 (2014-08-02)
- Fix InputDefault/PageTextVariables inconsistency (PITS:01337).
- Update documentation.
Version 2.2.66 (2014-07-02)
- Fix Author in Notifcations when deleting pages (PITS:01112).
- Exclude "_" to be considered as a function name in various $*Patterns.
- Update documentation.
Version 2.2.65 (2014-06-07)
- Fix {$$PseudoVars} containing {*$PageVars} in PageList Templates
- Fix wording in scripts/.htaccess (PITS:01345).
- Fix fixperms() if directory owner is root (PITS:01346).
- Update documentation.
Version 2.2.64 (2014-05-08)
- Add {(mod)} markup expression
- Add tel: and geo: URI schemes
- Add $SysMergePassthru to allow Merge() to use passthru() instead of popen().
- Update documentation.
Version 2.2.63 (2014-04-05)
- Allow form elements to have a dash in the attribute names.
- Strip magic slashes for pagelist/search request vars.
- Allow input attributes readonly, placeholder and autocomplete for HTML5 sites.
- Update documentation.
Version 2.2.62 (2014-02-28)
- Add $CallbackFnTemplates["return"].
- Add 4th argument to Markup_e() – $template.
- Add
$EnableTableAutoValignTop
- Update documentation.
Version 2.2.61 (2014-01-31)
- Add
$TableCellAlignFmt
- Remove unused snippet in prefs.php (reported by Oliver Betz).
- Remove unused calls to PSS() (reported by John Rankin).
- Update documentation.
Version 2.2.60 (2014-01-12)
- Revert to previous pmwiki.css file.
Version 2.2.59 (2014-01-11)
- Fix checking multiple posted fields in blocklist.php (reported by Randy Brown).
- Allow Markup_e() to accept a callback as well as code.
- Fix "+" shortcut for internal anchor links.
- Disable HTML cache if count($_GET)>1 not >2 (PITS:01278).
- Fix query string if a "?" is encoded to uppercase "%3F".
- Replace CSS font sizes from points (fixed) to percents (relative) for the default skin.
- Fix nested conditionals containing
$pagename
(reported by Benjamin Grassineau). - Update documentation.
Version 2.2.58 (2013-12-25)
- Allow $LinkUpload to be usable in (:attachlist:).
- Enable customizations of (:input auth_form:).
- Remove unused variable $Block in FormatTableRow(), reported by Klonk.
- Fix
$EnableBlocklistImmediate
to check all posted fields for blocked terms. - Add $GLOBALS[‘MarkupToHTML’] to pass parameters such as
$pagename
to markup calls. - Update documentation.
Version 2.2.57 (2013-11-03)
Version 2.2.56 (2013-09-30)
- Work in progress to remove the core dependency of the deprecated "eval" feature of the preg_replace() function (PITS:01319).
- Add functions PCCF(), PPRE(), PPRA(), Markup_e(), migrating all core calls to these functions.
- Fix detection of proper PageStore->recodefn.
- Update documentation.
Version 2.2.55 (2013-09-16)
Version 2.2.54 (2013-08-13)
- Fix broken page history for draft pages, reported by ChuckG.
- Update documentation.
Version 2.2.53 (2013-07-08)
- Show a message when the post has been blocked because of too many unapproved links.
- Update documentation.
Version 2.2.52 (2013-06-08)
- Add docx, pptx, xlsx upload extentions.
- Hide E_DEPRECATED warnings for PHP 5.5.
- Update documentation.
Version 2.2.51 (2013-05-08)
- Update url to MoinMoin’s blocklist.
- Comment-out blacklist.chongqed.org as the domain appears to have expired.
- Fix possible XSS vulnerability in prefs.php, discovered today.
- Fix access keys to be a single character.
- Fix $AuthorPage if there is a group named the same as the author (PITS:01259).
- Update documentation.
Version 2.2.50 (2013-04-08)
- Update documentation.
Version 2.2.49 (2013-03-09)
Version 2.2.48 (2013-02-11)
- Fix bug introduced yesterday with some links, reported by Michael Weiner (PITS:01308).
Version 2.2.47 (2013-02-10)
- Enable tooltip titles for links to anchors on the same page.
- Update documentation.
Version 2.2.46 (2013-01-07)
- Add third parameter to fixperms() explicitly setting the permissions.
- Add
$UploadPermAdd
and$UploadPermSet
variables. - Update documentation.
Version 2.2.45 (2012-12-02)
- Cleanup some PHP notices (PITS:01304).
- Update documentation.
Version 2.2.44 (2012-10-21)
- Better display of whitespace in page histories.
- Fix definition for PageTextVariables containing a dash (PITS:00978).
- Update documentation.
Version 2.2.43 (2012-09-20)
- Allow for HTML attribute names to contain dashes, eg. data-transition, data-role etc.
- Remove warning when previewing Site.EditForm.
- Update documentation.
Version 2.2.42 (2012-08-20)
- Convert the line-endings in the docs/ directory to rn compatible with Windows.
- Modify PHSC() to call htmlspecialchars() with a single-byte encoding argument.
- Update documentation.
Version 2.2.41 (2012-08-12)
- Change $KeepToken to "