Re: [pmwiki-users] Deprecated error after upgrade to version 2.3.11

2022-09-15 Thread Petko Yotov
Thanks for your message. This has already been fixed in Subversion 2 weeks ago, directly inside stripmagic(). Next PmWiki version will be released in a few days. Petko -- If you upgrade : https://www.pmwiki.org/Upgrades На 15/09/2022 17:25, Hans-Jürgen Godau написа: After upgrqading pmwik

[pmwiki-users] PmWiki 2.3.11 released

2022-08-30 Thread Petko Yotov
Hello. PmWiki version 2.3.11 was published today, and is available at: https://www.pmwiki.org/pub/pmwiki/pmwiki-2.3.11.tgz https://www.pmwiki.org/pub/pmwiki/pmwiki-2.3.11.zip svn://www.pmwiki.org/pmwiki/tags/latest This version fixes the function stripmagic(), when used with arrays (a r

[pmwiki-users] Syntax highlighting in the core documentation?

2022-06-17 Thread Petko Yotov
Hello, There is an effort in progress to beautify / syntax highlight the PHP snippets in the documentation. The benefit is obvious -- it is very nice, it allows to easily notice the different parts of the configuration. There are unfortunately 2 relatively important downsides. 1. The High

Re: [pmwiki-users] Concealing text on a page

2022-06-09 Thread Petko Yotov
Welcome to PmWiki! There are 2 ways to have hidden sections, one is easy and convenient but not very secure, the other is secure but somewhat less convenient. The easy way is to use conditionals. In a page, you can have hidden sections like this: (:if auth admin:) This only shows to ad

[pmwiki-users] New recipe: Checklists

2022-06-08 Thread Petko Yotov
Hello, I published a new recipe "Checklists" Ephemeral to-do lists: https://www.pmwiki.org/wiki/Cookbook/Checklists It is an attempt to improve on the Cookbook:Flipbox functionality, styles and user experience, for ephemeral lists only (task states not saved in the page). I prototyped thi

Re: [pmwiki-users] Conditional markup and category

2022-06-06 Thread Petko Yotov
Something like this: https://www.pmwiki.org/wiki/Cookbook/InCategory Petko -- PmWeekly Blog : https://www.pmwiki.org/News If you upgrade : https://www.pmwiki.org/Upgrades On 06/06/2022 10:29, Simon wrote: I want to use conditional markup to determine if a page has been tagged with a sp

[pmwiki-users] PmWiki 2.3.5 released

2022-05-23 Thread Petko Yotov
Hello. PmWiki version 2.3.5 was published today, and is available at: https://www.pmwiki.org/pub/pmwiki/pmwiki-2.3.5.tgz https://www.pmwiki.org/pub/pmwiki/pmwiki-2.3.5.zip svn://www.pmwiki.org/pmwiki/tags/latest This version fixes a bug with (:pagelist list=grouphomes:) reported earlier

[pmwiki-users] PmWiki 2.3.4 released

2022-04-22 Thread Petko Yotov
Hello. PmWiki version 2.3.4 was published today, and is available at: https://www.pmwiki.org/pub/pmwiki/pmwiki-2.3.4.tgz https://www.pmwiki.org/pub/pmwiki/pmwiki-2.3.4.zip svn://www.pmwiki.org/pmwiki/tags/latest This version includes more fixes for PHP 8 and documentation updates. Thank

[pmwiki-users] PmWiki 2.3.3 released

2022-03-26 Thread Petko Yotov
Hello. PmWiki version 2.3.3 was published today, and is available at: https://www.pmwiki.org/pub/pmwiki/pmwiki-2.3.3.tgz https://www.pmwiki.org/pub/pmwiki/pmwiki-2.3.3.zip svn://www.pmwiki.org/pmwiki/tags/latest This version includes fixes for PHP 8 and documentation updates. Thanks, Pe

[pmwiki-users] New recipe: LazyLoading

2022-03-23 Thread Petko Yotov
Hello, This new recipe instructs browsers to fetch pictures only when they are about to appear on the screen: https://www.pmwiki.org/wiki/Cookbook/LazyLoading It may be useful if you have long (tall) pages with pictures or thumbnails below the fold, especially for visitors on mobile devi

Re: [pmwiki-users] Undefined array key "title" in .../grouptitle.php - in PHP8

