;Script metadata file for Special:Maintenance
;used to populate the form as well as localise the output messages
;do not edit this file unless you know what you are doing
;valid keys: option, arg, error, output, stdin, batch, enabled

[attachLatest]
option = "fix check 0"
output[] = "begin string Looking for pages with page_latest set to 0..."
output[] = "notime regex (.*) (.*) \[\[(.*)\]\] can't find latest rev time\?!"
output[] = "norev regex (.*) (.*) \[\[(.*)\]\] latest time (.*), can't find revision id"
output[] = "found regex (.*) (.*) \[\[(.*)\]\] latest time (.*), rev id (.*)"
output[] = "done regex Done! Processed (.*) pages\."
output[] = "dryrun string This was a dry run; rerun with --fix to update page_latest."

[benchmarkPurge]
option = "count input"
error = "nosquid string Squid purge benchmark doesn't do much without squid support on."
output[] = "numsquids regex There are (.*) defined squid servers:"
output[] = "trial regex (.*) titles in (.*)ms \((.*)ms each\)"

[changePassword]
option[] = "user input"
option[] = "password password"
error = "nouser regex No such user: (.*)"
output = "set regex Password set for (.*)"

[checkAutoLoader]
output[] = "list1 regex \t'(.*)' => '(.*)',"
output[] = "list2 regex (.*): Wrong file: found in (.*), listed in (.*)"

[checkBadRedirects]
output[] = "header string Fetching redirects..."
output[] = "found regex Found (.*) redirects\.\nChecking for bad redirects\.\.\."
output[] = "footer string Done."

[checkImages]
batch = 1000
output[] = "noaccess regex (.*): not locally accessible"
output[] = "missing regex (.*): missing"
output[] = "isdir regex (.*): is a directory"
output[] = "truncated regex (.*): truncated, was (.*)"
output[] = "mismatch regex (.*): size mismatch DB=(.*), actual=(.*)"
output[] = "good regex Good images: (.*)\/(.*)"

[checkSyntax]
option[] = "with-extensions check 0"
option[] = "path input"
option[] = "list-file textarea lstfile.tmp"
option[] = "modified check 0"
option[] = "syntax-only check 0"
output[] = "parsekit string Checking syntax (using parsekit)"
output[] = "phpl string Checking syntax (using php -l, this can take a long time)"
output[] = "footer regex Done! (.*) files checked, (.*) failures and (.*) warnings found"
output[] = "svnlist string Retrieving list from Subversion..."
output[] = "done regex done(\.?)"
output[] = "buildlist string Building file list..."
output[] = "error regex Error in (.*) line (.*): (.*)"
output[] = "warning regex Warning in file (.*): (.*) found"
error[] = "nofile regex Error: can't find file or directory (.*)"
error[] = "cantopen regex Can't open file (.*)"
error[] = "svnerr string Error retrieving list from Subversion!"

[checkUsernames]
error = "notvalid regex (.*): ([0-9]+): '(.*)'"

[cleanupCaps]
option[] = "dry-run check 0"
option[] = "namespace input"
output[] = "islower regex \"(.*)\" already lowercase\."
output[] = "clash regex \"(.*)\" skipped; \"(.*)\" already exists"
output[] = "dryrun regex \"(.*)\" -> \"(.*)\": DRY RUN, NOT MOVED"
output[] = "moved regex \"(.*)\" -> \"(.*)\": (.*)"
output[] = "check string Checking for bad titles..."
output[] = "checkfix string Checking and fixing bad titles..."
output[] = "progress regex (.*) (.*): (.*)% done on (.*); ETA (.*) \[(.*)/(.*)\] (.*)\/sec <(.*)% updated>"
output[] = "processing regex Processing (.*)\.\.\."
output[] = "finished regex Finished (.*)\.\.\. (.*) of (.*) rows updated"
error[] = "noneed string $wgCapitalLinks is on -- no need for caps links cleanup."
error[] = "missingparam regex (.*): Missing parameter (.*)"

[cleanupImages]
enabled = 0

[cleanupSpam]
arg = "hostname input"
output[] = "found regex Found (.*) articles containing (.*)"
output[] = "done string Done"
output[] = "false string False match"
output[] = "blanking string blanking"
output[] = "reverting string reverting"
output[] = "page regex (.*) \.\.\."
error[] = "invalid regex Not a valid hostname specification: (.*)"
error[] = "noid regex Internal error: no page for ID (.*)"

