Manual:FindBadBlobs.php

Category:MediaWiki code#FindBadBlobs.php

Details

findBadBlobs.php is a maintenance script for finding and marking bad content blobs.

Usage

Find and mark bad content blobs. Use --scan-from to find revisions with bad blobs, use --mark to mark them.

Parameters

Option/Parameter Description Default
scan-fromStart scanning revisions at the given date. Format: Anything supported by MediaWiki, e.g. YYYYMMDDHHMMSS or YYYY-MM-DD_HH:MM:SS
revisionsA list of revision IDs to process, separated by comma or colon or whitespace. Revisions belonging to deleted pages will work. If set to "-" IDs are read from stdin, one per line.
limitMaximum number of revisions for --scan-from to scan.1000
markMark the blob as "known bad", to avoid errors when attempting to read it. The value given is the reason for marking the blob as bad, typically a ticket ID. Requires --revisions to also be set.
Category:Maintenance scripts#FindBadBlobs.php
Category:Maintenance scripts Category:MediaWiki code