MediaWiki REL1_33
Maintenance
Collaboration diagram for Maintenance:

Modules

 Benchmark
 
 Maintenance archives
 
 TermColorer
 

Files

file  7zip.inc
 7z stream wrapper
 
file  addChangeTag.php
 Adds a change tag to the wiki.
 
file  alterSharedConstraints.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  attachLatest.php
 Corrects wrong values in the page_latest field in the database.
 
file  BackupDumper.php
 Base classes for database-dumping maintenance scripts.
 
file  BaseDump.php
 Helper class for the –prefetch option of dumpTextPass.php.
 
file  BatchRowIterator.php
 Allows iterating a large number of rows in batches transparently.
 
file  BatchRowWriter.php
 Updates database rows by primary key in batches.
 
file  cdb.php
 cdb inspector tool
 
file  changePassword.php
 Change the password of a given user.
 
file  checkBadRedirects.php
 Check that pages marked as being redirects really are.
 
file  checkImages.php
 Check images to see if they exist, are readable, etc.
 
file  checkLess.php
 Checks LESS files in known resources for errors.
 
file  checkStorage.php
 Fsck for MediaWiki.
 
file  checkUsernames.php
 Check that database usernames are actually valid.
 
file  cleanupAncientTables.php
 Cleans up old database tables, dropping old indexes and fields.
 
file  cleanupBlocks.php
 Cleans up user blocks with user names not matching the 'user' table.
 
file  cleanupCaps.php
 Clean up broken page links when somebody turns on $wgCapitalLinks.
 
file  cleanupEmptyCategories.php
 Clean up empty categories in the category table.
 
file  cleanupImages.php
 Clean up broken, unparseable upload filenames.
 
file  cleanupInvalidDbKeys.php
 Cleans up invalid titles in various tables.
 
file  cleanupPreferences.php
 Clean up user preferences from the database.
 
file  cleanupRemovedModules.php
 Remove cache entries for removed ResourceLoader modules from the database.
 
file  cleanupSpam.php
 Cleanup all spam from a given hostname.
 
file  cleanupTable.inc
 Generic class to cleanup a database table.
 
file  cleanupTitles.php
 Clean up broken, unparseable titles.
 
file  cleanupUploadStash.php
 Remove old or broken uploads from temporary uploaded file storage, clean up associated database records.
 
file  cleanupUsersWithNoId.php
 Cleanup tables that have valid usernames with no user ID.
 
file  cleanupWatchlist.php
 Remove broken, unparseable titles in the watchlist table.
 
file  clearInterwikiCache.php
 Clear the cache of interwiki prefixes for all local wikis.
 
file  CodeCleanerGlobalsPass.inc
 Psy CodeCleaner to allow PHP super globals.
 
file  commandLine.inc
 Backwards-compatibility wrapper for old-style maintenance scripts.
 
file  compareParserCache.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  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  convertUserOptions.php
 Convert user options to the new user_properties table.
 
file  copyFileBackend.php
 Copy all files in some containers of one backend to another.
 
file  copyJobQueue.php
 Copy all jobs from one job queue system to another.
 
file  createAndPromote.php
 Creates an account and grants it rights.
 
file  createCommonPasswordCdb.php
 Generate includes/password/commonpasswords.cdb.
 
file  deleteArchivedFiles.php
 Delete archived (non-current) files from the database.
 
file  deleteArchivedRevisions.php
 Delete archived (deleted from public) revisions from the database.
 
file  deleteBatch.php
 Deletes a batch of pages.
 
file  deleteDefaultMessages.php
 Deletes all pages in the MediaWiki namespace which were last edited by "MediaWiki default".
 
file  deleteEqualMessages.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  deleteLocalPasswords.php
 Delete unused local passwords.
 
file  DeleteLocalPasswords.php
 Helper for deleting unused local passwords.
 
file  deleteOldRevisions.php
 Delete old (non-current) revisions from the database.
 
file  deleteOrphanedRevisions.php
 Delete revisions which refer to a nonexisting page.
 
