MediaWiki  1.30.0
maintenance Directory Reference

Directories

directory  archives
 
directory  benchmarks
 
directory  dev
 
directory  hhvm
 
directory  language
 
directory  oracle
 
directory  storage
 
directory  term
 

Files

file  7zip.inc [code]
 7z stream wrapper
 
file  addRFCandPMIDInterwiki.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  addSite.php [code]
 
file  attachLatest.php [code]
 Corrects wrong values in the page_latest field in the database.
 
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  checkBadRedirects.php [code]
 Check that pages marked as being redirects really are.
 
file  checkComposerLockUpToDate.php [code]
 
file  checkImages.php [code]
 Check images to see if they exist, are readable, etc.
 
file  checkLess.php [code]
 Checks LESS files in known resources for errors.
 
file  checkSyntax.php [code]
 Check syntax of all PHP files in MediaWiki.
 
file  checkUsernames.php [code]
 Check that database usernames are actually valid.
 
file  cleanupAncientTables.php [code]
 Cleans up old database tables, dropping old indexes and fields.
 
file  cleanupBlocks.php [code]
 Cleans up user blocks with user names not matching the 'user' table.
 
file  cleanupCaps.php [code]
 Clean up broken page links when somebody turns on $wgCapitalLinks.
 
file  cleanupEmptyCategories.php [code]
 Clean up empty categories in the category table.
 
file  cleanupImages.php [code]
 Clean up broken, unparseable upload filenames.
 
file  cleanupInvalidDbKeys.php [code]
 Cleans up invalid titles in various tables.
 
file  cleanupPreferences.php [code]
 Remove hidden preferences from the database.
 
file  cleanupRemovedModules.php [code]
 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 class to cleanup a database table.
 
file  cleanupTitles.php [code]
 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]
 Remove broken, unparseable titles in the watchlist table.
 
file  clearInterwikiCache.php [code]
 Clear the cache of interwiki prefixes for all local wikis.
 
file  CodeCleanerGlobalsPass.inc [code]
 Psy CodeCleaner to allow PHP super globals.
 
file  commandLine.inc [code]
 Backwards-compatibility wrapper for old-style maintenance scripts.
 
file  compareParserCache.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  compareParsers.php [code]
 Take page text out of an XML dump file and render basic HTML out to files.
 
file  convertExtensionToRegistration.php [code]
 
 
file  convertUserOptions.php [code]
 Convert user options to the new user_properties table.
 
file  copyFileBackend.php [code]
 Copy all files in some containers of one backend to another.
 
file  copyJobQueue.php [code]
 Copy all jobs from one job queue system to another.
 
file  createAndPromote.php [code]
 Creates an account and grants it rights.
 
file  createCommonPasswordCdb.php [code]
 Create serialized/commonpasswords.cdb.
 
file  deleteArchivedFiles.php [code]
 Delete archived (non-current) files from the database.
 
file  deleteArchivedRevisions.php [code]
 Delete archived (deleted from public) revisions from the database.
 
file  deleteBatch.php [code]
 Deletes a batch of pages.
 
file  deleteDefaultMessages.php [code]
 Deletes all pages in the MediaWiki namespace which were last edited by "MediaWiki default".
 
file  deleteEqualMessages.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  deleteOldRevisions.php [code]
 Delete old (non-current) revisions from the database.
 
file  deleteOrphanedRevisions.php [code]
 Delete revisions which refer to a nonexisting page.
 
file  deleteSelfExternals.php [code]
 Delete self-references to $wgServer from the externallinks table.
 
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  dumpCategoriesAsRdf.php [code]
 
file  dumpIterator.php [code]
 Take page text out of an XML dump file and perform some operation on it.
 
 
file  dumpTextPass.php [code]
 BackupDumper that postprocesses XML dumps from dumpBackup.php to add page text.
 
file  dumpUploads.php [code]
 Dump a the list of files uploaded, for feeding to tar or similar.
 
file  edit.php [code]
 Make a page edit.
 
file  eraseArchivedFile.php [code]
 Delete archived (non-current) files from storage.
 
file  eval.php [code]
 This script lets a command-line user start up the wiki engine and then poke about by issuing PHP commands directly.
 
file  exportSites.php [code]
 
file  fetchText.php [code]
 Communications protocol.
 
file  fileOpPerfTest.php [code]
 Test for fileop performance.
 
file  findDeprecated.php [code]
 Maintenance script that recursively scans MediaWiki's PHP source tree for deprecated functions and methods and pretty-prints the results.
 
file  findHooks.php [code]
 Simple script that try to find documented hook and hooks actually in the code and show what's missing.
 
