wiki.techinc.nl/maintenance
James D. Forrester 4fc6f0ba0c maintenance: Exclude OOjs UI's new RTL built CSS files from the pull-through
Change-Id: I05967ab737afa76e92f98292cd95dd20c607678f
2014-07-11 23:08:55 +00:00
..
archives First version of Page Language selector 2014-06-27 23:27:07 +00:00
benchmarks Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
cssjanus
dev Merge "shell script fix using shellcheck lint" 2014-06-17 14:18:23 +00:00
dictionary Move Modern and CologneBlue out of core 2014-05-27 11:29:24 -07:00
hiphop
jsduck Merge "Implement mediawiki.cookie module" 2014-05-14 18:17:55 +00:00
language Add a maintenance script to list variants and languages with then 2014-06-04 15:31:30 -07:00
locking Removed expiremental LSLockManager class 2014-01-17 15:16:01 -08:00
mssql chmod 644 2014-06-30 18:17:23 +01:00
oracle First version of Page Language selector 2014-06-27 23:27:07 +00:00
postgres First version of Page Language selector 2014-06-27 23:27:07 +00:00
resources maintenance: Exclude OOjs UI's new RTL built CSS files from the pull-through 2014-07-11 23:08:55 +00:00
sqlite/archives First version of Page Language selector 2014-06-27 23:27:07 +00:00
storage Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
term Fixed some @params documentation (maintenance) 2014-04-17 22:48:32 +02:00
.htaccess
7zip.inc Update formatting in maintenance/ (1/4) 2014-04-23 20:08:06 +02:00
attachLatest.php Pass phpcs-strict on maintenance/ (8/8) 2014-04-23 14:00:10 +02:00
backup.inc Update formatting in maintenance/ (1/4) 2014-04-23 20:08:06 +02:00
backupPrefetch.inc Update formatting in maintenance/ (1/4) 2014-04-23 20:08:06 +02:00
backupTextPass.inc $maxTimeAllowed still used by tests, causing HHVM to fail 2014-04-24 11:08:25 +02:00
cdb.php Pass phpcs-strict on maintenance/ (7/8) 2014-04-23 12:16:10 +02:00
changePassword.php
checkBadRedirects.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
checkImages.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
checkLess.php Pass phpcs-strict on maintenance/ (7/8) 2014-04-23 12:16:10 +02:00
checkSyntax.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
checkUsernames.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
cleanupAncientTables.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
cleanupCaps.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
cleanupImages.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
cleanupPreferences.php
cleanupRemovedModules.php Pass phpcs-strict on maintenance/ (7/8) 2014-04-23 12:16:10 +02:00
cleanupSpam.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
cleanupTable.inc
cleanupTitles.php Change URLs to mediawiki.org in comments to HTTPS 2014-03-20 16:59:46 +00:00
cleanupUploadStash.php
cleanupWatchlist.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
clearCacheStats.php
clearInterwikiCache.php
commandLine.inc Pass phpcs-strict on maintenance/ (7/8) 2014-04-23 12:16:10 +02:00
compareParserCache.php Tweaks to compareParserCache.php 2014-05-15 08:39:21 -07:00
compareParsers.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
convertLinks.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
convertUserOptions.php Make convertUserOptions.php more self-contained 2014-05-31 23:10:47 -04:00
copyFileBackend.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
copyJobQueue.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
createAndPromote.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
deleteArchivedFiles.inc Avoid warnings for empty file sha1 keys 2014-06-24 11:17:48 -07:00
deleteArchivedFiles.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
deleteArchivedRevisions.inc Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
deleteArchivedRevisions.php Pass phpcs-strict on maintenance/ (6/8) 2014-04-23 09:27:41 +00:00
deleteBatch.php Prevent deleteBatch.php deleting files from redirects 2014-05-23 11:31:14 -07:00
deleteDefaultMessages.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
deleteEqualMessages.php Capitalise Message in SpecialAllMessages files 2014-06-16 18:25:53 +01:00
deleteImageMemcached.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
deleteOldRevisions.php
deleteOrphanedRevisions.php Pass phpcs-strict on maintenance/ (6/8) 2014-04-23 09:27:41 +00:00
deleteRevision.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
deleteSelfExternals.php
doMaintenance.php Pass phpcs-strict on maintenance/ (6/8) 2014-04-23 09:27:41 +00:00
Doxyfile
dumpBackup.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
dumpIterator.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
dumpLinks.php Don't use isset() to check for null 2014-05-10 14:23:50 +02:00
dumpSisterSites.php Change URLs to mediawiki.org in comments to HTTPS 2014-03-20 16:59:46 +00:00
dumpTextPass.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
dumpUploads.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
edit.php Add "nocreate" and "createonly" options to edit.php 2013-12-10 14:17:50 -08:00
eraseArchivedFile.php
eval.php Make it a bit safer to paste input to eval.php 2014-01-09 15:04:51 -08:00
fetchText.php Update formatting in maintenance/ (2/4) 2014-04-23 20:08:42 +02:00
fileOpPerfTest.php
findHooks.php Add includes/page/ to findHooks.php 2014-06-24 00:20:45 -04:00
fixDoubleRedirects.php Don't use isset() to check for null 2014-05-10 14:23:50 +02:00
fixExtLinksProtocolRelative.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
fixSlaveDesync.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
fixTimestamps.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
fixUserRegistration.php Pass phpcs-strict on maintenance/ (5/8) 2014-04-23 11:27:25 +02:00
formatInstallDoc.php
generateJsonI18n.php Add --supplementary flag to generateJsonI18n 2014-05-10 15:40:27 +01:00
generateSitemap.php Don't use isset() to check for null 2014-05-10 14:23:50 +02:00
getConfiguration.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
getLagTimes.php
getSlaveServer.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
getText.php Pass phpcs-strict on maintenance/ (5/8) 2014-04-23 11:27:25 +02:00
importDump.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
importImages.inc Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
importImages.php Replace deprecated File::sha1Base36 call 2014-06-23 21:02:09 +02:00
importSiteScripts.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
importTextFile.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
initEditCount.php Remove version check for mysql 4.1 from Maintenance scripts 2013-12-31 14:53:07 +05:30
initSiteStats.php Fix initSiteStats.php maintenance script 2014-06-29 00:12:16 +00:00
install.php Use PHP_VERSION constant instead of phpversion() function call 2014-07-09 16:46:35 -07:00
interwiki.list Update default contents of interwiki table 2014-04-25 12:05:43 +10:00
interwiki.sql Update default contents of interwiki table 2014-04-25 12:05:43 +10:00
jsparse.php
lag.php Pass phpcs-strict on maintenance/ (4/8) 2014-04-23 10:26:09 +02:00
Maintenance.php Also check if 'debug_backtrace' is disabled in Maintenance::shouldExecute() 2014-06-26 00:06:32 +00:00
Makefile
mcc.php
mctest.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
mergeMessageFileList.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
migrateUserGroup.php
minify.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
moveBatch.php Pass phpcs-strict on maintenance/ (4/8) 2014-04-23 10:26:09 +02:00
mwdoc-filter.php
mwdocgen.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
mwjsduck-gen mwjsduck-gen: Abort early and report exit code 2014-05-03 20:47:18 +00:00
namespaceDupes.php Remove use of strencode() outside Database classes 2014-06-02 13:45:26 -04:00
nextJobDB.php Removed useless "while" loop 2014-06-16 14:46:09 -07:00
nukeNS.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
nukePage.php
orphans.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
pageExists.php Fix pageExists when passed invalid title 2014-06-26 07:40:06 -07:00
parse.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
patchSql.php Pass phpcs-strict on maintenance/ (4/8) 2014-04-23 10:26:09 +02:00
populateCategory.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
populateFilearchiveSha1.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
populateImageSha1.php Avoid query error with odd parameter combination 2014-04-24 15:48:28 -07:00
populateLogSearch.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
populateLogUsertext.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
populateParentId.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
populateRecentChangesSource.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
populateRevisionLength.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
populateRevisionSha1.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
preprocessDump.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
preprocessorFuzzTest.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
protect.php
pruneFileCache.php Fixed some @params documentation (maintenance) 2014-04-17 22:48:32 +02:00
purgeChangedFiles.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
purgeChangedPages.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
purgeList.php Update formatting in maintenance/ (3/4) 2014-04-23 20:09:13 +02:00
purgeOldText.inc Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
purgeOldText.php
purgeParserCache.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
README
reassignEdits.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
rebuildall.php Pass phpcs-strict on maintenance/ (3/8) 2014-04-22 21:25:52 +00:00
rebuildFileCache.php Remove $wgTitle from all maintenance scripts 2014-03-12 18:28:47 -07:00
rebuildImages.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
rebuildLocalisationCache.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
rebuildmessages.php
rebuildrecentchanges.php Remove use of strencode() outside Database classes 2014-06-02 13:45:26 -04:00
rebuildtextindex.php Pass phpcs-strict on maintenance/ (2/8) 2014-04-22 21:25:47 +00:00
refreshFileHeaders.php
refreshImageMetadata.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
refreshLinks.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
removeUnusedAccounts.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
renameDbPrefix.php
renderDump.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
resetUserTokens.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
rollbackEdits.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
runBatchedQuery.php Pass phpcs-strict on maintenance/ (2/8) 2014-04-22 21:25:47 +00:00
runJobs.php Allow floating point values for $wgJobBackoffThrottling 2014-05-09 00:40:21 +00:00
runScript.php
showCacheStats.php Pass phpcs-strict on maintenance/ (2/8) 2014-04-22 21:25:47 +00:00
showJobs.php Pass phpcs-strict on maintenance/ (2/8) 2014-04-22 21:25:47 +00:00
showSiteStats.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
sql.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
sqlite.inc Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
sqlite.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
syncFileBackend.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
tables.sql First version of Page Language selector 2014-06-27 23:27:07 +00:00
tidyUpBug37714.php
undelete.php
update.php Use PHP_VERSION constant instead of phpversion() function call 2014-07-09 16:46:35 -07:00
updateArticleCount.php Pass phpcs-strict on maintenance/ (1/8) 2014-04-22 21:25:22 +00:00
updateCollation.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
updateDoubleWidthSearch.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
updateRestrictions.php Pass phpcs-strict on maintenance/ (1/8) 2014-04-22 21:25:22 +00:00
updateSearchIndex.php Pass phpcs-strict on maintenance/ (1/8) 2014-04-22 21:25:22 +00:00
updateSpecialPages.php Move QueryPage and abstract subclasses to specialpage folder 2014-06-24 20:03:21 -04:00
userDupes.inc Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
userOptions.inc Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02:00
userOptions.php Let maintenance class start with a upper case letter 2013-11-23 22:53:29 +01:00
waitForSlave.php Update formatting in maintenance/ (4/4) 2014-04-23 20:09:26 +02: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

	showCacheStats.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