Title here
Summary here
{{ {{shortcut|[[Tech:DELETEBATCH]]|[[Tech:MOVEBATCH]]}} }}
To delete or move large batches of pages on a wiki, use the following steps with the deleteBatch.php
or moveBatch.php
MediaWiki maintenance scripts:
subdomain.txt
) to your shell account. This file should list the pages to be deleted or moved — including namespaces, if applicable.mwscript
. Replace the placeholders with actual values:mwscript deleteBatch wikidbname --u="Miraheze maintenance script" --r="[[phorge:T###|Requested]]" /home/yourshellusername/subdomain.txt
Or, if moving pages instead of deleting:
mwscript moveBatch wikidbname --u="Miraheze maintenance script" --r="[[phorge:T###|Requested]]" /home/yourshellusername/subdomain.txt
Note: Use moveBatch.php
or deleteBatch.php
as appropriate. You may need to use additional arguments then what is mentioned here.