wiki.techinc.nl/maintenance
daniel 2c488a0eba Replace usage of doEdit() with doEditContent()
Change-Id: I2c423744bd91044c37bbec53b35729bd1c09901b
2012-08-28 16:53:19 +02:00
..
archives merging latest master 2012-08-20 16:55:28 +02:00
benchmarks Big oops - merged to wrong branch. 2012-06-05 22:58:54 +00:00
cssjanus merging incoming 2012-04-16 17:24:13 +02:00
dev merging latest master 2012-08-20 16:55:28 +02:00
hiphop merging incoming 2012-04-16 17:24:13 +02:00
ibm_db2 (bug 5445) remove autoblocks when user is unblocked 2012-05-03 12:07:30 +02:00
language merging latest master 2012-08-20 16:55:28 +02:00
locking [LockManager] Made LSLockManager session 32 chars (128 bits). 2012-07-18 13:43:51 -07:00
mssql (bug 5445) remove autoblocks when user is unblocked 2012-05-03 12:07:30 +02:00
oracle * oracle DB schema update to current (changes relevant to 1.19 will be 2012-07-27 09:57:19 +02:00
postgres (bug 5445) remove autoblocks when user is unblocked 2012-05-03 12:07:30 +02:00
sqlite/archives Can someone standardi[sz]e SQL already!? 2012-03-06 00:26:48 +00:00
storage merging latest master 2012-08-20 16:55:28 +02:00
term Added missing GPLv2 headers in some places. 2012-06-14 14:26:37 +02:00
.htaccess
7zip.inc
attachLatest.php Improve documentation of maintenance scripts. 2012-06-16 22:59:39 +02:00
backup.inc Fix php4 constructor 2012-04-07 21:41:31 +01:00
backupPrefetch.inc
backupTextPass.inc Eliminated deprecated functions in TextPassDumper 2012-07-24 11:14:29 +00:00
cdb.php
changePassword.php Improve documentation of maintenance scripts. 2012-06-16 22:59:39 +02:00
checkAutoLoader.php Improve documentation of maintenance scripts. 2012-06-16 22:59:39 +02:00
checkBadRedirects.php merged master 2012-06-20 19:13:16 +02:00
checkImages.php Improve documentation of maintenance scripts. 2012-06-16 22:59:39 +02:00
checkSyntax.php Improve documentation of maintenance scripts. 2012-06-16 22:59:39 +02:00
checkUsernames.php Improve documentation of maintenance scripts. 2012-06-16 22:59:39 +02:00
cleanupAncientTables.php Improve documentation of maintenance scripts. 2012-06-25 21:54:41 +02:00
cleanupCaps.php Improve documentation of maintenance scripts. 2012-06-25 21:54:41 +02:00
cleanupImages.php Improve documentation of maintenance scripts. 2012-06-25 21:54:41 +02:00
cleanupPreferences.php Improve documentation of maintenance scripts. 2012-07-08 22:50:22 +02:00
cleanupRemovedModules.php Improve documentation of maintenance scripts. 2012-06-25 21:54:41 +02:00
cleanupSpam.php Make LinkFilter handle Content objects 2012-08-21 17:54:52 +02:00
cleanupTable.inc Improve documentation of maintenance scripts. 2012-06-25 21:54:41 +02:00
cleanupTitles.php Improve documentation of maintenance scripts. 2012-06-25 21:54:41 +02:00
cleanupUploadStash.php Improve documentation of maintenance scripts. 2012-06-25 21:54:41 +02:00
cleanupWatchlist.php Improve documentation of maintenance scripts. 2012-06-25 21:54:41 +02:00
clear_interwiki_cache.php Improve documentation of maintenance scripts. 2012-06-25 21:54:41 +02:00
clear_stats.php Improve documentation of maintenance scripts. 2012-06-25 21:54:41 +02:00
commandLine.inc Fix typo in SpecialVersion 2012-01-12 22:14:56 +00:00
compareParsers.php Improve documentation of maintenance scripts. 2012-06-25 21:54:41 +02:00
convertLinks.php Improve documentation of maintenance scripts. 2012-06-16 22:59:39 +02:00
convertUserOptions.php Improve documentation of maintenance scripts. 2012-06-16 22:59:39 +02:00
copyFileBackend.php merging latest master 2012-08-20 16:55:28 +02:00
createAndPromote.php Improve documentation of maintenance scripts. 2012-06-16 22:59:39 +02:00
deleteArchivedFiles.inc merging latest master 2012-08-20 16:55:28 +02:00
deleteArchivedFiles.php Improve documentation of maintenance scripts. 2012-06-16 22:59:39 +02:00
deleteArchivedRevisions.inc Improve documentation of maintenance scripts. 2012-07-08 22:50:22 +02:00
deleteArchivedRevisions.php Improve documentation of maintenance scripts. 2012-06-16 22:59:39 +02:00
deleteBatch.php Improve documentation of maintenance scripts. 2012-07-24 18:10:43 +02:00
deleteDefaultMessages.php Improve documentation of maintenance scripts. 2012-07-08 22:50:22 +02:00
deleteImageMemcached.php Improve documentation of maintenance scripts. 2012-07-08 22:50:22 +02:00
deleteOldRevisions.php Improve documentation of maintenance scripts. 2012-07-08 22:50:22 +02:00
deleteOrphanedRevisions.php Improve documentation of maintenance scripts. 2012-07-08 22:50:22 +02:00
deleteRevision.php Improve documentation of maintenance scripts. 2012-07-08 22:50:22 +02:00
deleteSelfExternals.php Improve documentation of maintenance scripts. 2012-07-08 22:50:22 +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 merging latest master 2012-08-20 16:55:28 +02:00
dumpBackup.php Make backupTestPass.inc require_once by itself its dependence on backup.inc 2012-05-06 22:31:03 +02:00
dumpIterator.php Improve documentation of maintenance scripts. 2012-07-08 22:50:22 +02:00
dumpLinks.php Improve documentation of maintenance scripts. 2012-07-08 22:50:22 +02:00
dumpSisterSites.php Improve documentation of maintenance scripts. 2012-07-08 22:50:22 +02:00
dumpTextPass.php Make backupTestPass.inc require_once by itself its dependence on backup.inc 2012-05-06 22:31:03 +02:00
dumpUploads.php Improve documentation of maintenance scripts. 2012-07-10 18:50:19 +02:00
edit.php Replace usage of doEdit() with doEditContent() 2012-08-28 16:53:19 +02:00
eval.php Revert r108777 (making eval subclass maintenance). eval's supposed to be in the global context. See r54839 2012-01-14 22:21:30 +00:00
fetchText.php Improve documentation of maintenance scripts. 2012-07-10 18:50:19 +02:00
fileOpPerfTest.php Improve documentation of maintenance scripts. 2012-07-10 18:50:19 +02:00
findHooks.php Improve documentation of maintenance scripts. 2012-07-10 18:50:19 +02:00
fixDoubleRedirects.php Improve documentation of maintenance scripts. 2012-07-10 18:50:19 +02:00
fixExtLinksProtocolRelative.php Improve documentation of maintenance scripts. 2012-07-10 18:50:19 +02:00
fixSlaveDesync.php Improve documentation of maintenance scripts. 2012-07-24 18:10:43 +02:00
fixTimestamps.php Improve documentation of maintenance scripts. 2012-07-10 18:50:19 +02:00
fixUserRegistration.php Improve documentation of maintenance scripts. 2012-07-10 18:50:19 +02:00
formatInstallDoc.php Improve documentation of maintenance scripts. 2012-07-10 18:50:19 +02:00
fuzz-tester.php Fixing up undefined types in maintenance documentation 2012-02-09 21:08:06 +00:00
generateSitemap.php Improve documentation of maintenance scripts. 2012-07-24 18:10:43 +02:00
getLagTimes.php Improve documentation of maintenance scripts. 2012-07-24 18:10:43 +02:00
getSlaveServer.php Improve documentation of maintenance scripts. 2012-07-24 18:10:43 +02:00
getText.php Improve documentation of maintenance scripts. 2012-07-24 18:10:43 +02:00
importDump.php Improve documentation of maintenance scripts. 2012-07-24 18:10:43 +02:00
importImages.inc Improve documentation of maintenance scripts. 2012-07-24 18:10:43 +02:00
importImages.php Improve documentation of maintenance scripts. 2012-07-24 18:10:43 +02:00
importSiteScripts.php Replace usage of doEdit() with doEditContent() 2012-08-28 16:53:19 +02:00
importTextFile.php Replace usage of doEdit() with doEditContent() 2012-08-28 16:53:19 +02:00
initEditCount.php
initStats.php Improve documentation of maintenance scripts. 2012-07-24 18:10:43 +02:00
install.php Improve documentation of maintenance scripts. 2012-07-24 18:10:43 +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 Improve documentation of maintenance scripts. 2012-07-25 21:35:53 +02:00
lag.php Improve documentation of maintenance scripts. 2012-07-25 21:35:53 +02:00
Maintenance.php Merge "Various updates needed to bump min php version to 5.3.2" 2012-05-04 12:44:57 +00:00
Makefile
mcc.php
mctest.php Improve documentation of maintenance scripts. 2012-07-25 21:35:53 +02:00
mergeMessageFileList.php Improve documentation of maintenance scripts. 2012-07-25 21:35:53 +02:00
migrateUserGroup.php Improve documentation of maintenance scripts. 2012-07-25 21:35:53 +02:00
minify.php Improve documentation of maintenance scripts. 2012-07-25 21:35:53 +02:00
moveBatch.php merging latest master 2012-08-20 16:55:28 +02:00
mwdoc-filter.php merging latest master 2012-08-20 16:55:28 +02:00
mwdocgen.php merging latest master 2012-08-20 16:55:28 +02:00
namespaceDupes.php Improve documentation of maintenance scripts. 2012-07-25 21:35:53 +02:00
nextJobDB.php Improve documentation of maintenance scripts. 2012-07-25 21:35:53 +02:00
nukeNS.php Improve documentation of maintenance scripts. 2012-07-25 21:35:53 +02:00
nukePage.php Improve documentation of maintenance scripts. 2012-07-25 21:35:53 +02:00
orphans.php Improve documentation of maintenance scripts. 2012-07-25 21:35:53 +02:00
parse.php merging latest master 2012-08-20 16:55:28 +02:00
patchSql.php merging latest master 2012-08-20 16:55:28 +02:00
populateCategory.php merging latest master 2012-08-20 16:55:28 +02:00
populateImageSha1.php merging latest master 2012-08-20 16:55:28 +02:00
populateLogSearch.php merging latest master 2012-08-20 16:55:28 +02:00
populateLogUsertext.php merging latest master 2012-08-20 16:55:28 +02:00
populateParentId.php merging latest master 2012-08-20 16:55:28 +02:00
populateRevisionLength.php merging latest master 2012-08-20 16:55:28 +02:00
populateRevisionSha1.php merging latest master 2012-08-20 16:55:28 +02:00
preprocessDump.php merging latest master 2012-08-20 16:55:28 +02:00
preprocessorFuzzTest.php
protect.php merging latest master 2012-08-20 16:55:28 +02:00
proxy_check.php Added missing GPLv2 headers in some places. 2012-06-14 14:26:37 +02:00
pruneFileCache.php merging latest master 2012-08-20 16:55:28 +02:00
purgeDeletedFiles.php merging latest master 2012-08-20 16:55:28 +02:00
purgeList.php merging latest master 2012-08-20 16:55:28 +02:00
purgeOldText.inc More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
purgeOldText.php merging latest master 2012-08-20 16:55:28 +02:00
purgeParserCache.php merging latest master 2012-08-20 16:55:28 +02:00
purgeStaleMemcachedText.php Added missing GPLv2 headers in some places. 2012-06-14 14:26:37 +02:00
README
reassignEdits.php merging latest master 2012-08-20 16:55:28 +02:00
rebuildall.php merging latest master 2012-08-20 16:55:28 +02:00
rebuildFileCache.php merging latest master 2012-08-20 16:55:28 +02:00
rebuildImages.php merging latest master 2012-08-20 16:55:28 +02:00
rebuildLocalisationCache.php merging latest master 2012-08-20 16:55:28 +02:00
rebuildmessages.php merging latest master 2012-08-20 16:55:28 +02:00
rebuildrecentchanges.php merging latest master 2012-08-20 16:55:28 +02:00
rebuildtextindex.php merging latest master 2012-08-20 16:55:28 +02:00
refreshImageCount.php
refreshImageMetadata.php merging latest master 2012-08-20 16:55:28 +02:00
refreshLinks.php merging latest master 2012-08-20 16:55:28 +02:00
removeUnusedAccounts.php merging latest master 2012-08-20 16:55:28 +02:00
renameDbPrefix.php merging latest master 2012-08-20 16:55:28 +02:00
renderDump.php merging latest master 2012-08-20 16:55:28 +02:00
resetUserTokens.php merging latest master 2012-08-20 16:55:28 +02:00
rollbackEdits.php merging latest master 2012-08-20 16:55:28 +02:00
runBatchedQuery.php merging latest master 2012-08-20 16:55:28 +02:00
runJobs.php merging latest master 2012-08-20 16:55:28 +02:00
showJobs.php
showStats.php Remove last two vestiges of ss_admins. It still exists in some schema files, but those are harmless 2012-01-26 22:04:55 +00:00
sql.php Fixed reading from file from r108774 2012-01-17 13:29:42 +00:00
sqlite.inc
sqlite.php
stats.php Cleanup to statistics: 2012-01-23 16:27:13 +00:00
syncFileBackend.php [FileBackend] Made copy script use error() for status dump. 2012-07-25 18:45:07 -07:00
tables.sql comments and fixes from review session with tim. 2012-06-03 19:46:07 +02:00
undelete.php
update.php Various updates needed to bump min php version to 5.3.2 2012-04-16 15:38:22 +01:00
updateArticleCount.php
updateCollation.php updateCollation.php size histogram feature 2012-07-18 13:23:14 +10:00
updateDoubleWidthSearch.php
updateRestrictions.php
updateSearchIndex.php
updateSpecialPages.php Pass __METHOD__ to DatabaseBase::commit() and DatabaseBase::rollback() 2012-02-28 18:41:36 +00:00
upgrade1_5.php Fixing up undefined types in maintenance documentation 2012-02-09 21:08:06 +00:00
userDupes.inc
userOptions.inc Fixing up undefined types in maintenance documentation 2012-02-09 21:08:06 +00:00
userOptions.php
waitForSlave.php

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