wiki.techinc.nl/maintenance
2007-05-03 17:49:55 +00:00
..
archives * 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
dtrace
language Update. 2007-05-03 16:17:55 +00:00
ora fields containing empty strings must be nullable in oracle 2007-05-02 01:45:52 +00:00
postgres Remove mysql5 schema stuff, various minor updates. 2007-04-23 18:33:38 +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
build-intl-wiki.sql
changePassword.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +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
cleanupDupes.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
cleanupImages.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +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
commandLine.inc (bug 8780) Clarify message for command-line scripts if LocalSettings.php exists but is not readable 2007-01-25 21:10:19 +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
database.sql
delete-idle-wiki-users.pl
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 Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
dumpHTML.inc The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
dumpHTML.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +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
dumpReplayLog.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
dumpSisterSites.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
dumpTextPass.php prettify: 2007-03-09 15:26:41 +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 * Fix for paths in 1.4->1.5 special-case updater script 2007-02-02 18:25:01 +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 this would be less silly if it used 2 dp 2007-03-28 18:49:49 +00:00
importImages.inc.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
importImages.php * (bug 8975) Use "Maintenance script" as the username for importTextFile.php, not "MediaWiki default" as it could cause pages to be overwritten 2007-03-27 20:53:33 +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
importPhase2.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 Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +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 (bug 9440) Added "mediawikiwiki" interwiki prefix to MediaWiki.org 2007-03-29 19:51:43 +00:00
Makefile Show the current version number in doxygen documentation 2007-04-21 20:06:52 +00:00
mcc.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +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 The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
nextJobDB.php Proposed new method which will work with split master. Committing for test on server. 2007-02-26 00:19:17 +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 * Add a static function to 'easily' parse options 2007-05-03 17:39:49 +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 for bug #6204 : TOC not properly rendered when using $wgMaxTocLevel 2007-05-03 17:49:55 +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
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 Revert r21504, wrong file :/ 2007-04-23 19:51:41 +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 * (bug 9669) Fix limit ordering for rebuildrecentchanges; broken since 2007-04-26 17:55:45 +00:00
rebuildrecentchanges.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
rebuildtextindex.inc Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
rebuildtextindex.php Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +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 Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
runJobs.php specify offset for Job::pop(), yay for efficient job queue runs (unless there's a bug somewhere in there :) 2007-03-25 16:01:12 +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 * 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
testRunner.sql * Add experimental recording/reporting mode to parser tests runner, to 2006-11-11 12:33:46 +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 *'pr_expiry' => 'infinity' 2007-05-03 15:00:23 +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
userDupes.php The war on redundant ampersand usage! 2007-01-22 23:50:42 +00:00
userOptions.inc tab to space 2007-02-28 17:43: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
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