2022-02-19 Thread Petko Yotov
Thanks for notifying me, recipe updated, you can get it from the cookbook. Here we can suppress the "undefined/null variable" notice with @: if (@$page['title']) {... Petko On 19/02/2022 11:27, Jean-Patrick Charrey wrote: Hi I have been testing the latest Pmwiki 2.3.2 on PHP8.0 I have th

Re: [pmwiki-users] Corner case issues in pmwiki-2.8.2 under PHP 8.1

2022-02-12 Thread Petko Yotov
Thanks for the report, I have updated the scripts for the next version. You can get an archive with the modified files since the release from the page Change log: https://www.pmwiki.org/wiki/PmWiki/ChangeLog Please report if you find other omissions. Petko -- PmWeekly Blog : http://www.pm

Re: [pmwiki-users] Fwd: Undefined array key "squelch" in .../notify.php - in PHP8

2022-02-12 Thread Petko Yotov
Thanks for the report, I have updated the notify.php script for the next version. You can get an archive with the modified files since the release from the page Change log: https://www.pmwiki.org/wiki/PmWiki/ChangeLog Please report if you find other omissions. Petko -- PmWeekly Blog : ht

[pmwiki-users] PmWiki 2.3.2 released

2022-02-09 Thread Petko Yotov
Hello. PmWiki version 2.3.2 was published today, and is available at: https://www.pmwiki.org/pub/pmwiki/pmwiki-2.3.2.tgz https://www.pmwiki.org/pub/pmwiki/pmwiki-2.3.2.zip svn://www.pmwiki.org/pmwiki/tags/latest This version includes bug fixes and updates for PHP 8.1. The core variable $

Re: [pmwiki-users] New warnings with php 8.1.2

2022-02-09 Thread Petko Yotov
Thanks, added for 2.3.2. Petko On 07/02/2022 15:12, Dominique Faure wrote: Hi, Toying with the prerelease on an updated php8.1-fpm (8.1.2), I got another set of deprecation warnings: Deprecated: strncmp(): Passing null to parameter #1 ($string1) of type string is deprecated in /home/debian/we

Re: [pmwiki-users] New warnings with php 8.1.2

2022-01-26 Thread Petko Yotov
Absolutely, there will be a version 2.3.2 with corrections. Thanks for your report. I have PHP 8.1.2 on Ubuntu but for some reason it didn't show this warning even with error_reporting(E_ALL), display_errors and track_errors enabled. Anyway, I know what causes this, and I have fixed if for Pm

Re: [pmwiki-users] Include-problem

2022-01-15 Thread Petko Yotov
On 15/01/2022 20:05, Thomas Lundgren wrote: I´m using the (:include Group/Page:) (with no other parameters) directive quite a lot on a couple of my PmWiki-sites. All but one works well! On the site that does not work I´m, in a group (named Admin) and a page (named Allt), using include for a coup

Re: [pmwiki-users] Include-problem

2022-01-15 Thread Petko Yotov
This looks like pages may have reached the limit number of inclusions, sometimes nested inclusions, or inclusions from pagelists. See the $MaxIncludes variable: https://www.pmwiki.org/wiki/PmWiki/LayoutVariables#MaxIncludes Petko -- If you upgrade : http://www.pmwiki.org/Upgrades On 15/0

[pmwiki-users] PmWiki 20 years, version 2.3.1 released

2022-01-15 Thread Petko Yotov
Hello, PmWiki version 2.3.1 was published today, and is available at: * https://www.pmwiki.org/pub/pmwiki/pmwiki-2.3.1.tgz * https://www.pmwiki.org/pub/pmwiki/pmwiki-2.3.1.zip * svn://www.pmwiki.org/pmwiki/tags/latest January 2022 is the 20th year anniversary of the rele

Re: [pmwiki-users] Should $EnableNotSavedWarning be enabled by default?

2022-01-08 Thread Petko Yotov
Thanks all, I have enabled it by default for 2.3.0, and documented in sample-config.php for easy noticing. Petko -- If you upgrade : http://www.pmwiki.org/Upgrades On 08/01/2022 20:02, Jake D. Parsons wrote: To prevent accidental loss I use a text editor and then copy and paste, Preview, ed

Re: [pmwiki-users] Should $EnableNotSavedWarning be enabled by default?

2022-01-05 Thread Petko Yotov
nterface, where we could store the page text until it is submitted and saved. Which would also allow offline editing (but not previewing and saving while offline). Petko On Wed, 5 Jan 2022 at 00:23, Petko Yotov <5...@5ko.fr> wrote: Currently by default PmWiki doesn't warn when peop

Re: [pmwiki-users] Should $EnableNotSavedWarning be enabled by default?

2022-01-05 Thread Petko Yotov
that you can't/shouldn't be able to accidentally lose input. great idea Simon On Wed, 5 Jan 2022 at 00:23, Petko Yotov <5...@5ko.fr> wrote: Currently by default PmWiki doesn't warn when people edit a page, and try to move away from the edit form without saving. We h

[pmwiki-users] Should $EnableNotSavedWarning be enabled by default?

2022-01-04 Thread Petko Yotov
Currently by default PmWiki doesn't warn when people edit a page, and try to move away from the edit form without saving. We have $EnableNotSavedWarning but it needs to be enabled in config.php by the administrator. I added it to sample-config.php, but I wonder if instead we should simply en

Re: [pmwiki-users] Minor issue(s) in sample-config.php

2022-01-01 Thread Petko Yotov
Hi Robert, On 01/01/2022 22:27, Robert Riebisch wrote: docs/sample-config.php says: ## By default, pages in the Category group are manually created. ## Uncomment the following line to have blank category pages This doesn't seem to be true in that way, that my fresh PmWiki installation already

Re: [pmwiki-users] Intermap with accented link

2021-12-30 Thread Petko Yotov
Accented characters in Site.InterMap may or may not work. It may depend on your server locale and PHP version. Normally only "word"-characters can be used, but in different languages different characters can appear in words. The following, added to config.php, appears to work regardless of the

Re: [pmwiki-users] [pmwiki-devel] RFC: Community poll for PageList link/category arguments

2021-12-27 Thread Petko Yotov
On 27/12/2021 07:57, Petko Yotov wrote: When you're searching for links to multiple pages or to wildcards, the new core algorithm is different from the one in the recipe, with fewer loops, and I believe (hope) it will be faster than the current recipe. On PmWiki.org we only have abou

Re: [pmwiki-users] RFC: Community poll for PageList link/category arguments

2021-12-26 Thread Petko Yotov
. Should it require at least one link to GroupA OR to GroupB like in the recipe? Should it require at least one link to GroupA AND at least one link to GroupB? Or should this case be written as link=+GroupA.*,+GroupB.* ? Petko Le sam. 25 déc. 2021 à 09:13, Petko Yotov <5...@5ko.fr> a

[pmwiki-users] RFC: Community poll for PageList link/category arguments

2021-12-25 Thread Petko Yotov
Hello, I hope you are all safe, and happy holidays if you're celebrating! I've been working on some new features for version 2.3.0 and I'd like your input. If you have a few minutes, please look at this page: https://www.pmwiki.org/wiki/PITS/01475 ...and consider which ones of the propose

[pmwiki-users] PmWiki 2.2.145 released

2021-12-11 Thread Petko Yotov
Hello. PmWiki version 2.2.145 was published today, and is available at: https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.145.tgz https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.145.zip svn://www.pmwiki.org/pmwiki/tags/latest This version includes a minor change in search patterns: searches and p

Re: [pmwiki-users] Error 406

2021-12-09 Thread Petko Yotov
This error code is never issued by the PmWiki core, so I suspect a server (mis-)configuration. This request is blocked, never reaching PmWiki. The first thing I'd check is that the server accepts pathname information, like you use pmwiki.php/Main/HomePage instead of pmwiki.php?n=Main.HomePage

[pmwiki-users] PmWiki 2.2.144 released

2021-11-05 Thread Petko Yotov
Hello. PmWiki version 2.2.144 was published today, and is available at: https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.144.tgz https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.144.zip svn://www.pmwiki.org/pmwiki/tags/latest This version includes fixes for PHP 8 and an update to intermap.txt. Th

Re: [pmwiki-users] pagelist with RecentChanges trail : how to get rid of deleted pages which are listed ?

2021-10-29 Thread Petko Yotov
es. In my case I don't mind about case. Le dim. 24 oct. 2021 à 10:54, Petko Yotov <5...@5ko.fr> a écrit : The most efficient should be this: (:pagelist group=Main trail=Main.RecentChanges if="exists {=$FullName}":) group=Main is recommended if your pages are all

Re: [pmwiki-users] pagelist with RecentChanges trail : how to get rid of deleted pages which are listed ?

2021-10-24 Thread Petko Yotov
The most efficient should be this: (:pagelist group=Main trail=Main.RecentChanges if="exists {=$FullName}":) group=Main is recommended if your pages are all from the same group. I just found out that the "exists" conditional can be optimized a lot, especially when called multiple times fro

Re: [pmwiki-users] FW: pagelist with intext check

2021-10-18 Thread Petko Yotov
From the cookbook page it looks as if you would need to use {=$FullName} otherwise it checks the currently browsed page instead of the remote page: if="intext 'text to check' {=$FullName}" Does this work? BTW in some cases you may not need to use this conditional, just add the search term

Re: [pmwiki-users] Custom block link : short html code rather than strict text link

2021-10-16 Thread Petko Yotov
[[#listemots1]] %apply=link class="class"%[[{=$FullName}|%h5%{{=$FullName}$:vedette}%% %rfloat badge%{=$:attestation}%%\\ ''{=$:sens}'']]%% [[#listemots1end]] Tested and adopted. Le sam. 16 oct. 2021 à 10:14, Petko Yotov <5...@5ko.fr> a écrit : This is not a W

Re: [pmwiki-users] Custom block link : short html code rather than strict text link

2021-10-16 Thread Petko Yotov
ur top notch answer ; I'm going to try the last one soon. Gilles. Le ven. 15 oct. 2021 à 18:13, Petko Yotov <5...@5ko.fr> a écrit : > > Indeed, this is not possible with core PmWiki markup. > > In the past, the HTML standards required links to be inline elements > which co

Re: [pmwiki-users] Custom block link : short html code rather than strict text link

2021-10-15 Thread Petko Yotov
Indeed, this is not possible with core PmWiki markup. In the past, the HTML standards required links to be inline elements which could not contain block-level elements like paragraphs or headings. So in PmWiki markup, you can have 2 links, one in the heading, the other in the text like this:

Re: [pmwiki-users] background image

2021-10-14 Thread Petko Yotov
Actually, LocalCSS is now included in PmWiki but disabled, and only needs to be enabled. Otherwise, you can create a file pmwiki/pub/css/MyGroup.MyPage.css and configure the background image there: body { background-image: url(my_image.jpg); } and place my_image.jpg in the same directory p

Re: [pmwiki-users] Page with many lines goes blank

2021-10-13 Thread Petko Yotov
On 13/10/2021 09:43, Johan Bengtsson wrote: On Tue, 12 Oct 2021, Petko Yotov wrote: @ini_set('pcre.backtrack_limit', 1000); # 10 Million This helped, it is working now! So it hits some kind of limit in PHP? Yes. This is a PHP limit on how far to look forward, and loop

Re: [pmwiki-users] Page with many lines goes blank

2021-10-12 Thread Petko Yotov
On 12/10/2021 16:26, Johan Bengtsson wrote: We have a strange little problem with a large page in one of our wikis. The page in question is 3000+ lines of code long. When adding one more line and saving it results in a blank page. Removing the line restores the page, it seems the wiki-code is OK,

[pmwiki-users] PmWiki 2.2.143 released

2021-10-02 Thread Petko Yotov
Hello. PmWiki version 2.2.143 was published today, and is available at: https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.143.tgz https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.143.zip svn://www.pmwiki.org/pmwiki/tags/latest This version should prevent some errors from local customization or rec

Re: [pmwiki-users] Syntax use of %style=margin-left:50px%{=$:Version}

2021-09-10 Thread Petko Yotov
About: %style="margin-left:50px% This is not a valid wikistyle, you probably need: %margin-left=50px% text %% or %bloc margin-left=50px% About: %style="margin-left:50px%" When you use quotes (not in this invalid case, but in others), the closing quote needs to be before the closin

Re: [pmwiki-users] Conditional expressions

2021-09-07 Thread Petko Yotov
On 07/09/2021 10:58, Simon wrote: Just on the offchance I can't see it in https://www.pmwiki.org/wiki/PmWiki/ConditionalMarkup there is an "equal" operator, is there a greaterthan or lessthan operator in the core release? Sorry, no, I can confirm there isn't. Petko

Re: [pmwiki-users] ape cookbook

2021-09-05 Thread Petko Yotov
You can define this in CSS or with wikistyles: %embed display=inline-block% https://youtu.be/MGj5K3oQZOQ %embed display=inline-block% https://youtu.be/xCEy028-Vzo See: https://galleries.accent.bg/Cookbook/Ape-Sandbox where I also defined the dimensions, considering your 2 videos are shot vertic

Re: [pmwiki-users] Embed Facebook feed

2021-09-05 Thread Petko Yotov
On 04/09/2021 07:24, Simon wrote: Is there, or can someone recommend, a recipe to embed a facebook feed into PmWiki? Not AFAIK. Or is this something APE can do? Sorry, Ape cannot do this -- at some point it was possible to embed a video from Facebook, not sure if it still works. Petko

Re: [pmwiki-users] Securing Directories in PmWiki

2021-09-02 Thread Petko Yotov
On 01/09/2021 23:56, Curtis Stalesky wrote: I searched through the archived user questions and answers and found that to secure directories requires an htaccess file which I think is generated by an apache http server software but not sure though. A .htaccess file is not generated by the serv

Re: [pmwiki-users] Markup for button ?

2021-09-02 Thread Petko Yotov
Recent PmWiki versions have "input button" similar to "input submit": (:input button value="Red button" id=button_id class="btn btn-red":) This is translated to however, not to and unlike it the label or value can only be plain text. If you must have a element instead, you should make a

[pmwiki-users] PmWiki 2.2.142 released

2021-08-31 Thread Petko Yotov
Hello. PmWiki version 2.2.142 was published today, and is available at: https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.142.tgz https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.142.zip svn://www.pmwiki.org/pmwiki/tags/latest This version hides some PHP 8 notices, and adds 2 new form element attr

Re: [pmwiki-users] resize an image during uploading and redirect after uploading

2021-08-23 Thread Petko Yotov
On 23/08/2021 07:32, Benjamin Grassineau wrote: 1. Do you think there is a method to automatically (on the fly) reduce the physical size of images uploaded to pmwiki ? I did not find a simple solution. I wouldn't call it "simple", but the recipes AutoThumber and ImagesAutoResizing claim to do

Re: [pmwiki-users] PDF conversion for PmWiki

2021-08-22 Thread Petko Yotov
[Resending to the mailing list.] Recently I found that the in-browser "Print to PDF" feature produces PDF files of acceptable quality. You can add a markup to make a link or a button that will launch javascript:window.print(). You may also often want to improve your "@media print" CSS queries.

[pmwiki-users] PmWiki 2.2.141 released

2021-07-08 Thread Petko Yotov
Hello. PmWiki version 2.2.141 was published today, and is available at: https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.141.tgz https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.141.zip svn://www.pmwiki.org/pmwiki/tags/latest This version adds ways to define 2 custom functions: * $MultiFactorAuth

[pmwiki-users] PmWiki 2.2.140 released

2021-06-25 Thread Petko Yotov
Hello. PmWiki version 2.2.140 was published today, and is available at: https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.140.tgz https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.140.zip svn://www.pmwiki.org/pmwiki/tags/latest This version has updates for PHP 8. The API of the source code highlig

Re: [pmwiki-users] Passing blocks of markup to an include

2021-06-22 Thread Petko Yotov
We have built-in PageTextVariables, see documentation: https://www.pmwiki.org/wiki/PmWiki/PageTextVariables In your page: (:include Template.MyTemplate param1="{*$:Var1}" :) (:Var1:my markup block:) The above will work exactly as if you wrote: (:include Template.MyTemplate param1="my

Re: [pmwiki-users] Internationalizations

2021-06-09 Thread Petko Yotov
That works, thanks. P. On 09/06/2021 09:36, j...@dodin.org wrote: Le 09/06/2021 à 09:27, Petko Yotov a écrit : Please add a prominent note that this is, either a read only copy from 2.2.139, or a "fork" that you branched, will maintain and support independently from the official di

Re: [pmwiki-users] Internationalizations

2021-06-09 Thread Petko Yotov
On 09/06/2021 09:09, j...@dodin.org wrote: I'm working on setting a github repo for pmwiki https://github.com/jdanield/pmwiki I uploaded pmwiki-2.2.139, as indicated :-) While the GNU GPLv2 allows you to mostly freely modify and redistribute the software, please do not let anyone believe that

Re: [pmwiki-users] pmwiki on github

2021-05-15 Thread Petko Yotov
On 15/05/2021 17:16, j...@dodin.org wrote: However, I can add any application, given I can provide an url like this: http://:some.git.forge.tld:USER/REPO For code versioning, we use Apache Subversion, not git. Check if they can pull PmWiki from our subversion repository. You'll find the add

[pmwiki-users] PmWiki 2.2.139 released

2021-05-04 Thread Petko Yotov
Hello. PmWiki version 2.2.139 was published today, and is available at: https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.139.tgz https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.139.zip svn://www.pmwiki.org/pmwiki/tags/latest This version removes empty "title" attributes in HTML tags (links and i

Re: [pmwiki-users] pmwiki.php: Function get_magic_quotes_gpc() is deprecated

2021-05-04 Thread Petko Yotov
On 05/05/2021 06:35, T. Michael Sommers wrote: I have a brand new installation of pmwiki, from a tarball downloaded a few weeks ago. I am using php 7.4.3 on FreeBSD 11.2-RELEASE-p3. I get a warning saying, "Function get_magic_quotes_gpc() is deprecated in /home/www/data/pmwiki/pmwiki.php on lin

Re: [pmwiki-users] pmwiki.php: Array and string offset access syntax with curly braces is deprecated

2021-05-04 Thread Petko Yotov
Thank you for the message and the diffs but this has already been fixed this was fixed in 2.2.119 (2019-10-03), that is 19 months ago and 19 versions released since then: https://www.pmwiki.org/wiki/PmWiki/ChangeLog#v22119 You must have started from a fairly old version (also the line number

Re: [pmwiki-users] Have pagelist condition : if result not null, then print pagelist

2021-04-14 Thread Petko Yotov
Pagelist usually shows nothing if there are no pages in the list. Unless you have a (:template none:) section -- it only appears when there are no pages. If you want to show something, like a heading, before the first result (when there is a first result), then use (:template first:). That s

Re: [pmwiki-users] link in brackets

2021-04-13 Thread Petko Yotov
When markup rules are ambiguous, you can use the "null-space" [==] as a separator: [[==][[link|text]] page 3] Or, you can escape the first bracket which is not part of the markup rule: [=[=][[link|text]] page 3] In a similar fashion, mixed/glued markup for bold, italics, small and larg

Re: [pmwiki-users] Include GroupFooter from another page

2021-04-11 Thread Petko Yotov
GroupHeader and GroupFooter are always related to the currently browsed page. If your GroupFooter shows PageTextVariables from the pages, then indeed {*$:Variable} refers to the currently browsed page, not to the included page. In fact, GroupFooter is just another included page at the bottom

Re: [pmwiki-users] Problem with conditional markup equal ?

2021-03-30 Thread Petko Yotov
On 30/03/2021 13:32, Petko Yotov wrote: Can you demonstrate this on a subpage of You don't need to demo this -- I've replied and forgot to delete this line. Petko ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pm

Re: [pmwiki-users] Problem with conditional markup equal ?

2021-03-30 Thread Petko Yotov
Can you demonstrate this on a subpage of www.pmwiki.org/wiki/Test/Test ? Petko On 30/03/2021 12:47, Benjamin Grassineau wrote: In the group header, I test this, for example : - The name of the page where I will execute the test : Utilisateurs/InitGYheJLMrKtest - The value of the page text var

Re: [pmwiki-users] pmwiki mirrors

2021-03-29 Thread Petko Yotov
Yes, it is possible, I use this on a number of websites -- either a home server like your case, or a "backup snapshot" of a website from the previous night. To do it, you can have in config.php a conditional based on the server name or the server address. It will help if you have the same se

Re: [pmwiki-users] pmwiki bug with text variable

2021-03-26 Thread Petko Yotov
Thanks -- fixed. It actually does what it is supposed to do -- if there are more than one PageTextVariables in the page of the same name and the same type, the later one wins. There was a one Summary: variable near the top, and a second (:Summary::) in the page text. The latter took preced

Re: [pmwiki-users] pmwiki and php 7.4 (WikiSh, Peter Bowers)

2021-03-10 Thread Petko Yotov
It looks like the errors come from a Cookbook recipe, WikiSh. Try to reach the author/maintainer Peter Bowers and see if he can update his recipe for recent PHP versions. If he cannot, and if nobody can take over the maintenance, you should evaluate if you actually use and need this recipe.

Re: [pmwiki-users] totalcouter not working

2021-02-27 Thread Petko Yotov
I thought this recipe was abandoned by the maintainer a long time ago. I now see a regular PmWiki user Said Achmiz has released the latest version of this recipe. If he is not on the mailing list, I suggest you contact him directly -- his email is on his profile page. Petko On 27/02/2021 19:

[pmwiki-users] PmWiki 2.2.137 released

2021-02-26 Thread Petko Yotov
. Thanks, Petko On 26/02/2021 15:10, Petko Yotov wrote: Hello. PmWiki version 2.2.136 was published today, and is available at: https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.136.tgz https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.136.zip svn://www.pmwiki.org/pmwiki/tags/latest This version fixes

[pmwiki-users] PmWiki 2.2.136 released

2021-02-26 Thread Petko Yotov
Hello. PmWiki version 2.2.136 was published today, and is available at: https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.136.tgz https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.136.zip svn://www.pmwiki.org/pmwiki/tags/latest This version fixes a XSS vulnerability for WikiStyles reported today by

[pmwiki-users] PmWiki 2.2.135 released

2021-01-31 Thread Petko Yotov
Hello. PmWiki version 2.2.135 was published today, and is available at: https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.135.tgz https://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.135.zip svn://www.pmwiki.org/pmwiki/tags/latest This version fixes a number of PHP8 compatibility issues. This is a wor

Re: [pmwiki-users] [pmwiki-devel] Page In Page?

2021-01-24 Thread Petko Yotov
On 24/01/2021 13:25, Michael Elliott wrote: I love PMWiki and am a routine donor.  Glad to learn that -- I'm sure Pm is grateful. If I have a page that has a lot of content where I want to keep it all on the same page.  Is there a way I can have a page-in-a-page so as the content to maintain

Re: [pmwiki-users] Issues with Custom Fonts, Font Awesome, HTML

2021-01-19 Thread Petko Yotov
trouble no need to respond as I can manage without them. But if you can answer it easily, I’d be grateful. Thanks, Jamie On 18 Jan 2021, at 10:01, Petko Yotov <5...@5ko.fr> wrote: 1. Installing custom fonts correctly and available cross-browser is sometimes tricky. Don't let

Re: [pmwiki-users] Issues with Custom Fonts, Font Awesome, HTML

2021-01-18 Thread Petko Yotov
1. Installing custom fonts correctly and available cross-browser is sometimes tricky. Don't let it discourage you. 2. You should avoid enabling HTML, the feature you need can be done without it. 3. The recipe Cookbook:FontAwesome was indeed old and without a maintainer. I am now taking over

Re: [pmwiki-users] Bug? Filename case for Attach:

2021-01-03 Thread Petko Yotov
On 03/01/2021 00:28, Robert Riebisch wrote: This is not a bug but a documented feature. Okay. Where can I read about it? See $MakeUploadNamePatterns. may arise if you migrate your files from one hosting provider to another -- links may fail to resolve on the new location. Then I would

Re: [pmwiki-users] Bug? Filename case for Attach:

2021-01-02 Thread Petko Yotov
This is not a bug but a documented feature. Some file systems are case insensitive, some are case sensitive, so FILE.ZIP and FILE.zip may be the same file or different files. A problem may arise if you migrate your files from one hosting provider to another -- links may fail to resolve on the

Re: [pmwiki-users] Keyboard keys representation

2021-01-02 Thread Petko Yotov
A search for "kbd" in the wiki revealed that Cookbook:MarkupExtensions has a markup: https://www.pmwiki.org/wiki/Cookbook/MarkupExtensions It uses '@Key@'. Petko On 02/01/2021 14:56, Petko Yotov wrote: On 02/01/2021 13:03, Robert Riebisch wrote: What's the pre

Re: [pmwiki-users] Markup proposal for non-breaking hyphen and non-breaking space

2021-01-02 Thread Petko Yotov
On 02/01/2021 13:57, Robert Riebisch wrote: I'd like to see \- (non-breaking hyphen) and \_ (non-breaking space) used, because spreading your pages with lots of "‑" or " " makes a page's source harder to read. Or are there already other ways I didn't find? Looks good. Petko I now added this

Re: [pmwiki-users] Keyboard keys representation

2021-01-02 Thread Petko Yotov
On 02/01/2021 13:03, Robert Riebisch wrote: What's the preferred PmWiki way to make keyboard keys stand out from the rest of the text? I had a quick look at the Cookbook group, but didn't find any promising. Currently I just (ab)use italic markup. My preferred way is to use a wikistyle -- a

Re: [pmwiki-users] $PagePathFmt sometimes not working for me

2021-01-01 Thread Petko Yotov
On 31/12/2020 22:44, Robert Riebisch wrote: $DefaultGroup = 'Wiki'; $DefaultName = 'Start'; $PagePathFmt = array('{$Group}.$1','$1.{$DefaultName}'); ... Input: https://www.domain.tld/Foo Output: The page "Foo" doesn't exist. (Create Foo.Foo). Result: Wrong. I would expect: The page "Start" doe

Re: [pmwiki-users] Show and Hide Sidebar Items to AuthUser Group

2020-12-31 Thread Petko Yotov
On 30/12/2020 19:00, Jamie Ward wrote: Very new to all of this. So I want to build my Wiki, and keep all the help and Basics stuff in the sidebar such as Initial Setup Tasks. But I don’t want my contributing authors to see any of that. I just want them to see the pages that they are working on.

[pmwiki-users] PmWiki 2.2.134 released

2020-11-30 Thread Petko Yotov
Hello. PmWiki version 2.2.134 was published today, and is available at: http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.134.tgz http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.134.zip svn://www.pmwiki.org/pmwiki/tags/latest This is a documentation update version. Thanks, Petko -- If you upgrade

Re: [pmwiki-users] New recipe: ExternalLinksFavicons

2020-11-29 Thread Petko Yotov
On 29/11/2020 05:33, Simon wrote: Is it a replacement or update of https://www.pmwiki.org/wiki/Cookbook/LinkIcons ? Neither -- it does something different, as explained in the Cookbook page. Since LinkIcons uses a custom classname for external links, if you want to use both recipes you need

[pmwiki-users] New recipe: ExternalLinksFavicons

2020-11-28 Thread Petko Yotov
This recipe places the favicons of external websites before their links. https://www.pmwiki.org/wiki/Cookbook/ExternalLinksFavicons Enjoy! Petko -- If you upgrade : http://www.pmwiki.org/Upgrades ___ pmwiki-users mailing list pmwiki-users@pmichau

Re: [pmwiki-users] PMwiki, counting page hits and flow off the login pages

2020-11-26 Thread Petko Yotov
On 26/11/2020 17:32, Foster Schucker wrote: First On my left margin I have * [[Main/HomePage]] * [[Main/WikiSandbox]] * (:if authid:) User: [[Main.{$AuthId} | {$AuthId}]] (:else:) [[Site.AuthUser | Please login]] (:ifend:) %sidehead% [[PmWiki/PmWiki]] This shows either the link to Site.Authus

Re: [pmwiki-users] How to unprotect specific -Talk page in groupA and groupB

2020-11-17 Thread Petko Yotov
On 17/11/2020 00:42, ABClf wrote: well, in my project, no, regular doc password pages only say how to protect full site, or group, or individual page, but I can not find the conditional syntax for unprotecting a set of pages according to its name. Conditional syntax for passwords is not recomme

Re: [pmwiki-users] Double logins to be able to edit a page

2020-11-13 Thread Petko Yotov
1) How can I stop the double login (one on edit, one on save)? This can happen if the browser does not receive cookies, doesn't store them, or the website doesn't send them correctly or cannot store the session data. I assume that your browser does accept at least 1st-party cookies (otherwi

Re: [pmwiki-users] $UrlLinkFmt

2020-11-01 Thread Petko Yotov
All InterMap links default to $UrlLinkFmt, unless there is a specific $IMapLinkFmt entry, like: $IMapLinkFmt['ftp:'] $IMapLinkFmt['PmWiki:'] $IMapLinkFmt['mailto:'] Note that if you have enabled ObfuscateLinkIMap (core function based on DeObMail), the snippet can be customized in: $I

Re: [pmwiki-users] How to add a geolocalisation function to APE ?

2020-11-01 Thread Petko Yotov
y previous comments about reliability and precision still apply. Also: the Geolocation feature only works in a secure context (both website and Ape on a HTTPS protocol). Petko -- If you upgrade : http://www.pmwiki.org/Upgrades On 28/10/2020 18:53, Petko Yotov wrote: On 28/10/2020 15:14,

Re: [pmwiki-users] How to add a geolocalisation function to APE ?

2020-10-28 Thread Petko Yotov
On 28/10/2020 15:14, Benjamin Grassineau wrote: Do you think it would be possible to add a geolocalisation function to APE ? Or to create an independant function wich could be added by a markup ? It would be yet very useful for my website. Do you mean having an Openstreetmap automatically cente

[pmwiki-users] PmWiki 2.2.133 released

2020-10-25 Thread Petko Yotov
Hello. PmWiki version 2.2.133 was published today, and is available at: http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.133.tgz http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.133.zip svn://www.pmwiki.org/pmwiki/tags/latest This version fixes a potential vulnerability to CWE-384: Session Fixation

Re: [pmwiki-users] Session (or authid?) and fastcache recipe issue

2020-10-18 Thread Petko Yotov
On 18/10/2020 00:49, ABClf wrote: I still have a question Petko : what is the session line – session_name('XXXSESSID'); – in config ? This This is the name of the session cookie, by default PHPSESSID. You can read about PHP functions like session_name() in the PHP documentation: https://

Re: [pmwiki-users] Session (or authid?) and fastcache recipe issue

2020-10-17 Thread Petko Yotov
I made a small correction to the $FastCacheValid variable: since PHP 5.3 cookies are not in the $_REQUEST array by default. I don't have this installed and have no way to test it, please report -- you'll need to edit a page and save it to clear existing cache. Someone who uses this recipe sho

Re: [pmwiki-users] get rid of special characters in page names creation (when Tagger recipe is used)

2020-10-05 Thread Petko Yotov
When you type in a page [[Index.Pépé123]] (not Index:pépé), does it create the page Index.Pepe123 or Index.Pépé123 ? If Index.Pepe123 is created and linked, the problem comes indeed from the Tagger recipe. If it creates Index.Pépé123, there is a problem either with PmWiki, or with your confi

[pmwiki-users] PmWiki 2.2.132 released

2020-09-30 Thread Petko Yotov
Hello. PmWiki version 2.2.132 was published today, and is available at: http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.132.tgz http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.132.zip svn://www.pmwiki.org/pmwiki/tags/latest This is a documentation update version. Thanks, Petko -- If you upgrade

Re: [pmwiki-users] Redesigning for accessibility: heading levels?

2020-09-17 Thread Petko Yotov
On 16/09/2020 18:25, Steve Glover wrote: Is there a way, please, to include one line of text if a page is rendered alone but another if it's rendered inside a holding page? There are several ways to do it. I suggest looking into the recipe SectionEdit which creates "edit" links directly to th

Re: [pmwiki-users] Sidebar and main part of page with no content

2020-09-12 Thread Petko Yotov
Both actions "source" and "diff" appear to work fine: http://www.elfgestirn.de/Verein/HomePage?action=source http://www.elfgestirn.de/Verein/HomePage?action=diff but not when the history has markup processed: http://www.elfgestirn.de/Verein/HomePage?action=diff&source=n so my guess is so

Re: [pmwiki-users] Group- or page-dependent ?action=print

2020-09-01 Thread Petko Yotov
On 01/09/2020 19:24, Steve Glover wrote: Is there a way that I could have a different default print skin for each group or for unusually complex individual pages, please? You can place in local configuration in a local/Group.php or local/Group.Page.php something like: $ActionSkin['print']

[pmwiki-users] PmWiki 2.2.131 released

2020-08-30 Thread Petko Yotov
Hello. PmWiki version 2.2.131 was published today, and is available at: http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.131.tgz http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.131.zip svn://www.pmwiki.org/pmwiki/tags/latest This is a documentation update version. Thanks, Petko -- If you upgrade

Re: [pmwiki-users] Problems with Upload

2020-07-17 Thread Petko Yotov
Thanks, I've edited that file to remove the trailing marker. Petko On 17/07/2020 19:36, Paul Schoemaker wrote: Hello Petko, Thanks for your response with the steps for me to try. I verified that I had the file pmcal-20181207.php as you suggested and I did. I then removed the ?> closing PHP

  1   2   3   4   5   6   7   8   9   10   >