wiki.techinc.nl/maintenance
2010-11-01 18:05:35 +00:00
..
archives cl_sortkey should be 230 bytes long, not 255 2010-10-14 21:47:02 +00:00
benchmarks Compare latency between http and https by querying localhost. 2010-10-27 19:19:11 +00:00
cssjanus (Bug 24436) Move cssjanus to maintenance folder 2010-07-18 21:31:52 +00:00
dtrace
gearman Big attack on unused variables... 2010-10-14 20:53:04 +00:00
ibm_db2 Per wikitech-l discussion: it would be nice if the various DBMSs we support kept all of their docs in one place. So make a place and move two already existing READMEs there. Add some info to /docs/database.txt about this as well. Postgres, Oracle, Mssql need to add some info kthnx :) 2010-09-07 12:37:13 +00:00
language * (bug 23731) Clarified "n links" message on Special:MostLinkedTemplates 2010-10-31 09:36:48 +00:00
mssql DatabaseMssql class and related changes 2010-08-06 23:44:00 +00:00
oracle * installers skips recreation of existing user 2010-10-27 14:52:18 +00:00
postgres cl_sortkey now back down to varbinary(230). Glad PG doesn't have this issue. 2010-10-15 15:39:48 +00:00
sqlite/archives Revert r74273 per CR: this patch is not needed because our SQL conversion magic handles the MySQL version just fine, and I've tweaked it in r74428 to look nicer 2010-10-07 16:20:20 +00:00
storage follow-up to r74742: fix typos 2010-10-13 22:43:37 +00:00
tests Use group names with capital letter. 2010-11-01 18:05:35 +00:00
.htaccess
7zip.inc Fix issues after r54561 which avoided use of the 7z wrapper. 2010-10-04 15:04:41 +00:00
addwiki.php * Revert r66878, completely misses the point of factoring out doEdit() in the first place, which was to separate the UI layer from the backend layer, to support callers with alternate UIs or no UIs. 2010-08-09 08:33:42 +00:00
attachLatest.php * Standardised file description headers 2010-09-05 13:15:48 +00:00
backup.inc Followup r71961, more php4 constructors 2010-09-22 13:54:53 +00:00
backupPrefetch.inc Removed forward comapt code with 5.1.0+ and modified code to use the new version 2010-10-03 08:14:38 +00:00
benchmarkPurge.php * Standardised file description headers 2010-09-05 13:15:48 +00:00
changePassword.php Standardised file description headers: 2010-09-01 19:36:18 +00:00
checkAutoLoader.php * Standardised file description headers 2010-09-05 13:15:48 +00:00
checkBadRedirects.php * Standardised file description headers 2010-10-03 09:25:28 +00:00
checkImages.php * Standardised file description headers 2010-09-05 13:15:48 +00:00
checkSyntax.php bug 25517 Assignment in conditions should be avoided/ http://www.mediawiki.org/wiki/Manual:Coding_conventions#Assignment_expressions 2010-11-01 00:07:17 +00:00
checkUsernames.php * Standardised file description headers 2010-09-05 13:15:48 +00:00
cleanupCaps.php * Standardised file description headers 2010-09-05 13:15:48 +00:00
cleanupImages.php * Standardised file description headers 2010-09-05 13:15:48 +00:00
cleanupRemovedModules.php Re-add maintenance script from r75555, not totally broken this time 2010-10-27 20:08:04 +00:00
cleanupSpam.php * Standardised file description headers 2010-09-05 13:15:48 +00:00
cleanupTable.inc * Standardised file description headers 2010-09-05 13:15:48 +00:00
cleanupTitles.php * Standardised file description headers 2010-09-05 13:15:48 +00:00
cleanupWatchlist.php * Standardised file description headers 2010-09-05 13:15:48 +00:00
clear_interwiki_cache.php * Standardised file description headers 2010-10-03 09:25:28 +00:00
clear_stats.php * Standardised file description headers 2010-10-03 09:25:28 +00:00
commandLine.inc Follow up r72799. 2010-09-11 12:21:11 +00:00
convertLinks.php Assignment in loop conditions suck 2010-10-13 22:34:25 +00:00
convertUserOptions.php * Standardised file description headers 2010-10-03 09:25:28 +00:00
createAndPromote.php * Standardised file description headers 2010-10-03 09:25:28 +00:00
deleteArchivedFiles.inc Followup r69841 add missing t from output 2010-07-24 20:17:19 +00:00
deleteArchivedFiles.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
deleteArchivedRevisions.inc Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
deleteArchivedRevisions.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
deleteBatch.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
deleteDefaultMessages.php Rewrite messenging for old message deletion. The old one is boring. 2010-09-28 18:44:25 +00:00
deleteImageMemcached.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
deleteOldRevisions.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
deleteOrphanedRevisions.php Big commit: kill almost every freeResult() call as useless 2010-08-08 12:27:48 +00:00
deleteRevision.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
deleteSelfExternals.php exit -> return 2010-10-10 09:01:03 +00:00
doMaintenance.php Followup r68760: add comment 2010-10-18 22:37:44 +00:00
Doxyfile Don't show the namespace list (and members) since we don't use it 2010-09-01 19:24:08 +00:00
dumpBackup.php * Standardised file description headers 2010-10-03 09:25:28 +00:00
dumpHTML.php
dumpInterwiki.php Big attack on unused variables... 2010-10-14 20:53:04 +00:00
dumpLinks.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
dumpSisterSites.php Big commit: kill almost every freeResult() call as useless 2010-08-08 12:27:48 +00:00
dumpTextPass.php One more remplacement to __METHOD__ 2010-10-09 12:30:20 +00:00
dumpUploads.php Big commit: kill almost every freeResult() call as useless 2010-08-08 12:27:48 +00:00
edit.php edit.php: got rid of $wgTitle 2010-05-27 18:04:08 +00:00
eval.php Followup r72108, put the history file in $IP/maintenance rather than the cwd. Also add it to svnignore. 2010-09-03 14:24:40 +00:00
fetchText.php Use __METHOD__; name was false 2010-10-09 12:15:23 +00:00
findhooks.php bug 25517 Assignment in conditions should be avoided/ http://www.mediawiki.org/wiki/Manual:Coding_conventions#Assignment_expressions 2010-11-01 00:07:17 +00:00
fixSlaveDesync.php Use wfGetLB()->getServerCount() to get the server count, not $wgDBservers 2010-10-10 12:20:53 +00:00
fixTimestamps.php Big commit: kill almost every freeResult() call as useless 2010-08-08 12:27:48 +00:00
fixUserRegistration.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
fuzz-tester.php Use the canonical names for classes. 2010-07-27 18:33:04 +00:00
generateSitemap.php (bug 19593) $wgServer can't be set properly with --server attribute in command line tools. Also fixes regression in generateSitemap.php from maintenance rewrite. Also possible workaround for bug 18274. 2010-10-29 16:28:50 +00:00
getLagTimes.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
getSlaveServer.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
getText.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
httpSessionDownload.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
importDump.php Fix issues after r54561 which avoided use of the 7z wrapper. 2010-10-04 15:04:41 +00:00
importImages.inc bug 25517 Assignment in conditions should be avoided/ http://www.mediawiki.org/wiki/Manual:Coding_conventions#Assignment_expressions 2010-11-01 00:07:17 +00:00
importImages.php Revert r73587 and fix r62087 regression by providing the default value in $comment definition. 2010-09-25 16:58:32 +00:00
importTextFile.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
importUseModWiki.php Remove some unused variables 2010-08-13 20:58:16 +00:00
initEditCount.php Use the load balancer to get the server count, not $wgServers 2010-10-10 11:39:08 +00:00
initStats.php Standardised file description headers: 2010-09-01 19:36:18 +00:00
install-utils.inc Piece I was going to commit in r74681 2010-10-12 18:16:53 +00:00
install.php Uncommented some used options; added the possibility to define $wgScriptPath 2010-10-02 07:39:17 +00:00
interwiki.list Fixes for r66013: fixed syntax, switched interwiki.list to use more customary comments starting with # 2010-06-23 16:06:34 +00:00
interwiki.sql (bug 23616) Spaces in interwiki.sql entries break postgres, link doesn't get inserted 2010-05-23 15:14:13 +00:00
lag.php Big attack on unused variables... 2010-10-14 20:53:04 +00:00
Maintenance.php (bug 19593) $wgServer can't be set properly with --server attribute in command line tools. Also fixes regression in generateSitemap.php from maintenance rewrite. Also possible workaround for bug 18274. 2010-10-29 16:28:50 +00:00
Makefile Move parser test related stuff to tests directory 2010-09-28 12:24:56 +00:00
mcc.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
mctest.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
mergeMessageFileList.php Remove unused variable 2010-07-24 21:11:29 +00:00
migrateUserGroup.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
minify.php And we now have CSSMin 2010-09-11 14:29:01 +00:00
moveBatch.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
mwdocgen.php update my personal email address (following r73779) 2010-09-27 18:46:16 +00:00
namespaceDupes.php bug 25517 Assignment in conditions should be avoided/ http://www.mediawiki.org/wiki/Manual:Coding_conventions#Assignment_expressions 2010-11-01 00:07:17 +00:00
nextJobDB.php Big attack on unused variables... 2010-10-14 20:53:04 +00:00
nukeNS.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
nukePage.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
orphans.php Add missing parameter to lockTables 2010-09-20 13:24:16 +00:00
ourusers.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
patchSql.php Follow-up r74628: convert two remaining calls of patchPath() 2010-10-12 18:14:36 +00:00
populateCategory.php And while I'm a it: __FUNCTION__ -> __METHOD__ 2010-10-01 16:04:07 +00:00
populateLogSearch.php Remove some unused variables 2010-08-13 20:58:16 +00:00
populateLogUsertext.php More unused variables, whitespace 2010-07-25 21:44:29 +00:00
populateParentId.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
populateRevisionLength.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
populateSha1.php Big attack on unused variables... 2010-10-14 20:53:04 +00:00
preprocessorFuzzTest.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
protect.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
purgeList.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
purgeOldText.inc Double braces introduced in r74742 giving a fatal: 2010-10-18 17:42:14 +00:00
purgeOldText.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
README * (bug 14201) Set $wgDBadminuser/$wgDBadminpassword during setup 2009-07-23 00:31:37 +00:00
reassignEdits.php Remove some unused variables 2010-09-20 14:32:38 +00:00
rebuildall.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
rebuildFileCache.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
rebuildImages.php * Modified rebuildImages.php to subclass Mainteance instead of FiveUpgrade 2010-09-10 16:47:42 +00:00
rebuildInterwiki.php Converting dumpInterwiki.php into new Maintenance. In two steps to get better diffs. 2010-09-04 21:32:28 +00:00
rebuildLocalisationCache.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
rebuildmessages.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
rebuildrecentchanges.php bug 25517 Assignment in conditions should be avoided/ http://www.mediawiki.org/wiki/Manual:Coding_conventions#Assignment_expressions 2010-11-01 00:07:17 +00:00
rebuildtextindex.php Big commit: kill almost every freeResult() call as useless 2010-08-08 12:27:48 +00:00
refreshImageCount.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
refreshLinks.php Get rid of php4ism 2010-09-19 17:42:15 +00:00
removeUnusedAccounts.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
renameDbPrefix.php Big attack on unused variables... 2010-10-14 20:53:04 +00:00
renamewiki.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
renderDump.php Commit some renderDump improvements 2010-07-27 20:44:42 +00:00
rollbackEdits.php Assignment in loop conditions suck 2010-10-13 22:34:25 +00:00
runBatchedQuery.php Add __METHOD__ to query() call in runBatchedQuery.php 2010-10-22 22:43:14 +00:00
runJobs.php Add exclusive option for runJobs.php 2010-09-17 08:10:38 +00:00
showJobs.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
showStats.php update my personal email address altern.org -> free.fr 2010-09-26 15:52:51 +00:00
sql.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
sqlite.inc maintenance/sqlite.php: added the ability to check .sql files for SQLite compatibility 2010-08-12 16:06:47 +00:00
sqlite.php maintenance/sqlite.php: added the ability to check .sql files for SQLite compatibility 2010-08-12 16:06:47 +00:00
stats.php And while I'm a it: This doesn't require DB access 2010-10-09 11:53:19 +00:00
tables.sql cl_sortkey should be 230 bytes long, not 255 2010-10-14 21:47:02 +00:00
testRunner.ora.sql Started working on parserTests Oracle compatibility, still getting FK violations 2009-11-06 17:12:18 +00:00
testRunner.postgres.sql
testRunner.sql
undelete.php Stylize maintenance folder.. 2010-05-22 16:50:39 +00:00
update.php r75540 CR 2010-10-27 14:46:58 +00:00
updateArticleCount.php Standardised file description headers: 2010-09-01 19:36:18 +00:00
updateCollation.php Further categorylinks schema changes 2010-09-03 20:52:08 +00:00
updateDoubleWidthSearch.php Standardised file description headers: 2010-09-01 19:36:18 +00:00
updateRestrictions.php Standardised file description headers: 2010-09-01 19:36:18 +00:00
updateSearchIndex.php Standardised file description headers: 2010-09-01 19:36:18 +00:00
updateSpecialPages.php Standardised file description headers: 2010-09-01 19:36:18 +00:00
upgrade1_5.php Assignment in loop conditions suck 2010-10-13 22:34:25 +00:00
userDupes.inc Big attack on unused variables... 2010-10-14 20:53:04 +00:00
userOptions.inc Assignment in loop conditions suck 2010-10-13 22:34:25 +00:00
userOptions.php update my personal email address altern.org -> free.fr 2010-09-26 15:52:51 +00:00
users.sql Follow up to r56323: fix the broken grant syntax (which I should have tested before committing). 2009-09-20 07:15:19 +00:00
waitForSlave.php Standardised file description headers: 2010-09-01 19:36:18 +00:00
wikipedia-interwiki.sql Nuke the last vestiges of tlh. 2009-09-13 13:57:35 +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 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