wiki.techinc.nl/maintenance
Daimona Eaytoy c659bc6308 Unsuppress another phan issue (part 7)
Bug: T231636
Depends-On: I2cd24e73726394e3200a570c45d5e86b6849bfa9
Depends-On: I4fa3e6aad872434ca397325ed7a83f94973661d0
Change-Id: Ie6233561de78457cae5e4e44e220feec2d1272d8
2019-09-03 17:19:21 +00:00
..
archives Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
benchmarks Remove @author Timo Tijhof from various file headers 2019-07-08 21:56:24 +00:00
dev Use https://www.php.net/ instead of https://secure.php.net/ 2019-04-12 06:44:48 +02:00
hhvm Replace deprecated function wfEscapeShellArg with Shell::escape() 2019-04-07 20:17:39 +01:00
includes Use Maintenance::getConfig in some maintenance scripts 2019-09-01 20:55:08 +02:00
jsduck resourceloader: Remove ResourceLoaderMaxQueryLength from mw.config 2019-03-06 15:57:56 +00:00
language Chinese Conversion Table Update 2019-2 2019-06-10 22:44:29 +08:00
locking
mediawiki.Title generatePhpCharToUpperMappings.php: Write output directly to json file 2019-05-02 18:33:19 -07:00
postgres Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
sqlite/archives Fix SQLite patch-(page|template)links-fix-pk.sql column order 2019-06-30 17:47:53 +01:00
storage Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
term A few doc comment fixups 2017-12-04 11:11:52 +11:00
.htaccess
addChangeTag.php Add a maintenance script to add a Change Tag 2018-08-21 18:32:02 +00:00
addRFCandPMIDInterwiki.php Have class match filename in some maintenance scripts 2018-05-23 19:36:51 -07:00
addSite.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
attachLatest.php Migrate various callers away from wfWikiId() to WikiMap 2019-07-12 01:02:00 +00:00
categoryChangesAsRdf.php Use Maintenance::getConfig in some maintenance scripts 2019-09-01 20:55:08 +02:00
cdb.php Remove leading backslashes from "use \…" tags 2017-12-28 16:30:05 +01:00
changePassword.php Improve changePassword.php error handling 2019-04-08 15:20:33 -07:00
checkBadRedirects.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
checkComposerLockUpToDate.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
checkDependencies.php Use Maintenance::getConfig in some maintenance scripts 2019-09-01 20:55:08 +02:00
checkImages.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
checkLess.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
checkUsernames.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
cleanupAncientTables.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
cleanupBlocks.php Rename Block to MediaWiki\Block\DatabaseBlock 2019-05-28 12:20:48 +01:00
cleanupCaps.php Introduce MovePageFactory 2019-08-19 20:25:31 +03:00
cleanupEmptyCategories.php Remove a few obscure "done" and "empty" comments 2019-01-30 20:35:14 +00:00
cleanupImages.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
cleanupInvalidDbKeys.php Migrate various callers away from wfWikiId() to WikiMap 2019-07-12 01:02:00 +00:00
cleanupPreferences.php Use Maintenance::getConfig in some maintenance scripts 2019-09-01 20:55:08 +02:00
cleanupRemovedModules.php resourceloader: Instantiate main class via ServiceWiring 2019-02-18 17:55:09 +00:00
cleanupSpam.php Merge "Replace wfWiki() usage with WikiMap in some additional places" 2019-07-23 15:02:47 +00:00
cleanupTable.inc Update PHPDoc types in several maintenance scripts and related 2019-03-07 17:54:26 +00:00
cleanupTitles.php Mass conversion to NamespaceInfo 2019-05-07 22:44:56 +02:00
cleanupUploadStash.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
cleanupUsersWithNoId.php Remove superfluous cast to int 2019-04-30 14:57:18 +00:00
cleanupWatchlist.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
clearInterwikiCache.php Replace wfWiki() usage with WikiMap in some additional places 2019-07-04 21:58:42 +00:00
CodeCleanerGlobalsPass.inc build: Prepare for mediawiki/mediawiki-codesniffer to 0.9.0 2017-06-26 17:14:31 +00:00
commandLine.inc Make maintenance scripts fail on unknown parameters 2018-08-06 14:37:49 -05:00
compareParserCache.php Use RevisionRenderer for rendering ParserOutput 2018-09-11 15:25:39 +00:00
compareParsers.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
convertExtensionToRegistration.php Unsuppress phan issues part 6 2019-09-01 09:48:45 +00:00
convertLinks.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
convertUserOptions.php Type hint against IResultWrapper in maintenance classes 2019-06-19 21:42:32 +02:00
copyFileBackend.php Unsuppress other phan issues (part 4) 2019-08-31 17:13:39 +00:00
copyJobQueue.php Replace wfWiki() usage with WikiMap in some additional places 2019-07-04 21:58:42 +00:00
createAndPromote.php docs: Fix typos for 'parameter' and 'perform' 2019-08-20 09:45:52 +00:00
createCommonPasswordCdb.php build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-16 15:51:11 +00:00
deduplicateArchiveRevId.php Only attempt to deduplicate if there is data in archive and revision 2019-06-16 19:00:52 -04:00
deleteArchivedFiles.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
deleteArchivedRevisions.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
deleteAutoPatrolLogs.php Enable deleteAutoPatrolLogs to delete pre-2011 autopatrol logs as well 2018-05-24 01:19:01 +02:00
deleteBatch.php Replace some uses of deprecated wfFindFile() and wfLocalFile() 2019-06-11 13:26:37 +00:00
deleteDefaultMessages.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
deleteEqualMessages.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
deleteLocalPasswords.php Follows-up d78869207 2018-08-02 15:46:12 +00:00
deleteOldRevisions.php Remove a few obscure "done" and "empty" comments 2019-01-30 20:35:14 +00:00
deleteOrphanedRevisions.php Update PHPDoc types in several maintenance scripts and related 2019-03-07 17:54:26 +00:00
deleteSelfExternals.php Use new externallinks.el_index_60 field 2018-11-12 22:33:18 +00:00
doMaintenance.php doMaintenance: Try to print errors to stderr 2019-07-16 13:15:57 +02:00
Doxyfile Remove support for StartProfiler.php 2018-08-26 02:09:44 +00:00
dumpBackup.php allow xml page content or metadata dumps to target specific namespaces 2019-04-18 14:42:50 +03:00
dumpCategoriesAsRdf.php Update PHPDoc types in several maintenance scripts and related 2019-03-07 17:54:26 +00:00
dumpIterator.php build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-16 15:51:11 +00:00
dumpLinks.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
dumpTextPass.php move most of dumpTextPass to an include file so it can be subclassed 2019-05-13 10:14:09 +03:00
dumpUploads.php Replace some uses of deprecated wfFindFile() and wfLocalFile() 2019-06-11 13:26:37 +00:00
edit.php maintenance: Deprecate Maintenance::hasArg/getArg with no param 2019-03-29 14:37:46 +01:00
emptyUserGroup.php Add a maintenance script to remove all users from a User Group 2018-09-25 00:57:16 +00:00
eraseArchivedFile.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
eval.php eval.php: write error messages to stderr 2018-12-22 07:08:31 +00:00
exportSites.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
fetchText.php Make BackupDumper MCR compatible (main slot only) 2019-03-14 13:19:51 +00:00
fileOpPerfTest.php Have class match filename in some maintenance scripts 2018-05-23 19:36:51 -07:00
findDeprecated.php Use PHP 7 '<=>' operator in 'sort()' callbacks 2018-05-30 18:05:20 -07:00
findHooks.php Define unit and integration test suites 2019-06-28 12:18:18 -04:00
findMissingFiles.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
findOrphanedFiles.php rdbms: add IDatabase::UNION_* constants for readability 2019-03-28 11:01:02 -07:00
fixDefaultJsonContentPages.php maintenance: Avoid usage of deprecated Revision::* constants 2019-07-21 11:35:09 +01:00
fixDoubleRedirects.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
fixExtLinksProtocolRelative.php Populate externallinks.el_index_60 and drop default 2018-05-15 12:08:35 -04:00
fixTimestamps.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
fixUserRegistration.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
formatInstallDoc.php maintenance: Replace deprecated global $wgParser with getParser() service 2019-03-10 00:35:42 +01:00
generateJsonI18n.php Add /** @var SplFileInfo $fileInfo */ docs where needed 2019-03-14 15:04:05 +01:00
generateLocalAutoload.php AutoloadGenerator: Filter PSR4-compliant classes instead of ignoring directories 2018-09-20 15:15:27 -04:00
generateSitemap.php Unsuppress other phan issues (part 4) 2019-08-31 17:13:39 +00:00
getConfiguration.php Allow extensions to add params to the update.php maintenance script 2019-03-26 21:12:49 -05:00
getLagTimes.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
getReplicaServer.php Use Maintenance::getConfig in some maintenance scripts 2019-09-01 20:55:08 +02:00
getSlaveServer.php clone keyword must not be used as a function 2017-06-28 16:29:33 +02:00
getText.php maintenance: Avoid usage of deprecated Revision::* constants 2019-07-21 11:35:09 +01:00
importDump.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
importImages.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
importSites.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
importSiteScripts.php Deprecate the Http class 2019-05-06 12:07:26 +03:00
importTextFiles.php Remove unnecessary semi-colons 2019-06-12 14:35:59 +01:00
initEditCount.php Migrate various callers away from wfWikiId() to WikiMap 2019-07-12 01:02:00 +00:00
initSiteStats.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
initUserPreference.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
install.php Make CliInstaller control the processing logic of the error 2019-07-29 20:18:08 +08:00
interwiki.list maintenance/interwiki.*: Replace Wikimedia Foundation wiki URL 2018-07-18 07:09:48 +00:00
interwiki.sql maintenance/interwiki.*: Replace Wikimedia Foundation wiki URL 2018-07-18 07:09:48 +00:00
invalidateUserSessions.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
jsparse.php maintenance: Deprecate Maintenance::hasArg/getArg with no param 2019-03-29 14:37:46 +01:00
lag.php Replace wfGetLB 2018-05-02 22:30:24 +02:00
Maintenance.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
Makefile
makeTestEdits.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
manageForeignResources.php resources: Improve foreign-resources docs and error messages 2019-03-24 20:57:46 +00:00
manageJobs.php Use DB domain in JobQueueGroup and make WikiMap domain ID methods stricter 2018-11-07 04:46:56 +00:00
mcc.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
mctest.php Prime connections and update description of McTest script 2019-08-17 20:49:52 +00:00
mergeMessageFileList.php Unsuppress other phan issues with low count 2019-08-30 09:42:15 +00:00
migrateActors.php Move migrateActors.php to includes 2019-02-09 11:42:38 +01:00
migrateArchiveText.php Use Maintenance::getConfig in some maintenance scripts 2019-09-01 20:55:08 +02:00
migrateComments.php Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
migrateFileRepoLayout.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
migrateImageCommentTemp.php Migrate image descriptions from image_comment_temp 2018-10-02 10:30:00 -04:00
migrateUserGroup.php Remove wfWaitForSlaves when using Maintenance::commitTransaction 2018-02-26 21:05:33 +01:00
minify.php resourceloader: Rewrite the minify.php maintenance script 2019-08-06 17:39:19 +01:00
moveBatch.php Introduce MovePageFactory 2019-08-19 20:25:31 +03:00
mwdoc-filter.php Remove @author Timo Tijhof from various file headers 2019-07-08 21:56:24 +00:00
mwdocgen.php Replace deprecated function wfEscapeShellArg with Shell::escape() 2019-04-07 20:17:39 +01:00
mwjsduck-gen
mysql.php Make use of the list() feature where it makes sense 2019-03-24 20:12:23 +00:00
namespaceDupes.php Use Maintenance::getConfig in some maintenance scripts 2019-09-01 20:55:08 +02:00
nukeNS.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
nukePage.php Avoid using deprecated SiteStatsUpdate constructor 2019-07-05 23:26:17 -07:00
orphans.php Normalize "LEFT OUTER JOIN" to "LEFT JOIN" in SQL queries 2019-03-06 14:01:20 -08:00
pageExists.php maintenance: Deprecate Maintenance::hasArg/getArg with no param 2019-03-29 14:37:46 +01:00
parse.php Use the ?: shortcut from PHP 5.3 where it makes sense 2019-01-12 21:56:41 +00:00
patchSql.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
populateArchiveRevId.php Unsuppress more phan issues (part 5) 2019-09-01 09:48:31 +00:00
populateBacklinkNamespace.php maintenance: Remove unused code from several maintenance scripts 2019-03-03 16:57:19 +00:00
populateCategory.php Pass options as array to IDatabase::insert 2019-06-07 19:12:35 +02:00
populateChangeTagDef.php maintenance/populateChangeTagDef.php: Handle missing valid_tags table 2019-08-14 11:57:12 -04:00
populateContentModel.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
populateContentTables.php Use Maintenance::getConfig in some maintenance scripts 2019-09-01 20:55:08 +02:00
populateExternallinksIndex60.php DatabasePostgres: Ignore "IGNORE" option to update() 2019-02-20 10:39:45 -05:00
populateFilearchiveSha1.php Pass '' instead of false for the $conds parameter in select calls. 2018-03-02 02:32:54 +00:00
populateImageSha1.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
populateInterwiki.php Pass options as array to IDatabase::insert 2019-06-07 19:12:35 +02:00
populateIpChanges.php Pass options as array to IDatabase::insert 2019-06-07 19:12:35 +02:00
populateLogSearch.php Revert actor changes to populateLogSearch.php 2019-08-26 15:24:49 -04:00
populateLogUsertext.php Pass '' instead of false for the $conds parameter in select calls. 2018-03-02 02:32:54 +00:00
populateParentId.php Pass '' instead of false for the $conds parameter in select calls. 2018-03-02 02:32:54 +00:00
populatePPSortKey.php Fix/suppress misc phan errors (#5) 2019-04-05 15:53:37 -07:00
populateRecentChangesSource.php Pass '' instead of false for the $conds parameter in select calls. 2018-03-02 02:32:54 +00:00
populateRevisionLength.php maintenance: Avoid usage of deprecated Revision::* constants 2019-07-21 11:35:09 +01:00
populateRevisionSha1.php Unsuppress more phan issues (part 3) 2019-08-31 16:38:55 +00:00
preprocessDump.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
preprocessorFuzzTest.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
protect.php maintenance: Deprecate Maintenance::hasArg/getArg with no param 2019-03-29 14:37:46 +01:00
pruneFileCache.php No yoda conditions 2018-11-21 17:54:39 +01:00
purgeChangedFiles.php maintenance: Add missing limit parameters to some explode() 2019-03-01 17:17:40 +00:00
purgeChangedPages.php Type hint against IResultWrapper in maintenance classes 2019-06-19 21:42:32 +02:00
purgeExpiredUserrights.php purgeExpiredUserrights: Show number of rows purged 2018-03-03 15:36:34 +00:00
purgeList.php Rename CDN config variables to be generic, deprecating the old names 2019-05-24 21:09:22 +00:00
purgeModuleDeps.php Remove @author Timo Tijhof from various file headers 2019-07-08 21:56:24 +00:00
purgeOldText.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
purgePage.php maintenance/purgePage.php output page being purged 2018-06-05 12:01:41 +00:00
purgeParserCache.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
README
reassignEdits.php Use Maintenance::getConfig in some maintenance scripts 2019-09-01 20:55:08 +02:00
rebuildall.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
rebuildFileCache.php Mass conversion to NamespaceInfo 2019-05-07 22:44:56 +02:00
rebuildImages.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
rebuildLocalisationCache.php Revert "Make LocalisationCache a service" 2019-08-26 18:28:26 +02:00
rebuildmessages.php maintenance: Remove cross-wiki purging from rebuildmessages.php 2019-08-31 14:53:19 +01:00
rebuildrecentchanges.php Remove deprecated User groups/permission static calls. 2019-08-21 19:42:01 -07:00
rebuildtextindex.php maintenance: Fix bad method call in RebuildTextIndex 2019-08-24 19:53:27 +00:00
recountCategories.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
refreshExternallinksIndex.php Use new externallinks.el_index_60 field 2018-11-12 22:33:18 +00:00
refreshFileHeaders.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
refreshImageMetadata.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
refreshLinks.php maintenance: Avoid usage of deprecated Revision::* constants 2019-07-21 11:35:09 +01:00
removeInvalidEmails.php Remove "Squiz.WhiteSpace.FunctionSpacing" from phpcs exclusions 2019-05-11 02:44:26 +01:00
removeUnusedAccounts.php Use Maintenance::getConfig in some maintenance scripts 2019-09-01 20:55:08 +02:00
renameDbPrefix.php Various fixes for phan-taint-check 2019-03-16 21:12:40 +00:00
renderDump.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
resetAuthenticationThrottle.php Add maintenance script for resetting login/signup throttle 2018-07-20 13:15:06 +00:00
resetPageRandom.php Provide a script to reset the page_random column 2018-11-09 15:07:48 -07:00
resetUserEmail.php maintenance: Remove arguments that match their default values 2019-02-27 21:13:57 +00:00
resetUserTokens.php Cleanup some comments related to DB replication 2018-03-09 23:05:43 +00:00
rollbackEdits.php rollbackEdits.php: Cosmetic changes of outputs 2019-01-10 13:56:21 +00:00
runBatchedQuery.php Have class match filename in some maintenance scripts 2018-05-23 19:36:51 -07:00
runJobs.php Refactor edit stashing into a PageEditStash service 2019-04-17 12:53:03 -07:00
runScript.php Fix typo "maintainance" 2018-12-24 15:51:11 +01:00
shell.php Convert maintenance scripts to LoadBalancer::getMaintenanceConnectionRef() 2019-08-02 22:29:43 +00:00
showJobs.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
showSiteStats.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
sql.php Add string cast when outputting exceptions in sql.php 2019-09-01 20:43:18 +02:00
sqlite.inc build: Update mediawiki/mediawiki-codesniffer to 0.10.1 2017-07-22 18:24:09 -07:00
sqlite.php maintenance: Fix bogus IDatabase method calls in sqlite.php 2019-08-24 19:54:50 +00:00
syncFileBackend.php Migrate various callers away from wfWikiId() to WikiMap 2019-07-12 01:02:00 +00:00
tables.sql Document that img_description_id is a comment id 2019-08-27 13:32:47 +03:00
tidyUpT39714.php Replace "Bug37714" by "T39714" 2018-08-20 23:48:11 +02:00
undelete.php maintenance: Deprecate Maintenance::hasArg/getArg with no param 2019-03-29 14:37:46 +01:00
update-keys.sql
update.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
updateArticleCount.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
updateCollation.php Use Maintenance::getConfig in some maintenance scripts 2019-09-01 20:55:08 +02:00
updateCredits.php Check for intl extension in updateCredits.php 2019-02-01 19:57:56 +01:00
updateDoubleWidthSearch.php Write Latin and other scripts with captial letter 2018-10-05 18:49:08 +02:00
updateExtensionJsonSchema.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
updateRestrictions.php maintenance: Add missing limit parameters to some explode() 2019-03-01 17:17:40 +00:00
updateSearchIndex.php Migrate various callers away from wfWikiId() to WikiMap 2019-07-12 01:02:00 +00:00
updateSpecialPages.php maintenance: Remove unused code from several maintenance scripts 2019-03-03 16:57:19 +00:00
uppercaseTitlesForUnicodeTransition.php maintenance: Script to rename titles for Unicode uppercasing changes 2019-07-09 13:53:43 -04:00
userDupes.inc Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00
userOptions.php Avoid the use of silence operator (@) and use AtEase methods 2019-07-23 08:43:44 +01:00
validateRegistrationFile.php Remove "Squiz.WhiteSpace.FunctionSpacing" from phpcs exclusions 2019-05-11 02:44:26 +01:00
view.php maintenance: Avoid usage of deprecated Revision::* constants 2019-07-21 11:35:09 +01:00
wrapOldPasswords.php Unsuppress another phan issue (part 7) 2019-09-03 17:19:21 +00:00

== MediaWiki Maintenance ==

The .sql scripts in this directory are not intended to be run standalone,
although this is appropriate in some cases, e.g. manual creation of blank tables
prior to an import.

Most of the PHP scripts need to be run from the command line. Prior to doing so,
ensure that the LocalSettings.php file in the directory above points to the
proper installation.

Certain scripts will require elevated access to the database. In order to
provide this, first create a MySQL user with "all" permissions on the wiki
database, and then set $wgDBadminuser and $wgDBadminpassword in your
LocalSettings.php

=== Brief explanation of files ===

A lot of the files in this directory are PHP scripts used to perform various
maintenance tasks on the wiki database, e.g. rebuilding link tables, updating
the search indices, etc. The files in the "archives" directory are used to
upgrade the database schema when updating the software. Some schema definitions
for alternative (as yet unsupported) database management systems are stored
here too.

The "storage" directory contains scripts and resources useful for working with
external storage clusters, and are not likely to be particularly useful to the
vast majority of installations. This directory does contain the compressOld
scripts, however, which can be useful for compacting old data.

=== Maintenance scripts ===

As noted above, these should be run from the command line. Not all scripts are
listed, as some are Wikimedia-specific, and some are not applicable to most
installations.

	changePassword.php
	Reset the password of a specified user

	cleanupSpam.php
	Mass-revert insertion of linkspam

	createAndPromote.php
	Create a user with administrator (and optionally, bureaucrat) permissions

	deleteOldRevisions.php
	Erase old revisions of pages from the database

	dumpBackup.php
	Backup dump script

	edit.php
	Edit a page to change its content

	findHooks.php
	Find hooks that aren't documented in docs/hooks.txt

	importDump.php
	XML dump importer

	importImages.php
	Import images into the wiki

	moveBatch.php
	Move a batch of pages

	namespaceDupes.php
	Check articles name to see if they conflict with new/existing namespaces

	nukePage.php
	Wipe a page and all revisions from the database

	reassignEdits.php
	Reassign edits from one user to another

	rebuildImages.php
	Update image metadata records

	rebuildmessages.php
	Update the MediaWiki namespace after changing site language

	rebuildtextindex.php
	Rebuild the fulltext search indices

	refreshLinks.php
	Rebuild the link tables

	removeUnusedAccounts.php
	Remove user accounts which have made no edits

	runJobs.php
	Immediately complete all jobs in the job queue

	undelete.php
	Undelete all revisions of a page

	update.php
	Check and upgrade the database schema to the current version

	updateRestrictions.php
	Update pages restriction to the new schema

	userOptions.php
	Change user options