|  | Up one level |  | 
|  | archives/ 
 |  | 
|  | benchmarks/ 
 |  | 
|  | dev/ 
 |  | 
|  | dictionary/ 
 |  | 
|  | hiphop/ 
 |  | 
|  | jsduck/ 
 |  | 
|  | language/ 
 |  | 
|  | locking/ 
 |  | 
|  | mssql/ 
 |  | 
|  | oracle/ 
 |  | 
|  | postgres/ 
 |  | 
|  | resources/ 
 |  | 
|  | sqlite/ 
 |  | 
|  | storage/ 
 |  | 
|  | term/ 
 |  | 
|  | 7zip.inc                        [source] [96 lines] | 7z stream wrapper Copyright © 2005 Brion Vibber  https://www.mediawiki.org/ | 
|  | Doxyfile                        [source] [369 lines] |  | 
|  | Maintenance.php                 [source] [1335 lines] | 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. | 
|  | Makefile                        [source] [19 lines] |  | 
|  | README                          [source] [106 lines] |  | 
|  | attachLatest.php                [source] [92 lines] | Corrects wrong values in the `page_latest` field in the database. Copyright © 2005 Brion Vibber  https://www.mediawiki.org/ | 
|  | backup.inc                      [source] [398 lines] | Base classes for database dumpers Copyright © 2005 Brion Vibber  https://www.mediawiki.org/ | 
|  | backupPrefetch.inc              [source] [218 lines] | Helper class for the --prefetch option of dumpTextPass.php Copyright © 2005 Brion Vibber  https://www.mediawiki.org/ | 
|  | backupTextPass.inc              [source] [854 lines] | BackupDumper that postprocesses XML dumps from dumpBackup.php to add page text Copyright (C) 2005 Brion Vibber  https://www.mediawiki.org/ | 
|  | cdb.php                         [source] [130 lines] | cdb inspector tool | 
|  | changePassword.php              [source] [65 lines] | Change the password of a given user Copyright © 2005, Ævar Arnfjörð Bjarmason | 
|  | checkBadRedirects.php           [source] [64 lines] | Check that pages marked as being redirects really are. 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. | 
|  | checkImages.php                 [source] [90 lines] | Check images to see if they exist, are readable, etc. 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. | 
|  | checkLess.php                   [source] [56 lines] | Checks LESS files in known resources for errors 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. | 
|  | checkSyntax.php                 [source] [392 lines] | Check syntax of all PHP files in MediaWiki 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. | 
|  | checkUsernames.php              [source] [69 lines] | Check that database usernames are actually valid. 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. | 
|  | cleanupAncientTables.php        [source] [114 lines] | Cleans up old database tables, dropping old indexes and fields. 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. | 
|  | cleanupCaps.php                 [source] [109 lines] | Clean up broken page links when somebody turns on $wgCapitalLinks. Usage: php cleanupCaps.php [--dry-run] Options: --dry-run  don't actually try moving them | 
|  | cleanupImages.php               [source] [228 lines] | Clean up broken, unparseable upload filenames. Usage: php cleanupImages.php [--fix] Options: --fix  Actually clean up titles; otherwise just checks for them | 
|  | cleanupPreferences.php          [source] [52 lines] | Remove hidden preferences from the database. 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. | 
|  | cleanupRemovedModules.php       [source] [100 lines] | Remove cache entries for removed ResourceLoader modules from the database. 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. | 
|  | cleanupSpam.php                 [source] [160 lines] | Cleanup all spam from a given hostname. 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. | 
|  | cleanupTable.inc                [source] [181 lines] | Generic class to cleanup a database table. 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. | 
|  | cleanupTitles.php               [source] [192 lines] | Clean up broken, unparseable titles. Usage: php cleanupTitles.php [--fix] Options: --fix  Actually clean up titles; otherwise just checks for them | 
|  | cleanupUploadStash.php          [source] [155 lines] | Remove old or broken uploads from temporary uploaded file storage, clean up associated database records Copyright © 2011, Wikimedia Foundation | 
|  | cleanupWatchlist.php            [source] [99 lines] | Remove broken, unparseable titles in the watchlist table. Usage: php cleanupWatchlist.php [--fix] Options: --fix  Actually remove entries; without will only report. | 
|  | clearCacheStats.php             [source] [60 lines] | Removes all statistics tracking from the cache. 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. | 
|  | clearInterwikiCache.php         [source] [58 lines] | Clear the cache of interwiki prefixes for all local wikis. 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. | 
|  | commandLine.inc                 [source] [66 lines] | Backwards-compatibility wrapper for old-style maintenance scripts. | 
|  | compareParserCache.php          [source] [104 lines] | 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. | 
|  | compareParsers.php              [source] [189 lines] | Take page text out of an XML dump file and render basic HTML out to files. This is *NOT* suitable for publishing or offline use; it's intended for running comparative tests of parsing behavior using real-world data. Templates etc are pulled from the local wiki database, not from the dump. | 
|  | convertLinks.php                [source] [306 lines] | Convert from the old links schema (string->ID) to the new schema (ID->ID). 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. | 
|  | convertUserOptions.php          [source] [121 lines] | Convert user options to the new `user_properties` table. 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. | 
|  | copyFileBackend.php             [source] [382 lines] | Copy all files in some containers of one backend to another. 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. | 
|  | copyJobQueue.php                [source] [98 lines] | Copy all jobs from one job queue system to another. 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. | 
|  | createAndPromote.php            [source] [123 lines] | Creates an account and grants it rights. 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. | 
|  | deleteArchivedFiles.inc         [source] [84 lines] | Core functions for deleteArchivedFiles.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. | 
|  | deleteArchivedFiles.php         [source] [59 lines] | Delete archived (non-current) files from the database Based on deleteOldRevisions.php by Rob Church. | 
|  | deleteArchivedRevisions.inc     [source] [61 lines] | Helper methods for the deleteArchivedRevisions.php maintenance script. 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. | 
|  | deleteArchivedRevisions.php     [source] [64 lines] | Delete archived (deleted from public) revisions from the database Shamelessly stolen from deleteOldRevisions.php by Rob Church :) | 
|  | deleteBatch.php                 [source] [126 lines] | Deletes a batch of pages. Usage: php deleteBatch.php [-u ] [-r ] [-i ] [listfile] where [listfile] is a file where each line contains the title of a page to be deleted, standard input is used if listfile is not given.  is the username  is the delete reason  is the number of seconds to sleep for after each delete 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. | 
|  | deleteDefaultMessages.php       [source] [90 lines] | Deletes all pages in the MediaWiki namespace which were last edited by "MediaWiki default". 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. | 
|  | deleteEqualMessages.php         [source] [200 lines] | 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. | 
|  | deleteImageMemcached.php        [source] [89 lines] | Delete image information from the object cache. Usage example: php deleteImageMemcached.php --until "2005-09-05 00:00:00" --sleep 0 | 
|  | deleteOldRevisions.php          [source] [103 lines] | Delete old (non-current) revisions from the database 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. | 
|  | deleteOrphanedRevisions.php     [source] [96 lines] | Delete revisions which refer to a nonexisting page. Sometimes manual deletion done in a rush leaves crap in the database. 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. | 
|  | deleteRevision.php              [source] [111 lines] | Delete one or more revisions by moving them to the archive table. 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. | 
|  | deleteSelfExternals.php         [source] [58 lines] | Delete self-references to $wgServer from the externallinks table. 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. | 
|  | doMaintenance.php               [source] [119 lines] | We want to make this whole thing as seamless as possible to the end-user. Unfortunately, we can't do _all_ of the work in the class because A) included files are not in global scope, but in the scope of their caller, and B) MediaWiki has way too many globals. So instead we'll kinda fake it, and do the requires() inline. <3 PHP | 
|  | dumpBackup.php                  [source] [131 lines] | Script that dumps wiki pages or logging database into an XML interchange wrapper format for export or backup | 
|  | dumpIterator.php                [source] [186 lines] | Take page text out of an XML dump file and perform some operation on it. Used as a base class for CompareParsers and PreprocessDump. We implement below the simple task of searching inside a dump. Copyright © 2011 Platonides https://www.mediawiki.org/ | 
|  | dumpLinks.php                   [source] [79 lines] | Quick demo hack to generate a plaintext link dump, per the proposed wiki link database standard: http://www.usemod.com/cgi-bin/mb.pl?LinkDatabase Includes all (live and broken) intra-wiki links. Does not include interwiki or URL links. Dumps ASCII text to stdout; command-line. | 
|  | dumpSisterSites.php             [source] [62 lines] | Quickie page name dump script for SisterSites usage. http://www.eekim.com/cgi-bin/wiki.pl?SisterSites Copyright © 2006 Brion Vibber  https://www.mediawiki.org/ | 
|  | dumpTextPass.php                [source] [65 lines] | Script that postprocesses XML dumps from dumpBackup.php to add page text | 
|  | dumpUploads.php                 [source] [128 lines] | Dump a the list of files uploaded, for feeding to tar or similar. 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. | 
|  | edit.php                        [source] [103 lines] | Make a page edit. 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. | 
|  | eraseArchivedFile.php           [source] [119 lines] | Delete archived (non-current) files from storage 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. | 
|  | eval.php                        [source] [96 lines] | This script lets a command-line user start up the wiki engine and then poke about by issuing PHP commands directly. | 
|  | fetchText.php                   [source] [91 lines] | Communications protocol. This is used by dumpTextPass.php when the --spawn option is present. 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. | 
|  | fileOpPerfTest.php              [source] [150 lines] | Test for fileop performance. 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. | 
|  | findHooks.php                   [source] [294 lines] | Simple script that try to find documented hook and hooks actually in the code and show what's missing. This script assumes that: - hooks names in hooks.txt are at the beginning of a line and single quoted. - hooks names in code are the first parameter of wfRunHooks. | 
|  | findMissingFiles.php            [source] [115 lines] | 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. | 
|  | fixDoubleRedirects.php          [source] [140 lines] | Fix double redirects. Copyright © 2011 Ilmari Karonen  https://www.mediawiki.org/ | 
|  | fixExtLinksProtocolRelative.php [source] [101 lines] | 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. 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. | 
|  | fixSlaveDesync.php              [source] [246 lines] | Fix erroneous page_latest values due to slave desynchronisation. 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. | 
|  | fixTimestamps.php               [source] [129 lines] | Fixes timestamp corruption caused by one or more webservers temporarily being set to the wrong time. The time offset must be known and consistent. Start and end times (in 14-character format) restrict the search, and must bracket the damage. There must be a majority of good timestamps in the search period. 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. | 
|  | fixUserRegistration.php         [source] [71 lines] | Fix the user_registration field. In particular, for values which are NULL, set them to the date of the first edit 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. | 
|  | formatInstallDoc.php            [source] [78 lines] | Format RELEASE-NOTE file to wiki text or HTML markup. 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. | 
|  | generateJsonI18n.php            [source] [287 lines] | Convert a PHP messages file to a set of JSON messages files. Usage: php generateJsonI18n.php ExtensionName.i18n.php i18n/ | 
|  | generateSitemap.php             [source] [571 lines] | Creates a sitemap for the site. Copyright © 2005, Ævar Arnfjörð Bjarmason, Jens Frank  and Brion Vibber | 
|  | getConfiguration.php            [source] [196 lines] | Print serialized output of MediaWiki config vars. 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. | 
|  | getLagTimes.php                 [source] [62 lines] | Display replication lag times. 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. | 
|  | getSlaveServer.php              [source] [55 lines] | Reports the hostname of a slave server. 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. | 
|  | getText.php                     [source] [68 lines] | Outputs page text to stdout. Useful for command-line editing automation. Example: php getText.php "page title" | sed -e '...' | php edit.php "page title" 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. | 
|  | importDump.php                  [source] [304 lines] | Import XML dump files into the current wiki. Copyright © 2005 Brion Vibber  https://www.mediawiki.org/ | 
|  | importImages.inc                [source] [138 lines] | Support functions for the importImages.php script 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. | 
|  | importImages.php                [source] [397 lines] | Import one or more images from the local file system into the wiki without using the web-based interface. | 
|  | importSiteScripts.php           [source] [106 lines] | Import all scripts in the MediaWiki namespace from a local site. 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. | 
|  | initEditCount.php               [source] [110 lines] | Init the user_editcount database field based on the number of rows in the revision table. | 
|  | initSiteStats.php               [source] [89 lines] | Re-initialise or update the site statistics table. 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. | 
|  | install.php                     [source] [158 lines] | CLI-based MediaWiki installation and configuration. 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. | 
|  | interwiki.list                  [source] [77 lines] |  | 
|  | interwiki.sql                   [source] [80 lines] |  | 
|  | jsparse.php                     [source] [77 lines] | Test JavaScript validity parses using jsmin+'s parser 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. | 
|  | lag.php                         [source] [73 lines] | Shows database lag 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. | 
|  | mcc.php                         [source] [225 lines] | memcached diagnostic tool 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. | 
|  | mctest.php                      [source] [106 lines] | Makes several 'set', 'incr' and 'get' requests on every memcached server and shows a report. 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. | 
|  | mergeMessageFileList.php        [source] [188 lines] | Merge $wgExtensionMessagesFiles from various extensions to produce a single array containing all message files. 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. | 
|  | migrateUserGroup.php            [source] [109 lines] | Re-assign users from an old group to a new one 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. | 
|  | minify.php                      [source] [148 lines] | Minify a file or set of files 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. | 
|  | moveBatch.php                   [source] [123 lines] | Move a batch of pages. 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. | 
|  | mwdoc-filter.php                [source] [23 lines] | Doxygen filter to show correct member variable types in documentation. | 
|  | mwdocgen.php                    [source] [165 lines] | Generate class and file reference documentation for MediaWiki using doxygen. If the dot DOT language processor is available, attempt call graph generation. | 
|  | mwjsduck-gen                    [source] [25 lines] |  | 
|  | namespaceDupes.php              [source] [338 lines] | Check for articles to fix after adding/deleting namespaces Copyright © 2005-2007 Brion Vibber  https://www.mediawiki.org/ | 
|  | nukeNS.php                      [source] [122 lines] | Remove pages with only 1 revision from the MediaWiki namespace, without flooding recent changes, delete logs, etc. Irreversible (can't use standard undelete) and does not update link tables This is mainly useful to run before maintenance/update.php when upgrading to 1.9, to prevent flooding recent changes/deletion logs.  It's intended to be conservative, so it's possible that a few entries will be left for deletion by the upgrade script.  It's also possible that it hasn't been tested thouroughly enough, and will delete something it shouldn't; so back up your DB if there's anything in the MediaWiki that is important to you. | 
|  | nukePage.php                    [source] [120 lines] | Erase a page record from the database Irreversible (can't use standard undelete) and does not update link tables 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. | 
|  | orphans.php                     [source] [248 lines] | Look for 'orphan' revisions hooked to pages which don't exist and 'childless' pages with no revisions. Then, kill the poor widows and orphans. Man this is depressing. Copyright © 2005 Brion Vibber  https://www.mediawiki.org/ | 
|  | pageExists.php                  [source] [54 lines] | 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. | 
|  | parse.php                       [source] [140 lines] | Parse some wikitext. Wikitext can be given by stdin or using a file. The wikitext will be parsed using 'CLIParser' as a title. This can be overriden with --title option. | 
|  | patchSql.php                    [source] [68 lines] | Manually run an SQL patch outside of the general updaters. This ensures that the DB options (charset, prefix, engine) are correctly set. 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. | 
|  | populateBacklinkNamespace.php   [source] [97 lines] | Optional upgrade script to populate *_from_namespace fields 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. | 
|  | populateBloomCache.php          [source] [78 lines] | Script to populate a bloom filter with a BloomFilter* class 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. | 
|  | populateCategory.php            [source] [162 lines] | Populate the category table. 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. | 
|  | populateFilearchiveSha1.php     [source] [108 lines] | Optional upgrade script to populate the fa_sha1 field 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. | 
|  | populateImageSha1.php           [source] [184 lines] | Optional upgrade script to populate the img_sha1 field 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. | 
|  | populateLogSearch.php           [source] [170 lines] | Makes the required database updates for populating the log_search table retroactively 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. | 
|  | populateLogUsertext.php         [source] [87 lines] | Makes the required database updates for Special:ProtectedPages to show all protected pages, even ones before the page restrictions schema change. All remaining page_restriction column values are moved to the new table. 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. | 
|  | populateParentId.php            [source] [130 lines] | Makes the required database updates for rev_parent_id to be of any use. It can be used for some simple tracking and to find new page edits by users. 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. | 
|  | populateRecentChangesSource.php [source] [107 lines] | Upgrade script to populate the rc_source field 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. | 
|  | populateRevisionLength.php      [source] [155 lines] | Populates the rev_len and ar_len fields for old revisions created before MW 1.10. 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. | 
|  | populateRevisionSha1.php        [source] [216 lines] | Fills the rev_sha1 and ar_sha1 columns of revision and archive tables for revisions created before MW 1.19. 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. | 
|  | preprocessDump.php              [source] [98 lines] | Take page text out of an XML dump file and preprocess it to obj. It may be useful for getting preprocessor statistics or filling the preprocessor cache. Copyright © 2011 Platonides - https://www.mediawiki.org/ | 
|  | preprocessorFuzzTest.php        [source] [270 lines] | Performs fuzz-style testing of MediaWiki's preprocessor. | 
|  | protect.php                     [source] [89 lines] | Protect or unprotect a page. 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. | 
|  | pruneFileCache.php              [source] [111 lines] | Prune file cache for pages, objects, resources, etc. 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. | 
|  | purgeChangedFiles.php           [source] [261 lines] | Scan the logging table and purge affected files within a timeframe. | 
|  | purgeChangedPages.php           [source] [193 lines] | Send purge requests for pages edited in date range to squid/varnish. | 
|  | purgeList.php                   [source] [147 lines] | Send purge requests for listed pages to squid 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. | 
|  | purgeOldText.php                [source] [45 lines] | Purge old text records from the database 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. | 
|  | purgeParserCache.php            [source] [85 lines] | Remove old objects from the parser cache. This only works when the parser cache is in an SQL database. 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. | 
|  | reassignEdits.php               [source] [199 lines] | Reassign edits from a user or IP address to another user 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. | 
|  | rebuildFileCache.php            [source] [158 lines] | Build file cache for content pages 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. | 
|  | rebuildImages.php               [source] [232 lines] | Update image metadata records. Usage: php rebuildImages.php [--missing] [--dry-run] Options: --missing  Crawl the uploads dir for images without records, and add them only. | 
|  | rebuildLocalisationCache.php    [source] [181 lines] | Rebuild the localisation cache. Useful if you disabled automatic updates using $wgLocalisationCacheConf['manualRecache'] = true; Usage: php rebuildLocalisationCache.php [--force] [--threads=N] | 
|  | rebuildall.php                  [source] [67 lines] | Rebuild link tracking tables from scratch.  This takes several hours, depending on the database size and server configuration. 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. | 
|  | rebuildmessages.php             [source] [57 lines] | Purge all languages from the message cache. 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. | 
|  | rebuildrecentchanges.php        [source] [302 lines] | Rebuild recent changes from scratch.  This takes several hours, depending on the database size and server configuration. 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. | 
|  | rebuildtextindex.php            [source] [162 lines] | Rebuild search index table from scratch.  This may take several hours, depending on the database size and server configuration. Postgres is trigger-based and should never need rebuilding. | 
|  | refreshFileHeaders.php          [source] [93 lines] | Refresh file headers from metadata. Usage: php refreshFileHeaders.php | 
|  | refreshImageMetadata.php        [source] [239 lines] | Refresh image metadata fields. See also rebuildImages.php Usage: php refreshImageMetadata.php | 
|  | refreshLinks.php                [source] [321 lines] | Refresh link tables. 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. | 
|  | removeUnusedAccounts.php        [source] [136 lines] | Remove unused user accounts from the database An unused account is one which has made no edits 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. | 
|  | renameDbPrefix.php              [source] [94 lines] | Change the prefix of database tables. Run this script to after changing $wgDBprefix on a wiki. The wiki will have to get downtime to do this correctly. 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. | 
|  | renderDump.php                  [source] [123 lines] | Take page text out of an XML dump file and render basic HTML out to files. This is *NOT* suitable for publishing or offline use; it's intended for running comparative tests of parsing behavior using real-world data. Templates etc are pulled from the local wiki database, not from the dump. | 
|  | resetUserTokens.php             [source] [116 lines] | Reset the user_token for all users on the wiki. Useful if you believe that your user table was acidentally leaked to an external source. 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. | 
|  | rollbackEdits.php               [source] [115 lines] | Rollback all edits by a given user or IP provided they're the most recent edit (just like real rollback) 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. | 
|  | runBatchedQuery.php             [source] [65 lines] | Run a database query in batches and wait for slaves. This is used on large wikis to prevent replication lag from going through the roof when executing large write queries. 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. | 
|  | runJobs.php                     [source] [95 lines] | Run pending jobs. 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. | 
|  | runScript.php                   [source] [64 lines] | Convenience maintenance script wrapper, useful for scripts or extensions located outside of standard locations. | 
|  | showCacheStats.php              [source] [115 lines] | Show statistics from the cache. 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. | 
|  | showJobs.php                    [source] [86 lines] | Report number of jobs currently waiting in master database. Based on runJobs.php | 
|  | showSiteStats.php               [source] [79 lines] | Show the cached statistics. Give out the same output as [[Special:Statistics]] 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. | 
|  | sql.php                         [source] [164 lines] | Send SQL queries from the specified file to the database, performing variable replacement along the way. 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. | 
|  | sqlite.inc                      [source] [93 lines] | Helper class for sqlite-specific scripts 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. | 
|  | sqlite.php                      [source] [146 lines] | Performs some operations specific to SQLite database backend. 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. | 
|  | syncFileBackend.php             [source] [306 lines] | Sync one file backend to another based on the journal of later. 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. | 
|  | tables.sql                      [source] [1609 lines] |  | 
|  | tidyUpBug37714.php              [source] [49 lines] |  | 
|  | undelete.php                    [source] [58 lines] | Undelete a page by fetching it from the archive table | 
|  | update-keys.sql                 [source] [29 lines] |  | 
|  | update.php                      [source] [206 lines] | Run all updaters. This is used when the database schema is modified and we need to apply patches. It is kept compatible with php 4 parsing so that it can give out a meaningful error. | 
|  | updateArticleCount.php          [source] [67 lines] | Provide a better count of the number of articles and update the site statistics table, if desired. 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. | 
|  | updateCollation.php             [source] [314 lines] | 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. 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. | 
|  | updateDoubleWidthSearch.php     [source] [81 lines] | Normalize double-byte latin UTF-8 characters Usage: php updateDoubleWidthSearch.php | 
|  | updateRestrictions.php          [source] [128 lines] | Makes the required database updates for Special:ProtectedPages to show all protected pages, even ones before the page restrictions schema change. All remaining page_restriction column values are moved to the new table. 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. | 
|  | updateSearchIndex.php           [source] [125 lines] | Periodic off-peak updating of the search index. Usage: php updateSearchIndex.php [-s START] [-e END] [-p POSFILE] [-l LOCKTIME] [-q] Where START is the starting timestamp END is the ending timestamp POSFILE is a file to load timestamps from and save them to, searchUpdate.WIKI_ID.pos by default LOCKTIME is how long the searchindex and revision tables will be locked for -q means quiet | 
|  | updateSpecialPages.php          [source] [166 lines] | Update for cached special pages. Run this script periodically if you have miser mode enabled. 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. | 
|  | userDupes.inc                   [source] [297 lines] | Helper class for update.php. Copyright © 2005 Brion Vibber  https://www.mediawiki.org/ | 
|  | userOptions.inc                 [source] [297 lines] | Helper class for userOptions.php script. 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. | 
|  | userOptions.php                 [source] [35 lines] | Script to change users preferences on the fly. | 
|  | waitForSlave.php                [source] [44 lines] | Wait until slave lag goes under a certain value. 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. | 
|  | wrapOldPasswords.php            [source] [126 lines] | Maintenance script to wrap all old-style passwords in a layered type 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. |