<div dir="ltr">I love it, a significant improvement in usability<div><br></div><div>thanks so much</div><div><br></div><div>Simon</div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, 5 Jan 2026 at 23:12, Petko Yotov <<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I have prototyped an interstitial preview and confirmation page for <br>
approving URLs.<br>
<br>
The "approve sites" link will no longer need the tokens.<br>
<br>
Then you do Page?action=approvesites, it shows a form that has extracted <br>
all pending URLs, with checkboxes and direct links to review them.<br>
<br>
After the form, the full page is shown, with the pending links enabled <br>
and highlighted to see them in context.<br>
<br>
You can easily review the links, and uncheck those that you don't want <br>
to approve, then press Save.<br>
<br>
You can preview and test this here:<br>
<a href="https://www.pmwiki.org/wiki/Test/UrlApprovals" rel="noreferrer" target="_blank">https://www.pmwiki.org/wiki/Test/UrlApprovals</a><br>
<br>
...click on "(approve sites)".<br>
<br>
Petko<br>
<br>
On 05/01/2026 07:26, Simon wrote:<br>
> that is very useful.<br>
> The websites do not use $UnapprovedLinkFmt<br>
> <br>
> The websites does not have a concept of logging out (i.e. the action<br>
> is not a menu item).although there is a login<br>
> (they are public wikis, see PmWiki | Cookbook / OpenPass-Talk [1] )<br>
> But when I do log out I am correctly prompted for the URL Approvals<br>
> page password<br>
> <br>
> action=approvesites&pmtoken=FJlMR3rRfLWuwrcgfaUfUw==<br>
> <br>
> On Mon, 5 Jan 2026 at 18:24, Petko Yotov <<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>> wrote:<br>
> <br>
>> For URL approvals, action=approvesites, this is usually caused by<br>
>> local<br>
>> configuration for $UnapprovedLinkFmt that doesn't have the new<br>
>> security<br>
>> token.<br>
>> <br>
>> Both the Upgrades page you linked, and the PmWiki:UrlApprovals page,<br>
>> <br>
>> show examples with $TokenName=$TokenValue, see if your custom link<br>
>> format has these.<br>
>> <br>
>> Alternatively, the session and the token may expire if you're on a<br>
>> page<br>
>> for a long time, or if in another browser tab you logout then login<br>
>> again.<br>
>> <br>
>> Petko<br>
>> <br>
>> --<br>
>> If you upgrade : <a href="https://www.pmwiki.org/Upgrades" rel="noreferrer" target="_blank">https://www.pmwiki.org/Upgrades</a><br>
>> <br>
>> On 05/01/2026 05:52, Simon wrote:<br>
>>> I have what I'd like to think is an up to date PmWiki website.<br>
>>> But I see the message Token invalid or missingToken invalid or<br>
>> missing<br>
>>> [1]<br>
>>> <br>
>>> As it doesn't have a page what can I do to fix then?<br>
>>> <br>
>>> ngā mihi<br>
>>> <br>
>>> Simon<br>
>>> <br>
>>> Links:<br>
>>> ------<br>
>>> [1] <a href="https://www.pmwiki.org/wiki/PmWiki/Upgrades#pmtoken" rel="noreferrer" target="_blank">https://www.pmwiki.org/wiki/PmWiki/Upgrades#pmtoken</a><br>
>>> _______________________________________________<br>
>>> pmwiki-devel mailing list<br>
>>> <a href="mailto:pmwiki-devel@pmichaud.com" target="_blank">pmwiki-devel@pmichaud.com</a><br>
>>> <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-devel" rel="noreferrer" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-devel</a><br>
> <br>
> <br>
> Links:<br>
> ------<br>
> [1] <a href="https://www.pmwiki.org/wiki/Cookbook/OpenPass-Talk" rel="noreferrer" target="_blank">https://www.pmwiki.org/wiki/Cookbook/OpenPass-Talk</a><br>
</blockquote></div>