PmWikiPmWiki ist ein Open Source Wiki-Anwendung, die extrem leicht ist. PmWiki wurde ursprünglich im Jahr 2004 veröffentlicht.
Installatron Remote is a one-click solution to install and manage all of your PmWiki websites. Using Installatron helps ensure PmWiki is kept up-to-date and secure, and Installatron features like Clone, Backup and Restore, and Backup Scheduling can save you time. Learn more about Installatron Remote |
PmWiki ist ein wiki-basiertes System für die gemeinsame Erstellung und Wartung von Webseiten. PmWiki Seiten sehen genauso aus wie normale Webseiten, außer dass sie einen Link "bearbeiten", dass es einfach, bestehende Seiten zu verändern bzw. neue Seiten in die Website, mit Grundlagen der Bearbeitung macht. Sie brauchen nicht zu wissen, oder verwenden Sie keine HTML-oder CSS. Seite bearbeiten zu können, dem Publikum offen oder zu kleine Gruppe von Autoren beschränkt bleiben. Features: - Custom-Look-and-Feel: Ein Administrator kann das Aussehen und die Funktionen einer PmWiki-Website mithilfe von verschiedenen Skins und HTML-Templates schnell ändern. Wenn Sie eine geeignete Haut schon gemacht nicht finden können, können Sie leicht ändern, oder erstellen Sie Ihre eigenen.
- Zutrittskontrolle: PmWiki Passwortschutz kann auf eine ganze Stelle aufgebracht werden, um Gruppen von Seiten oder einzelner Seiten. Passwortschutz kontrolliert, wer Seiten lesen können, bearbeiten Sie Seiten und Dateien hochladen. Zutrittskontrollsystem von PmWiki ist in sich abgeschlossen, aber es kann auch in Verbindung mit vorhandenen Passwort-Datenbanken, wie. Htaccess-, LDAP-Server und MySQL Datenbanken.
- Anpassung und Erweiterbarkeit: Ein Prinzip der PmWiki ist es, nur essenzielle Funktionen in die Software, sondern machen es für den Administrator einfacher anpassen und neue Markup. Hunderte von Features sind bereits als Erweiterungen (so genannte "Rezepte"), die ab der PmWiki-Kochbuch zur Verfügung.
-PmWiki-Entwickler 2.4.424 April - 15MBChanges
- This version disables upload extensions ai, ps, and eps, which may introduce vulnerabilities when processed by Ghostscript. To re-enable any of these, add it to your config.php override:
- $UploadExts['ps'] = 'application/postscript';
- $UploadExts['eps'] = 'application/postscript';
- $UploadExts['ai'] = 'application/postscript';
- Numbered headers in the table of contents now have dedicated class names, making them easier to style with CSS.
- The edit text area has been updated to behave more consistently across browsers; if both autofocus and scroll restoration are enabled, it will now ignore the latter to avoid conflicts.
- A new variable, $FmtV['$LinkRel'], allows admins to set the rel attribute for external links, for example: $FmtV['$LinkRel'] = 'noreferrer nofollow';.
- The Notify feature has been expanded with new configuration options.
- A new core script, scripts/tools.php, has been added. It provides helper functions for tasks like creating multipart emails with rich text and attachments, verifying multi-factor authentication codes, and encrypting/decrypting strings. This script is not loaded by default: addons that need it must include it explicitly.
- A new variable $CookbookDir has been introduced (default: "$FarmD/cookbook"), making it easier to relocate the cookbook directory outside of the core distribution if needed.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.4.319 März - 15MBBug Fixes and Changes
- This version adds class names to heading numbers to allow for custom styling.
- A Notify bug was fixed with duplicate notifications when UpdatePage() was called by addons.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.4.25 Februar - 15MBBug Fixes and Changes
- This version fixes an intermittent bug with the dark theme toggle
- Updates to the core JavaScript library.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.4.128 Januar - 15MBBug Fixes and Changes
- Updates for recent PHP versions, reported by Simon Davis.
- Fix bug with $EnableUploadDrop.
- Update documentation.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.4.0 (Hauptversion) 27 Januar - 15MBSite Breaking Changes
- (If you have custom styles for core elements, check if the following need to be updated:)
- Table of contents has kept the same class names, but the wrapping elements are now <details>, <summary> for the "Contents" line and <nav> for the links. If you have styled div.PmTOCdiv and div.PmTOCtable, you can only keep the class names .PmTOCdiv and .PmTOCtable.
- Cookbook:LocalTimes added a [+] button on RecentChanges to pull recent history entries. It was a b.rcplus element styled like a button, now it is a real button with the classes "inputbutton rcplus". Custom styles can probably be removed, as it will now look like other buttons on the wiki.
- Cookbook:PmSyntax can now be enabled on multiple textareas, so the highlighting block identifiers have been changed to class names. If you have styled for #hwrap and #htext, you should now change these to .hwrap and .htext.
- PmWiki previously injected core styles to $HTMLStylesFmt, these have been moved to a file pub/lib/pmwiki-core.css and changed to use CSS variables for both light and dark color themes. It is now much easier to redefine these from a skin or from local css, but these can also be disabled with such a line in config.php or in a skin: unset($HTMLHeader1Fmt['core-css']); Some skins disable the core styles and provide their own, if you notice any style issues with the latest version of your skin, try the above line.
- If you inject a custom <meta charset> element to $HTMLHeaderFmt, it is now recommended to add it to $HTMLHeader1Fmt instead, as browsers expect the charset information to be as early as possible in the HTML source.
Structure, JavaScript and CSS
- Added a new pub/lib directory, moving core files such as pmwiki-utils.js, pmwiki-syntax.css, pmwiki-syntax.js, and pmwiki-darktoggle.js to it.
- Added pmwiki-core.css which includes core styles previously injected into $HTMLStylesFmt. This change is aimed at improving performance and supporting stricter Content-Security-Policy. The styles include support for both light and dark themes and responsive layouts, with easier customization options.
- Added pmwiki-lib.js, a new core JavaScript library for DOM manipulation, asynchronous operations, preference storage, and reporting. These functions can also be used by recipes.
- Added $HTMLHeader1Fmt for insertion right after the <head> tag to facilitate early loading of scripts and styles, improving features like dark mode and easing core style overrides by skins.
- Refactored the InsertWikiPageCSS() function. Added $WikiPageInlineCSS (default enabled); if set to 0, local styles will be served as a separate browser request ($PageUrl?action=pagecss), aligning with the stricter Content-Security-Policy.
Form and Textarea
- The form "Preview" button now does not require validation.
- Improved $EnableMergeLastMinorEdit behavior.
- If $EnableEditAutoText is set to 2, any textarea with the autotext class will enable Cookbook:EditHelp. New shortcuts for line swapping (Alt+ArrowUp and Alt+ArrowDown) have been added.
- Introduced $EditAutoBrackets to automatically insert closing characters in autotext textareas. If text is selected, typing an opening character will wrap the selection with matching characters.
- If $EnablePmSyntax is set to 2, any textarea with the class pmsyntax will enable Cookbook:PmSyntax. The F8 key can now toggle syntax highlighting.
- Added the (:input range:) element to forms.
- Added support for data-labelvalue="1" attribute in form elements like color and range inputs to display their values.
Variables
- Added $EnableUploadTargets and $UploadTargets to track files attached to a page.
- Introduced $RehashedPassword, which contains a new hash when a user logs in with an outdated password hash, allowing add-ons to update the password hash.
- Added $PagePathResolveFmt, if enabled, will resolve the current page name instead of $PagePathFmt. This is useful for wikis where both Main.Name and Name.HomePage (or Name.Name) exist, allowing the Name group to open instead of Main.Name.
Table of Contents
- The Table of Contents now uses a <details><summary> element for toggling. Custom styles for div.PmTOCdiv should be updated to .PmTOCdiv, and div.PmTOCtable should be updated to .PmTOCtable. The back arrow is now defined in CSS.
Highlights
- Added helper function XLHSC() and updated PosArgs().
- The RecentChanges "plus" button in Cookbook:LocalTimes is now an input button element. After downloading recent page edits, it will display "minus" instead of disappearing, and clicking "minus" will hide the edits and toggle back to "plus".
- The ?action=diag page now includes defined constants and functions, aiding diagnostics.
- A couple of bugs have been fixed.
Documentation
- Simplified the docs/sample-config.php.
- $EnableCopyCode works only on HTTPS websites. It will be disabled on HTTP without any console errors.
- Updated documentation to reflect changes and new features.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.384 November 2024 - 15MBBug Fixes and Changes
- This version includes updates for recent PHP versions for PmForm and Notify.
- For PmForm, a new variable {$$CurrentLocalTime} in a template will insert the date/time formatted according to $EnableLocalTimes.
- The variable $UploadBlacklist has been deprecated. A new variable $UploadBlockPatterns now accepts comma-separated wildcard case-insensitive patterns like this: $UploadBlockPatterns = '*.php*,*.pl*,*.cgi*,*.py*'; # disallow common script files
- Uploading files matching the patterns will be rejected.
- $MessagesFmt has been refactored to allow associative arrays with keys that can be set from recipes. The directive (:messages keys=a,b details=open:) now accepts the attributes "keys=" which can have comma-separated keys or patterns, and "details=" that can be "open" or "closed", which will wrap the grouped messages in a <details> element. In addition, individual messages starting with "markup:" will now be reprocessed by the markup engine.
- WikiStyles now accept inline calc() operators.
- A new helper function PosArgs($args, $posnames) was added and the documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.3728 August 2024 - 15MBBug Fixes and Changes
- Update for PHP 8.
- Responsive skin: cache SkinElements pages.
- Add helper function PRI() "PmWiki Recursive Implode".
- pmwiki-utils.js add "draggable".
- Add PageVariable {$GroupHomePageUrl}.
- $EnableSortable, $EnableSimpleTableRowspan enabled by default.
- PmSyntax update for $EnableSimpleTableRowspan and for Cookbook:InputStar; fix line-height for some skin configurations.
- Add $EnableCommonEnhancements, update docs/sample-config.php, remove from sample-config.php $EnableNotSavedWarning which was enabled in 2.3.0.
- Add $EnableObfuscateEmails, $EnablePreserveLineBreaks.
- Add $EnableUrlApprove, $EnablePmForm, $EnableCreole, $EnableRefCount, $EnableFeeds (PITS:01511).
- (:input e_minorcheckbox:) to include label and title per $EnableMergeLastMinorEdit, update Site.EditForm, XLPage.
- Anchors remove deprecated name="" attribute.
- Meta Content-type moved early and configurable.
- Update documentation.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.367 August 2024 - 15MBBug Fixes and Changes
- This version introduces a drag-and-drop feature for uploads which can be enabled using $EnableUploadDrop.
- The new $TROEPatterns array allows configuration of replace-on-edit patterns when a template is loaded onto an empty page.
- When a page is deleted, a history entry will now be recorded, capturing the date and time, user, and change summary.
- The release also includes a fix for PHP 8 and updated documentation.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.3515 Juli 2024 - 15MB2.3.35
Bug Fixes and Changes
- This version updates links in the default sidebar to the HTTPS scheme, and places the links to PITS (issue tracking) and Mailing lists in a conditional for editors only.
- Minor improvements to PmSynxtax. It is now possible to show the source text of a wiki page highlighted by opening Page?action=source&highlight=1.
- A minor bug with escaped strings in page titles was fixed, and the documentation was updated.
- Version 2.3.35 for security reasons removes the upload types "svg", "svgz", "htm", "html", "css", "swf", "fla", "epub". In some cases, those file formats may allow scripting and potentially open XSS vulnerabilities. Existing uploads with these extensions will not be affected. Wiki administrators who only allow trusted users to upload, can re-enable the extensions that they require in config.php.
2.3.34
Bug Fixes and Changes
- This version adds a new conditional markup for the current wiki action like (:if action browse,edit:) which accepts comma-separated actions and wildcards.
- A new upload extension "m4a" for audio files was added.
- A few updates for recent PHP versions.
- Minor improvements for RecipeCheck and $GUIButtons.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.3325 April 2024 - 15MBBug Fixes and Changes
- Updates for PHP 8
- Improvements to the responsive skin
- Updates preview changes mode
- Updates to conditional markup handling
- PmSyntax will now colorize links in double brackets, and a new variable $HTMLTitleFmt in local configuration can override the format between <title>...</title> defined in a skin template
- The documentation was updated
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.3225 März 2024 - 15MBBug Fixes and Changes
- This version includes improvements for the dark color scheme, restoring a light scheme for printing.
- Pictures with a white background may appear too bright on a dark theme, so a new variable $ImgDarkSuffix, when defined, allows you to prepare a separate picture adapted for the dark theme. On a wiki page you still use Attach:picture.png and when the dark theme is loaded, the browser will load Attach:picture-dark.png (if it exists).
- New image and upload extensions AVIF and AVIFS were added, FileSizeCompact() was refactored to allow decimal file sizes, Recent changes pages will be locked to prevent blanking in case of concurrent uploads, and the documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.3128 Februar 2024 - 15MBBug Fixes and Changes
- Improvements to the color sets of the dark theme for the PmWiki-responsive skin, and for the PmSyntax highlighting.
- The dark toggle icons are now 3-state, rotating between Light, Dark, and Auto (browser/system preference), and an annotation tooltip near the icon displays the current mode.
- The dark theme functions detecting, storing, and restoring visitor preferences can be reused by other skins, and a new variable $EnableDarkThemeToggle can define the default theme for visitors that have not used the toggle icon.
- The page attributes form where passwords and permissions are defined, can now add or remove passwords, users, or groups, without the need to rewrite the full definition. If for example you need to add a new password and a group without removing existing permissions, type "+ " (plus, space) or "- " (minus, space), followed by the permissions to be added or removed: + MyNewPassword @newgroup
- Edit templates entries can now include page patterns where the template should be used. For example: $EditTemplatesFmt[] = "Site.TalkTemplate name=*-Talk";
- The function PrintFmt() was refactored to process markup and wiki pages before outputting HTML headers, which would allow for markup, headers, footers, sidebars included from the skin, and action pages like the Auth form, to configure $HTMLHeaderFmt and $HTMLStylesFmt, and the directives (:noheader:), (:notitle:), (:noleft:), (:noaction:) to work from these pages. In case your wiki relied on the previous behavior, you can revert to it by adding to config.php: $EnablePrePrintFmt = 0;
- The variable $EnableUploadVersions can now be set to 2, and if a file with the same name already exists, the new file will have a unique suffix added.
- RecipeCheck was updated to also list skins and report their versions.
- Other minor changes include: the "form" attribute was added to input fields; WikiStyles accept a new property 'columns', (:redirect quiet=1:) has been refactored to prevent an infinite loop, and the documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.3023 Januar 2024 - 15MBBug Fixes and Changes
- Dark color theme: The PmWiki-responsive skin has new styles for a user-activated dark/night scheme, with dark backgrounds and light texts. A dark theme can be softer on the eyes if used at night or in dark rooms. An icon to toggle the styles is placed near the search box in the header. It is possible to place toggle icons and/or labels in wiki pages, headers, footers, sidebars, to toggle stylesheets, and all functions can be easily reused in other skins, and with syntax highlighting, see Cookbook:DarkColorScheme.
- PmSyntax: We added styles for the new dark color theme. These may be improved in the future.
- PmWiki logo: A new logo in SVG format was added to pub/skins/pmwiki, and the variable $PageLogoUrl was updated to use the new logo by default. A vector logo can upscale without pixelizing or blurring and looks better on the dark theme. Most wikis have their own logos, this will not change.
- Page history: A significant improvement in the word-diff highlighting precision.
- Uploads: Various fixes for $EnableUploadMimeMatch and Attach: links with escaped filenames.
- Forms: The input field (:input e_author:) is now available to all forms with pre-filled author name and "required" attribute per $EnablePostAuthorRequired. A positional form action URL no longer needs to be quoted.
- Quiet redirects: With the directive (:redirect OtherPage:), the variable $EnableRedirectQuiet can now be set to 2 to make all redirects quiet by default (without quiet=1 argument), unless there is a quiet=0 argument. Quiet redirects will now prevent multiple jumps and infinite loop errors (like normal redirects).
- The release includes a few other minor fixes and the documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.2920 Dezember 2023 - 15MBBug Fixes and Changes
- This version includes a fix for PHP 8.2.
- Improvements to the PmSyntax functions, markup directives defined in $MarkupDirectiveFunctions now accept dashes in attribute names.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.2827 November 2023 - 15MBBug Fixes and Changes
- This version adds new form input types "month" and "color".
- A new variable $NotifyRelatedTrailFmt allows for the Notify trail= function to automatically include related pages when the base page is in the trail. This has been enabled on PmWiki.org, so if your notify trail contains Cookbook.MyRecipe, you will be notified about edits to this page, but also to Cookbook.MyRecipe-Talk and Cookbook.MyRecipe-Users.
- The "simpletable" zebra backgrounds are now reversed when the table has a <thead> element, in order to have dark-light-dark rows instead of dark-dark-light.
- With UrlApprovals, if a URL with the insecure http: scheme has been approved, URLs with the secure https: scheme to the same domain name will be automatically approved (not the other way around).
- Some utility JavaScript functions should now work better when localStorage is not available.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.2723 Oktober 2023 - 15MBBug Fixes and Changes
- This version includes fixes PHP 8, for time formats with an invalid timezone.
- When merging the last edit, it will now reuse the previous edit summary if none was input.
- The ".diffmarkup" element now has the style "white-space: pre-wrap" - if a custom skin disables core styles you may want to update the skin styles.
- When $EnableEditAutoText is enabled, new keyboard shortcuts will be available: Ctrl+B ('''bold'''), Ctrl+I (''italic''), Ctrl+K ([[link]]/unlink).
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.262 Oktober 2023 - 15MBBug Fixes and Changes
- This version includes updates for PHP 8.2, customizable HTML snippets for trails and input labels.
- It is now possible to configure searching for "at least one" term among many, as opposed to currently searching for all terms.
- Extensions are now removed from the $UploadExts array if their size is set to zero in $UploadExtSize.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.2531 Juli 2023 - 15MBBug Fixes and Changes
- This version includes updates for PHP 8.2.
- Some core markup directives were refactored to prevent very rare bugs.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.246 Juni 2023 - 15MBNew Features
- Add $EnableUploadMimeMatch.
- Add $EnableMergeLastMinorEdit, edit functions MergeLastMinorEdit (based on Cookbook:FuseEdit), SaveChangeSummary (refactored out of HandleEdit).
- Add $PmCryptAlgo, pmcrypt() to call password_verify() if it exists.
- Add InsertEditFunction($newfn, $where='<PostPage').
- Add $AuthFormRespCode.
- Add $EnableDownloadRanges, default 1.
Bug Fixes and Changes
- Fix LogoutCookies() doesn't use a $pagename argument.
- PmForm add condition 'validemail' for use in template require.
- Refactor HandleDownload() split ServeDownload($filepath, $upname).
- When the token is expired, reopen edit form rather than abort.
- LocalTimes add $EnableRCListLastEdit.
- Update documentation.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.237 Mai 2023 - 15MB2.3.23
Bug Fixes and Changes
- This version implements session tokens to prevent potential cross-site request forgery vulnerabilities, suggested by Dominique Faure. Most core actions that modify pages or files should have this enabled and should work like before.
- This new feature can be disabled by setting these variables in config.php: $EnablePmToken = 0; # edit, upload, attributes, approveurls; $PmFormEnablePmToken = 0; # PmForm
- Some installations might encounter the error message "Token invalid or missing". These can include custom edit forms, automated scripts posting to the wiki, AJAX posting text or uploads used by some recipes, or partial upgrades where some core scripts haven't been updated. Most of these should be easy to update -- please report such cases to us -- otherwise you may selectively disable the feature.
- A form element (:input pmtoken:) was added, and the helper function pmtoken() was documented to make it easy for custom forms and recipes to use this new feature.
- The version also includes a minor code refactoring, a bug fix, and the documentation was updated.
2.3.22
Bug Fixes and Changes
- This version adds to the core the Cookbook:PmForm recipe (script and templates), not enabled by default. This is in order to reduce my workload, and future updates to PmForm will be made only in the core version.
- If you already use PmForm, you can enable the core script, by modifying your include_once() call from "cookbook/pmform.php" to "scripts/pmform.php". Your existing templates and configuration should continue to work.
- A bug was fixed with PageLists with multiple category=+A,+B categories. Input forms and buttons can now be configured to ask for confirmation before they are submitted. A few updates for recent PHP versions, and other minor improvements, and the documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.218 März 2023 - 15MBNew Features
- The upload extension CSV.
- $EnableLocalTimes with a new short mode 3 where old dates are shown as MM'YY.
- A new variable $EnableCopyCode to add [+] buttons for easy copying of preformatted blocks.
Bug Fixes and Changes
- Updates for PHP 8.
- Bug fixes with sortable tables and multiline $MarkupDirectiveFunctions.
- The core table of contents was updated to work better with recent SectionEdit versions.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.2013 Februar 2023 - 15MB2.3.20
Bug Fixes and Changes
- This version fixes an unidentified variable warning introduced yesterday in 2.3.19.
2.3.19
Bug Fixes and Changes
- This version includes fixes for recent PHP versions, new helper functions, new variables allowing more customization, and the documentation was updated.
- Work is underway to define and implement a new family of self-contained recipes "Modules" which should be easier to install, configure and update. It may be possible to easily update your modules and skins either from a remote Git/SVN repository, or by simply dropping a ZIP file into the "modules" directory, and use a wiki-based editor to enable and configure them. Nothing will change for existing recipes, and they will not need to be updated; this will be an entirely optional new interface. Let me know if you can suggest features/scopes added to the wishlist.
- PmWiki too may be able to run directly from the read-only release ZIP archive, without the need to unzip it first. Again, this will be entirely optional, the current ways will continue to work as before, and slightly faster than the ZIP version (approx. 2% faster in my benchmarks).
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.1816 Januar 2023 - 15MB- This version fixes a bug user groups in with conditional markup.
- Updates for PHP 8 are included.
- Minor improvements to the edit textarea and to the syntax highlighting are included.
- A helper function pm_json_encode() was added for servers where the PHP-JSON extension is not enabled.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.173 Januar 2023 - 15MB- This release has updates for recent PHP versions.
- The edit textarea had some improvements. Edit buttons and the automatic edit text will now insert their wiki markup in a way which allows for the "undo" function in the text area to work (with Ctrl+Z). The edit textarea (with $EnableEditAutoText enabled) now accepts 4 new keyboard shortcuts: Ctrl+L and Ctrl+Shift+L to convert the selected text to lowercase or uppercase, and Ctrl+Shift+ArrowUp or ArrowDown to move the line with the cursor up or down.
- A new variable $EnableBaseNameConfig was added - it allows to enable automatic inclusion of local configuration for the "basename" of the current page, for example Group.Page-Draft to include local/Group.Page.php if it exists.
- Conditional markup (:if auth @admins,@editors:) can now check if the current user belongs to selected usergroups (with AuthUser).
- A few minor bugs and omissions were fixed.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.1629 November 2022 - 15MB- This version fixes a bug with some skins introduced in 2.3.15 last week, and reverts PrePrintFmt().
- New WikiStyles 'notoc' and 'overflow' were added. PmTOC Table of contents, and the list of included pages in the edit form, now use classnames instead of style attributes.
- PmSyntax fixes a font-size alignment bug with nested programming languages, and has been optimized for large pages.
- A few more minor bugs were fixed, including for PHP 8.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.15 (Sicherheitsupdate) 21 November 2022 - 15MBSecurity
- Closed a potential XSS vulnerability discovered today. Your wiki may be at risk if untrusted people can edit your pages.
Bug Fixes and Changes
- HTTP headers: CSP updated, XSSP added. Both can be disabled or modified by changing the $HTTPHeaders values.
- Cookies: Added a new variable $CookieSameSite default to 'Lax' per current browser defaults and expectations. Updated pmsetcookie() added an argument $samesite, and refactored to work with old and current PHP versions. Added function pm_session_start() as a replacement for session_start() with respect for local preferences ($CookieSameSite, $EnableCookieSecure, $EnableCookieHTTPOnly).
- PmSyntax: A new CSS variable --pmsyntax-fontsize-editform allows to set the font size of the edit form separately from highlighted elements in the documentation. Fixed the [[Highlight]] label could change fonts when clicked.
- Responsive skin: The font size for "pre" and "code" elements is now scalable/relative to the paragraph font size rather than fixed. This works better in headings or small text blocks.
- GUI edit buttons: Part of these functions were rewritten to avoid 'unsafe inline' JavaScript. While default and most custom buttons should work without change, you should no longer need to url-encode some characters like % or add backslashes. If you have such buttons, you may need to update their declarations to strip the extra backslashes.
- WikiStyles: Refactored to move all inline WikiStyles to the $HTMLStylesFmt array in the header of the HTML page.
- Tables and block markup: Replaced inline style="..." attributes with class names.
- The function PrintFmt() was refactored to process skin parts, skin functions, markup, and wiki pages, before sending the HTTP and HTML headers. This allows for wikistyles and recipes in sidebars and footers to add their configuration to the headers.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.144 November 2022 - 15MBBug Fixes and Changes
- This version includes fixes for recent PHP versions and for 2 minor bugs (searchbox wrongly encoded entities and {(ftime %L)} format). Inline JavaScript for focusing form fields is now replaced with native attributes. In the Edit form, the "Minor edit" label can now toggle the checkbox.
- The "disabled obsolete markup" tooltip now includes the file path and the line number of the markup rule definition.
- PmSyntax now recognizes (:template requires? ...:) which is used by some recipes.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.13 (Sicherheitsupdate) 7 Oktober 2022 - 15MBBug Fixes and Changes
- This version closes a potential XSS vulnerability, reported by lukystreik.
- A new variable $FailedLoginsFunction will allow to define a function limiting the number of failed logins.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.1226 September 2022 - 15MBBug Fixes and Changes
- This version has a few fixes for PHP8.
- Complex conditionals with empty page variables could cause errors, now fixed.
- Form elements with values like "0" could appear empty, now fixed.
- The PSFT() function and the {(ftime)} markup expression now recognize a "%L" format as a human-readable localizable timestamp.
- A new helper function PrintAuthForm() was split from PmWikiAuth() to allow recipes to call it directly.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.111 September 2022 - 15MBBug Fixes and Changes
- This version fixes the function stripmagic(), when used with arrays (a recent update for PHP 8 broke it).
- New PageVariables derived from a Group's homepage are now available: {$GroupHomePage}, {$GroupHomePageName}, {$GroupHomePageTitle}, {$GroupHomePageTitlespaced}.
- A new helper function should simplify recipes with custom markup directives of the format: (:mydirective arg=val param="other value":)...(:mydirectiveend:). See the documentation at Cookbook:MarkupDirectiveFunctions.
- The core documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.1022 August 2022 - 15MB2.3.10
Bug Fixes and Changes
- This version includes updates for PHP 8.
- Wildcard $DefaultUnsetPageTextVars should now work with forms.
- PmSyntax fixed text alignment between the edit area and the colored block in some cases.
- The documentation was updated.
2.3.9
Bug Fixes and Changes
- This version includes updates for PHP 8. Non-wildcard $DefaultUnsetPageTextVars should now work with (:input default:).
- PmSyntax now handles blocks with simpler selectors, possibly created by recipes.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.825 Juli 2022 - 15MB- This version fixes a bug caused by a recent update for PHP 8 with the include markup, "(:include Page1 Page2 Page3:)". When the first page doesn't exist, it didn't check for the other pages (now fixed).
- PmSyntax was improved when more than one inline blocks are on the same line.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.729 Juni 2022 - 15MB- This version sets default HTTP headers X-Frame-Options (reported by Imagine Dragon) and Content-Security-Policy to disallow embedding in external websites by default and clickjacking attempts.
- Should you require the previous behavior, you can add this line to local/config.php:
- unset($HTTPHeaders['XFO'], $HTTPHeaders['CSP']);
- $EnableHighlight will now remember any links to PmWiki variables and restore them after the highlighting.
- $EnablePmSyntax will now process %hlt pmwiki% in addition to %pmhlt% blocks, and escaped markup after it will be tentatively highlighted.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.622 Juni 2022 - 15MB- This version contains fixes for PHP 8. A form attribute "lang" was added.
- Sortable tables now allow for table headers to have markup such as bold (except links), and will use a case-insensitive natural ordering.
- Searchbox now has a default placeholder "$[Search]" and can have the submit button removed with the argument label="" (users need to press Enter on their keyboards to search).
- $EnableHighlight-formatted code blocks are now converted to plain text to prevent warnings; there is an ongoing discussion in the mailing list so this solution may evolve.
- For developers: $UploadVerifyFunction can now modify $upname, and a variable $PageIndexTermsFunction can configure a replacement function for PageIndexTerms().
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.523 Mai 2022 - 15MB- This version fixes a bug with (:pagelist list=grouphomes:). A new helper function DisableSkinParts() allows for simpler disabling of headers, footers and sidebars from recipes. When a file is uploaded, new variables with the file path and URL are now available to recipes.
- The version also contains fixes for PHP 8 and documentation updates.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.210 Februar 2022 - 15MB- This version includes bug fixes and updates for PHP 8.1. The core variable $EnableIncludedPages introduced in 2.3.0 was renamed to $EnableListIncludedPages to avoid ambiguity. With LocalTimes, is now possible to configure the number of days the "plus" button will pull from the page history, and the function will better recognize some older RecentUploads formats. PmSyntax was updated so that "\\" line breaks in tables and headings are treated like in the core, staying in the same context; and the different PmSyntax blocks will now be processed in parallel.
- The code configuring and loading pmwiki-utils.js was moved to a new file scripts/utils.php, and a new variable $EnablePmUtils was added to allow administrators to easily disable these functions. The script pmwiki-utils.js will now be included in the page header rather than the footer, which may reduce the number of page redraws. The individual functions will now be processed in parallel.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.3.1 (Hauptversion) 18 Januar 2022 - 15MB2.3.1
Bug Fixes
- There was an omission in the release script which unexpectedly deleted the $VersionNum variable which broke some settings. This quick release fixes it.
2.3.0
PHP 5.3 - 8.1 compatibility
- PmWiki 2.3.0 includes updates for PHP 8.0 and 8.1. Consequently, it requires PHP version 5.3 (released 2009) or more recent.
PmSyntax
- A new function PmSyntax was added to the core, and enabled on pmwiki.org.
- It highlights PmWiki syntax in the documentation, and possibly in the basic edit form.
- It only highlights PmWiki markup, and is independent from Highlight.js. See Cookbook:PmSyntax and $EnablePmSyntax.
- It should highlight most core language features and those of many recipes, see this mashup of various markups.
- Developers can add custom rules in the $CustomSyntax array, see Cookbook:CustomSyntax.
- The (:markup:) directive can now have class=norender to only show the source code without processing it. This may be useful, together with PmSyntax, in 2 cases: writing/discussing markup code without actually running it, or working on PageList Templates where you want to see and edit them highlighted.
Improvements to the edit form
- PmSyntax (above) can be enabled to highlight the PmWiki markup the edit form, and should work in recent standards-compliant browsers.
- The variable $EnableNotSavedWarning is now enabled by default. Add to config.php $EnableNotSavedWarning = 0; to disable it.
- A new variable $EnableIncludedPages $EnableListIncludedPages (from 2.3.2) allows listing of other pages included from the currently edited page, with links to see or edit them. When the variable is enabled, the list of pages appears in the edit form, after the text area, in a collapsed <details> element. The list includes pages from which text, text variables, or templates are included from the edited page. This is enabled on pmwiki.org if you wish to preview it.
- The $EnableEditAutoText function will now feel more like other text editors by removing the automatically inserted bullet when Enter is pressed twice.
Dates and times, monitoring, review
- The {(ftime)} Markup expression now accepts a new format '%o' for the ordinal suffix of the date.
- The Notify feature now accepts a tz= timezone specifier for individual subscribers. See Notify#tz.
- A function based on Cookbook:LocalTimes was added to the core. See the recipe page for the differences. You can continue using the recipe, or disable it and enable the core function.
- New core variables $EnableLocalTimes, $CurrentLocalTime.
- New markup @2022-01-09T08:35:00Z output as a <time> element, formatted via $TimeFmt; localized if $EnableLocalTimes.
- Added a variable $EnableRecentUploads which makes it easy to enable the Recent Uploads feature on AllRecentChanges. This is a basic format that may be good enough for many wikis. For more options, see Cookbook:RecentUploadsLog.
- The default $RecentChangesFmt now use the variable $CurrentLocalTime instead of $CurrentTime. In the wiki source text it saves the timestamps in a portable time format in GMT, which is then shown formatted per $TimeFmt (wiki timezone). It looks just like $CurrentTime did previously, but can be converted to the visitor's time zone if LocalTimes is enabled. If you have custom $RecentChangesFmt entries that use $CurrentTime, nothing will change for you, but you may want to update these with $CurrentLocalTime if you want to benefit from localization.
- The "page history" page now has CSS classes for the delay between edits: diffday, diffweek, diffmonth, diffyear. These allow styling of vertical spacing between individual edits in page histories. See Cookbook:DiffDelay for an example.
- The page history can now have a "hidden" edit type, in addition to "minor". This is intended to be used by recipes in order to hide, rather than delete, some edits from the page history. A couple of new recipes using this feature will be added in the next few days.
PageLists, categories, backlinks
- PageLists now accept a new argument category=Name which lists only pages declared in the category with the markup [[!Name]], and does not include pages simply linking to [[Category/Name]] (unless they also contain [[!Name]]).
- The differentiation between links to !Name and Category.Name requires the pages containing category links to be re-indexed; see Cookbook:ReindexCategories which can automate this.
- Also in PageLists, the arguments link= and category= now accept multiple and negative specifiers, and wildcards. See PageLists#wildcards. If you previously used the recipe Cookbook:PageListMultiTargets, please disable it when you upgrade to 2.3.0.
- Category links can now have a different text, like [[!Name|Text]], and the markup generally behaves like other links, see PITS:01095.
Styles (core skin PmWiki-responsive)
- Collapsible sections details+summary will now change the cursor to the "pointer" style over the clickable element, and the color will change to "navy".
- The core table of contents function ($PmTOC) has had its styles updated, in order to properly indent long sub-headings.
Core helper functions
- A new helper function PSFT() can now be used as an almost drop-in replacement for strftime() and gmstrftime() which became deprecated in PHP 8.1. Please review the documentation at Functions#PSFT. If you have local configurations or recipes using strftime() you can change for PSFT() now.
- A helper function DownloadUrl($pagename, $path) was added, see Functions#DownloadUrl. It can simplify the handling of attached files by recipes.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.14513 Dezember 2021 - 15MBChanges and Bug Fixes
- This version includes a minor change in search patterns: searches and pagelists with a wrong or undefined $SearchPatterns (list=abc argument) will now use $SearchPatterns["default"] rather than an empty array (effectively all pages). This was likely the intended behavior, a way for admins to restrict search locations.
- It also includes updates for PHP 8, a fix of an emoji for non-UTF8 wikis, and the latest pages of the documentation.
2.2.144
Changes and Bug Fixes
- This version includes fixes for PHP 8 and an update to intermap.txt. The conditional markup "exists" was optimized when called multiple times. The functions CondExists(), MatchPageNames(), and MatchNames(), can now be called with an additional argument (false) when a case-sensitive match is needed.
- The documentation was updated.
2.2.143
Changes and Bug Fixes
- This version should prevent some errors from local customization or recipes with recent PHP versions, by disabling obsolete markup rules and replacement patterns. If such markup appears on a page, it will not be processed, it will be rendered like this: ⚠(:my-obsolete-directive params:) and a tooltip title should have some additional information.
- Care should be taken if you have custom calls to the deprecated function PCCF(), and incompatible custom replacement patterns processed via PPRE() or PPRA() are silently skipped, which may not work as expected. (Previously they wouldn't work at all.)
- If you experience any difficulties, please do let us know and we'll try to provide a fix.
- The documentation was updated.
2.2.142
Changes and Bug Fixes
- This version hides some PHP 8 notices, and adds 2 new form element attributes "accept" and "autofocus".
- The documentation was updated.
2.2.141
Changes and Bug Fixes
- This version adds ways to define 2 custom functions:
- $MultiFactorAuthFunction to enable custom MFA/2FA with AuthUser
- $PageIndexFoldFunction to define a custom function normalizing the page terms while indexing and searching (by default PmWiki converts the terms to lowercase).
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.14029 Juni 2021 - 15MB- This version has updates for PHP 8.
- The API of the source code highlighting library has changed and the PmWiki loader function was adapted; if you use this feature, please upgrade Highlight.js to version 11.0.0 or newer.
- Note: since version 11, Highlight.js doesn't preserve HTML in the preformatted blocks and issues a console warning, so you should only use the (space)[=escaped=] or the [@escaped@] markup blocks.
- The documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.13912 Mai 2021 - 15MB2.2.139
Bug Fixes
- Removes empty "title" attributes in HTML tags (links and images)
- Fixes warnings which appear with PHP 8
2.2.138
Bug Fixes
- Fixes a bug when a details directive has markup in the summary attribute
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.137 (Sicherheitsupdate) 26 Februar 2021 - 15MB2.2.137
Bug Fixes
- fixes a bug introduced earlier today with entities encoded twice in PQA() quoted arguments.
2.2.136
Security
- fixes a XSS vulnerability for WikiStyles.
Changes
- adds a second argument $keep to the core function PQA($attr, $keep=true) which by default escapes HTML special characters and places the values in Keep() containers. If you have custom functions that call PQA() and expect the previous behavior, call PQA() with a second argument set to false.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.1351 Februar 2021 - 15MB- This version fixes a number of PHP8 compatibility issues. This is a work in progress, if you uncover others, please report them at PITS:01461.
- A work is underway to implement session tokens to prevent CSRF vulnerabilities -- suggested by Dominique Faure. I wanted to rework these functions but the PHP8 compatibilities are more urgent so at the moment the PmToken functions are transparent/non-functional.
- A defunct syndicated blocklist was disabled, a minor code refactoring was done for PmTOC to better support manual edit section links, and the documentation was updated.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes#v221352.2.1343 Dezember 2020 - 15MB- This is a documentation update version.
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes#v221342.2.133 (Sicherheitsupdate) 6 November 2020 - 15MBSecurity
- CWE-384: Session Fixation: The fix regenerates the session identifier at the moment someone logs in
Bug Fix
- CSS: Unintended variable evaluation in link markups
Lesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes#v221332.2.1326 Oktober 2020 - 15MBLesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes#v221322.2.13131 August 2020 - 15MBLesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes#v221312.2.1308 Juli 2020 - 15MBLesen Sie mehr: https://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.1291 Juni 2020 - 15MB- Mute some PHP notices.
- Copy "simpletable" styles from the "pmwiki-responsive" skin into the old "pmwiki" skin.
- Update documentation.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.12828 April 2020 - 15MB- This version only includes some cosmetic changes and updates the documentation.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.12723 März 2020 - 15MB- This version sets the maximum height of the edit form textarea after reports for a jumping behavior on mobile devices.
- The core table of content classes "pmtoc-show" and "pmtoc-hide" now replace the previous classes "show" and "hide" to prevent conflicts with other frameworks.
- The functionality of the recipe Skins:SkinChange was added to the core (disabled by default).
- The documentation was updated.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.1262 Februar 2020 - 15MB- This version fixes a bug with $PmTOC['MinNumber'] set to -1, and updates the .htaccess format for caches.php.
- The documentation was updated.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.12527 Januar 2020 - 15MB- This version adds a variable $SetCookieFunction to override the core "pmsetcookie" function.
- A new feature ToggleNext was included in the core, documented at Cookbook:ToggleNext.
- The documentation was updated.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.1232 Januar 2020 - 15MB- This version allows link URLs to be escaped with [=link address=] if they contain any special characters, including quotes, parentheses and pipes.
- The obfuscated e-mails will now work from headers, footers and sidebars.
- A form attribute "formnovalidate" was added to the core and to the "Cancel" button in the edit form.
- Core table of contents will now work better with Cookbook:SectionEdit.
- Cookbook:RecipeCheck was included in the core -- if you have this recipe already installed, you can simply comment it out from your config.php.
- The code that handles $EnableRCDiffBytes was refactored to also show the bytes changed in the page histories.
- New upload extensions "webp" (images) and "opus" (audio) were added.
- The documentation was updated.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.12221 November 2019 - 15MBChanges
- ObfuscateLinkIMap: Fix bug with special or international characters in custom subject fields, reported by FidelioEspoir.
- Add $DefaultUnsetPageTextVars, $DefaultEmptyPageTextVars.
- Mute "Uninitialized string offset messages" for error_reporting(E_ALL), reported by DFaure.
- Fix PmTOC, when NumberedHeadings is enabled, to number headings even when the TOC would not be created.
- Add {$$EachCount} pagelist template pseudovariable, containing the count for the current "each" loop.
- Add $InputAttrs role and aria-* form attributes, allow aria-\w* attributes for the (:searchbox:) field.
- Update documentation.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.12013 Oktober 2019 - 15MBChanges
- Add (:input datalist:) form element.
- Add (:details summary="...":)...(:detailsend:) block markup.
- Fix bugs with guiedit.php/guiedit.js reported by FidelioEspoir.
- PmTOC: add max-height and overflow-auto to the block.
- Update documentation.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.1194 Oktober 2019 - 15MBHighlights
- This version updates the core for PHP 7.4. Required input fields now feature required="required" attributes and modern browsers prevent sending the edit or upload form with empty required fields.
- Attachlist ext= and names= arguments now accept patterns and negatives like ext=jpg,png, ext=-pdf, or names=-th*---*.jpg.
- The Redirect function can now have a 3rd argument with the full URL.
- The scroll position in the edit text area will be remembered on save-and-edit and preview.
- A bug was fixed with pagelist while preview.
- The documentation was updated.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.1186 September 2019 - 15MBHighlights
- This version integrates the features of the recipe Cookbook:PreviewChanges into the core.
NOTE
If you currently use Cookbook:PreviewChanges, please uninstall it and add this to your config.php:
$EnablePreviewChanges = 1; Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.11719 August 2019 - 15MB- This version adds handling of "partial content" requests for file downloads.
- New video file extensions 'm4v' and '3gp' were added.
- The Upload form now includes a new text field "Uploader" pre-filled with the name of the editor.
- New variable $EnableUploadAuthorRequired was added (defaults to $EnablePostAuthorRequired).
- The documentation was updated.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.11624 Juni 2019 - 10MB- This version fixes pagelists with case insensitive matches of page (text) variables for international wikis. If your international wiki pagelists rely on case-sensitive variable matches, please see $PageListVarFoldFn.
- The documentation was updated.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.11516 Mai 2019 - 10MB2.2.115
- Responsive skin: Simplify CSS for custom backgrounds, remove repetition.
- Update documentation.
2.2.114
- Fix bug with input select lists where an already defined id= attribute may get overwritten.
- Vardoc: Move the id= attribute from a standalone anchor to the definition term element (allows ":target" styling).
- Vardoc: Localize table header and link text (suggested by Michael F. Wolff).
- Add $SkinTemplateIncludeLevel, IncludeTemplate skin directive.
- Add input "tel" type, and attribute "pattern". Fix classnames of new input types.
- Update documentation.
2.2.113
- Add input button element.
- Add $EnableInputDataAttr.
- Update documentation.
2.2.112
- Fix switch break for PHP 7.3, reported by Hans-Jürgen Godau.
- Update documentation.
2.2.111
- Add $Id$ subversion keyword to pmwiki.php, requested by Peter Gragert.
- Fix responsive skin search form max-width in desktop mode, reported by Moni Kellermann.
- Add $DenyHtaccessContent variable. Update protective .htaccess files.
- Add tz= and locale= arguments to {(ftime )} MarkupExpression (PHP5+).
- Update documentation.
2.2.110
- 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.
2.2.109
- 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.
2.2.108
- 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.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.1076 Februar 2018 - 10MB2.2.107 (2018-02-02)
- This version includes more fixes for PHP 7.2 for forms and pagelists.
- A new variable $MailFunction allows administrators and developers to write replacement functions for the PHP function "mail()".
- Styles were improved for right-to-left text blocks embedded into left-to-right texts (and vice versa).
- The documentation was updated.
2.2.106 (2017-12-01)
- This version has a rewrite of the function PageListSort() to allow it to work with PHP 7.2, and fixes a bug with the backtick (escape) `WikiWord markup.
- The helper function pmsetcookie() and the variables $EnableCookieSecure, $EnableCookieHTTPOnly were added to allow easy setting of secure cookies.
- The documentation was updated.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.10521 November 2017 - 10MB2.2.105 (2017-11-07)
- This version fixes a bug with the PQA() function causing invalid HTML with attributes glued together. The function HandleUpload() was refactored and UploadSetVars($pagename) was added to allow upload-managing add-ons to set variables more easily.
- If you upgrade from 2.2.98 or earlier, and you have custom markup rules relative to author signatures, please see note about change in 2.2.99 (documented November 2017).
2.2.104 (2017-10-11)
- This version fixes a bug with path WikiTrails reported today.
2.2.103 (2017-10-01)
- This version is a major upgrade on the internal processing of markups and patterns, all core scripts were updated to be compatible with PHP version 7.2. Whether you use that PHP version or another one, with any local configurations and custom add-ons, there should be no change for what you see, but if any problems please contact us immediately.
- Pagelists can now have optimized list=grouphomes and fmt=#grouphomes arguments to list only the home pages of your wiki groups, whether they are named Group.HomePage, Group.Group, or a custom Group.$DefaultName. Minor bugs in older xlpage scripts were fixed, the responsive skin is now compatible with even older PmWiki/PHP versions, web subtitles (*.vtt) were added as an allowed extension, input form fields can now have a "title" attribute (usually rendered as a tooltip/help balloon when the mouse cursor is over the input element), and a configuration variable $AuthLDAPReferrals was added for wikis running AuthUser over LDAP to force enable or disable referrals when needed.
- The documentation was updated.
2.2.102 (2017-08-05)
- This version reverts the patterns for text variables changed in 2.2.99, because we found that a longer text variable content may cause a blank page or an internal server error. In the page SiteAdmin.AuthList an input box was added to allow filtering of the groups or pages.
2.2.101 (2017-07-30)
- This version renames the internal constructor of the PageStore class to be compatible with both PHP 5 and PHP 7. Previously, the PageStore class had two constructors for PHP 4 and PHP 5 compatibility of which one was silently ignored, but recent PHP 7 versions display strict or deprecated notices when the PHP 4 constructor is used.
- If you must use PmWiki 2.2.101 or newer on a PHP 4 installation, please contact me so I can provide you with a workaround.
2.2.100 (2017-07-30)
- This version provides a workaround for an incompatibility with our Subversion version control system, where the $Author wiki variable was considered a Subversion variable. A fix for the responsive skin adds some spacing above the WikiText block. The documentation was updated.
2.2.99 (2017-06-26)
- This version fixes a bug where an incomplete text variable without a closing parenthesis like "(:Var:Value" could hide the remaining of the page.
- A bug was fixed where previewing a page didn't show changes to be done by replace-on-save patterns (the function ReplaceOnSave was refactored). Markup rules for previewing author signatures are no longer needed and were removed. Note that if you had custom markup rules processed before or after the ~~~ or ~~~~ author signatures may need to be set to '<[[~' (second argument of the Markup call).
- A bug and a warning for PHP 4 installations were fixed. Two minor bugs with the [[<<]] line break for the responsive skin and the $Version variable link in the documentation were fixed.
- The InterMap prefix to Wikipedia was corrected to use the secure HTTPS protocol and the documentation was updated.
2.2.98 (2017-05-31)
- This version adds a new skin that is better adaptable to both large and small screens, desktop and mobile devices (touchscreens). The new skin "pmwiki-responsive" is not enabled by default but available as an option, and as a base for customized copies. It requires a relatively modern browser (post-2009). The old skin is still available and enabled by default.
- The Vardoc links now use MakeLink() to allow a custom LinkPage function. The function ReplaceOnSave() was refactored to allow easier calling from recipes. Markup processing functions now can access besides $pagename, a $markupid variable that contains the "name" of the processed markup rule, allowing a single function to process multiple markup rules. The "*.mkv" video extension was added to the list of allowed uploads.
- A bug was fixed with the (:markup:) output where a leading space was lost. Note that the "markup" frame is now wrapped in a <pre> block with a "pre-wrap" style instead of <code>.
- A number of other (minor) bugs were fixed: see ChangeLog, and the documentation was updated.
2.2.97 (2017-04-07)
- This version fixes a bug concerning $ScriptUrl when $EnablePathInfo is set, introduced in 2.2.96 and reported by 3 users.
2.2.96 (2017-04-05)
- This version fixes a severe PHP code injection vulnerability, reported by Gabriel Margiani. PmWiki versions 2.2.56 to 2.2.95 are concerned.
- Only certain local customizations enable the vulnerability. Your website may be at risk if your local configuration or recipes call too early some core functions like CondAuth(), RetrievePageName() or FmtPageName(), before the $pagename variable is sanitized by ResolvePageName() in stdconfig.php. A specific URL launched by a malicious visitor may trigger the vulnerability.
- Most recipes call core functions from a $HandleActions function, or from a Markup expression rule, these do not appear to be affected by the current exploit.
- If your wiki may be at risk, it is recommended to upgrade to version 2.2.96 or most recent at the earliest opportunity. If you cannot immediately upgrade, you should place the following line in your local (farm)config.php file:
- $pagename = preg_replace('![${}\'"\\\\]+!', '', $pagename);
- Place this line near the top of the file but after you include scripts/xlpage-utf-8.php or other character encoding file.
- This version filters the $pagename variable to exclude certain characters. A new variable $pagename_unfiltered is added in case a recipe requires the previous behavior. The documentation was updated.
2.2.95 (2017-02-28)
- This is a documentation update version.
2.2.94 (2017-01-31)
- This version allows webmasters to configure and use both .html and .htm extensions. The cached information about whether a page exists or not will now be cleared when that page is created or deleted. The documentation was updated.
2.2.93 (2016-12-31)
- This is a documentation update version.
2.2.92 (2016-11-30)
- This version allows administrators to disable the "nopass" password by setting $AllowPassword to false. The function FmtPageName() will now expand PageVariables with asterisks like {*$FullName}. The documentation was updated.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.9113 Oktober 2016 - 10MB- 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.
- 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.
- Fixes invalid HTML output of some WikiTrail links.
- The function PHSC() can now have an optional fourth argument for a safe replacement of htmlspecialchars().
- A new page variable {$SiteAdminGroup} was added.
- The documentation was updated.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.8731 Mai 2016 - 10MB- This version adds the $HTMLTagAttr variable to be used in the "html" tag in skins for additional attributes like "lang" or "manifest".
- 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.
- The documentation was updated.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.8615 Mai 2016 - 10MB- 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.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.834 Januar 2016 - 10MB- This is a documentation update version.
Lesen Sie mehr: http://pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.821 Dezember 2015 - 10MB- This version enables stripmagic() to process arrays recursively.
- The documentation was updated.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.8131 Oktober 2015 - 10MB- 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.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.8030 September 2015 - 10MB- This version modifies the (:searchbox:) directive to use type="search" semantic input.
- The documentation was updated.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.792 September 2015 - 10MB- 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.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.7821 Juli 2015 - 10MB- This version updates the $RobotPattern list with currently active user agents.
- Input forms can have a "target" attribute.
- The documentation was updated.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.7713 Juli 2015 - 10MB- This version 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.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.761 Juni 2015 - 10MB- This version 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.
- A pmcrypt($pass, $salt) function has been added 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.
- The documentation was updated.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.7431 März 2015 - 10MB- This version allows the translation of the word "OK" in authentication forms.
- The documentation was updated to the latest state on pmwiki.org.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.732 März 2015 - 10MB- This release only updates the documentation to the latest state on pmwiki.org.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.7228 Januar 2015 - 10MB- 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.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.7129 Dezember 2014 - 10MB- This version removes the hard word wrap in (:markup:) wikicode examples, and instead of 'pre' tags, it wraps it in 'code' 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.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.7010 November 2014 - 10MB- This release only updates the documentation to the latest state on pmwiki.org.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.6914 Oktober 2014 - 10MB- 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.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.681 September 2014 - 10MB- This version 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.
- The documentation was updated.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.674 August 2014 - 10MB- This version fixes an inconsistency with input forms when values are taken from PageTextVariables.
- The documentation was updated.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.662 Juli 2014 - 10MB- Fixed 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.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.657 Juni 2014 - 10MB- This version 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.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.648 Mai 2014 - 10MB- 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.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.636 April 2014 - 10MB- 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.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.6228 Februar 2014 - 10MBThis 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. Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.611 Februar 2014 - 10MBThis version removes unnecessary snippets of code and adds the variable $TableCellAlignFmt which allows to make simple tables compatible with HTML5. The documentation was updated. Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.6013 Januar 2014 - 10MBThis version reverts the changes to the pmwiki.css file made in 2.2.59. Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.5911 Januar 2014 - 10MBThis version 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. Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.5826 Dezember 2013 - 10MB- This version enables customization of (:input auth_form:), and fixes a couple of minor bugs. The documentation was updated.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.573 November 2013 - 10MB- This version enables the use of the Attach: link format in the (:attachlist:) directive. The documentation was updated.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.561 Oktober 2013 - 10MB- 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.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.5516 September 2013 - 10MB- 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.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.5413 August 2013 - 10MB- This version fixes a bug when old versions are restored from draft pages. The documentation was updated.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.539 Juli 2013 - 10MB- This version enables a message to be shown when a post is blocked because of too many unapproved links. The documentation was updated.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.528 Juni 2013 - 10MB- 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.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.518 Mai 2013 - 10MB- 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.
Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.507 April 2013 - 10MBThis release only updates the documentation to the latest state on pmwiki.org. Lesen Sie mehr: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes2.2.4928 März 2013 - 10MBLive-Demo bietet PmWiki-Demonstrations-Instanzen für Evaluierungszwecke. Live-Demo-Instanzen werden häufig zurückgesetzt und sind ohne Plugins oder Themes konfiguriert. 2.4.4Showcase hebt Webseiten hervor, die mit PmWiki erstellt worden sind und zeigt die Möglichkeiten, die die Applikation bietet. |
|