This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored.
Release status: unmaintained
|Description||Moves or deletes a page and all its subpages. The functions work simultaneously in all Namespaces.|
|Author(s)||Peter Gostelow (PeterMGtalk)|
|License||GNU Lesser General Public License 2.1|
The result table can be thousands of rows, which may be fixed in a later release. i18n not fully supported.
The MultiPages extension allows to moves or delete a page and all its subpages. The functions work simultaneously in all namespaces.
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.
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.
Untar the file to your MediaWiki
extensions directory and follow the Installation section.
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/MultiPages/MultiPages.php"; $mpForm = false; $mpLogin = false;
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
- Toggles a form special page. Experimental.
- 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.
The user must be logged in or have the proper execute rights.