Public Member Functions | |
__construct ($dryrun=false) | |
processPage ($row) | |
killRow ($name) | |
filePath ($name) | |
pokeFile ($orig, $new) | |
appendTitle ($name, $suffix) | |
buildSafeTitle ($name) |
Definition at line 38 of file cleanupImages.php.
ImageCleanup::__construct | ( | $ | dryrun = false |
) |
Definition at line 39 of file cleanupImages.php.
ImageCleanup::appendTitle | ( | $ | name, | |
$ | suffix | |||
) |
ImageCleanup::buildSafeTitle | ( | $ | name | ) |
Definition at line 167 of file cleanupImages.php.
References $name, $test, $wgLegalTitleChars, and Title::makeTitleSafe().
Referenced by processPage().
ImageCleanup::filePath | ( | $ | name | ) |
Definition at line 100 of file cleanupImages.php.
References $name, and RepoGroup::singleton().
Referenced by pokeFile().
ImageCleanup::killRow | ( | $ | name | ) |
Definition at line 88 of file cleanupImages.php.
References $db, $name, and wfGetDB().
Referenced by pokeFile(), and processPage().
ImageCleanup::pokeFile | ( | $ | orig, | |
$ | new | |||
) |
Definition at line 107 of file cleanupImages.php.
References $db, $path, $version, appendTitle(), filePath(), killRow(), Title::makeTitle(), wfGetDB(), and wfMkdirParents().
Referenced by processPage().
ImageCleanup::processPage | ( | $ | row | ) |
Reimplemented from TableCleanup.
Definition at line 43 of file cleanupImages.php.
References $row, $source, $title, $wgContLang, buildSafeTitle(), UtfNormal::cleanUp(), Sanitizer::decodeCharReferences(), killRow(), Title::makeTitleSafe(), pokeFile(), and TableCleanup::progress().