wiki.techinc.nl/maintenance
Platonides 24c354a83a Alphabetically sort the interwikis.
Added a comment about WMF wikis.

Keeping maintenance/interwiki.{list,sql} in sync now.
They can be compared with
 diff  maintenance/interwiki.list  <( sed 's/),//' maintenance/interwiki.sql | sed "s/[(')]//g" | tr , \| )

Change-Id: I1bfaad13ea3041889648ab2be13b383dccda07f5
2012-04-02 19:56:26 +02:00
..
archives [FileBackend] 2012-03-27 15:27:14 +11:00
benchmarks Fix doc for maintenance/benchmarks 2012-02-08 16:49:53 +00:00
cssjanus
dev Security paranoia, reject requests to router.php that aren't from the cli-server sapi. 2012-03-20 22:58:34 +00:00
hiphop
ibm_db2 Fixes to address MaxSem's comment on r106480 regarding DB2 tables.sql syntax, indentation, and capitalization: 2011-12-17 15:59:21 +00:00
language Merge "(bug 18062) new message when edit or create the local page of a shared file" 2012-04-01 02:08:00 +00:00
locking Fixing up undefined types in maintenance documentation 2012-02-09 21:08:06 +00:00
mssql (bug 29475) Remove "trackback" feature entirely from core. This has been disabled-by-default since its inception and nobody uses it. 2011-11-23 17:14:03 +00:00
oracle * Oracle schema update to latest (tested with phpunit) 2012-01-24 09:48:26 +00:00
postgres Followup to r107866, add in new job_timestamp field which was likely completely breaking anything related to the job queue, should fix failing TemplateCategoriesTest.testTemplateCategories on PG 2012-01-12 22:11:12 +00:00
sqlite/archives Can someone standardi[sz]e SQL already!? 2012-03-06 00:26:48 +00:00
storage * (bug 34735) Updated compressOld.php documentation to mention the different usages of -s and -n parameters depending on compression type 2012-03-20 10:07:51 +00:00
term Move terminal colorers classes in their own file 2011-11-29 12:17:55 +00:00
.htaccess
7zip.inc
attachLatest.php Use WikiPage instead of Article to call updateRevisionOn() 2011-12-26 16:28:56 +00:00
backup.inc No more undefined usage of rev{Start,End}Id warnings 2012-03-25 21:33:03 +02:00
backupPrefetch.inc
cdb.php
changePassword.php (bug 26854) Invalid user names go unchecked. Applied most of the patch submitted by Søren Løvborg, checking for null return values from User::newFromName() 2011-11-20 10:55:58 +00:00
checkAutoLoader.php
checkBadRedirects.php
checkImages.php
checkSyntax.php
checkUsernames.php
cleanupAncientTables.php Work in progress (can kill another patch hanging around in my working copy) 2012-02-10 00:49:56 +00:00
cleanupCaps.php * Use User::newFromName() instead of calling setName() on an existing object 2011-12-28 19:49:44 +00:00
cleanupImages.php Pass __METHOD__ to DatabaseBase::commit() and DatabaseBase::rollback() 2012-02-28 18:41:36 +00:00
cleanupRemovedModules.php
cleanupSpam.php More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
cleanupTable.inc * Use User::newFromName() instead of calling setName() on an existing object 2011-12-28 19:49:44 +00:00
cleanupTitles.php Use LinkCache::singleton()->clear() instead of using a local variable so that I can see what LinkCache::singleton() will be used for directly in grep 2011-12-21 18:46:39 +00:00
cleanupUploadStash.php Appending a newline at the end of the message results in a much nicer console display 2012-03-05 21:14:10 +00:00
cleanupWatchlist.php
clear_interwiki_cache.php
clear_stats.php Cleanup to statistics: 2012-01-23 16:27:13 +00:00
commandLine.inc Fix typo in SpecialVersion 2012-01-12 22:14:56 +00:00
compareParsers.php
convertLinks.php
convertUserOptions.php (bug 32508) clean up update.php messages 2011-12-08 10:04:59 +00:00
createAndPromote.php
deleteArchivedFiles.inc More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
deleteArchivedFiles.php
deleteArchivedRevisions.inc More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
deleteArchivedRevisions.php
deleteBatch.php More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
deleteDefaultMessages.php Fix newline in the message per CR 2012-03-22 01:03:45 +01:00
deleteImageMemcached.php
deleteOldRevisions.php More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
deleteOrphanedRevisions.php More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
deleteRevision.php
deleteSelfExternals.php Pass __METHOD__ to DatabaseBase::commit() and DatabaseBase::rollback() 2012-02-28 18:41:36 +00:00
doMaintenance.php revert r102636 2011-11-24 09:41:54 +00:00
Doxyfile Disable callgraphs for the time being 2012-03-18 20:10:47 +00:00
dumpBackup.php warn that dumpBackup does not actually backup the wiki! 2012-03-07 10:07:32 +00:00
dumpIterator.php
dumpLinks.php Fix doc for maintenance/ 2012-02-08 16:55:54 +00:00
dumpSisterSites.php
dumpTextPass.php Code reformatting 2012-03-22 12:11:50 +01:00
dumpUploads.php
edit.php Use WikiPage instead of Article to call doEdit() 2011-12-29 18:51:23 +00: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
findHooks.php Added missing directories to findHooks.php and missing quote in hooks.txt that made LoginAuthenticateAudit show up as undocumented when running findHooks.php 2012-02-12 19:18:36 +00:00
fixDoubleRedirects.php
fixExtLinksProtocolRelative.php Add a newline, the below isn't too readable 2011-12-13 16:51:24 +00:00
fixSlaveDesync.php Pass __METHOD__ to DatabaseBase::commit() and DatabaseBase::rollback() 2012-02-28 18:41:36 +00:00
fixTimestamps.php
fixUserRegistration.php
formatInstallDoc.php Fix doc for maintenance/ 2012-02-08 16:55:54 +00:00
fuzz-tester.php Fixing up undefined types in maintenance documentation 2012-02-09 21:08:06 +00:00
generateSitemap.php Fixing up undefined types in maintenance documentation 2012-02-09 21:08:06 +00:00
getLagTimes.php
getSlaveServer.php Improve documentation 2012-02-02 20:19:20 +00:00
getText.php
importDump.php Fixed reporting in importDump.txt 2012-01-11 10:38:25 +00:00
importImages.inc Fixing up undefined types in maintenance documentation 2012-02-09 21:08:06 +00:00
importImages.php The if should check $commentText, not $f, which is always set in this branch. 2012-01-27 21:06:00 +00:00
importSiteScripts.php Fix doc for maintenance/ 2012-02-08 16:55:54 +00:00
importTextFile.php * Use WikiPage instead of Article to call doEdit() 2012-01-15 12:30:14 +00:00
initEditCount.php
initStats.php
install.php
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
lag.php
Maintenance.php More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
Makefile
mcc.php
mctest.php Add braces 2012-01-22 00:58:47 +00:00
mergeMessageFileList.php Bye, bye $wgExtensionAliasesFiles (deprecated in 1.16). 2011-12-25 23:09:26 +00:00
migrateUserGroup.php More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
minify.php
moveBatch.php More __METHOD__ into db related methods 2012-02-24 17:00:52 +00:00
mwdocgen.php Fix switch fall through 2012-03-19 15:25:22 +00:00
namespaceDupes.php Normalise casing of getArticleID used in core 2012-03-11 18:54:55 +00:00
nextJobDB.php Fix doxygen docs before REL1_19 branching 2012-02-01 20:53:38 +00:00
nukeNS.php More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
nukePage.php Pass __METHOD__ to DatabaseBase::commit() and DatabaseBase::rollback() 2012-02-28 18:41:36 +00:00
orphans.php * Use WikiPage instead of Article to call updateRevisionOn() 2012-01-16 21:54:24 +00:00
parse.php Fix minor issue from r112988 2012-03-05 16:38:55 +00:00
patchSql.php
populateCategory.php
populateImageSha1.php In populateImageSha1.php: 2012-02-29 22:45:17 +00:00
populateLogSearch.php
populateLogUsertext.php More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
populateParentId.php
populateRevisionLength.php
populateRevisionSha1.php Minor followup to r111795, make doSha1LegacyUpdates return it's count value so it can be added to the count of archive rows 2012-03-06 19:21:07 +00:00
preprocessDump.php
preprocessorFuzzTest.php
protect.php Cleanup a few unused globals 2012-02-16 02:35:48 +00:00
proxy_check.php Fix doc for maintenance/ 2012-02-08 16:55:54 +00:00
pruneFileCache.php Comments, braces, explicit member variables 2011-11-16 13:22:03 +00:00
purgeDeletedFiles.php Ported changes from r110601 2012-02-02 19:33:36 +00:00
purgeList.php enable purge of HTTPS URLs 2012-02-14 20:20:56 +00:00
purgeOldText.inc More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
purgeOldText.php
purgeParserCache.php Fix doc for maintenance/ 2012-02-08 16:55:54 +00:00
purgeStaleMemcachedText.php Fix doc for maintenance/ 2012-02-08 16:55:54 +00:00
README
reassignEdits.php More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
rebuildall.php
rebuildFileCache.php More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
rebuildImages.php Fix doc for maintenance/ 2012-02-08 16:55:54 +00:00
rebuildLocalisationCache.php Update core usage of getLanguageName[s]. 2012-03-08 20:56:26 +00:00
rebuildmessages.php
rebuildrecentchanges.php re Bug 31007 - rebuildrecentchanges.php fails for Postgresql with strings for integers 2012-01-03 23:42:15 +00:00
rebuildtextindex.php
refreshImageCount.php
refreshImageMetadata.php Fix doc for maintenance/ 2012-02-08 16:55:54 +00:00
refreshLinks.php More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
removeUnusedAccounts.php More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
renameDbPrefix.php
renderDump.php
resetUserTokens.php
rollbackEdits.php * Use WikiPage instead of Article to call commitRollback() 2012-01-14 14:11:08 +00:00
runBatchedQuery.php
runJobs.php Add braces 2011-12-31 00:21:27 +00: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
tables.sql Fix whitespace; change tabs to spaces. 2012-03-24 17:14:09 -04:00
undelete.php (bug 26854) Invalid user names go unchecked. Applied most of the patch submitted by Søren Løvborg, checking for null return values from User::newFromName() 2011-11-20 10:55:58 +00:00
update.php Same for the getPostDatabaseUpdateMaintenance 2011-11-11 17:06:03 +00:00
updateArticleCount.php
updateCollation.php More __METHOD__ in our madness 2012-02-24 18:45:24 +00: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