file  findMissingFiles.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  findOrphanedFiles.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  fixDefaultJsonContentPages.php [code]
 Fix instances of pre-existing JSON pages.
 
file  fixDoubleRedirects.php [code]
 Fix double redirects.
 
file  fixExtLinksProtocolRelative.php [code]
 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  fixTimestamps.php [code]
 Fixes timestamp corruption caused by one or more webservers temporarily being set to the wrong time.
 
file  fixUserRegistration.php [code]
 Fix the user_registration field.
 
file  formatInstallDoc.php [code]
 Format RELEASE-NOTE file to wiki text or HTML markup.
 
file  generateJsonI18n.php [code]
 Convert a PHP messages file to a set of JSON messages files.
 
file  generateLocalAutoload.php [code]
 
file  generateSitemap.php [code]
 Creates a sitemap for the site.
 
file  getConfiguration.php [code]
 Print serialized output of MediaWiki config vars.
 
file  getLagTimes.php [code]
 Display replication lag times.
 
file  getReplicaServer.php [code]
 Reports the hostname of a replica DB server.
 
file  getSlaveServer.php [code]
 
file  getText.php [code]
 Outputs page text to stdout.
 
file  importDump.php [code]
 Import XML dump files into the current wiki.
 
file  importImages.php [code]
 Import one or more images from the local file system into the wiki without using the web-based interface.
 
file  importSites.php [code]
 
file  importSiteScripts.php [code]
 Import all scripts in the MediaWiki namespace from a local site.
 
file  importTextFiles.php [code]
 Import pages from text files.
 
file  initEditCount.php [code]
 Init the user_editcount database field based on the number of rows in the revision table.
 
file  initSiteStats.php [code]
 Re-initialise or update the site statistics table.
 
file  initUserPreference.php [code]
 
file  install.php [code]
 CLI-based MediaWiki installation and configuration.
 
file  invalidateUserSessions.php [code]
 Invalidate the sessions of certain users on the wiki.
 
file  jsparse.php [code]
 Test JavaScript validity parses using jsmin+'s parser.
 
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  makeTestEdits.php [code]
 Make test edits for a user to populate a test wiki.
 
file  manageJobs.php [code]
 Maintenance script that handles managing job queue admin tasks.
 
file  mcc.php [code]
 memcached diagnostic tool
 
file  mctest.php [code]
 Makes several 'set', 'incr' and 'get' requests on every memcached server and shows a report.
 
file  mergeMessageFileList.php [code]
 Merge $wgExtensionMessagesFiles from various extensions to produce a single array containing all message files.
 
file  migrateComments.php [code]
 Migrate comments from pre-1.30 columns to the 'comment' table.
 
file  migrateFileRepoLayout.php [code]
 Copy all files in FileRepo to an originals container using SHA1 paths.
 
file  migrateUserGroup.php [code]
 Re-assign users from an old group to a new one.
 
file  minify.php [code]
 Minify a file or set of files.
 
file  moveBatch.php [code]
 Move a batch of pages.
 
file  mwdoc-filter.php [code]
 
file  mwdocgen.php [code]
 Generate class and file reference documentation for MediaWiki using doxygen.
 
file  namespaceDupes.php [code]
 Check for articles to fix after adding/deleting namespaces.
 
file  nukeNS.php [code]
 Remove pages with only 1 revision from the MediaWiki namespace, without flooding recent changes, delete logs, etc.
 
file  nukePage.php [code]
 Erase a page record from the database Irreversible (can't use standard undelete) and does not update link tables.
 
file  orphans.php [code]
 Look for 'orphan' revisions hooked to pages which don't exist and 'childless' pages with no revisions.
 
file  pageExists.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  parse.php [code]
 Parse some wikitext.
 
file  patchSql.php [code]
 Manually run an SQL patch outside of the general updaters.
 
file  populateBacklinkNamespace.php [code]
 Optional upgrade script to populate *_from_namespace fields.
 
file  populateCategory.php [code]
 Populate the category table.
 
file  populateContentModel.php [code]
 Populate the page_content_model and {rev,ar}_content_{model,format} fields.
 
file  populateFilearchiveSha1.php [code]
 Optional upgrade script to populate the fa_sha1 field.
 
file  populateImageSha1.php [code]
 Optional upgrade script to populate the img_sha1 field.
 
file  populateInterwiki.php [code]
 Maintenance script that populates the interwiki table with list of sites from a source wiki, such as English Wikipedia.
 
file  populateIpChanges.php [code]
 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 [code]
 Makes the required database updates for populating the log_search table retroactively.
 
file  populateLogUsertext.php [code]
 Makes the required database updates for Special:ProtectedPages to show all protected pages, even ones before the page restrictions schema change.
 
file  populateParentId.php [code]
 Makes the required database updates for rev_parent_id to be of any use.
 
file  populatePPSortKey.php [code]
 Populate the pp_sortkey fields in the page_props table.
 
file  populateRecentChangesSource.php [code]
 Upgrade script to populate the rc_source field.
 
file  populateRevisionLength.php [code]
 Populates the rev_len and ar_len fields when they are NULL.
 
file  populateRevisionSha1.php [code]
 Fills the rev_sha1 and ar_sha1 columns of revision and archive tables for revisions created before MW 1.19.
 
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]
 Protect or unprotect a page.
 
