wiki.techinc.nl/maintenance
2007-06-28 19:35:15 +00:00
..
archives *goddamnit 2007-06-27 20:53:47 +00:00
dtrace
language * Adding a comment to new 'movepage-moved' messages 2007-06-28 19:35:15 +00:00
ora *Restore oldimage schema changes removed temporarily in r21957 (with some index modifications) 2007-05-31 15:26:15 +00:00
postgres Forgot to update table sql per bug 10280 2007-06-22 15:19:55 +00:00
storage use MyISAM by default instead of InnoDB 2007-03-21 21:40:07 +00:00
.htaccess
addwiki.php Add CheckUser setup 2007-04-25 07:43:29 +00:00
apache-ampersand.diff
attachLatest.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
attribute.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
backup.inc prettify: 2007-03-09 15:26:41 +00:00
backupPrefetch.inc
benchmarkPurge.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
changePassword.php Give feedback on wrong/missing args, and for invalid user. 2007-05-16 14:36:10 +00:00
changeuser.sql
checkUsernames.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
cleanupCaps.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
cleanupDupes.inc The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
cleanupImages.php Merged filerepo-work branch: 2007-05-30 21:02:32 +00:00
cleanupSpam.php fix notice with $options 2007-04-12 23:51:12 +00:00
cleanupTable.inc For the maintenance/ directory files: 2007-01-12 05:50:03 +00:00
cleanupTitles.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
cleanupWatchlist.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
clear_interwiki_cache.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
clear_stats.php Job::pop() may occasionally return false when there are actually more jobs remaining, but there is too much contention to efficiently delete one. runJobs can keep trying, as opposed to apache threads which should stop in this case. 2006-02-28 05:24:52 +00:00
commandLine.inc (bug 9058) Introduce '--aconf' option for all maintenance scripts, to provide a path to the AdminSettings.php file 2007-06-08 18:12:07 +00:00
convertLinks.inc The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
convertLinks.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
counter.php
createAndPromote.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
delete-idle-wiki-users.pl
deleteArchivedFiles.inc *Fix comment 2007-06-07 19:52:41 +00:00
deleteArchivedFiles.php svn:eol-style native 2007-05-12 17:56:09 +00:00
deleteArchivedRevisions.inc svn:eol-style native 2007-05-12 17:56:09 +00:00
deleteArchivedRevisions.php svn:eol-style native 2007-05-12 17:56:09 +00:00
deleteBatch.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
deleteDefaultMessages.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
deleteImageMemcached.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
deleteOldRevisions.inc The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
deleteOldRevisions.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
deleteOrphanedRevisions.inc.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
deleteOrphanedRevisions.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
deleteRevision.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
Doxyfile Enable JAVADOC_AUTOBRIEF in Doxygen configuration file. With this enabled, the 2007-04-24 06:36:23 +00:00
dumpBackup.php * Skip additional setting of include_path in commandLine.inc (for non-Wikimedia mode) 2007-06-06 16:01:14 +00:00
dumpHTML.inc * Fix #6823: HTML dumping should not increment the page view counters. 2007-05-09 20:55:20 +00:00
dumpHTML.php Convert comments in a --help option 2007-05-14 20:42:19 +00:00
dumpInterwiki.inc Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
dumpInterwiki.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
dumpLinks.php Make ORDER BY into key plus value for Database::select call, per bug 9608 2007-04-17 14:23:00 +00:00
dumpSisterSites.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
dumpTextPass.php * Skip additional setting of include_path in commandLine.inc (for non-Wikimedia mode) 2007-06-06 16:01:14 +00:00
dumpUploads.php forgot to make the base path settable 2006-08-15 05:44:18 +00:00
edit.php Command line interface to Article::doEdit() 2006-12-16 06:15:04 +00:00
eval.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
fetchInterwiki.pl
findhooks.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
FiveUpgrade.inc Merged filerepo-work branch: 2007-05-30 21:02:32 +00:00
fixSlaveDesync.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
fixTimestamps.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
fixUserRegistration.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
fuzz-tester.php Add fuzz test for the Syntax Highlighting extension, as per Tim's request for comment on wikitech-l. 2007-04-10 09:10:02 +00:00
generateSitemap.php Removed broken --path parameter and partially flawed hostname option. Added --server which does roughly the same thing, but should actually work reliably. Enabled execution from arbitrary current directory. 2007-04-14 17:29:01 +00:00
getLagTimes.php Apply most of the code tweaks from the live site: 2007-01-17 00:54:54 +00:00
getSlaveServer.php Add --group parameter on getSlaveServer to select from a query group 2007-04-02 13:57:03 +00:00
importDump.php * Skip additional setting of include_path in commandLine.inc (for non-Wikimedia mode) 2007-06-06 16:01:14 +00:00
importImages.inc.php Merged filerepo-work branch: 2007-05-30 21:02:32 +00:00
importImages.php * Don't require a list of extensions; move it into an option, and default to $wgFileExtensions 2007-06-07 15:07:12 +00:00
importLogs.inc The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
importLogs.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
importTextFile.php Remove un-needed comment transformation 2007-04-12 10:08:08 +00:00
importUseModWiki.php * Skip additional setting of include_path in commandLine.inc (for non-Wikimedia mode) 2007-06-06 16:01:14 +00:00
initEditCount.php Add replication-friendly background batch update mode. 2006-12-15 00:10:33 +00:00
initStats.inc * Initialise site_stats table at upgrade time if data was missing 2007-01-13 01:52:33 +00:00
initStats.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
installExtension.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
interwiki.sql make wikinews local like the others 2007-05-17 11:28:44 +00:00
Makefile Show the current version number in doxygen documentation 2007-04-21 20:06:52 +00:00
mcc.php * Skip additional setting of include_path in commandLine.inc (for non-Wikimedia mode) 2007-06-06 16:01:14 +00:00
mctest.php Apply most of the code tweaks from the live site: 2007-01-17 00:54:54 +00:00
moveBatch.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
mwdocgen.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
mwdoxygen.cfg Tweak out doxygen documentation: 2007-04-21 21:07:23 +00:00
namespace2sql.php * Introduced StringUtils.php, populated it with some generic string functions, both new and collected from various other files. 2006-11-21 09:53:45 +00:00
namespaceDupes.php * (bug 10198) namespaceDupes.php no longer ignores interwiki prefixes 2007-06-26 21:18:27 +00:00
nextJobDB.php fixes 2007-05-11 07:49:32 +00:00
nukeNS.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
nukePage.inc When calling edit page for nonexistent section, generate error inside of just discarding edits, since edit links sometimes go to the wrong place. 2007-03-14 18:20:21 +00:00
nukePage.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
orphans.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
ourusers.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
parserTests.inc Pretend uploads are enabled during parser tests so we generate the right "broken" links for testing 2007-06-12 23:34:24 +00:00
parserTests.php Update parserTests help text to describe the --compare option. 2007-01-22 09:22:17 +00:00
parserTests.txt parser test cases for bug 10309 2007-06-19 15:49:46 +00:00
parserTestsParserHook.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
parserTestsParserTime.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
parserTestsStaticParserHook.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
purgeList.php Apply most of the code tweaks from the live site: 2007-01-17 00:54:54 +00:00
purgeOldText.inc avoid a notice when nothing is found 2007-04-22 20:23:08 +00:00
purgeOldText.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
README Add newline at end of file. (Done mainly to test the new svn server, but it's nice eh?) 2007-05-31 21:54:35 +00:00
reassignEdits.inc.php (bug 8933) User::loadFromDatabase() doesn't exist; use User::load() 2007-03-27 20:56:00 +00:00
reassignEdits.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
rebuildall.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
rebuildImages.php Merged filerepo-work branch: 2007-05-30 21:02:32 +00:00
rebuildInterwiki.inc The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
rebuildInterwiki.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
rebuildrecentchanges.inc *Only use rev_len, don't try to get text directly (brion pointed out issues when compressed). I don't want to clutter up the script loading Revision.php and call a bunch of methods for these two little fields either. 2007-06-07 03:07:18 +00:00
rebuildrecentchanges.php *Flag bot edits 2007-05-21 23:56:05 +00:00
rebuildtextindex.inc Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
rebuildtextindex.php This is only for MySQL. 2007-05-14 20:24:10 +00:00
refreshImageCount.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
refreshLinks.inc The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
refreshLinks.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
removeUnusedAccounts.inc The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
removeUnusedAccounts.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
renamewiki.php more idiot mistakes from me. whee 2007-03-26 22:16:48 +00:00
renderDump.php * Skip additional setting of include_path in commandLine.inc (for non-Wikimedia mode) 2007-06-06 16:01:14 +00:00
runJobs.php runJobs should have a way to only run certain types of job 2007-05-11 07:36:05 +00:00
showJobs.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
showStats.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
sql.php * Removed mysql5 SQL files, obviously we're collectively incapable of keeping them up to date. They were littered with errors. The only deliberate difference appears to be the table character set, which can be adjusted programatically using a variable. 2007-04-22 14:04:06 +00:00
stats.php Die cleanly when not using memcached 2006-12-16 21:19:19 +00:00
tables.sql *Remove extra pr_page index, it is redundant and just increases overhead 2007-06-23 19:28:00 +00:00
testRunner.sql * Add experimental recording/reporting mode to parser tests runner, to 2006-11-11 12:33:46 +00:00
undelete.php Fix Parse error: syntax error, unexpected T_LNUMBER 2007-06-03 17:14:21 +00:00
update.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
updateArticleCount.inc.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
updateArticleCount.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
updateRestrictions.php *use 'infinity' as pr_expiry 2007-05-03 15:39:43 +00:00
updaters.inc *Add usertext_timestamp index to archive table 2007-06-27 20:43:29 +00:00
updateSearchIndex.inc The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
updateSearchIndex.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
updateSpecialPages.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
upgrade1_5.php
userDupes.inc For the maintenance/ directory files: 2007-01-12 05:50:03 +00:00
userOptions.inc Actually do what the documentation says (r21907) 2007-05-05 20:30:12 +00:00
userOptions.php Generalize and rename cleanupSkin.php so it can changes any option. 2007-01-24 22:13:12 +00:00
users.sql (bug 764) Add CREATE TEMPORARY TABLES to default database permissions 2006-05-21 23:01:08 +00:00
waitForSlave.php committing a live-hack script so it doesn't get lost 2007-03-29 18:00:36 +00:00
wikipedia-interwiki.sql Merge approximately 15 missing Wikipedia language codes into wikipedia-interwiki.sql 2007-03-23 02:56:17 +00:00
wiktionary-interwiki.sql

== 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 place their username and password in an AdminSettings.php
file in the directory above. See AdminSettings.sample for specifics on this.

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

	deleteOldRevisions.php
	Erase old revisions of pages from the database

	dumpBackup.php
	Backup dump script

	dumpHTML.php
	Produce an HTML dump of a wiki

	importDump.php
	XML dump importer
	
	importImages.php
	Imports images into the wiki
	
	importTextFile.php
	Imports the contents of a text file into a wiki page

	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

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