wiki.techinc.nl/maintenance
umherirrender 0d81130dd4 Do not register Special:JavaScriptTest, if disabled
It is better when the special page is not register,
instead of giving a hint, that this is disabled on the wiki.

See other special pages like Special:PopularPages or Special:ChangeEmail

Change-Id: I43fb118d61ddcb2536192f54ee888d55b2fbd49d
2012-10-01 06:33:34 +02:00
..
archives (bug 34960) drop unused fields rc_moved_to_ns/rc_moved_to_title 2012-09-29 17:19:40 +02:00
benchmarks Make benmark duration output more prettier. 2012-09-11 17:31:01 +00:00
cssjanus
dev Improve documentation of maintenance scripts. 2012-09-07 22:03:56 +02:00
hiphop Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
ibm_db2 (bug 5445) remove autoblocks when user is unblocked 2012-05-03 12:07:30 +02:00
language Do not register Special:JavaScriptTest, if disabled 2012-10-01 06:33:34 +02:00
locking Improve documentation of maintenance scripts. 2012-09-21 06:40:32 +02:00
mssql (bug 5445) remove autoblocks when user is unblocked 2012-05-03 12:07:30 +02:00
oracle Improve documentation of maintenance scripts. 2012-09-21 06:40:32 +02:00
postgres (bug 5445) remove autoblocks when user is unblocked 2012-05-03 12:07:30 +02:00
sqlite/archives (bug 34960) drop unused fields rc_moved_to_ns/rc_moved_to_title 2012-09-29 17:19:40 +02:00
storage Merge "Clean up: Declare variables with public instead of var" 2012-09-28 22:25:45 +00:00
term Added missing GPLv2 headers in some places. 2012-06-14 14:26:37 +02:00
.htaccess
7zip.inc Part of bug 26280: added license headers to PHP files in maintenance 2010-12-16 19:15:12 +00:00
attachLatest.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
backup.inc Remove usage of wfTime() in maintenance 2012-09-04 21:05:40 +02:00
backupPrefetch.inc Remove some unused getting of non existent arguments 2011-10-18 17:31:54 +00:00
backupTextPass.inc Remove usage of wfTime() in maintenance 2012-09-04 21:05:40 +02:00
cdb.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
changePassword.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
checkAutoLoader.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
checkBadRedirects.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
checkImages.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
checkSyntax.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
checkUsernames.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
cleanupAncientTables.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
cleanupCaps.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
cleanupImages.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
cleanupPreferences.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
cleanupRemovedModules.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
cleanupSpam.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
cleanupTable.inc Remove usage of wfTime() in maintenance 2012-09-04 21:05:40 +02:00
cleanupTitles.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
cleanupUploadStash.php Catch and deal with UploadStashZeroLengthFileException when removing stashed files 2012-09-27 19:08:47 +01:00
cleanupWatchlist.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
clear_interwiki_cache.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
clear_stats.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
commandLine.inc Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
compareParsers.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
convertLinks.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
convertUserOptions.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
copyFileBackend.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
createAndPromote.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
deleteArchivedFiles.inc use FileRepo api to delete and check for files 2012-07-19 20:31:24 +00:00
deleteArchivedFiles.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
deleteArchivedRevisions.inc Improve documentation of maintenance scripts. 2012-07-08 22:50:22 +02:00
deleteArchivedRevisions.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
deleteBatch.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
deleteDefaultMessages.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
deleteImageMemcached.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
deleteOldRevisions.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
deleteOrphanedRevisions.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
deleteRevision.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
deleteSelfExternals.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
doMaintenance.php Disable the db LCStore if the maintenance script doesn't need a db. 2012-06-26 18:58:37 +02:00
Doxyfile Remove svnstat stuff used in Doxygen generation 2012-09-27 00:14:20 +01:00
dumpBackup.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
dumpIterator.php Remove usage of wfTime() in maintenance 2012-09-04 21:05:40 +02:00
dumpLinks.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
dumpSisterSites.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
dumpTextPass.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
dumpUploads.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
edit.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
eval.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
fetchText.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
fileOpPerfTest.php Added "parallelize" option to file performance test script. 2012-09-22 12:10:41 -07:00
findHooks.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
fixDoubleRedirects.php (bug 40352) fixDoubleRedirects.php: Support interwiki redirects 2012-09-26 09:16:42 +02:00
fixExtLinksProtocolRelative.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
fixSlaveDesync.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
fixTimestamps.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
fixUserRegistration.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
formatInstallDoc.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
fuzz-tester.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
generateSitemap.php Clean up: Declare variables with public instead of var 2012-09-14 21:00:00 +02:00
getLagTimes.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
getSlaveServer.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
getText.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
importDump.php Clean up: Declare variables with public instead of var 2012-09-14 21:00:00 +02:00
importImages.inc Improve documentation of maintenance scripts. 2012-07-24 18:10:43 +02:00
importImages.php Add 2 new options to importImages.php 2012-09-27 00:16:17 +04:00
importSiteScripts.php Revert Uri class due to bug 39710 2012-08-28 10:53:09 +10:00
importTextFile.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
initEditCount.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
initStats.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
install.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
interwiki.list Alphabetically sort the interwikis. 2012-04-02 19:56:26 +02:00
interwiki.sql Alphabetically sort the interwikis. 2012-04-02 19:56:26 +02:00
jsparse.php Clean up: Declare variables with public instead of var 2012-09-14 21:00:00 +02:00
lag.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
Maintenance.php Remove some PHP 5.2 cruft (we already bailed for < 5.3.2) 2012-09-24 10:43:30 -04:00
Makefile man page help pages generation 2011-11-03 14:01:00 +00:00
mcc.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
mctest.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
mergeMessageFileList.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
migrateUserGroup.php Merge "Update migrateUserGroup to deal with primary key issue" 2012-08-30 20:20:59 +00:00
minify.php Clean up: Declare variables with public instead of var 2012-09-14 21:00:00 +02:00
moveBatch.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
mwdoc-filter.php Improve documentation of maintenance scripts. 2012-08-05 12:00:37 +02:00
mwdocgen.php Remove svnstat stuff used in Doxygen generation 2012-09-27 00:14:20 +01:00
namespaceDupes.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
nextJobDB.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
nukeNS.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
nukePage.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
orphans.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
parse.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 23:58:28 +02:00
patchSql.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
populateCategory.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
populateImageSha1.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
populateLogSearch.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
populateLogUsertext.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
populateParentId.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
populateRevisionLength.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
populateRevisionSha1.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
preprocessDump.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
preprocessorFuzzTest.php Clean up: Declare variables with public instead of var 2012-09-14 21:00:00 +02:00
protect.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
proxy_check.php Added missing GPLv2 headers in some places. 2012-06-14 14:26:37 +02:00
pruneFileCache.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
purgeDeletedFiles.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
purgeList.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
purgeOldText.inc More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
purgeOldText.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
purgeParserCache.php Clean up: Declare variables with public instead of var 2012-09-14 21:00:00 +02:00
README
reassignEdits.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
rebuildall.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
rebuildFileCache.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
rebuildImages.php Remove usage of wfTime() in maintenance 2012-09-04 21:05:40 +02:00
rebuildLocalisationCache.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
rebuildmessages.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
rebuildrecentchanges.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
rebuildtextindex.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
refreshImageMetadata.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
refreshLinks.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
removeUnusedAccounts.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
renameDbPrefix.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
renderDump.php Remove usage of wfTime() in maintenance 2012-09-04 21:05:40 +02:00
resetUserTokens.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
rollbackEdits.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
runBatchedQuery.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
runJobs.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
showJobs.php Improve documentation of maintenance scripts. 2012-09-02 20:33:22 +02:00
showStats.php Improve documentation of maintenance scripts. 2012-09-02 20:33:22 +02:00
sql.php Added missing GPLv2 headers in maintenance scripts. 2012-09-04 18:48:17 +02:00
sqlite.inc Improve documentation of maintenance scripts. 2012-09-02 20:33:22 +02:00
sqlite.php Improve documentation of maintenance scripts. 2012-09-02 20:33:22 +02:00
stats.php Improve documentation of maintenance scripts. 2012-09-02 20:33:22 +02:00
syncFileBackend.php Made backend sync script handle random errors better. 2012-09-10 22:38:49 +00:00
tables.sql (bug 34960) drop unused fields rc_moved_to_ns/rc_moved_to_title 2012-09-29 17:19:40 +02:00
undelete.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
update.php Improve documentation of maintenance scripts. 2012-09-03 20:10:09 +02:00
updateArticleCount.php Improve documentation of maintenance scripts. 2012-09-03 20:10:09 +02:00
updateCollation.php Clean up: Declare variables with public instead of var 2012-09-14 21:00:00 +02:00
updateDoubleWidthSearch.php Improve documentation of maintenance scripts. 2012-09-03 20:10:09 +02:00
updateRestrictions.php Improve documentation of maintenance scripts. 2012-09-03 20:10:09 +02:00
updateSearchIndex.php (bug 34960) drop unused fields rc_moved_to_ns/rc_moved_to_title 2012-09-29 17:19:40 +02:00
updateSpecialPages.php Improve documentation of maintenance scripts. 2012-09-03 20:10:09 +02:00
upgrade1_5.php Remove usage of wfTime() in maintenance 2012-09-04 21:05:40 +02:00
userDupes.inc Some HipHop fixes: 2011-05-27 06:25:21 +00:00
userOptions.inc Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
userOptions.php Improve documentation of maintenance scripts. 2012-09-03 20:10:09 +02:00
waitForSlave.php Improve documentation of maintenance scripts. 2012-09-03 20:10:09 +02: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
	
	importTextFile.php
	Import the contents of a text file into a wiki page

	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

	stats.php
	Show all statistics stored in the cache

	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