file  deleteSelfExternals.php
 Delete self-references to $wgServer from the externallinks table.
 
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  dumpRev.php
 Get the text of a revision, resolving external storage if needed.
 
file  dumpTextPass.php
 BackupDumper that postprocesses XML dumps from dumpBackup.php to add page text.
 
file  dumpUploads.php
 Dump a the list of files uploaded, for feeding to tar or similar.
 
file  edit.php
 Make a page edit.
 
file  emptyUserGroup.php
 Removes all users from a given user group.
 
file  eraseArchivedFile.php
 Delete archived (non-current) files from storage.
 
file  eval.php
 This script lets a command-line user start up the wiki engine and then poke about by issuing PHP commands directly.
 
file  fetchText.php
 Communications protocol.
 
file  fileOpPerfTest.php
 Test for fileop performance.
 
file  findDeprecated.php
 Maintenance script that recursively scans MediaWiki's PHP source tree for deprecated functions and methods and pretty-prints the results.
 
file  findHooks.php
 Simple script that try to find documented hook and hooks actually in the code and show what's missing.
 
file  fixDefaultJsonContentPages.php
 Fix instances of pre-existing JSON pages.
 
file  fixDoubleRedirects.php
 Fix double redirects.
 
file  fixExtLinksProtocolRelative.php
 Fixes any entries for protocol-relative URLs in the externallinks table, replacing each protocol-relative entry with two entries, one for http and one for https.
 
file  fixT22757.php
 Script to fix T22757.
 
file  fixTimestamps.php
 Fixes timestamp corruption caused by one or more webservers temporarily being set to the wrong time.
 
file  fixUserRegistration.php
 Fix the user_registration field.
 
file  ForeignResourceManager.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  formatInstallDoc.php
 Format RELEASE-NOTE file to wiki text or HTML markup.
 
file  generateJsonI18n.php
 Convert a PHP messages file to a set of JSON messages files.
 
file  generateSitemap.php
 Creates a sitemap for the site.
 
file  getConfiguration.php
 Print serialized output of MediaWiki config vars.
 
file  getLagTimes.php
 Display replication lag times.
 
file  getReplicaServer.php
 Reports the hostname of a replica DB server.
 
file  getText.php
 Outputs page text to stdout.
 
file  importDump.php
 Import XML dump files into the current wiki.
 
file  importImages.php
 Import one or more images from the local file system into the wiki without using the web-based interface.
 
file  importSiteScripts.php
 Import all scripts in the MediaWiki namespace from a local site.
 
file  importTextFiles.php
 Import pages from text files.
 
file  initEditCount.php
 Init the user_editcount database field based on the number of rows in the revision table.
 
file  initSiteStats.php
 Re-initialise or update the site statistics table.
 
file  install.php
 CLI-based MediaWiki installation and configuration.
 
file  invalidateUserSessions.php
 Invalidate the sessions of certain users on the wiki.
 
file  IteratorDecorator.php
 Allows extending classes to decorate an Iterator with reduced boilerplate.
 
file  jsparse.php
 Test JavaScript validity parses using jsmin+'s parser.
 
file  lag.php
 Shows database lag.
 
file  listVariants.php
 Lists all language variants.
 
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  makeTestEdits.php
 Make test edits for a user to populate a test wiki.
 
file  manageForeignResources.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  manageJobs.php
 Maintenance script that handles managing job queue admin tasks.
 
file  mcc.php
 memcached diagnostic tool
 
file  mctest.php
 Makes several 'set', 'incr' and 'get' requests on every memcached server and shows a report.
 
file  mergeMessageFileList.php
 Merge $wgExtensionMessagesFiles from various extensions to produce a single array containing all message files.
 
file  MigrateActors.php
 Helper for migrating actors from pre-1.31 columns to the 'actor' table.
 
file  migrateActors.php
 Migrate actors from pre-1.31 columns to the 'actor' table.
 
file  migrateArchiveText.php
 Migrate archive.ar_text and ar_flags to modern storage.
 
