MediaWiki  REL1_19
maintenance Directory Reference
Directory dependency graph for maintenance/:
maintenance/

Directories

directory  archives
directory  benchmarks
directory  cssjanus
directory  dev
directory  language
directory  locking
directory  oracle
directory  storage
directory  term

Files

file  7zip.inc [code]
 

7z stream wrapper


file  attachLatest.php [code]
 

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


file  backup.inc [code]
 

Base classes for database dumpers.


file  backupPrefetch.inc [code]
 

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


file  cdb.php [code]
 

cdb inspector tool


file  changePassword.php [code]
 

Change the password of a given user.


file  checkAutoLoader.php [code]
 

Check the autoloader.


file  checkBadRedirects.php [code]
 

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


file  checkImages.php [code]
 

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


file  checkSyntax.php [code]
 

Check syntax of all PHP files in MediaWiki.


file  checkUsernames.php [code]
 

This script verifies that database usernames are actually valid.


file  cleanupCaps.php [code]
 

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


file  cleanupImages.php [code]
 

Script to clean up broken, unparseable upload filenames.


file  cleanupRemovedModules.php [code]
 

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


file  cleanupSpam.php [code]
 

Cleanup all spam from a given hostname.


file  cleanupTable.inc [code]
 

Generic table cleanup class.


file  cleanupTitles.php [code]
 

Script to clean up broken, unparseable titles.


file  cleanupUploadStash.php [code]
 

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


file  cleanupWatchlist.php [code]
 

Script to remove broken, unparseable titles in the Watchlist.


file  clear_interwiki_cache.php [code]
 

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


file  clear_stats.php [code]
 

This script remove all statistics tracking from the cache.


file  commandLine.inc [code]
 

Backwards-compatibility wrapper for old-style maintenance scripts.


file  compareParsers.php [code]
 

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


file  convertLinks.php [code]
 

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 [code]
 

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


file  createAndPromote.php [code]
 

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


file  deleteArchivedFiles.inc [code]
file  deleteArchivedFiles.php [code]
file  deleteArchivedRevisions.inc [code]
file  deleteArchivedRevisions.php [code]
file  deleteBatch.php [code]
file  deleteDefaultMessages.php [code]
file  deleteImageMemcached.php [code]
file  deleteOldRevisions.php [code]
file  deleteOrphanedRevisions.php [code]
file  deleteRevision.php [code]
file  deleteSelfExternals.php [code]
file  doMaintenance.php [code]
 

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


file  dumpBackup.php [code]
 

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


file  dumpIterator.php [code]
 

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


file  dumpLinks.php [code]
file  dumpSisterSites.php [code]
file  dumpTextPass.php [code]
 

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


file  dumpUploads.php [code]
file  edit.php [code]
file  eval.php [code]
 

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


file  fetchText.php [code]
file  findHooks.php [code]
 

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


file  fixDoubleRedirects.php [code]
 

Script to fix double redirects.


file  fixExtLinksProtocolRelative.php [code]
file  fixSlaveDesync.php [code]
file  fixTimestamps.php [code]
file  fixUserRegistration.php [code]
file  formatInstallDoc.php [code]
file  fuzz-tester.php [code]
 

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


file  generateSitemap.php [code]
 

Creates a sitemap for the site.


file  getLagTimes.php [code]
file  getSlaveServer.php [code]
file  getText.php [code]
file  importDump.php [code]
 

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


file  importImages.inc [code]
 

Support functions for the importImages script.


file  importImages.php [code]
 

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 [code]
 

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


file  importTextFile.php [code]
 

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


file  initEditCount.php [code]
 

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


file  initStats.php [code]
 

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


file  install.php [code]
file  jsparse.php [code]
file  lag.php [code]
 

Shows database lag.


file  Maintenance.php [code]
 

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 [code]
 

memcached diagnostic tool


file  mctest.php [code]
file  mergeMessageFileList.php [code]
 

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


file  migrateUserGroup.php [code]
file  minify.php [code]
 

Minify a file or set of files.


file  moveBatch.php [code]
file  mwdocgen.php [code]
 

Generate class and file reference documentation for MediaWiki using doxygen.


file  namespaceDupes.php [code]
file  nextJobDB.php [code]
file  nukeNS.php [code]
file  nukePage.php [code]
file  orphans.php [code]
file  parse.php [code]
file  patchSql.php [code]
file  populateCategory.php [code]
 

Script to populate category table.


file  populateImageSha1.php [code]
file  populateLogSearch.php [code]
file  populateLogUsertext.php [code]
file  populateParentId.php [code]
file  populateRevisionLength.php [code]
file  populateRevisionSha1.php [code]
file  preprocessDump.php [code]
 

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


file  preprocessorFuzzTest.php [code]
 

Performs fuzz-style testing of MediaWiki's preprocessor.


file  protect.php [code]
file  proxy_check.php [code]
 

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


file  pruneFileCache.php [code]
file  purgeDeletedFiles.php [code]
file  purgeList.php [code]
file  purgeOldText.inc [code]
 

Support functions for cleaning up redundant text records.


file  purgeOldText.php [code]
file  purgeParserCache.php [code]
file  purgeStaleMemcachedText.php [code]
file  reassignEdits.php [code]
file  rebuildall.php [code]
file  rebuildFileCache.php [code]
file  rebuildImages.php [code]
 

Script to update image metadata records.


file  rebuildLocalisationCache.php [code]
file  rebuildmessages.php [code]
file  rebuildrecentchanges.php [code]
file  rebuildtextindex.php [code]
file  refreshImageCount.php [code]
file  refreshImageMetadata.php [code]
 

Script to refresh image metadata fields.


file  refreshLinks.php [code]
file  removeUnusedAccounts.php [code]
file  renameDbPrefix.php [code]
file  renderDump.php [code]
 

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


file  resetUserTokens.php [code]
 

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


file  rollbackEdits.php [code]
file  runBatchedQuery.php [code]
file  runJobs.php [code]
file  showJobs.php [code]
file  showStats.php [code]
file  sql.php [code]
file  sqlite.inc [code]
 

Helper class for sqlite-specific scripts.


file  sqlite.php [code]
file  stats.php [code]
file  undelete.php [code]
 

Undelete a page by fetching it from the archive table.


file  update.php [code]
 

Run all updaters.


file  updateArticleCount.php [code]
 

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


file  updateCollation.php [code]
 

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 [code]
 

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


file  updateRestrictions.php [code]
 

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


file  updateSearchIndex.php [code]
 

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


file  updateSpecialPages.php [code]
 

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


file  upgrade1_5.php [code]
 

Alternate 1.4 -> 1.5 schema upgrade.


file  userDupes.inc [code]
 

Helper class for update.php and upgrade1_5.php.


file  userOptions.inc [code]
 

Helper class for userOptions.php script.


file  userOptions.php [code]
 

Script to change users skins on the fly.


file  waitForSlave.php [code]
 

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