MediaWiki  REL1_19
Maintenance
Collaboration diagram for Maintenance:

Classes

class  BackupDumper
class  BackupReader
class  BaseDump
 Readahead helper for making large MediaWiki data dumps; reads in a previous XML dump to sequentially prefetch text records already normalized and decompressed. More...
class  CheckStorage
class  DeleteArchivedFilesImplementation
 Core functions for deleteArchivedFiles.php. More...
class  DeleteArchivedRevisionsImplementation
 Delete archived (deleted from public) revisions from the database. More...
class  DumpDBZip2Output
class  ForkController
 Class for managing forking command line scripts. More...
class  Maintenance
 Abstract maintenance class for quickly writing and churning out maintenance scripts with minimal effort. More...
class  SevenZipStream
 Stream wrapper around 7za filter program. More...
class  TextPassDumper
class  UserDupes
 Look for duplicate user table entries and optionally prune them. More...
class  userOptions

Modules

 Benchmark
 Maintenance archives

Files

file  7zip.inc
 

7z stream wrapper


file  attachLatest.php
 

quick hackjob to fix damages imports on wikisource page records have page_latest wrong


file  backup.inc
 

Base classes for database dumpers.


file  backupPrefetch.inc
 

Helper class for the --prefetch option of dumpTextPass.php.


file  cdb.php
 

cdb inspector tool


file  changePassword.php
 

Change the password of a given user.


file  checkAutoLoader.php
 

Check the autoloader.


file  checkBadRedirects.php
 

CheckBadRedirects - See if pages marked as being redirects really are.


file  checkImages.php
 

Check images to see if they exist, are readable, etc etc.


file  checkStorage.php
 

Fsck for MediaWiki.


file  checkSyntax.php
 

Check syntax of all PHP files in MediaWiki.


file  checkUsernames.php
 

This script verifies that database usernames are actually valid.


file  cleanupCaps.php
 

Script to clean up broken page links when somebody turns on $wgCapitalLinks.


file  cleanupImages.php
 

Script to clean up broken, unparseable upload filenames.


file  cleanupRemovedModules.php
 

Maintenance script to remove cache entries for removed ResourceLoader modules from the database.


file  cleanupSpam.php
 

Cleanup all spam from a given hostname.


file  cleanupTable.inc
 

Generic table cleanup class.


file  cleanupTitles.php
 

Script to clean up broken, unparseable titles.


file  cleanupUploadStash.php
 

Remove old or broken uploads from temporary uploaded file storage, clean up associated database records.


file  cleanupWatchlist.php
 

Script to remove broken, unparseable titles in the Watchlist.


file  clear_interwiki_cache.php
 

This script is used to clear the interwiki links for ALL languages in the cache.


file  clear_stats.php
 

This script remove all statistics tracking from the cache.


file  commandLine.inc
 

Backwards-compatibility wrapper for old-style maintenance scripts.


file  compareParsers.php
 

Take page text out of an XML dump file and render basic HTML out to files.


file  compressOld.php
 

Compress the text of a wiki.


file  convertLinks.php
 

Convert from the old links schema (string->ID) to the new schema (ID->ID) The wiki should be put into read-only mode while this script executes.


file  convertUserOptions.php
 

Do each user sequentially, since accounts can't be deleted.


file  createAndPromote.php
 

Maintenance script to create an account and grant it administrator rights.


file  doMaintenance.php
 

We want to make this whole thing as seamless as possible to the end-user.


file  dumpBackup.php
 

Script that dumps wiki pages or logging database into an XML interchange wrapper format for export or backup.


file  dumpIterator.php
 

Take page text out of an XML dump file and perform some operation on it.


file  dumpTextPass.php
 

Script that postprocesses XML dumps from dumpBackup.php to add page text.


file  eval.php
 

PHP lacks an interactive mode, but this can be very helpful when debugging.


file  findHooks.php
 

Simple script that try to find documented hook and hooks actually in the code and show what's missing.


file  fixBug20757.php
 

Script to fix bug 20757.


file  fixDoubleRedirects.php
 

Script to fix double redirects.


file  fuzz-tester.php
 

Performs fuzz-style testing of MediaWiki's parser and forms.


file  generateCollationData.php
file  generateSitemap.php
 

Creates a sitemap for the site.


file  importDump.php
 

Copyright (C) 2005 Brion Vibber <[email protected]> http://www.mediawiki.org/.


file  importImages.inc
 

Support functions for the importImages script.


file  importImages.php
 

Maintenance script to import one or more images from the local file system into the wiki without using the web-based interface.


file  importSiteScripts.php
 

Maintenance script to import all scripts in the MediaWiki namespace from a local site.


file  importTextFile.php
 

Maintenance script allows creating or editing pages using the contents of a text file.


file  initEditCount.php
 

Init the user_editcount database field based on the number of rows in the revision table.


file  initStats.php
 

Maintenance script to re-initialise or update the site statistics table.


file  lag.php
 

Shows database lag.


file  LockServerDaemon.php
file  Maintenance.php
 

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.


file  mcc.php
 

memcached diagnostic tool


