From crisses at kinhost.org Thu May 7 10:27:39 2026 From: crisses at kinhost.org (Crisses) Date: Thu, 7 May 2026 13:27:39 -0400 Subject: [pmwiki-devel] prior versions of SectionEdit Message-ID: <838DC51D-332A-44BA-A05B-F96912A12967@kinhost.org> Hi, folks, Upgrading a bunch of sites and not able to make the jump up to 2.5.5+ yet. 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. Thanks! Crisses From 5ko at 5ko.fr Thu May 7 11:17:50 2026 From: 5ko at 5ko.fr (Petko Yotov) Date: Thu, 07 May 2026 20:17:50 +0200 Subject: [pmwiki-devel] prior versions of SectionEdit In-Reply-To: <838DC51D-332A-44BA-A05B-F96912A12967@kinhost.org> References: <838DC51D-332A-44BA-A05B-F96912A12967@kinhost.org> Message-ID: 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.