Antoine Musso e839739f7b Let install.php detect and inject extensions %!s(int64=7) %!d(string=hai) anos
..
archives eec016ece6 Add new index to make updateCollation.php painless %!s(int64=9) %!d(string=hai) anos
benchmarks 5b48bf1b92 Clean up after "Kill mbstring fallbacks" %!s(int64=9) %!d(string=hai) anos
dev 8c087b9fd1 Merge "Revert "Add executable rights for executable (bash) files"" %!s(int64=9) %!d(string=hai) anos
dictionary 771964fdea ApiMain: Correct typo in variable name %!s(int64=9) %!d(string=hai) anos
hiphop beb1c4a0ec phpcs: More require/include is not a function %!s(int64=11) %!d(string=hai) anos
jsduck 3f4e016873 Upstream `isElementInViewport` from MobileFrontend %!s(int64=9) %!d(string=hai) anos
language cb646b8aff Chinese Conversion Table Update 2016-2 %!s(int64=8) %!d(string=hai) anos
locking a0eef4ef0d Removed expiremental LSLockManager class %!s(int64=11) %!d(string=hai) anos
mssql 0b396a3972 Revert "Revert "Merge branch 'REL1_27' into fundraising/REL1_27"" %!s(int64=8) %!d(string=hai) anos
oracle 43e386ca16 Add id field to watchlist db table %!s(int64=9) %!d(string=hai) anos
postgres 43e386ca16 Add id field to watchlist db table %!s(int64=9) %!d(string=hai) anos
resources 72152b9d77 Follow-up f9b4bbff: Fix typo'ed variable name %!s(int64=8) %!d(string=hai) anos
sqlite 43e386ca16 Add id field to watchlist db table %!s(int64=9) %!d(string=hai) anos
storage b5656b6953 Many more function case mismatches %!s(int64=9) %!d(string=hai) anos
term e78776373e Fixed some @params documentation (maintenance) %!s(int64=11) %!d(string=hai) anos
.htaccess eb24ecc37b htaccessing some directories for dev using cvs tree as www tree ;) %!s(int64=21) %!d(string=hai) anos
7zip.inc c331f11991 Update formatting in maintenance/ (1/4) %!s(int64=11) %!d(string=hai) anos
Doxyfile ff39e4022d Doxygen: Disable verbose output %!s(int64=9) %!d(string=hai) anos
Maintenance.php 23361af7fd Respect undeclared command line options %!s(int64=9) %!d(string=hai) anos
Makefile dfb8390a42 Initial JSDuck implementation %!s(int64=12) %!d(string=hai) anos
README ade945b97a Remove obsolete showCacheStats.php and showCacheStats.php %!s(int64=9) %!d(string=hai) anos
attachLatest.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
backup.inc 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
backupPrefetch.inc c54766586a Fix issues identified by SpaceBeforeSingleLineComment sniff %!s(int64=9) %!d(string=hai) anos
cdb.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
changePassword.php 2aa1e3f5d1 Remove $wgDisableAuthManager %!s(int64=8) %!d(string=hai) anos
checkBadRedirects.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
checkComposerLockUpToDate.php 17b26044dd Suggest running composer (install|update) with --no-dev %!s(int64=7) %!d(string=hai) anos
checkImages.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
checkLess.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
checkSyntax.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
checkUsernames.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
cleanupAncientTables.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
cleanupBlocks.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
cleanupCaps.php 932c37e3cb Use english messages for background use of Status::getWikiText %!s(int64=9) %!d(string=hai) anos
cleanupImages.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
cleanupPreferences.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
cleanupRemovedModules.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
cleanupSpam.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
cleanupTable.inc 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
cleanupTitles.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
cleanupUploadStash.php 1834ee3d8e Fix numerous class/function casing %!s(int64=9) %!d(string=hai) anos
cleanupWatchlist.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
clearInterwikiCache.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
commandLine.inc b4d5a97c3b Register importImages options without arguments as actual maintenance script options so they are usable %!s(int64=9) %!d(string=hai) anos
compareParserCache.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
compareParsers.php 59db24e90b Use addDescription() instead of accessing mDescription directly %!s(int64=9) %!d(string=hai) anos
convertExtensionToRegistration.php 1b31ac18c0 registration: Fix mode of files (755 -> 644) %!s(int64=8) %!d(string=hai) anos
convertLinks.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
convertUserOptions.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
copyFileBackend.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
copyJobQueue.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
createAndPromote.php 2aa1e3f5d1 Remove $wgDisableAuthManager %!s(int64=8) %!d(string=hai) anos
createCommonPasswordCdb.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
deleteArchivedFiles.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
deleteArchivedRevisions.php 59db24e90b Use addDescription() instead of accessing mDescription directly %!s(int64=9) %!d(string=hai) anos
deleteBatch.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
deleteDefaultMessages.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
deleteEqualMessages.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
deleteOldRevisions.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
deleteOrphanedRevisions.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
deleteRevision.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
deleteSelfExternals.php 59db24e90b Use addDescription() instead of accessing mDescription directly %!s(int64=9) %!d(string=hai) anos
doMaintenance.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
dumpBackup.php 7ba452e3c7 Replace create_function() with a closure %!s(int64=9) %!d(string=hai) anos
dumpIterator.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
dumpLinks.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
dumpTextPass.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
dumpUploads.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
edit.php 932c37e3cb Use english messages for background use of Status::getWikiText %!s(int64=9) %!d(string=hai) anos
eraseArchivedFile.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
eval.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
exportSites.php eb46307b00 Introduce top level service locator. %!s(int64=9) %!d(string=hai) anos
fetchText.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
fileOpPerfTest.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
findDeprecated.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
findHooks.php 386aadde29 Support short array syntax in findHooks.php %!s(int64=8) %!d(string=hai) anos
findMissingFiles.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
findOrphanedFiles.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
fixDefaultJsonContentPages.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
fixDoubleRedirects.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
fixExtLinksProtocolRelative.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
fixTimestamps.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
fixUserRegistration.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
formatInstallDoc.php beb1c4a0ec phpcs: More require/include is not a function %!s(int64=11) %!d(string=hai) anos
generateJsonI18n.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
generateLocalAutoload.php 35e22af46e Fix generateLocalAutload.php %!s(int64=8) %!d(string=hai) anos
generateSitemap.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
getConfiguration.php 5b119a0e44 Replace uses of join() by implode() %!s(int64=9) %!d(string=hai) anos
getLagTimes.php 59db24e90b Use addDescription() instead of accessing mDescription directly %!s(int64=9) %!d(string=hai) anos
getSlaveServer.php 59db24e90b Use addDescription() instead of accessing mDescription directly %!s(int64=9) %!d(string=hai) anos
getText.php 59db24e90b Use addDescription() instead of accessing mDescription directly %!s(int64=9) %!d(string=hai) anos
importDump.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
importImages.inc 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
importImages.php 932c37e3cb Use english messages for background use of Status::getWikiText %!s(int64=9) %!d(string=hai) anos
importSiteScripts.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
importSites.php eb46307b00 Introduce top level service locator. %!s(int64=9) %!d(string=hai) anos
importTextFiles.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
initEditCount.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
initSiteStats.php ec134c075f initSiteStats.php: Make it obvious you need to use --update %!s(int64=9) %!d(string=hai) anos
install.php e839739f7b Let install.php detect and inject extensions %!s(int64=7) %!d(string=hai) anos
interwiki.list 610a4391db Remove the SourceForge interwiki %!s(int64=9) %!d(string=hai) anos
interwiki.sql 610a4391db Remove the SourceForge interwiki %!s(int64=9) %!d(string=hai) anos
jsparse.php 59db24e90b Use addDescription() instead of accessing mDescription directly %!s(int64=9) %!d(string=hai) anos
lag.php 59db24e90b Use addDescription() instead of accessing mDescription directly %!s(int64=9) %!d(string=hai) anos
makeTestEdits.php 59db24e90b Use addDescription() instead of accessing mDescription directly %!s(int64=9) %!d(string=hai) anos
mcc.php aa838b52de Try to fix some other broken-looking legacy maintenance script options %!s(int64=9) %!d(string=hai) anos
mctest.php 77adf7534b Remove used of deprecated MemCachedClientforWiki %!s(int64=9) %!d(string=hai) anos
mergeMessageFileList.php e74bc3b32e Support multiple extension-dir paths to be passed to mergeMessageFileList %!s(int64=9) %!d(string=hai) anos
migrateFileRepoLayout.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
migrateUserGroup.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
minify.php 59db24e90b Use addDescription() instead of accessing mDescription directly %!s(int64=9) %!d(string=hai) anos
moveBatch.php 932c37e3cb Use english messages for background use of Status::getWikiText %!s(int64=9) %!d(string=hai) anos
mwdoc-filter.php 222ef664fc Doxygen: Rewrite mwdoc-filter to fix bug with slashes in comments %!s(int64=9) %!d(string=hai) anos
mwdocgen.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
mwjsduck-gen 3bbd27aa49 Rename JSDuck config to standard 'jsduck' %!s(int64=10) %!d(string=hai) anos
namespaceDupes.php c9d885f3b4 Namespace LinkTarget under MediaWiki\Linker %!s(int64=9) %!d(string=hai) anos
nukeNS.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
nukePage.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
orphans.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
pageExists.php 59db24e90b Use addDescription() instead of accessing mDescription directly %!s(int64=9) %!d(string=hai) anos
parse.php 1834ee3d8e Fix numerous class/function casing %!s(int64=9) %!d(string=hai) anos
patchSql.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
populateBacklinkNamespace.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
populateCategory.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
populateContentModel.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
populateFilearchiveSha1.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
populateImageSha1.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
populateLogSearch.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
populateLogUsertext.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
populateParentId.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
populateRecentChangesSource.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
populateRevisionLength.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
populateRevisionSha1.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
preprocessDump.php 5a77286a1e Update formatting in maintenance/ (3/4) %!s(int64=11) %!d(string=hai) anos
preprocessorFuzzTest.php aa838b52de Try to fix some other broken-looking legacy maintenance script options %!s(int64=9) %!d(string=hai) anos
protect.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
pruneFileCache.php 59db24e90b Use addDescription() instead of accessing mDescription directly %!s(int64=9) %!d(string=hai) anos
purgeChangedFiles.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
purgeChangedPages.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
purgeList.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
purgeOldText.php 59db24e90b Use addDescription() instead of accessing mDescription directly %!s(int64=9) %!d(string=hai) anos
purgeParserCache.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
reassignEdits.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
rebuildFileCache.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
rebuildImages.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
rebuildLocalisationCache.php ee8b8f1d37 Fix RebuildLocalisationCache bug from MediaWikiServices %!s(int64=9) %!d(string=hai) anos
rebuildSitesCache.php eb46307b00 Introduce top level service locator. %!s(int64=9) %!d(string=hai) anos
rebuildall.php 59db24e90b Use addDescription() instead of accessing mDescription directly %!s(int64=9) %!d(string=hai) anos
rebuildmessages.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
rebuildrecentchanges.php b09a23f284 RebuildRecentchanges improvements %!s(int64=9) %!d(string=hai) anos
rebuildtextindex.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
refreshFileHeaders.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
refreshImageMetadata.php ed3b46d259 refreshImageMetadata: Allow filtering by 'img_media_type' too %!s(int64=9) %!d(string=hai) anos
refreshLinks.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
removeInvalidEmails.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
removeUnusedAccounts.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
renameDbPrefix.php 44cebea941 Update wfGetDB calls in Maintenance scripts to use getDB() %!s(int64=9) %!d(string=hai) anos
renderDump.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
resetUserEmail.php 5ef414072c resetUserEmail: Allow resetting email without scrambling password %!s(int64=9) %!d(string=hai) anos
resetUserTokens.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
rollbackEdits.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
runBatchedQuery.php 59db24e90b Use addDescription() instead of accessing mDescription directly %!s(int64=9) %!d(string=hai) anos
runJobs.php e2fde0fe45 Add --wait option for runJobs.php %!s(int64=9) %!d(string=hai) anos
runScript.php f36f49380e Add convenience maintenance script wrapper %!s(int64=11) %!d(string=hai) anos
showJobs.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
showSiteStats.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
sql.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
sqlite.inc 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
sqlite.php b5656b6953 Many more function case mismatches %!s(int64=9) %!d(string=hai) anos
syncFileBackend.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
tables.sql eec016ece6 Add new index to make updateCollation.php painless %!s(int64=9) %!d(string=hai) anos
tidyUpBug37714.php c161c46d26 Improve code suffering from PHP 5.3's lack of support for foo()[] %!s(int64=9) %!d(string=hai) anos
undelete.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
update-keys.sql d315c3bdb3 Ignore duplicate key errors in update-keys.sql %!s(int64=10) %!d(string=hai) anos
update.php 3d7debe94c Ignore long git hashes for eval-stdin.php %!s(int64=7) %!d(string=hai) anos
updateArticleCount.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
updateCollation.php 0d4e0ca543 Add -f as an alias of --force to cli args of updateCollation.php %!s(int64=8) %!d(string=hai) anos
updateDoubleWidthSearch.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
updateRestrictions.php 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
updateSearchIndex.php 1834ee3d8e Fix numerous class/function casing %!s(int64=9) %!d(string=hai) anos
updateSpecialPages.php 44cebea941 Update wfGetDB calls in Maintenance scripts to use getDB() %!s(int64=9) %!d(string=hai) anos
userDupes.inc 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
userOptions.inc 6e9b4f0e9c Convert all array() syntax to [] %!s(int64=9) %!d(string=hai) anos
userOptions.php 783fe84d00 Let maintenance class start with a upper case letter %!s(int64=11) %!d(string=hai) anos
validateRegistrationFile.php 9f5b6f5aeb Fix whitespace issues around parentheses %!s(int64=9) %!d(string=hai) anos
wrapOldPasswords.php cc61b621e3 Remove $wgAuth usage from wrapOldPasswords.php %!s(int64=7) %!d(string=hai) anos

