wiki.techinc.nl/maintenance
Ed Sanders 8b720e9bd6 eslint: Update to eslint-config-wikimedia 0.16.0
* valid-jsdoc replaced with jsdoc plugin
* New /selenium config

Change-Id: I471eebac0312cb25c539c3f6a3ecfc7cfd4ed8d6
2020-06-02 21:32:56 +01:00
..
archives Rename patch-l10ncache-lc_lang-35.sql to patch-l10n_cache-lc_lang-35.sql 2020-05-25 12:02:20 +00:00
benchmarks Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
dev mime: Represent lists as arrays instead of space-delimited strings 2020-05-28 15:15:43 +00:00
includes Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
jsduck Merge htmlform.checker.js into special.userlogin.signup.js module 2020-05-24 05:45:13 +00:00
language Fix typo: 'avalaible' → 'available' 2020-05-22 11:01:37 +00:00
locking
mediawiki.Title eslint: Update to eslint-config-wikimedia 0.16.0 2020-06-02 21:32:56 +01:00
postgres More work on formatting generated sql 2020-05-10 03:22:24 +02:00
sqlite Merge "Fixup some SELECT * usages in sqlite schema patches" 2020-05-18 20:14:40 +00:00
storage Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
term Set public for override of Maintenance functions 2019-10-09 20:41:33 +02:00
.htaccess
addChangeTag.php Do not output wikitext in maintenance script 2019-09-20 18:28:34 +02:00
addRFCandPMIDInterwiki.php
addSite.php Mark options as requiring parameters in addSite.php 2019-12-02 23:30:50 +00:00
attachLatest.php WikiPage::updateRevisionOn - replace uses, hard deprecate Revision use 2020-05-01 04:54:37 +00:00
blockUsers.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
categoryChangesAsRdf.php Fix PSR12.Properties.ConstantVisibility.NotFound in maintenance/ 2020-05-09 23:54:58 +00:00
changePassword.php Do not output wikitext in maintenance script 2019-09-20 18:28:34 +02:00
checkBadRedirects.php
checkComposerLockUpToDate.php Use proper SemVer comparison in CheckComposerLockUpToDate 2020-02-13 16:57:09 -05:00
checkDependencies.php Use Maintenance::getConfig in some maintenance scripts 2019-09-01 20:55:08 +02:00
checkImages.php maintenance: Avoid deprecated usage of RepoGroup::singleton() 2020-02-18 21:28:17 +00:00
checkLess.php tests: Require PHPUnit 6, drop PHPUnit 4 as an option 2019-10-03 08:58:03 -07:00
checkUsernames.php Set public for override of Maintenance functions 2019-10-09 20:41:33 +02:00
cleanupAncientTables.php
cleanupBlocks.php Rename Block to MediaWiki\Block\DatabaseBlock 2019-05-28 12:20:48 +01:00
cleanupCaps.php Do not output wikitext in maintenance script 2019-09-20 18:28:34 +02:00
cleanupEmptyCategories.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
cleanupImages.php maintenance: Avoid deprecated usage of RepoGroup::singleton() 2020-02-18 21:28:17 +00:00
cleanupInvalidDbKeys.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
cleanupPreferences.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
cleanupRemovedModules.php
cleanupRevActorPage.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
cleanupSpam.php Replace uses and hard deprecate Revision::newFromTitle 2020-04-18 04:47:10 +00:00
cleanupTable.inc Avoid uses of wfWikiId() in maintenance/ 2019-09-24 15:42:00 -07:00
cleanupTitles.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
cleanupUploadStash.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
cleanupUsersWithNoId.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
cleanupWatchlist.php Purge expired watchlist items 2020-03-26 07:54:20 +08:00
clearInterwikiCache.php Remove usages of $wgMemc 2020-01-20 19:41:32 +01:00
CodeCleanerGlobalsPass.inc
commandLine.inc
compareParserCache.php Replace uses and hard deprecate Article:: and WikiPage::getRevision 2020-04-20 23:06:48 +00:00
compareParsers.php Fix parameter documentation for dump methods for handling revisions 2020-05-05 02:04:32 +00:00
convertExtensionToRegistration.php Attempt to automatically fix start of config vars being __DIR__ 2019-11-04 16:21:04 +00:00
convertLinks.php Merge "Fix use of argument perfLogFilename in convertLinks.php" 2019-09-06 10:04:38 +00:00
convertUserOptions.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
copyFileBackend.php Convert FileBackendGroup to service 2019-10-25 10:46:20 +03:00
copyJobQueue.php
createAndPromote.php docs: createAndPromote.php: Password is required even when --force is supplied 2020-03-17 03:56:38 +00:00
createCommonPasswordCdb.php Remove Language::factory and getParentLanguage use 2019-10-27 12:34:28 +02:00
deduplicateArchiveRevId.php Use class keyword for classname resolution 2020-03-27 09:33:01 +01:00
deleteArchivedFiles.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
deleteArchivedRevisions.php Use ::class to resolve class names in maintenance scripts 2018-01-23 17:40:16 +00:00
deleteAutoPatrolLogs.php
deleteBatch.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
deleteDefaultMessages.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
deleteEqualMessages.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
deleteLocalPasswords.php
deleteOldRevisions.php Set method visibility on maintenance scripts 2019-11-16 22:54:17 +00:00
deleteOrphanedRevisions.php Improve param docs 2019-11-28 19:08:59 +01:00
deleteSelfExternals.php
deleteTag.php changetags: Change new canDeleteTag() boolean param to int flag 2019-11-17 10:22:02 -05:00
doMaintenance.php maintenance: Move $IP and MEDIAWIKI assignment to doMaintenance.php 2020-04-14 19:33:13 +00:00
Doxyfile docs: Add Doxygen alias for stable tag 2020-05-27 14:57:06 -07:00
dumpBackup.php Set method visibility on maintenance scripts 2019-11-16 22:54:17 +00:00
dumpCategoriesAsRdf.php
dumpIterator.php Narrow MediaWiki.Commenting.FunctionComment.WrongStyle 2020-05-20 03:33:39 +01:00
dumpLinks.php
dumpTextPass.php
dumpUploads.php Set method visibility on maintenance scripts 2019-11-16 22:54:17 +00:00
edit.php Do not output wikitext in maintenance script 2019-09-20 18:28:34 +02: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 Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
eval.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
exportSites.php Miscellaneous documentation updates 2020-02-16 04:38:38 +00:00
fetchText.php Make BackupDumper MCR compatible (main slot only) 2019-03-14 13:19:51 +00:00
fileOpPerfTest.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
findBadBlobs.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
findDeprecated.php Suppress PhanUndeclaredProperty for custom properties and phan bugs 2019-09-14 13:22:54 +00:00
findHooks.php Fix PSR12.Properties.ConstantVisibility.NotFound in maintenance/ 2020-05-09 23:54:58 +00:00
findMissingFiles.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
findOrphanedFiles.php maintenance: Avoid deprecated usage of RepoGroup::singleton() 2020-02-18 21:28:17 +00:00
fixDefaultJsonContentPages.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
fixDoubleRedirects.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
fixExtLinksProtocolRelative.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
fixTimestamps.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
fixUserRegistration.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
formatInstallDoc.php Set public for override of Maintenance functions 2019-10-09 20:41:33 +02:00
generateJsonI18n.php
generateLocalAutoload.php AutoloadGenerator: Filter PSR4-compliant classes instead of ignoring directories 2018-09-20 15:15:27 -04:00
generateSchemaSql.php Add test to compare generated sql with the abstract schema 2020-05-16 19:57:54 +02:00
generateSitemap.php Fix PSR12.Properties.ConstantVisibility.NotFound in maintenance/ 2020-05-09 23:54:58 +00:00
getConfiguration.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
getLagTimes.php Use namespaced IPUtils class 2020-01-01 02:36:49 -08:00
getReplicaServer.php maintenance/getReplicaServer.php: Remove reference to long-deleted config var 2019-09-09 10:25:38 -04:00
getSlaveServer.php
getText.php Replace uses and hard deprecate Revision::newFromTitle 2020-04-18 04:47:10 +00:00
importDump.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
importImages.php Narrow MediaWiki.Commenting.FunctionComment.WrongStyle 2020-05-20 03:33:39 +01:00
importSites.php Miscellaneous documentation updates 2020-02-16 04:38:38 +00:00
importSiteScripts.php
importTextFiles.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
initEditCount.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
initSiteStats.php
initUserPreference.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
install.php Disable $wgServer autodetection to prevent cache poisoning attacks 2019-10-30 15:49:41 +11:00
interwiki.list
interwiki.sql
invalidateUserSessions.php
jsparse.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
lag.php Consistently use $this->output() in lag.php 2020-03-18 00:17:40 +00:00
Maintenance.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
Makefile Renames preparatory to parser tests refactor 2016-09-12 15:46:15 +10:00
makeTestEdits.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
manageForeignResources.php
manageJobs.php
mcc.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
mctest.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
mergeMessageFileList.php Set public for override of Maintenance functions 2019-10-09 20:41:33 +02:00
migrateActors.php Move migrateActors.php to includes 2019-02-09 11:42:38 +01:00
migrateArchiveText.php build: Upgrade phan to 0.9.0 2019-12-07 20:16:19 +00:00
migrateComments.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
migrateFileRepoLayout.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
migrateImageCommentTemp.php Migrate image descriptions from image_comment_temp 2018-10-02 10:30:00 -04:00
migrateUserGroup.php
minify.php resourceloader: Rewrite the minify.php maintenance script 2019-08-06 17:39:19 +01:00
moveBatch.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
mwdoc-filter.php docs: Factor out MWDoxygenFilter from mwdoc-filter.php with tests 2019-09-05 18:22:23 +01:00
mwdocgen.php docs: Ignore extensions/ and skins/ in mwdocgen.php by default 2019-09-14 21:58:03 +01:00
mwjsduck-gen
mysql.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
namespaceDupes.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
nukeNS.php Use db abstraction layer in nukePage and nukeNS maintenance script 2020-05-08 23:31:41 +02:00
nukePage.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
orphans.php WikiPage::updateRevisionOn - replace uses, hard deprecate Revision use 2020-05-01 04:54:37 +00:00
pageExists.php
parse.php Remove codepaths which ran parser in 'untidy' mode 2020-04-13 21:34:04 +00:00
patchSql.php Revert "maintenance: Remove sql.php temporarily" 2020-04-09 00:46:49 +00:00
populateArchiveRevId.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
populateBacklinkNamespace.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
populateCategory.php Fix PSR12.Properties.ConstantVisibility.NotFound in maintenance/ 2020-05-09 23:54:58 +00:00
populateChangeTagDef.php Cleanup various calls to IDatabase::upsert() 2020-02-27 15:27:29 -08:00
populateContentModel.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
populateContentTables.php Use class keyword for classname resolution 2020-03-27 09:33:01 +01:00
populateExternallinksIndex60.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
populateFilearchiveSha1.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
populateImageSha1.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
populateInterwiki.php
populateIpChanges.php Use namespaced IPUtils class 2020-01-01 02:36:49 -08:00
populateLogSearch.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
populateLogUsertext.php
populateParentId.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
populatePPSortKey.php Make populatePPSortKey less noisy 2020-04-11 01:28:04 +00:00
populateRecentChangesSource.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
populateRevisionLength.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
populateRevisionSha1.php Unsuppress more phan issues (part 3) 2019-08-31 16:38:55 +00:00
preprocessDump.php Fix parameter documentation for dump methods for handling revisions 2020-05-05 02:04:32 +00:00
preprocessorFuzzTest.php Fix SingleSpaceBeforeSingleLineComment 2020-05-11 00:57:11 +00:00
protect.php
pruneFileCache.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
purgeChangedFiles.php maintenance: Avoid deprecated usage of RepoGroup::singleton() 2020-02-18 21:28:17 +00:00
purgeChangedPages.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
purgeExpiredUserrights.php
purgeExpiredWatchlistItems.php Purge expired watchlist items 2020-03-26 07:54:20 +08:00
purgeList.php Add small HtmlCacheUpdater service class to normalize purging code (2) 2020-04-14 03:19:07 +00:00
purgeModuleDeps.php
purgeOldText.php
purgePage.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
purgeParserCache.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
README Remove obsolete showCacheStats.php and showCacheStats.php 2015-12-07 19:49:29 +00:00
reassignEdits.php Improve param docs 2019-11-28 19:08:59 +01:00
rebuildall.php
rebuildFileCache.php Fix SingleSpaceBeforeSingleLineComment 2020-05-11 00:57:11 +00:00
rebuildImages.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
rebuildLocalisationCache.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
rebuildmessages.php maintenance: Remove cross-wiki purging from rebuildmessages.php 2019-08-31 14:53:19 +01:00
rebuildrecentchanges.php Merge "Also delete recentchanges entries for null revisions from other log actions" 2020-03-18 19:06:19 +00:00
rebuildtextindex.php Fix PSR12.Properties.ConstantVisibility.NotFound in maintenance/ 2020-05-09 23:54:58 +00:00
recountCategories.php Fix output of RecountCategories::doWork() 2020-03-09 00:04:09 +00:00
refreshExternallinksIndex.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
refreshFileHeaders.php maintenance: Avoid deprecated usage of RepoGroup::singleton() 2020-02-18 21:28:17 +00:00
refreshImageMetadata.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
refreshLinks.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
removeInvalidEmails.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
removeUnusedAccounts.php Mostly drop old pre-actor user schemas 2019-09-09 11:38:36 -04:00
renameDbPrefix.php
renameRestrictions.php Add renameRestrictions.php maintenance script 2019-11-07 22:29:25 +01:00
renderDump.php Fix parameter documentation for dump methods for handling revisions 2020-05-05 02:04:32 +00:00
resetAuthenticationThrottle.php Fix typo on resetAuthenticationThrottle.php error message 2020-04-30 09:46:59 +03:00
resetPageRandom.php
resetUserEmail.php maintenance: Remove arguments that match their default values 2019-02-27 21:13:57 +00:00
resetUserTokens.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
rollbackEdits.php
runBatchedQuery.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
runJobs.php Convert JobRunner into a service and use DI 2020-02-27 08:04:48 -08:00
runScript.php maintenance: Add file extension as expected for PHP scripts 2020-01-29 11:44:06 +01:00
shell.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
showJobs.php
showSiteStats.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
sql.php Replace wfWaitForSlaves() with LBFactory::waitForReplication() 2020-05-02 02:00:01 +00:00
sqlite.inc Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
sqlite.php maintenance: Fix bogus IDatabase method calls in sqlite.php 2019-08-24 19:54:50 +00:00
syncFileBackend.php Convert FileBackendGroup to service 2019-10-25 10:46:20 +03:00
tables-generated.sql More work on formatting generated sql 2020-05-10 03:22:24 +02:00
tables.json Wire empty abstract schema into installer 2020-05-09 20:42:11 +02:00
tables.sql Normalise length of language fields to varbinary(35) 2020-05-22 20:41:15 +00:00
tidyUpT39714.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
undelete.php Make use of PageArchive::undeleteAsUser 2020-03-18 18:21:35 +00:00
update-keys.sql
update.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
updateArticleCount.php
updateCollation.php Fix PSR12.Properties.ConstantVisibility.NotFound in maintenance/ 2020-05-09 23:54:58 +00:00
updateCredits.php
updateDoubleWidthSearch.php Deprecate Revision::loadFromPageId 2020-03-25 12:10:48 -07:00
updateExtensionJsonSchema.php Move known attributes when updating to manifest_version 2 2020-05-18 16:29:19 +00:00
updateRestrictions.php Refactor the updateRestrictions.php maintenance script 2019-10-04 20:22:58 +02:00
updateSearchIndex.php Fix capitalisation of updateSearchIndex.php parameter desc 2020-04-01 19:29:10 +01:00
updateSpecialPages.php Add a run mode to $wgDisableQueryPageUpdate 2019-09-26 22:33:53 +00:00
uppercaseTitlesForUnicodeTransition.php Fix a plethora of class and function call case mismatches 2020-05-26 14:14:46 +01:00
userDupes.inc Avoid uses of wfWikiId() in maintenance/ 2019-09-24 15:42:00 -07:00
userOptions.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
validateRegistrationFile.php Remove "Squiz.WhiteSpace.FunctionSpacing" from phpcs exclusions 2019-05-11 02:44:26 +01:00
view.php Add check for page existence 2020-03-09 10:50:00 +01:00
wrapOldPasswords.php Add --update option to wrapOldPasswords.php 2019-10-14 08:16:49 +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