Cookie consent settingsAccept all
  • Skip to header bar
  • Skip to main navigation
  • Skip to page tools
  • Skip to work area
  • New process
  • Overview
    • Files
    • Processes
    • Ratings
    • Recommendations
    • WikiExplorer
    • Workflows
  • Login
Main navigation contains tabs, main links and MediaWiki sidebar
Entrypoints
  • Main Page
  • Pages
  • Books
  • Blogs
  • Recent changes
Quick Links
  • All topics
  • Video-Tutorials
  • Templates download
Documentation
  • Security Advisories
  • Installation
  • Releases
  • Software catalog
  • Trust & Safety
Books
  • User manual
  • Admin manual
  • Semantic MediaWiki basics
Participate
  • BlueSpice community
You are viewing an old version of this page. Return to the latest version.
This is the version of 20 July 2023, 07:28 by Redaktion
PreviousNext
  • Setup
  • Installation Guide
    • Advanced
      • Maintenance scripts
        • batchStabilize
        Last edited one year ago
        by Redaktion

        batchStabilize

        • English
        • Deutsch
        Revision as of 07:28, 20 July 2023 by Redaktion (talk | contribs)
        (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

        Contents

        • 1 Mass approval using a script
          • 1.1 Options
          • 1.2 Examples
            • 1.2.1 Whole namespace
            • 1.2.2 List of page names

        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
        Note:The options --pages and --namespace are mutual exclusive required. One - and only one - of them must be provided.


        Examples

        Whole namespace

        php extensions/ContentStabilization/maintenance/batchStabilize.php --user WikiSysop --namespace 3000
        

        List of page names

        Starting with BlueSpice 4.3.2, a file with a newline-separate list of pages (as an arg or as stdin), can be used to define the pages that need to be approved:

        php extensions/ContentStabilization/maintenance/batchStabilize.php --verbose /tmp/page-titles-to-review.txt
        
        php extensions/ContentStabilization/maintenance/batchStabilize.php --verbose /tmp/page-titles-to-review.txt
        



        To submit feedback about this documentation, visit our community forum.

        Retrieved from "https://en.wiki5.bluespice.com/w/index.php?title=Setup:Installation_Guide/Advanced/Maintenance_scripts/batchStabilize&oldid=6961"
        No categories assignedEdit
        Page actions and tools navigaiton contains tabs, toolbox and actions
        Actions
        • Refresh
        • Copy URL
        • E-Mail
        • QR code
        Details
        • View history
        • Page information
        • Browse properties
        • ... all actions
        • Privacy policy
        • Terms of service
        • Disclaimer
        • Imprint
        • Accessibility
        • About
        • Edit preview settings
        • Powered by MediaWiki
        • Powered by BlueSpice
        • Powered by Semantic MediaWiki
        • Creative Commons License