file  MediaWikiButtonsAvailabilityTestCase.php
 

MediaWikiButtonsAvailabilityTestCase.


file  MediaWikiDifferentDatabaseAccountTestCase.php
 

MediaWikiDifferentDatabaseAccountTestCase.


file  MediaWikiDifferntDatabasePrefixTestCase.php
 

MediaWikiDifferntDatabasePrefixTestCase.


file  MediaWikiErrorsConnectToDatabasePageTestCase.php
 

MediaWikiErrorsConnectToDatabasePageTestCase.


file  MediaWikiErrorsNamepageTestCase.php
 

MediaWikiErrorsNamepageTestCase.


file  MediaWikiHelpFieldHintTestCase.php
 

MediaWikiHelpFieldHintTestCase.


file  MediaWikiInstallationCommonFunction.php
 

MediaWikiInstallationCommonFunction.


file  MediaWikiInstallationConfig.php
 

MediaWikiInstallationConfig.


file  MediaWikiInstallationMessage.php
 

MediaWikiInstallationConfig.


file  MediaWikiInstallationVariables.php
 

MediaWikiInstallationConfig.


file  MediaWikiInstallerTestSuite.php
 

MediaWikiInstallerTestSuite.


file  MediaWikiMySQLDataBaseTestCase.php
 

MediaWikiOnAlreadyInstalledTestCase.


file  MediaWikiMySQLiteDataBaseTestCase.php
 

MediaWikiMySQLiteataBaseTestCase.


file  MediaWikiOnAlreadyInstalledTestCase.php
 

Selenium server manager.


file  MediaWikiRestartInstallationTestCase.php
 

MediaWikiRestartInstallationTestCase.


file  MediaWikiRightFrameworkLinksTestCase.php
 

MediaWikiRightFrameworkLinksTestCase.


file  MediaWikiUpgradeExistingDatabaseTestCase.php
 

MediaWikiUpgradeExistingDatabaseTestCase.


file  MediaWikiUserInterfaceTestCase.php
 

MediaWikiUserInterfaceTestCase.


file  mergeMessageFileList.php
 

Merge $wgExtensionMessagesFiles from various extensions to produce a single array containing all message files.


file  minify.php
 

Minify a file or set of files.


file  moveToExternal.php
 

Move revision's text to external storage.


file  mwdocgen.php
 

Generate class and file reference documentation for MediaWiki using doxygen.


file  populateCategory.php
 

Script to populate category table.


file  preprocessDump.php
 

Take page text out of an XML dump file and preprocess it to obj.


file  preprocessorFuzzTest.php
 

Performs fuzz-style testing of MediaWiki's preprocessor.


file  proxy_check.php
 

Command line script to check for an open proxy at a specified location.


file  purgeOldText.inc
 

Support functions for cleaning up redundant text records.


file  purgeParserCache.php
file  purgeStaleMemcachedText.php
file  rebuildImages.php
 

Script to update image metadata records.


file  recompressTracked.php
 

Moves blobs indexed by trackBlobs.php to a specified list of destination clusters, and recompresses them in the process.


file  refreshImageMetadata.php
 

Script to refresh image metadata fields.


file  renderDump.php
 

Take page text out of an XML dump file and render basic HTML out to files.


file  resetUserTokens.php
 

Script to reset the user_token for all users on the wiki.


file  resolveStubs.php
 

Script to convert history stubs that point to an external row to direct external pointers.


file  RunSeleniumTests.php
file  sqlite.inc
 

Helper class for sqlite-specific scripts.


file  storageTypeStats.php
 

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.


file  testCompression.php
 

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.


file  trackBlobs.php
 

Adds blobs from a given external storage cluster to the blob_tracking table.


file  undelete.php
 

Undelete a page by fetching it from the archive table.


file  update.php
 

Run all updaters.


file  updateArticleCount.php
 

Maintenance script to provide a better count of the number of articles and update the site statistics table, if desired.


file  updateCollation.php
 

Script will find all rows in the categorylinks table whose collation is out-of-date (cl_collation != $wgCategoryCollation) and repopulate cl_sortkey using the page title and cl_sortkey_prefix.


file  updateDoubleWidthSearch.php
 

Script to normalize double-byte latin UTF-8 characters.


file  updateRestrictions.php
 

Makes the required database updates for Special:ProtectedPages to show all protected pages, even ones before the page restrictions schema change.


file  updateSearchIndex.php
 

Script for periodic off-peak updating of the search index.


file  updateSpecialPages.php
 

Run this script periodically if you have miser mode enabled, to refresh the caches.


file  upgrade1_5.php
 

Alternate 1.4 -> 1.5 schema upgrade.


file  userDupes.inc
 

Helper class for update.php and upgrade1_5.php.


file  userOptions.inc
 

Helper class for userOptions.php script.


file  userOptions.php
 

Script to change users skins on the fly.


file  waitForSlave.php
 

Script to wait until slave lag goes under a certain value.


Enumerations

enum  MW_CONFIG_CALLBACK
 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. More...

Enumeration Type Documentation

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

See also:
wfWaitForSlaves()

Definition at line 29 of file install.php.