file  pruneFileCache.php [code]
 Prune file cache for pages, objects, resources, etc.
 
file  purgeChangedFiles.php [code]
 Scan the logging table and purge affected files within a timeframe.
 
file  purgeChangedPages.php [code]
 Send purge requests for pages edited in date range to squid/varnish.
 
file  purgeList.php [code]
 Send purge requests for listed pages to squid.
 
file  purgeModuleDeps.php [code]
 Remove all cache entries for ResourceLoader modules from the database.
 
file  purgeOldText.php [code]
 Purge old text records from the database.
 
file  purgePage.php [code]
 Purges a specific page.
 
file  purgeParserCache.php [code]
 Remove old objects from the parser cache.
 
file  README [code]
 
file  reassignEdits.php [code]
 Reassign edits from a user or IP address to another user.
 
file  rebuildall.php [code]
 Rebuild link tracking tables from scratch.
 
file  rebuildFileCache.php [code]
 Build file cache for content pages.
 
file  rebuildImages.php [code]
 Update image metadata records.
 
file  rebuildLocalisationCache.php [code]
 Rebuild the localisation cache.
 
file  rebuildmessages.php [code]
 Purge all languages from the message cache.
 
file  rebuildrecentchanges.php [code]
 Rebuild recent changes from scratch.
 
file  rebuildSitesCache.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  rebuildtextindex.php [code]
 Rebuild search index table from scratch.
 
file  recountCategories.php [code]
 Refreshes category counts.
 
file  refreshFileHeaders.php [code]
 Refresh file headers from metadata.
 
 
 
file  removeInvalidEmails.php [code]
 
file  removeUnusedAccounts.php [code]
 Remove unused user accounts from the database An unused account is one which has made no edits.
 
file  renameDbPrefix.php [code]
 Change the prefix of database tables.
 
file  renderDump.php [code]
 Take page text out of an XML dump file and render basic HTML out to files.
 
file  resetUserEmail.php [code]
 Reset user email.
 
file  resetUserTokens.php [code]
 Reset the user_token for all users on the wiki.
 
file  rollbackEdits.php [code]
 Rollback all edits by a given user or IP provided they're the most recent edit (just like real rollback)
 
file  runBatchedQuery.php [code]
 Run a database query in batches and wait for replica DBs.
 
file  runJobs.php [code]
 Run pending jobs.
 
file  runScript.php [code]
 Convenience maintenance script wrapper, useful for scripts or extensions located outside of standard locations.
 
file  shell.php [code]
 Modern interactive shell within the MediaWiki engine.
 
file  showJobs.php [code]
 Report number of jobs currently waiting in master database.
 
file  showSiteStats.php [code]
 Show the cached statistics.
 
file  sql.php [code]
 Send SQL queries from the specified file to the database, performing variable replacement along the way.
 
file  sqlite.inc [code]
 Helper class for sqlite-specific scripts.
 
file  sqlite.php [code]
 Performs some operations specific to SQLite database backend.
 
file  syncFileBackend.php [code]
 Sync one file backend to another based on the journal of later.
 
file  tidyUpBug37714.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]
 Provide a better count of the number of articles and update the site statistics table, if desired.
 
file  updateCollation.php [code]
 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  updateCredits.php [code]
 
file  updateDoubleWidthSearch.php [code]
 Normalize double-byte latin UTF-8 characters.
 
file  updateExtensionJsonSchema.php [code]
 
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]
 Periodic off-peak updating of the search index.
 
file  updateSpecialPages.php [code]
 Update for cached special pages.
 
file  userDupes.inc [code]
 Helper class for update.php.
 
file  userOptions.inc [code]
 Helper class for userOptions.php script.
 
file  userOptions.php [code]
 Script to change users preferences on the fly.
 
file  validateRegistrationFile.php [code]
 
file  view.php [code]
 Show page contents.
 
file  wrapOldPasswords.php [code]
 Maintenance script to wrap all old-style passwords in a layered type.