手册:维护脚本/脚本列表
Appearance
MediaWiki contains over 200 maintenance scripts, located in the maintenance/
directory.
This page lists these scripts, categorized by type.
There may be some scripts missing from this list; alternate listings can be found at:
maintenance
目录的内容。- https://doc.wikimedia.org/mediawiki-core/master/php/ - MediaWiki生成的文档摘要 (选项卡或左侧导航侧栏中的文件>文件列表>维护)
- Category:Maintenance scripts
内容维护脚本
- Grep.php
- GenerateSitemap.php
- MoveBatch.php
- RefreshLinks.php
- PurgeParserCache.php
- PurgeMessageBlobStore.php
- RecountCategories.php
- Rebuildtextindex.php
- Rebuildrecentchanges.php
- Rebuildall.php
- PurgePage.php
- PurgeOldText.php
- PageExists.php
- NukeNS.php
- CleanupCaps.php
- CleanupEmptyCategories.php
- CleanupSpam.php
- CleanupTitles.php
- FetchText.php
- GetText.php
- FixMergeHistoryCorruption.php
- DeleteOldRevisions.php
- DeleteEqualMessages.php
- DeleteArchivedRevisions.php
- DumpRev.php
- UpdateCollation.php
- AttachLatest.php
- DumpTextPass.php
- UpdateDoubleWidthSearch.php
- NukePage.php
- PopulateCategory.php
- DeleteBatch.php
- PopulateContentTables.php
- PopulateRevisionLength.php
- PopulateRecentChangesSource.php
- FixDefaultJsonContentPages.php
- UppercaseTitlesForUnicodeTransition.php
- FixTimestamps.php
- PurgeChangedPages.php
- ImportSiteScripts.php
- FixExtLinksProtocolRelative.php
- DumpLinks.php
- Rebuildmessages.php
- DeleteDefaultMessages.php
- DeleteOrphanedRevisions.php
- PopulateParentId.php
- PopulateArchiveRevId.php
- RefreshExternallinksIndex.php
- PopulatePPSortKey.php
- DeduplicateArchiveRevId.php
- PopulateRevisionSha1.php
- PopulateBacklinkNamespace.php
- CategoryChangesAsRdf.php
- PopulateInterwiki.php
- Orphans.php
- Protect.php
- View.php
- ResetPageRandom.php
- MakeTestEdits.php
数据库维护脚本
- MigrateRevisionActorTemp.php
- MigrateLinksTable.php
- PruneUnusedLinkTargetRows.php
- RunBatchedQuery.php
- Sqlite.inc
- Sqlite.php
- SqliteMaintenance.php
- Sql.php
- Lag.php
- PopulateLogUsertext.php
- PopulateExternallinksIndex60.php
- PopulateImageSha1.php
- PopulateFilearchiveSha1.php
- MigrateImageCommentTemp.php
- UpdateRestrictions.php
- RenameDbPrefix.php
- PatchSql.php
- CleanupInvalidDbKeys.php
- GetReplicaServer.php
- DeleteSelfExternals.php
- DeduplicateArchiveRevId.php
- PopulateRevisionSha1.php
- PopulateBacklinkNamespace.php
- PopulateInterwiki.php
- Mysql.php
- GenerateSchemaSql.php
用户维护脚本
- ResetUserEmail.php
- RemoveInvalidEmails.php
- ReassignEdits.php
- PurgeExpiredBlocks.php
- MigrateActors.php
- InvalidateBotPasswords.php
- CreateBotPassword.php
- ChangePassword.php
- BlockUsers.php
- CleanupPreferences.php
- CleanupUsersWithNoId.php
- FindMissingActors.php
- EmptyUserGroup.php
- DeleteUserEmail.php
- InitUserPreference.php
- CreateCommonPasswordCdb.php
- WrapOldPasswords.php
- FixUserRegistration.php
- PopulateLogUsertext.php
- CreateAndPromote.php
- InitEditCount.php
- ConvertUserOptions.php
- CheckUsernames.php
- PurgeExpiredUserrights.php
- PurgeExpiredWatchlistItems.php
- RemoveUnusedAccounts.php
- DeleteLocalPasswords.php
- CleanupWatchlist.php
- PopulateIpChanges.php
- CleanupBlocks.php
- InvalidateUserSessions.php
文件维护脚本
- ImportImages.php
- DumpUploads.php
- CleanupUploadStash.php
- DeleteArchivedFiles.php
- RefreshImageMetadata.php
- EraseArchivedFile.php
- PurgeChangedFiles.php
- PruneFileCache.php
- FileOpPerfTest.php
- PopulateImageSha1.php
- MigrateImageCommentTemp.php
- RebuildImages.php
- CheckImages.php
- SyncFileBackend.php
- CopyFileBackend.php
- MigrateFileRepoLayout.php
- FindOrphanedFiles.php
- RefreshFileHeaders.php
- FindMissingFiles.php
开发维护脚本
- Mwdocgen.php
- GenerateAutoload.php
- GenerateLocalAutoload.php
- GenerateConfigSchemaYaml.php
- GenerateConfigSchemaArray.php
- GenerateConfigNames.php
- GenerateConfigDefaultSettings.php
- FindClasses.php
- ConvertExtensionToRegistration.php
- Mwdoc-filter.php
- GetSlaveServer.php
- FindHooks.php
- CompareParserCache.php
- GetConfiguration.php
- ImportSiteScripts.php
- GetReplicaServer.php
- CheckComposerLockUpToDate.php
- PreprocessorFuzzTest.php
- FormatInstallDoc.php
- UpdateExtensionJsonSchema.php
- CheckLess.php
- Minify.php
- CheckDependencies.php
- MergeMessageFileList.php
- CleanupRemovedModules.php
- UpdateCredits.php
- ManageForeignResources.php
- AddSite.php
- Mcc.php
- PurgeModuleDeps.php
- Mctest.php
- ValidateRegistrationFile.php
- Jsparse.php
- FindDeprecated.php
统计维护脚本
- InitSiteStats.php
- PopulateChangeTagDef.php
- AddChangeTag.php
- ShowSiteStats.php
- UpdateArticleCount.php
日志维护脚本
跨wiki维护脚本
任务维护脚本
语言维护脚本
基准维护脚本