On 24/07/07, Paul Coghlan <pcoghlan(a)usa.net> wrote:
1 once it is run it appears to sit waiting for a
valid page name which
when entered it will delete. Can I use wildcards or ranges (or even better,
a range of Page_id¹s)
It's reading from standard input; it'll take a list of page titles,
one per line, and delete them. I suppose it would be quite
straightforward to alter the script to accept a regular expression or
a range of page identifiers...
2 how do you escape the command? For the life of me
I couldn¹t escape the
command once run.
Ctrl + Z to end the input, or Ctrl + C to quit the interpreter should work.
3 Can I paste into the sessions screen a list of
page names
Yes, or put them in a file and pass that to the script, e.g.
% php deleteBatch.php < list-of-titles
Rob Church