[pmwiki-devel] UrlApprovals Token Issue
Petko Yotov
5ko at 5ko.fr
Sun Apr 21 06:34:51 PDT 2024
On 21/04/2024 15:21, Crisses wrote:
> Ah the UrlApprovals documentation may also need updating, since it
> suggests modifications to the link format.
Indeed, page updated, thank you!
Petko
>> On Apr 21, 2024, at 4:18 AM, Petko Yotov <5ko at 5ko.fr> wrote:
>>
>> If you have customized $UnapprovedLinkFmt, you should update it to
>> include the token argument $TokenName=$TokenValue in the link URL,
>> something like:
>>
>> href='{\$PageUrl}?action=approvesites&\$TokenName=\$TokenValue'
>>
>> Now added to PmWiki:Upgrades.
>>
>> Otherwise it should work with the tokens.
>>
>> Petko
>>
>> On 21/04/2024 03:09, Crisses wrote:
>>> In case it’s not just me — I had to turn off tokens to be able to
>>> click for UrlApprovals or I got an invalid token alert. I’m a few
>>> PmWiki versions behind in case that’s been fixed but I don’t see it
>>> mentioned in release notes. Otherwise, perhaps this needs fixing in
>>> the main release? Running a farm so upgrades are not always an easy
>>> endeavor :)
More information about the pmwiki-devel
mailing list