How to automate system pages administration.

One can install and use EditedSystemPages macro (see MacroMarket) to get a list of edited system pages. Usually there is no reason to edit those pages, and the admin should protect those pages with acl.

Most admins would like to remove all system pages from the data directory, but FrontPage.

Here is a script to make this automatic.

First spike: MoveEditedSystemPages.py

This should be made like another mig script, so there's still a bit of work. The general idea is to move the files in a seperate directory if they are both underlay and standard pages and they do not have more than one revision. This is a pretty good heuristic here, and anyways the pages can be double-checked.

Please remove my name from this code or add your name, I don't want to get support email for other people stuff.

Second, if you want to write a migration script, write one. This is a macro, which run automatically when you visit the page. You can take mig9 as template for this script.

Last, few comments about this code:

-- NirSoffer 2004-11-25 22:08:31

I'm really sorry I didn't have time to do this properly and apologize if I had been, what's the word? brutal? :) -- TheAnarcat 2004-11-26 03:25:58

MoinMoin: AutomateUnderlaying (last edited 2007-10-29 19:16:34 by localhost)