Jump to content

Handbuch:findBadBlobs.php

From mediawiki.org
This page is a translated version of the page Manual:FindBadBlobs.php and the translation is 70% complete.

Details

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

Verwendung

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

Parameter

Option/Parameter Beschreibung Standard
scan-from Start scanning revisions at the given date. Format: Anything supported by MediaWiki, e.g. YYYYMMDDHHMMSS or YYYY-MM-DD_HH:MM:SS
revisions A 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.
limit Maximum number of revisions for --scan-from to scan. 1000
mark Mark 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.