Mass approval using a script
The script ContentStabilization/maintenance/batchStabilize.php
can be used to approve all drafts in the wiki starting with BlueSpice 4.3+. This affects both first drafts, drafts of pages with already approved versions and drafts for embedded resources.
Options
Option | Description |
---|---|
--pages
|
Flat file containing page names seperated by line break |
--namespace
|
Id of namespace to flag entirely |
--user
|
Required. The user name of an existing user that is shown as page approver |
--comment
|
Adds a stabilization comment to the revision history of the page |
--verbose
|
Runs the script in verbose mode to show exceptions |
Examples
Whole namespace
php extensions/ContentStabilization/maintenance/batchStabilize.php --user WikiSysop --namespace 3000
List of page names
Command line:
php extensions/ContentStabilization/maintenance/batchStabilize.php --user WikiSysop --pages Page1|Page2|Page3