wiki.techinc.nl/maintenance
Fomafix 6866cfec37 Simplify PHP by using ?? and ?:
Also remove not necessary surrounding parentheses.

Change-Id: I0eb5c9c1bdfb09a800258379cdcefb5fd4d3d21c
2018-07-10 20:03:17 +00:00
..
archives Make archive.ar_rev_id unique 2018-06-04 08:52:06 +00:00
benchmarks Update suppressWarning()/restoreWarning() calls 2018-02-10 08:50:12 +00:00
dev Let built-in web server handle .php requests 2018-03-28 15:36:02 +02:00
dictionary BaseTemplate: Remove code for unused 'ispermalink' toolbox item 2018-03-27 21:45:57 +02:00
hhvm Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
jsduck resourceloader: Embed 'mediawiki' directly in startup response 2018-06-27 17:06:35 +00:00
language Use PHP 7 "\u{NNNN}" Unicode codepoint escapes in string literals 2018-06-04 16:20:13 +00:00
locking
mssql Make archive.ar_rev_id unique 2018-06-04 08:52:06 +00:00
oracle Make archive.ar_rev_id unique 2018-06-04 08:52:06 +00:00
postgres Make archive.ar_rev_id unique 2018-06-04 08:52:06 +00:00
resources maintenance: Update update-oojs.sh to use misc files from package 2018-06-14 19:13:04 +00:00
sqlite/archives Make archive.ar_rev_id unique 2018-06-04 08:52:06 +00:00
storage Add missing use statements 2018-06-27 20:49:23 +02:00
term A few doc comment fixups 2017-12-04 11:11:52 +11:00
.htaccess
7zip.inc Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
addRFCandPMIDInterwiki.php Have class match filename in some maintenance scripts 2018-05-23 19:36:51 -07:00
addSite.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
attachLatest.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
backup.inc Replace call_user_func_array(), part 2 2018-06-07 20:19:26 -07:00
categoryChangesAsRdf.php Use array_merge to merge indexed arrays in categoryChangesAsRdf.php. 2018-07-02 17:43:41 +02:00
cdb.php Remove leading backslashes from "use \…" tags 2017-12-28 16:30:05 +01:00
changePassword.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
checkBadRedirects.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
checkComposerLockUpToDate.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
checkImages.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
checkLess.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
checkUsernames.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
cleanupAncientTables.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
cleanupBlocks.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
cleanupCaps.php Have class match filename in some maintenance scripts 2018-05-23 19:36:51 -07:00
cleanupEmptyCategories.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
cleanupImages.php Have class match filename in some maintenance scripts 2018-05-23 19:36:51 -07:00
cleanupInvalidDbKeys.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
cleanupPreferences.php Remove gadget special-case from preferences cleanup 2018-04-06 09:44:50 +08:00
cleanupRemovedModules.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
cleanupSpam.php Make cleanupSpam.php query for http and https 2018-06-03 22:00:11 +00:00
cleanupTable.inc Rename DB_SLAVE constant to DB_REPLICA 2016-09-05 22:55:53 -07:00
cleanupTitles.php Increase cleanupTitles.php batch size 2018-05-26 00:26:20 +00:00
cleanupUploadStash.php Have class match filename in some maintenance scripts 2018-05-23 19:36:51 -07:00
cleanupUsersWithNoId.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
cleanupWatchlist.php Have class match filename in some maintenance scripts 2018-05-23 19:36:51 -07:00
clearInterwikiCache.php Pass '' instead of false for the $conds parameter in select calls. 2018-03-02 02:32:54 +00:00
CodeCleanerGlobalsPass.inc build: Prepare for mediawiki/mediawiki-codesniffer to 0.9.0 2017-06-26 17:14:31 +00:00
commandLine.inc Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
compareParserCache.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
compareParsers.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
convertExtensionToRegistration.php Filter autodiscovered parser tests in ConvertExtensionToRegistration 2018-04-13 20:44:59 +02:00
convertLinks.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
convertUserOptions.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
copyFileBackend.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
copyJobQueue.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
createAndPromote.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
createCommonPasswordCdb.php Have class match filename in some maintenance scripts 2018-05-23 19:36:51 -07:00
deduplicateArchiveRevId.php Deduplicate archive.ar_rev_id 2018-05-16 14:34:11 +02:00
deleteArchivedFiles.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
deleteArchivedRevisions.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
deleteAutoPatrolLogs.php Enable deleteAutoPatrolLogs to delete pre-2011 autopatrol logs as well 2018-05-24 01:19:01 +02:00
deleteBatch.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
deleteDefaultMessages.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
deleteEqualMessages.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
deleteOldRevisions.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
deleteOrphanedRevisions.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
deleteSelfExternals.php Remove wfWaitForSlaves when using Maintenance::commitTransaction 2018-02-26 21:05:33 +01:00
doMaintenance.php Exit maintenance script with non-zero status if execute() returns false 2018-05-31 16:46:14 +10:00
Doxyfile Merge "Improve Doxygen template used by mwdocgen.php" 2016-10-12 14:57:10 +00:00
dumpBackup.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
dumpCategoriesAsRdf.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
dumpIterator.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
dumpLinks.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
dumpTextPass.php Replace wfGetLBFactory 2018-02-27 20:02:48 +00:00
dumpUploads.php Have class match filename in some maintenance scripts 2018-05-23 19:36:51 -07:00
edit.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
eraseArchivedFile.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
eval.php Make "eval.php -d 2" work again 2017-05-03 09:49:44 -04:00
exportSites.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
fetchText.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
fileOpPerfTest.php Have class match filename in some maintenance scripts 2018-05-23 19:36:51 -07:00
findDeprecated.php Use PHP 7 '<=>' operator in 'sort()' callbacks 2018-05-30 18:05:20 -07:00
findHooks.php Convert HTTP links to MediaWiki.org to HTTPS 2018-04-04 18:36:10 +00:00
findMissingFiles.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
findOrphanedFiles.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
fixDefaultJsonContentPages.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
fixDoubleRedirects.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
fixExtLinksProtocolRelative.php Populate externallinks.el_index_60 and drop default 2018-05-15 12:08:35 -04:00
fixTimestamps.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
fixUserRegistration.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
formatInstallDoc.php Have class match filename in some maintenance scripts 2018-05-23 19:36:51 -07:00
generateJsonI18n.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
generateLocalAutoload.php Treat phpdbg as run from the command line when checking PHP_SAPI 2018-01-03 23:00:37 -08:00
generateSitemap.php Use PHP 7 "\u{NNNN}" Unicode codepoint escapes in string literals 2018-06-04 16:20:13 +00:00
getConfiguration.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
getLagTimes.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
getReplicaServer.php Have class match filename in some maintenance scripts 2018-05-23 19:36:51 -07:00
getSlaveServer.php clone keyword must not be used as a function 2017-06-28 16:29:33 +02:00
getText.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
importDump.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
importImages.php Update MediaWiki\quietCall() -> Wikimedia\quietCall() 2018-02-10 10:49:33 +00:00
importSites.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
importSiteScripts.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
importTextFiles.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
initEditCount.php Replace wfGetLB 2018-05-02 22:30:24 +02:00
initSiteStats.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
initUserPreference.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
install.php Let install.php detect and inject extensions [2] 2018-04-04 14:25:30 +02:00
interwiki.list Use HTTPS instead of HTTP for interwiki 2018-02-05 16:10:32 +01:00
interwiki.sql Use HTTPS instead of HTTP for interwiki 2018-02-05 16:10:32 +01:00
invalidateUserSessions.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
jsparse.php Update suppressWarning()/restoreWarning() calls 2018-02-10 08:50:12 +00:00
lag.php Replace wfGetLB 2018-05-02 22:30:24 +02:00
Maintenance.php Maintenance: Don't try shelling out if it's disabled 2018-07-02 22:15:53 +00:00
Makefile Renames preparatory to parser tests refactor 2016-09-12 15:46:15 +10:00
makeTestEdits.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
manageJobs.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
mcc.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
mctest.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
mergeMessageFileList.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
migrateActors.php Pass '' instead of false for the $conds parameter in select calls. 2018-03-02 02:32:54 +00:00
migrateArchiveText.php Improve docs for archive schema in tables.sql 2018-03-29 03:08:51 +00:00
migrateComments.php Remove wfWaitForSlaves when using Maintenance::commitTransaction 2018-02-26 21:05:33 +01:00
migrateFileRepoLayout.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
migrateUserGroup.php Remove wfWaitForSlaves when using Maintenance::commitTransaction 2018-02-26 21:05:33 +01:00
minify.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
moveBatch.php Remove wfWaitForSlaves when using Maintenance::commitTransaction 2018-02-26 21:05:33 +01:00
mwdoc-filter.php Treat phpdbg as run from the command line when checking PHP_SAPI 2018-01-03 23:00:37 -08:00
mwdocgen.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
mwjsduck-gen
mysql.php Maintenance script to wrap the mysql binary 2018-05-31 15:42:51 +10:00
namespaceDupes.php Use PHP 7 '<=>' operator in 'sort()' callbacks 2018-05-30 18:05:20 -07:00
nukeNS.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
nukePage.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
orphans.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
pageExists.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
parse.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
patchSql.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
populateArchiveRevId.php Deduplicate archive.ar_rev_id 2018-05-16 14:34:11 +02:00
populateBacklinkNamespace.php Pass '' instead of false for the $conds parameter in select calls. 2018-03-02 02:32:54 +00:00
populateCategory.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
populateChangeTagDef.php Add some output for progress in populateChangeTagDef.php 2018-06-25 17:38:58 +02:00
populateContentModel.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
populateContentTables.php [MCR] populateContentTables maintenance script 2018-06-25 15:40:01 +02:00
populateExternallinksIndex60.php Populate externallinks.el_index_60 and drop default 2018-05-15 12:08:35 -04:00
populateFilearchiveSha1.php Pass '' instead of false for the $conds parameter in select calls. 2018-03-02 02:32:54 +00:00
populateImageSha1.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
populateInterwiki.php Hard deprecate Interwiki static methods 2018-06-07 11:40:46 -07:00
populateIpChanges.php Pass '' instead of false for the $conds parameter in select calls. 2018-03-02 02:32:54 +00:00
populateLogSearch.php Pass '' instead of false for the $conds parameter in select calls. 2018-03-02 02:32:54 +00:00
populateLogUsertext.php Pass '' instead of false for the $conds parameter in select calls. 2018-03-02 02:32:54 +00:00
populateParentId.php Pass '' instead of false for the $conds parameter in select calls. 2018-03-02 02:32:54 +00:00
populatePPSortKey.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
populateRecentChangesSource.php Pass '' instead of false for the $conds parameter in select calls. 2018-03-02 02:32:54 +00:00
populateRevisionLength.php Fix MySQLism in populateRevisionLength.php 2018-05-01 09:25:59 -04:00
populateRevisionSha1.php Pass '' instead of false for the $conds parameter in select calls. 2018-03-02 02:32:54 +00:00
preprocessDump.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
preprocessorFuzzTest.php Clean up array() syntax in docs, part VII 2016-09-27 06:53:25 +03:30
protect.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
pruneFileCache.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
purgeChangedFiles.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
purgeChangedPages.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
purgeExpiredUserrights.php purgeExpiredUserrights: Show number of rows purged 2018-03-03 15:36:34 +00:00
purgeList.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
purgeModuleDeps.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
purgeOldText.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
purgePage.php maintenance/purgePage.php output page being purged 2018-06-05 12:01:41 +00:00
purgeParserCache.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
README
reassignEdits.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
rebuildall.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
rebuildFileCache.php Remove internal use of deprecated $wgRequestTime 2018-03-18 04:41:12 +00:00
rebuildImages.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
rebuildLocalisationCache.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
rebuildmessages.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
rebuildrecentchanges.php Replace wfGetLBFactory 2018-02-27 20:02:48 +00:00
rebuildSitesCache.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
rebuildtextindex.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
recountCategories.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
refreshFileHeaders.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
refreshImageMetadata.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
refreshLinks.php Avoid deprecated LinkCache::singleton() 2018-06-10 23:55:11 -07:00
removeInvalidEmails.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
removeUnusedAccounts.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
renameDbPrefix.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
renderDump.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
resetUserEmail.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
resetUserTokens.php Cleanup some comments related to DB replication 2018-03-09 23:05:43 +00:00
rollbackEdits.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
runBatchedQuery.php Have class match filename in some maintenance scripts 2018-05-23 19:36:51 -07:00
runJobs.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
runScript.php
shell.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
showJobs.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
showSiteStats.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
sql.php Replace wfGetLBFactory 2018-02-27 20:02:48 +00:00
sqlite.inc build: Update mediawiki/mediawiki-codesniffer to 0.10.1 2017-07-22 18:24:09 -07:00
sqlite.php Update suppressWarning()/restoreWarning() calls 2018-02-10 08:50:12 +00:00
syncFileBackend.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
tables.sql Make archive.ar_rev_id unique 2018-06-04 08:52:06 +00:00
tidyUpBug37714.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
undelete.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
update-keys.sql
update.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
updateArticleCount.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
updateCollation.php MWNamespace: Add getCategoryLinkType() method 2018-06-29 15:37:11 +00:00
updateCredits.php updateCredits: Fix collation name 2017-07-28 17:24:03 +00:00
updateDoubleWidthSearch.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
updateExtensionJsonSchema.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
updateRestrictions.php Pass '' instead of false for the $conds parameter in select calls. 2018-03-02 02:32:54 +00:00
updateSearchIndex.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
updateSpecialPages.php Simplify PHP by using ?? and ?: 2018-07-10 20:03:17 +00:00
userDupes.inc Miscellaneous indentation tweaks 2017-02-27 19:23:54 +01:00
userOptions.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
validateRegistrationFile.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
view.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
wrapOldPasswords.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00

== 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