README

== MediaWiki Maintenance ==

The .sql scripts in this directory are not intended to be run standalone,
although this is appropriate in some cases, e.g. manual creation of blank tables
prior to an import.

Most of the PHP scripts need to be run from the command line. Prior to doing so,
ensure that the LocalSettings.php file in the directory above points to the
proper installation.

Certain scripts will require elevated access to the database. In order to
provide this, first create a MySQL user with "all" permissions on the wiki
database, and then set $wgDBadminuser and $wgDBadminpassword in your
LocalSettings.php

=== Brief explanation of files ===

A lot of the files in this directory are PHP scripts used to perform various
maintenance tasks on the wiki database, e.g. rebuilding link tables, updating
the search indices, etc. The files in the "archives" directory are used to
upgrade the database schema when updating the software. Some schema definitions
for alternative (as yet unsupported) database management systems are stored
here too.

The "storage" directory contains scripts and resources useful for working with
external storage clusters, and are not likely to be particularly useful to the
vast majority of installations. This directory does contain the compressOld
scripts, however, which can be useful for compacting old data.

=== Maintenance scripts ===

As noted above, these should be run from the command line. Not all scripts are
listed, as some are Wikimedia-specific, and some are not applicable to most
installations.

changePassword.php
Reset the password of a specified user

cleanupSpam.php
Mass-revert insertion of linkspam

createAndPromote.php
Create a user with administrator (and optionally, bureaucrat) permissions

deleteOldRevisions.php
Erase old revisions of pages from the database

dumpBackup.php
Backup dump script

edit.php
Edit a page to change its content

findHooks.php
Find hooks that aren't documented in docs/hooks.txt

importDump.php
XML dump importer

importImages.php
Import images into the wiki

moveBatch.php
Move a batch of pages

namespaceDupes.php
Check articles name to see if they conflict with new/existing namespaces

nukePage.php
Wipe a page and all revisions from the database

reassignEdits.php
Reassign edits from one user to another

rebuildImages.php
Update image metadata records

rebuildmessages.php
Update the MediaWiki namespace after changing site language

rebuildtextindex.php
Rebuild the fulltext search indices

refreshLinks.php
Rebuild the link tables

removeUnusedAccounts.php
Remove user accounts which have made no edits

runJobs.php
Immediately complete all jobs in the job queue

undelete.php
Undelete all revisions of a page

update.php
Check and upgrade the database schema to the current version

updateRestrictions.php
Update pages restriction to the new schema

userOptions.php
Change user options