file  migrateComments.php
 Migrate comments from pre-1.30 columns to the 'comment' table.
 
file  migrateFileRepoLayout.php
 Copy all files in FileRepo to an originals container using SHA1 paths.
 
file  migrateImageCommentTemp.php
 Merge image_comment_temp into the image table.
 
file  migrateUserGroup.php
 Re-assign users from an old group to a new one.
 
file  minify.php
 Minify a file or set of files.
 
file  moveBatch.php
 Move a batch of pages.
 
file  moveToExternal.php
 Move revision's text to external storage.
 
file  mwdocgen.php
 Generate class and file reference documentation for MediaWiki using doxygen.
 
file  MWTerm.php
 Set of classes to help with test output and such.
 
file  mysql.php
 Execute the MySQL client binary, connecting to the wiki's DB.
 
file  namespaceDupes.php
 Check for articles to fix after adding/deleting namespaces.
 
file  NotRecursiveIterator.php
 Wraps a non-recursive iterator with methods to be recursive without children.
 
file  nukeNS.php
 Remove pages with only 1 revision from the MediaWiki namespace, without flooding recent changes, delete logs, etc.
 
file  nukePage.php
 Erase a page record from the database Irreversible (can't use standard undelete) and does not update link tables.
 
file  orphans.php
 Look for 'orphan' revisions hooked to pages which don't exist and 'childless' pages with no revisions.
 
file  orphanStats.php
 Show some statistics on the blob_orphans table, created with trackBlobs.php.
 
file  pageExists.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  parse.php
 Parse some wikitext.
 
file  patchSql.php
 Manually run an SQL patch outside of the general updaters.
 
file  populateArchiveRevId.php
 Populate ar_rev_id in pre-1.5 rows.
 
file  populateBacklinkNamespace.php
 Optional upgrade script to populate *_from_namespace fields.
 
file  populateCategory.php
 Populate the category table.
 
file  populateContentModel.php
 Populate the page_content_model and {rev,ar}_content_{model,format} fields.
 
file  populateContentTables.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  populateExternallinksIndex60.php
 Populates the el_index_60 field in the externallinks table.
 
file  populateFilearchiveSha1.php
 Optional upgrade script to populate the fa_sha1 field.
 
file  populateImageSha1.php
 Optional upgrade script to populate the img_sha1 field.
 
file  populateInterwiki.php
 Maintenance script that populates the interwiki table with list of sites from a source wiki, such as English Wikipedia.
 
file  populateIpChanges.php
 Find all revisions by logged out users and copy the rev_id, rev_timestamp, and a hex representation of rev_user_text to the new ip_changes table.
 
file  populateLogSearch.php
 Makes the required database updates for populating the log_search table retroactively.
 
file  populateLogUsertext.php
 Makes the required database updates for Special:ProtectedPages to show all protected pages, even ones before the page restrictions schema change.
 
file  populateParentId.php
 Makes the required database updates for rev_parent_id to be of any use.
 
file  populatePPSortKey.php
 Populate the pp_sortkey fields in the page_props table.
 
file  populateRecentChangesSource.php
 Upgrade script to populate the rc_source field.
 
file  populateRevisionLength.php
 Populates the rev_len and ar_len fields when they are NULL.
 
file  populateRevisionSha1.php
 Fills the rev_sha1 and ar_sha1 columns of revision and archive tables for revisions created before MW 1.19.
 
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  protect.php
 Protect or unprotect a page.
 
file  pruneFileCache.php
 Prune file cache for pages, objects, resources, etc.
 
file  purgeChangedFiles.php
 Scan the logging table and purge affected files within a timeframe.
 
file  purgeChangedPages.php
 Send purge requests for pages edited in date range to squid/varnish.
 
file  purgeList.php
 Send purge requests for listed pages to squid.
 
file  purgeModuleDeps.php
 Remove all cache entries for ResourceLoader modules from the database.
 
file  purgeOldText.php
 Purge old text records from the database.
 
file  purgePage.php
 Purges a specific page.
 
file  purgeParserCache.php
 Remove old objects from the parser cache.
 
file  reassignEdits.php
 Reassign edits from a user or IP address to another user.
 
file  rebuildall.php
 Rebuild link tracking tables from scratch.
 
file  rebuildFileCache.php
 Build file cache for content pages.
 
file  rebuildImages.php
 Update image metadata records.
 
file  rebuildLocalisationCache.php
 Rebuild the localisation cache.
 
file  rebuildmessages.php
 Purge all languages from the message cache.
 
file  rebuildrecentchanges.php
 Rebuild recent changes from scratch.
 
file  rebuildtextindex.php
 Rebuild search index table from scratch.
 
file  recompressTracked.php
 Moves blobs indexed by trackBlobs.php to a specified list of destination clusters, and recompresses them in the process.
 
file  recountCategories.php
 Refreshes category counts.
 
file  refreshExternallinksIndex.php
 Refresh the externallinks table el_index and el_index_60 from el_to.
 
file  refreshFileHeaders.php
 Refresh file headers from metadata.
 
 
 
file  removeUnusedAccounts.php
 Remove unused user accounts from the database An unused account is one which has made no edits.
 
file  renameDbPrefix.php
 Change the prefix of database tables.
 
file  renderDump.php
 Take page text out of an XML dump file and render basic HTML out to files.
 
file  resetAuthenticationThrottle.php
 Reset login/signup throttling for a specified user and/or IP.
 
file  resetPageRandom.php
 Resets the page_random field for articles in the provided time range.
 
file  resetUserEmail.php
 Reset user email.
 
file  resetUserTokens.php
 Reset the user_token for all users on the wiki.
 
file  resolveStubs.php
 Convert history stubs that point to an external row to direct external pointers.
 
file  rollbackEdits.php
 Rollback all edits by a given user or IP provided they're the most recent edit (just like real rollback)
 
file  RowUpdateGenerator.php
 Interface for generating updates to single rows in the database.
 
file  runBatchedQuery.php
 Run a database query in batches and wait for replica DBs.
 
file  runJobs.php
 Run pending jobs.
 
file  runScript.php
 Convenience maintenance script wrapper, useful for scripts or extensions located outside of standard locations.
 
file  shell.php
 Modern interactive shell within the MediaWiki engine.
 
file  showJobs.php
 Report number of jobs currently waiting in master database.
 
file  showSiteStats.php
 Show the cached statistics.
 
file  sql.php
 Send SQL queries from the specified file to the database, performing variable replacement along the way.
 
file  sqlite.inc
 Helper class for sqlite-specific scripts.
 
file  sqlite.php
 Performs some operations specific to SQLite database backend.
 
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  syncFileBackend.php
 Sync one file backend to another based on the journal of later.
 
file  testCompression.php
 Test revision text compression and decompression.
 
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
 Provide a better count of the number of articles and update the site statistics table, if desired.
 
file  updateCollation.php
 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
 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
 Periodic off-peak updating of the search index.
 
file  updateSpecialPages.php
 Update for cached special pages.
 
file  userDupes.inc
 Helper class for update.php.
 
file  userOptions.php
 Script to change users preferences on the fly.
 
file  view.php
 Show page contents.
 
file  wrapOldPasswords.php
 Maintenance script to wrap all old-style passwords in a layered type.
 

Classes

class  AddChangeTag
 Adds a change tag to the wiki. More...
 
class  AttachLatest
 Maintenance script to correct wrong values in the page_latest field in the database. More...
 
class  BackupDumper
 
class  BackupReader
 Maintenance script that imports XML dump files into the current wiki. More...
 
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  BenchIfSwitch
 Maintenance script that benchmark if elseif... versus switch case. More...
 
class  CategoryChangesAsRdf
 Maintenance script to provide RDF representation of the recent changes in category tree. More...
 
class  ChangePassword
 Maintenance script to change the password of a given user. More...
 
class  CheckBadRedirects
 Maintenance script to check that pages marked as being redirects really are. More...
 
class  CheckImages
 Maintenance script to check images to see if they exist, are readable, etc. More...
 
class  CheckLess
 
class  CheckStorage
 Maintenance script to do various checks on external storage. More...
 
class  CheckUsernames
 Maintenance script to check that database usernames are actually valid. More...
 
class  CleanupAncientTables
 Maintenance script to cleans up old database tables, dropping old indexes and fields. More...
 
class  CleanupBlocks
 Maintenance script to clean up user blocks with user names not matching the 'user' table. More...
 
class  CleanupCaps
 Maintenance script to clean up broken page links when somebody turns on or off $wgCapitalLinks. More...
 
class  CleanupEmptyCategories
 Maintenance script to clean up empty categories in the category table. More...
 
class  CleanupImages
 Maintenance script to clean up broken, unparseable upload filenames. More...
 
class  CleanupInvalidDbKeys
 Maintenance script that cleans up invalid titles in various tables. More...
 
class  CleanupPreferences
 Maintenance script that removes bogus preferences from the database. More...
 
class  CleanupRemovedModules
 Maintenance script to remove cache entries for removed ResourceLoader modules from the database. More...
 
class  CleanupSpam
 Maintenance script to cleanup all spam from a given hostname. More...
 
class  CleanupUploadStash
 Maintenance script to remove old or broken uploads from temporary uploaded file storage and clean up associated database records. More...
 
class  CleanupUsersWithNoId
 Maintenance script that cleans up tables that have valid usernames with no user ID. More...
 
class  CleanupWatchlist
 Maintenance script to remove broken, unparseable titles in the watchlist table. More...
 
class  ClearInterwikiCache
 Maintenance script to clear the cache of interwiki prefixes for all local wikis. More...
 
class  CLIParser
 Maintenance script to parse some wikitext. More...
 
class  CommandLineInstaller
 Maintenance script to install and configure MediaWiki. More...
 
class  CompareParserCache
 
class  CompareParsers
 Maintenance script to take page text out of an XML dump file and render basic HTML out to files. More...
 
class  CompressOld
 Maintenance script that compress the text of a wiki. More...
 
class  ConvertLinks
 Maintenance script to convert from the old links schema (string->ID) to the new schema (ID->ID). More...
 
class  ConvertUserOptions
 Maintenance script to convert user options to the new user_properties table. More...
 
class  CopyFileBackend
 Copy all files in one container of one backend to another. More...
 
class  CopyJobQueue
 Copy all jobs from one job queue system to another. More...
 
class  CreateAndPromote
 Maintenance script to create an account and grant it rights. More...
 
class  CreateCommonPasswordCdb
 Maintenance script to create common password cdb database. More...
 
class  DatabaseLag
 Maintenance script to show database lag. More...
 
class  DeduplicateArchiveRevId
 Maintenance script that cleans up archive rows with duplicated ar_rev_id, both within archive and between archive and revision. More...
 
class  DeleteArchivedFiles
 Maintenance script to delete archived (non-current) files from the database. More...
 
class  DeleteArchivedRevisions
 Maintenance script to delete archived (deleted from public) revisions from the database. More...
 
class  DeleteAutoPatrolLogs
 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...
 
class  DeleteBatch
 Maintenance script to delete a batch of pages. More...
 
class  DeleteDefaultMessages
 Maintenance script that deletes all pages in the MediaWiki namespace which were last edited by "MediaWiki default". More...
 
class  DeleteEqualMessages
 Maintenance script that deletes all pages in the MediaWiki namespace of which the content is equal to the system default. More...
 
class  DeleteOldRevisions
 Maintenance script that deletes old (non-current) revisions from the database. More...
 
class  DeleteOrphanedRevisions
 Maintenance script that deletes revisions which refer to a nonexisting page. More...
 
class  DeleteSelfExternals
 Maintenance script that deletes self-references to $wgServer from the externallinks table. More...
 
class  DumpCategoriesAsRdf
 Maintenance script to provide RDF representation of the category tree. More...
 
class  DumpIterator
 Base class for interating over a dump. More...
 
class  DumpLinks
 Maintenance script that generates a plaintext link dump. More...
 
class  DumpRenderer
 Maintenance script that takes page text out of an XML dump file and render basic HTML out to files. More...
 
class  DumpRev
 Maintenance script that gets the text of a revision, resolving external storage if needed. More...
 
class  DumpUploads
 Maintenance script to dump a the list of files uploaded, for feeding to tar or similar. More...
 
class  EditCLI
 Maintenance script to make a page edit. More...
 
class  EraseArchivedFile
 Maintenance script to delete archived (non-current) files from storage. More...
 
class  FetchText
 Maintenance script used to fetch page text in a subprocess. More...
 
class  FileOpPerfTest
 Maintenance script to test fileop performance. More...
 
class  FindHooks
 Maintenance script that compares documented and actually present mismatches. More...
 
class  FixDoubleRedirects
 Maintenance script that fixes double redirects. More...
 
class  FixExtLinksProtocolRelative
 Maintenance script that fixes any entriy for protocol-relative URLs in the externallinks table. More...
 
class  FixT22757
 Maintenance script to fix T22757. More...
 
class  FixTimestamps
 Maintenance script that fixes timestamp corruption caused by one or more webservers temporarily being set to the wrong time. More...
 
class  FixUserRegistration
 Maintenance script that fixes the user_registration field. More...
 
class  ForkController
 Class for managing forking command line scripts. More...
 
class  FormatInstallDoc
 Maintenance script that formats RELEASE-NOTE file to wiki text or HTML markup. More...
 
class  GenerateJsonI18n
 Maintenance script to generate JSON i18n files from a PHP i18n file. More...
 
class  GenerateSitemap
 Maintenance script that generates a sitemap for the site. More...
 
class  GetConfiguration
 Print serialized output of MediaWiki config vars. More...
 
class  GetLagTimes
 Maintenance script that displays replication lag times. More...
 
class  GetReplicaServer
 Maintenance script that reports the hostname of a replica DB server. More...
 
class  GetTextMaint
 Maintenance script that outputs page text to stdout. More...
 
class  ImageBuilder
 Maintenance script to update image metadata records. More...
 
class  ImportSiteScripts
 Maintenance script to import all scripts in the MediaWiki namespace from a local site. More...
 
class  ImportTextFiles
 Maintenance script which reads in text files and imports their content to a page of the wiki. More...
 
class  InitSiteStats
 Maintenance script to re-initialise or update the site statistics table. More...
 
class  InitUserPreference
 Initialize a user preference based on the value of another preference. More...
 
class  InvalidateUserSesssions
 Invalidate the sessions of certain users on the wiki. More...
 
class  JSParseHelper
 Maintenance script to test JavaScript validity using JsMinPlus' parser. More...
 
class  Maintenance
 Abstract maintenance class for quickly writing and churning out maintenance scripts with minimal effort. More...
 
class  MakeTestEdits
 Make test edits for a user to populate a test wiki. More...
 
class  ManageForeignResources
 Manage foreign resources registered with ResourceLoader. More...
 
class  ManageJobs
 Maintenance script that handles managing job queue admin tasks (re-push, delete, ...) More...
 
class  McTest
 Maintenance script that makes several 'set', 'incr' and 'get' requests on every memcached server and shows a report. More...
 
class  MergeMessageFileList
 Maintenance script that merges $wgExtensionMessagesFiles from various extensions to produce a single array containing all message files. More...
 
class  MigrateActors
 Maintenance script that migrates actors from pre-1.31 columns to the 'actor' table. More...
 
class  MigrateArchiveText
 Maintenance script that migrates archive.ar_text and ar_flags to text storage. More...
 
class  MigrateComments
 Maintenance script that migrates comments from pre-1.30 columns to the 'comment' table. More...
 
class  MigrateFileRepoLayout
 Copy all files in FileRepo to an originals container using SHA1 paths. More...
 
class  MigrateImageCommentTemp
 Maintenance script that merges image_comment_temp into the image table. More...
 
class  MigrateUserGroup
 Maintenance script that re-assigns users from an old group to a new one. More...
 
class  MinifyScript
 Maintenance script that minifies a file or set of files. More...
 
class  MoveBatch
 Maintenance script to move a batch of pages. More...
 
class  MWDocGen
 Maintenance script that builds doxygen documentation. More...
 
class  MwSql
 Maintenance script that sends SQL queries from the specified file to the database. More...
 
class  MysqlMaintenance
 
class  NamespaceDupes
 Maintenance script that checks for articles to fix after adding/deleting namespaces. More...
 
class  NukeNS
 Maintenance script that removes pages with only one revision from the MediaWiki namespace. More...
 
class  NukePage
 Maintenance script that erases a page record from the database. More...
 
class  OrderedStreamingForkController
 Reads lines of work from an input stream and farms them out to multiple child streams. More...
 
class  Orphans
 Maintenance script that looks for 'orphan' revisions hooked to pages which don't exist and 'childless' pages with no revisions. More...
 
class  OrphanStats
 Maintenance script that shows some statistics on the blob_orphans table, created with trackBlobs.php. More...
 
class  PageExists
 
class  PatchSql
 Maintenance script that manually runs an SQL patch outside of the general updaters. More...
 
class  PopulateArchiveRevId
 Maintenance script that populares archive.ar_rev_id in old rows. More...
 
class  PopulateBacklinkNamespace
 Maintenance script to populate *_from_namespace fields. More...
 
class  PopulateCategory
 Maintenance script to populate the category table. More...
 
class  PopulateChangeTagDef
 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...
 
class  PopulateExternallinksIndex60
 Maintenance script that populates the el_index_60 field in the externallinks table. More...
 
class  PopulateFilearchiveSha1
 Maintenance script to populate the fa_sha1 field. More...
 
class  PopulateImageSha1
 Maintenance script to populate the img_sha1 field. More...
 
class  PopulateIpChanges
 Maintenance script that will find all rows in the revision table where rev_user = 0 (user is an IP), and copy relevant fields to ip_changes so that historical data will be available when querying for IP ranges. More...
 
class  PopulateLogSearch
 Maintenance script that makes the required database updates for populating the log_search table retroactively. More...
 
class  PopulateLogUsertext
 Maintenance script that makes the required database updates for Special:ProtectedPages to show all protected pages. More...
 
class  PopulateParentId
 Maintenance script that makes the required database updates for rev_parent_id to be of any use. More...
 
class  PopulateRecentChangesSource
 Maintenance script to populate the rc_source field. More...
 
class  PopulateRevisionLength
 Maintenance script that populates the rev_len and ar_len fields when they are NULL. More...
 
class  PopulateRevisionSha1
 Maintenance script that fills the rev_sha1 and ar_sha1 columns of revision and archive tables for revisions created before MW 1.19. More...
 
class  PreprocessDump
 Maintenance script that takes page text out of an XML dump file and preprocesses it to obj. More...
 
class  Protect
 Maintenance script that protects or unprotects a page. More...
 
class  PruneFileCache
 Maintenance script that prunes file cache for pages, objects, resources, etc. More...
 
class  PurgeChangedFiles
 Maintenance script that scans the deletion log and purges affected files within a timeframe. More...
 
class  PurgeChangedPages
 Maintenance script that sends purge requests for pages edited in a date range to squid/varnish. More...
 
class  PurgeList
 Maintenance script that sends purge requests for listed pages to squid. More...
 
class  PurgeModuleDeps
 Maintenance script to purge the module_deps database cache table. More...
 
class  PurgeOldText
 Maintenance script that purges old text records from the database. More...
 
class  PurgePage
 Maintenance script that purges a list of pages passed through stdin. More...
 
class  PurgeParserCache
 Maintenance script to remove old objects from the parser cache. More...
 
class  ReassignEdits
 Maintenance script that reassigns edits from a user or IP address to another user. More...
 
class  RebuildAll
 Maintenance script that rebuilds link tracking tables from scratch. More...
 
class  RebuildFileCache
 Maintenance script that builds file cache for content pages. More...
 
class  RebuildLocalisationCache
 Maintenance script to rebuild the localisation cache. More...
 
class  RebuildMessages
 Maintenance script that purges all languages from the message cache. More...
 
class  RebuildRecentchanges
 Maintenance script that rebuilds recent changes from scratch. More...
 
class  RebuildTextIndex
 Maintenance script that rebuilds search index table from scratch. More...
 
class  RecompressTracked
 Maintenance script that moves blobs indexed by trackBlobs.php to a specified list of destination clusters, and recompresses them in the process. More...
 
class  RecountCategories
 Maintenance script that refreshes category membership counts in the category table. More...
 
class  RefreshExternallinksIndex
 Maintenance script that refreshes the externallinks table el_index and el_index_60 from el_to. More...
 
class  RefreshFileHeaders
 Maintenance script to refresh file headers from metadata. More...
 
class  RefreshImageMetadata
 Maintenance script to refresh image metadata fields. More...
 
class  RefreshLinks
 Maintenance script to refresh link tables. More...
 
class  RemoveUnusedAccounts
 Maintenance script that removes unused user accounts from the database. More...
 
class  RenameDbPrefix
 Maintenance script that changes the prefix of database tables. More...
 
class  ResetAuthenticationThrottle
 Reset login/signup throttling for a specified user and/or IP. More...
 
class  ResetPageRandom
 Maintenance script that resets page_random over a time range. More...
 
class  ResetUserEmail
 Maintenance script that resets user email. More...
 
class  ResetUserTokens
 Maintenance script to reset the user_token for all users on the wiki. More...
 
class  RollbackEdits
 Maintenance script to rollback all edits by a given user or IP provided they're the most recent edit. More...
 
class  RunBatchedQuery
 Maintenance script to run a database query in batches and wait for replica DBs. More...
 
class  RunJobs
 Maintenance script that runs pending jobs. More...
 
class  SearchDump
 Maintenance script that runs a regex in the revisions from a dump. More...
 
class  SevenZipStream
 Stream wrapper around 7za filter program. More...
 
class  ShowJobs
 Maintenance script that reports the number of jobs currently waiting in master database. More...
 
class  ShowSiteStats
 Maintenance script to show the cached statistics. More...
 
class  Sqlite
 This class contains code common to different SQLite-related maintenance scripts. More...
 
class  SqliteMaintenance
 Maintenance script that performs some operations specific to SQLite database backend. More...
 
class  SyncFileBackend
 Maintenance script that syncs one file backend to another based on the journal of later. More...
 
class  TableCleanup
 Generic class to cleanup a database table. More...
 
class  TextPassDumper
 
class  TitleCleanup
 Maintenance script to clean up broken, unparseable titles. More...
 
class  UpdateArticleCount
 Maintenance script to provide a better count of the number of articles and update the site statistics table, if desired. More...
 
class  UpdateCollation
 Maintenance script that will find all rows in the categorylinks table whose collation is out-of-date. More...
 
class  UpdateDoubleWidthSearch
 Maintenance script to normalize double-byte Latin UTF-8 characters. More...
 
class  UpdateLogging
 Maintenance script that upgrade for log_id/log_deleted fields in a replication-safe way. More...
 
class  UpdateMediaWiki
 Maintenance script to run database schema updates. More...
 
class  UpdateRestrictions
 Maintenance script that updates page_restrictions table from old page_restriction column. More...
 
class  UpdateSearchIndex
 Maintenance script for periodic off-peak updating of the search index. More...
 
class  UpdateSpecialPages
 Maintenance script to update cached special pages. More...
 
class  UserDupes
 Look for duplicate user table entries and optionally prune them. More...
 
class  UserOptionsMaintenance
 
class  ViewCLI
 Maintenance script to show page contents. More...
 
class  WrapOldPasswords
 Maintenance script to wrap all passwords of a certain type in a specified layered type that wraps around the old type. More...
 

Detailed Description