MediaWiki  1.23.2
maintenance Directory Reference

Directories

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

Files

file  7zip.inc [code]
 7z stream wrapper
 
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  backupTextPass.inc [code]
 BackupDumper that postprocesses XML dumps from dumpBackup.php to add page text.
 
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  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  cleanupCaps.php [code]
 Clean up broken page links when somebody turns on $wgCapitalLinks.
 
file  cleanupImages.php [code]
 Clean up broken, unparseable upload filenames.
 
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  clearCacheStats.php [code]
 Removes all statistics tracking from the cache.
 
file  clearInterwikiCache.php [code]
 Clear the cache of interwiki prefixes for all local wikis.
 
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  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  deleteArchivedFiles.inc [code]
 Core functions for deleteArchivedFiles.php.
 
file  deleteArchivedFiles.php [code]
 Delete archived (non-current) files from the database.
 
file  deleteArchivedRevisions.inc [code]
 Helper methods for the deleteArchivedRevisions.php maintenance script.
 
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  deleteImageMemcached.php [code]
 Delete image information from the object cache.
 
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  deleteRevision.php [code]
 Delete one or more revisions by moving them to the archive table.
 
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  dumpIterator.php [code]
 Take page text out of an XML dump file and perform some operation on it.
 
 
file  dumpSisterSites.php [code]
 Quickie page name dump script for SisterSites usage.
 
file  dumpTextPass.php [code]
 Script 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  fetchText.php [code]
 Communications protocol.
 
file  fileOpPerfTest.php [code]
 Test for fileop performance.
 
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]
 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  fixSlaveDesync.php [code]
 Fix erroneous page_latest values due to slave desynchronisation.
 
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  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  getSlaveServer.php [code]
 Reports the hostname of a slave server.
 
file  getText.php [code]
 Outputs page text to stdout.
 
file  importDump.php [code]
 Import XML dump files into the current wiki.
 
file  importImages.inc [code]
 Support functions for the importImages.php script.
 
file  importImages.php [code]
 Import one or more images from the local file system into the wiki without using the web-based interface.
 
file  importSiteScripts.php [code]
 Import all scripts in the MediaWiki namespace from a local site.
 
file  importTextFile.php [code]
 Create or edit 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  initSiteStats.php [code]
 Re-initialise or update the site statistics table.
 
file  install.php [code]
 CLI-based MediaWiki installation and configuration.
 
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  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  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]
 Doxygen filter to show correct member variable types in documentation.
 
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  nextJobDB.php [code]
 Pick a database that has pending jobs.
 
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  parse.php [code]
 Parse some wikitext.
 
file  patchSql.php [code]
 Manually run an SQL patch outside of the general updaters.
 
file  populateCategory.php [code]
 Populate the category table.
 
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  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  populateRecentChangesSource.php [code]
 Upgrade script to populate the rc_source field.
 
file  populateRevisionLength.php [code]
 Populates the rev_len and ar_len fields for old revisions created before MW 1.10.
 
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  purgeOldText.inc [code]
 Support functions for cleaning up redundant text records.
 
file  purgeOldText.php [code]
 Purge old text records from the database.
 
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  rebuildtextindex.php [code]
 Rebuild search index table from scratch.
 
file  refreshFileHeaders.php [code]
 Refresh file headers from metadata.
 
 
 
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  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 slaves.
 
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  showCacheStats.php [code]
 Show statistics from the cache.
 
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  updateDoubleWidthSearch.php [code]
 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]
 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  waitForSlave.php [code]
 Wait until slave lag goes under a certain value.