[pmwiki-devel] prior versions of SectionEdit

Petko Yotov 5ko at 5ko.fr
Thu May 7 11:17:50 PDT 2026


On 07/05/2026 19:27, Crisses wrote:
> …but the “attach” link on the page actions is gone :) Action=upload
> also doesn’t work “Try to edit before uploading” — so how does one get
> to the listing of available downloadable files when there’s no link
> for them?

By "Try to edit before uploading", I meant edit and save any page before 
using the ?action=upload pages.

For weeks the website has been under a DDOS from what I suspect AI 
scrapping bot swarms from hundreds of IP address ranges loading the 
?action=upload&upname=anyfile.php for every page and for every attached 
file. It is impractical to block or rate-limit individual IP address 
ranges, so I decided to block the action and the upload links, except 
for wiki writers.

> There’s many versions of the recipe there that don’t have download
> links, leaving the current version not backwards compatible

Unfortunately deleted/replaced old files like sectionedit.php,123456789 
are regularly purged from the uploads directory. So there are no longer 
older versions of sectionedit.php.

Many old versions of wiki pages and of uploads can be found at the 
Internet Archive, for example:

   
https://web.archive.org/web/*/https://www.pmwiki.org/wiki/Cookbook/SectionEdit
   
https://web.archive.org/web/*/https://www.pmwiki.org/pmwiki/uploads/Cookbook/sectionedit.php

e.g. seemingly version 20230302:
   
https://web.archive.org/web/20230529021652/https://www.pmwiki.org/pmwiki/uploads/Cookbook/sectionedit.php

The plain-text script file is in an iframe under the Wayback header, so 
right-click, select This frame->Download frame as...

Petko



-- 
If you upgrade :  https://www.pmwiki.org/Upgrades

On 07/05/2026 19:27, Crisses wrote:
> re: https://www.pmwiki.org/wiki/Cookbook/SectionEdit - “Recent
> Community Versions”
> 
> There’s many versions of the recipe there that don’t have download
> links, leaving the current version not backwards compatible (“requires
> PmWiki 2.5.5+”), and the “Development Archive" zip file with “older
> versions” has version 2.2.2 and lower — so the updates for PHP 7.2
> (SectionEdit 2.4) and PHP 8.x (20211114) are inaccessible? As far as I
> can tell anyway.
> 
> Side note — clicking the little upload triangle says:
> 
> "Reupload links disabled. If you are not a bot, try the Attach link
> from the page actions. —Petko”
> 
> …but the “attach” link on the page actions is gone :) Action=upload
> also doesn’t work “Try to edit before uploading” — so how does one get
> to the listing of available downloadable files when there’s no link
> for them?
> 
> Last ditch I’ll use the SiteAnalyzer and hope it makes more downloads
> available… but I was doing some upgrades prior to and could tell
> SectionEdit is breaking stuff so wanted to take care of that first.




More information about the pmwiki-devel mailing list