[cleanupTitles]
enabled = 0

[cleanupWatchlist]
enabled = 0

[clearInterwikiCache]
output[] = "db regex (.*)\.\.\."
output[] = "done string done"

[clearCacheStats]
enabled = 0

[convertLinks]
enabled = 0

[convertUserOptions]
enabled = 0

[createAndPromote]
arg[] = "username input"
arg[] = "password password"
option = "bureaucrat check"
output[] = "creating regex (.*): Creating and promoting User:(.*)\.\.\."
output[] = "done string done."
error[] = "invalid string invalid username."
error[] = "exists string account exists."
error[] = "password regex (.*)"

[deleteArchivedFiles]
enabled = 0

[deleteArchivedRevisions]
enabled = 0

[deleteBatch]
enabled = 0

[deleteDefaultMessages]
enabled = 0

[deleteImageMemcached]
enabled = 0

[deleteOldRevisions]
enabled = 0

[deleteOrphanedRevisions]
enabled = 0

[deleteRevision]
enabled = 0

[deleteSelfExternals]
enabled = 0

[dumpLinks]
enabled = 0

[dumpSisterSites]
enabled = 0

[dumpUploads]
enabled = 0

[edit]
enabled = 0

[fetchText]
enabled = 0

[findhooks]
enabled = 0

[fixSlaveDesync]
enabled = 0

[fixTimestamps]
enabled = 0

[fixUserRegistration]
enabled = 0

[generateSitemap]
enabled = 0

[getLagTimes]
enabled = 0

[getSlaveServer]
enabled = 0

[getText]
enabled = 0

[httpSessionDownload]
enabled = 0

[initEditCount]
enabled = 0

[initSiteStats]
enabled = 0

[lag]
enabled = 0

[mctest]
enabled = 0

[mergeMessageFileList]
enabled = 0

[migrateUserGroup]
enabled = 0

[minify]
enabled = 0

[moveBatch]
enabled = 0

[namespaceDupes]
enabled = 0

[nextJobDB]
enabled = 0

[nukeNS]
enabled = 0

[nukePage]
enabled = 0

[orphans]
enabled = 0

[patchSql]
enabled = 0

[populateCategory]
enabled = 0

[populateLogSearch]
enabled = 0

[populateLogUsertext]
enabled = 0

[populateParentId]
enabled = 0

[populateRevisionLength]
enabled = 0

[populateSha1]
enabled = 0

[protect]
enabled = 0

[purgeList]
enabled = 0

[purgeOldText]
enabled = 0

[reassignEdits]
enabled = 0

[rebuildall]
enabled = 0

[rebuildFileCache]
enabled = 0

[rebuildLocalisationCache]
enabled = 0

[rebuildmessages]
enabled = 0

[rebuildrecentchanges]
enabled = 0

[rebuildtextindex]
enabled = 0

[refreshCategoryCounts]
enabled = 0

[refreshImageCount]
enabled = 0

[refreshLinks]
enabled = 0

[removeUnusedAccounts]
enabled = 0

[renameDbPrefix]
enabled = 0

[renderDump]
enabled = 0

[rollbackEdits]
enabled = 0

[runBatchedQuery]
enabled = 0

[runJobs]
option[] = "maxjobs input"
option[] = "type input"
;option[] = "procs input" ;Commented out by default since we're running on a web interface
option[] = "exclusive check 0"
output = "job regex (.*)"
error = "invalidprocs string Invalid argument to --procs"

[showJobs]
option = "group check 0"
output = "job regex (.*)"

[showSiteStats]
enabled = 0

[sql]
arg = "file textarea tmpfile"
output[] = "aff regex Query OK, (.*) row\(s\) affected"
output[] = "row regex (.*)"
error[] = "cantopen string Unable to open input file"
error[] = "sql regex (.*)"

[sqlite]
enabled = 0

[showCacheStats]
enabled = 0

[undelete]
enabled = 0

[updateArticleCount]
enabled = 0

[updateDoubleWidthSearch]
enabled = 0

[updateRestrictions]
enabled = 0

[updateSearchIndex]
enabled = 0

[updateSpecialPages]
enabled = 0

[waitForSlave]
enabled = 0