wiki.techinc.nl/maintenance
2009-08-02 21:42:47 +00:00
..
archives Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
dtrace
gearman Assorted minor live patches to command-line scripts. 2009-04-30 05:52:25 +00:00
ibm_db2 * svn:eol-style native for r45755 2009-01-15 10:18:44 +00:00
language Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
mssql add some dev notes and other info 2008-05-11 02:20:19 +00:00
ora Added bitwise operations to DatabaseBase and overloaded in DatabaseOracle. 2009-06-13 06:31:38 +00:00
postgres Full support for modified oldimage FK constraint to do ON UPDATE CASCASE as well as ON DELETE CASCADE. Thanks to Robert Fleming for reporting and supplying a patch in bug #19445. 2009-07-20 01:54:36 +00:00
sqlite * Preserve usertext_timestamp index name for MySQL, prefix it for SQLite. Issues remain on the experimental non-installable DBMSes. 2009-01-15 14:20:28 +00:00
storage Assorted minor live patches to command-line scripts. 2009-04-30 05:52:25 +00:00
.htaccess
addwiki.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
attachLatest.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
backup.inc * Add XML log dump support 2008-09-18 00:02:57 +00:00
backupPrefetch.inc WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
benchmarkPurge.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
cdb-test.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
changePassword.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
checkAutoLoader.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
checkBadRedirects.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
checkImages.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
checkUsernames.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
cleanupCaps.php (bug 18122) Fix fatal require() errors and typo in the README. 2009-03-24 15:03:36 +00:00
cleanupDupes.inc WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
cleanupImages.php Pulling back r45388 "Don't needlessly shy from reuniting lost files with their description pages." 2009-01-07 02:41:03 +00:00
cleanupSpam.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
cleanupTable.inc Made WatchlistCleanup and CapsCleanup extend TableCleanup rather than FiveUpgrade so that they don't need to re-implement cleanup() and runTable() 2009-02-16 19:09:28 +00:00
cleanupTitles.php (bug 16839) cleanupTitles and namespaceDupes shouldn't consider 'Special' or 'Media' valid title targets 2009-01-02 19:52:57 +00:00
cleanupWatchlist.php (bug 18122) Fix fatal require() errors and typo in the README. 2009-03-24 15:03:36 +00:00
clear_interwiki_cache.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
clear_stats.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
commandLine.inc * (bug 14201) Set $wgDBadminuser/$wgDBadminpassword during setup 2009-07-23 00:31:37 +00:00
convertLinks.inc Still need this in updaters.inc. 2009-08-02 19:57:37 +00:00
convertLinks.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
convertUserOptions.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
createAndPromote.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
deleteArchivedFiles.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
deleteArchivedRevisions.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
deleteBatch.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
deleteDefaultMessages.php Forgot that updaters.inc relies on deleteDefaultMessages.php. Move its require down to where its actually needed, and define MW_NO_SETUP so we don't try to kick it off like normal. Stupid hack until update.php uses Maintenance.php. 2009-08-02 20:21:12 +00:00
deleteImageMemcached.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
deleteOldRevisions.php Missing newline. Maybe should make error() just do it itself :p 2009-08-02 21:22:05 +00:00
deleteOrphanedRevisions.php tableNamesN() and make init $revisions before trying to use it 2009-08-02 21:28:08 +00:00
deleteRevision.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
doMaintenance.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
Doxyfile Revert r52336 "Merge maintenance-work branch:" 2009-06-24 02:49:24 +00:00
dumpBackup.php (bug 18432) Updated documentation for dumpBackup.php (patch contributed by Jidanni) 2009-05-17 19:28:02 +00:00
dumpHTML.php
dumpInterwiki.inc Added PHP port of CDB, with abstraction layer. Tested for correctness with a differential fuzz tester, not yet benchmarked. The idea is to open up new applications for CDB, and benefit both shell and shared hosting users. 2009-06-20 15:59:56 +00:00
dumpInterwiki.php Added PHP port of CDB, with abstraction layer. Tested for correctness with a differential fuzz tester, not yet benchmarked. The idea is to open up new applications for CDB, and benefit both shell and shared hosting users. 2009-06-20 15:59:56 +00:00
dumpLinks.php Missing > 2009-08-02 21:31:23 +00:00
dumpSisterSites.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
dumpTextPass.php Fix a silly bug that isn't the mystery dump bug we were looking for, but could result in infinite loop during text pass if it fails just at the right time. 2009-05-06 23:47:31 +00:00
dumpUploads.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
edit.php * Add way to get full input from stdin() without having to check the length 2009-08-02 21:42:47 +00:00
eval.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
fetchInterwiki.pl
fetchText.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
findhooks.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
FiveUpgrade.inc (bug 17478) Fixed a PHP Strict standards error in maintenance/cleanupWatchlist.php 2009-02-13 13:48:13 +00:00
fixSlaveDesync.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
fixTimestamps.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
fixUserRegistration.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
fuzz-tester.php * (bug 14201) Set $wgDBadminuser/$wgDBadminpassword during setup 2009-07-23 00:31:37 +00:00
generateSitemap.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
getLagTimes.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
getSlaveServer.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
http_session_download.php here it is ... the upload-api, script-server, js2 (javascript phase2) branch merge 1st attempt. 2009-07-14 23:52:14 +00:00
importDump.php Tweak report 2008-09-18 21:48:55 +00:00
importImages.inc * (bug 18698) Renaming non entry point maintenance scripts from .inc.php to .inc 2009-05-23 19:26:05 +00:00
importImages.php * (bug 18698) Renaming non entry point maintenance scripts from .inc.php to .inc 2009-05-23 19:26:05 +00:00
importLogs.inc WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
importLogs.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
importTextFile.php Tweak to r47279 -- include final newline to keep the terminal clean :) 2009-02-17 22:06:20 +00:00
importUseModWiki.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
initEditCount.php * Add way to get full input from stdin() without having to check the length 2009-08-02 21:42:47 +00:00
initStats.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
installExtension.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
interwiki.sql * update wikicities url, same as wikia now 2009-04-04 19:14:49 +00:00
Maintenance.php * Add way to get full input from stdin() without having to check the length 2009-08-02 21:42:47 +00:00
Makefile Some tweaks to the doxygen doc: 2008-06-25 13:42:01 +00:00
mcc.php avoid E_NOTICE if only one argument is given to the "get" command 2009-03-14 20:09:48 +00:00
mctest.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
moveBatch.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
mwdocgen.php Typo. 2009-07-01 00:29:38 +00:00
namespaceDupes.php Use buildConcat() 2009-08-02 21:34:06 +00:00
nextJobDB.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
nukeNS.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
nukePage.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
orphans.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
ourusers.php * Added a special user for nagios 2008-10-24 15:17:57 +00:00
parserTests.inc * Parser test supports uploading results to remote CodeReview instance 2009-07-30 22:24:04 +00:00
parserTests.php * Parser test supports uploading results to remote CodeReview instance 2009-07-30 22:24:04 +00:00
parserTests.txt * fixed Parser::runTest() title creation to use Title::newFromText rather than Title::makeTitle() that was forcing the namespace to be NS_MAIN and thus broke some disabled parser tests that have a title that was supposed to not be in NS_MAIN 2009-07-29 20:07:31 +00:00
parserTestsParserHook.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
parserTestsParserTime.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
parserTestsStaticParserHook.php * Revert back to my parser pseudo-branch again. Note: if you feel like reverting this, reverting Parser.php alone to r40010 will work just fine. 2008-08-26 14:37:15 +00:00
patchSql.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
populateCategory.inc * Fixed a whole lot of XSS vulnerabilities in the installer. All require a live installer, i.e. with no LocalSettings.php present. 2009-02-05 08:56:35 +00:00
populateCategory.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
populateLogSearch.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
populateLogUsertext.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
populateParentId.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
preprocessorFuzzTest.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
protect.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
purgeList.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
purgeOldText.inc (bug 19160) Use DISTINCT instead of DISTINCTROW for compatibility with postgresql 2009-06-15 03:05:28 +00:00
purgeOldText.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
README * (bug 14201) Set $wgDBadminuser/$wgDBadminpassword during setup 2009-07-23 00:31:37 +00:00
reassignEdits.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
rebuildall.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
rebuildFileCache.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
rebuildImages.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
rebuildInterwiki.inc WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
rebuildInterwiki.php Use require not include when sourcing commandLine.inc, to avoid possible web execution when the web server is configured strangely. Detected during automated security scanning. For backport to 1.15. 2009-06-10 05:29:40 +00:00
rebuildLocalisationCache.php Forgot to bring doRebuild() along :) 2009-08-02 19:56:24 +00:00
rebuildmessages.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
rebuildrecentchanges.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
rebuildtextindex.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
refreshImageCount.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
refreshLinks.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
removeUnusedAccounts.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
renameDbPrefix.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
renamewiki.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
renderDump.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
runJobs.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
showJobs.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
showStats.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
sql.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
stats.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
tables.sql Add experimental new auth framework, ExternalAuth 2009-07-19 22:02:00 +00:00
testRunner.postgres.sql
testRunner.sql
undelete.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
update.php (bug 19447) Disable the localisation store backend during install and update. 2009-07-03 06:56:46 +00:00
updateArticleCount.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
updateRestrictions.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
updaters.inc Forgot that updaters.inc relies on deleteDefaultMessages.php. Move its require down to where its actually needed, and define MW_NO_SETUP so we don't try to kick it off like normal. Stupid hack until update.php uses Maintenance.php. 2009-08-02 20:21:12 +00:00
updateSearchIndex.php timestamp() fixes on updateSearchIndex.php, and declare globals in updateSpecialPages.php 2009-08-02 19:49:24 +00:00
updateSpecialPages.php Stay semicolon. 2009-08-02 19:52:27 +00:00
upgrade1_5.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
userDupes.inc * Fixed a whole lot of XSS vulnerabilities in the installer. All require a live installer, i.e. with no LocalSettings.php present. 2009-02-05 08:56:35 +00:00
userOptions.inc Changes related to update.php: 2009-06-09 17:04:16 +00:00
userOptions.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
users.sql
waitForSlave.php Merge maintenance-work branch (now with less errors!): 2009-08-02 19:35:17 +00:00
wikipedia-interwiki.sql update 2009-06-02 14:06:08 +00:00
wiktionary-interwiki.sql Update 2008-06-11 17:44:47 +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
	
	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