Extension:MultiPages

What can this extension do?
The special page functions (MultiMove, MultiDelete) will prune and graft page trees in one or all namespaces. These are normally administration functions used to reorganize subpage structured websites. If you do not use subpages on your website, you do not need this extension.

When you have several namespaces that have the exact same tree structure (i.e. subpages), the functions will simultaneous move/delete subpages in all namespaces. If not, you may select one namespace and move/delete subpages within that namespace.

You may not move subpages from one namespace to another, move/delete protected pages, move/delete without edit permissions, nor move subpages over existing pages.

The functions use the typical page editing cycle: view, preview, and save. The view allows you to enter initial page criteria and preview. The Preview presents a table of all affected pages, page criteria input fields, and both Preview and Save buttons. You may change the criteria and preview until you're satisfied and then hit save.

The Save will process the pages and append the status to the result table. The table now shows the same pages with the result for each and display the view button for another move/delete.

For a MultiMove, redirects will be automatically generated, which may or may not be what you want. You may delete all the redirects by selecting MultiDelete and ticking the redirect checkbox. This will cause MultiDelete to only select and delete matching redirect pages.

Usage
The usage for moving and deleting are similar, select Special pages from the wiki's side bar and under the Other special pages (for version 14) select either Multiple page delete or multiple page move.

The usage details are in the README file found in the extension package. The special pages allow you to enter database regular expressions, which are both complex and server specific. If your website does not use subpages, this extension is worthless to you.

Download instructions
Source details are available on, and the tarball Multipages-0.0.2.tar.bz2.

Untar the file to your MediaWiki extensions directory and follow the Installation section.

Installation
To install this extension, add the following to LocalSettings.php:

Configuration parameters
 $mpForm Toggles a form special page. Experimental. $mpLogin Toggles a login page. Experimental. 

The multi move and multi delete pages are unaffected by these parameters, but they must be present and both set to false.

User rights
The user must be logged in or have the proper execute rights.