Antoine Musso e839739f7b Let install.php detect and inject extensions 7 년 전
..
archives eec016ece6 Add new index to make updateCollation.php painless 9 년 전
benchmarks 5b48bf1b92 Clean up after "Kill mbstring fallbacks" 9 년 전
dev 8c087b9fd1 Merge "Revert "Add executable rights for executable (bash) files"" 9 년 전
dictionary 771964fdea ApiMain: Correct typo in variable name 9 년 전
hiphop beb1c4a0ec phpcs: More require/include is not a function 11 년 전
jsduck 3f4e016873 Upstream `isElementInViewport` from MobileFrontend 9 년 전
language cb646b8aff Chinese Conversion Table Update 2016-2 8 년 전
locking a0eef4ef0d Removed expiremental LSLockManager class 11 년 전
mssql 0b396a3972 Revert "Revert "Merge branch 'REL1_27' into fundraising/REL1_27"" 8 년 전
oracle 43e386ca16 Add id field to watchlist db table 9 년 전
postgres 43e386ca16 Add id field to watchlist db table 9 년 전
resources 72152b9d77 Follow-up f9b4bbff: Fix typo'ed variable name 8 년 전
sqlite 43e386ca16 Add id field to watchlist db table 9 년 전
storage b5656b6953 Many more function case mismatches 9 년 전
term e78776373e Fixed some @params documentation (maintenance) 11 년 전
.htaccess eb24ecc37b htaccessing some directories for dev using cvs tree as www tree ;) 21 년 전
7zip.inc c331f11991 Update formatting in maintenance/ (1/4) 11 년 전
Doxyfile ff39e4022d Doxygen: Disable verbose output 9 년 전
Maintenance.php 23361af7fd Respect undeclared command line options 9 년 전
Makefile dfb8390a42 Initial JSDuck implementation 12 년 전
README ade945b97a Remove obsolete showCacheStats.php and showCacheStats.php 9 년 전
attachLatest.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
backup.inc 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
backupPrefetch.inc c54766586a Fix issues identified by SpaceBeforeSingleLineComment sniff 9 년 전
cdb.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
changePassword.php 2aa1e3f5d1 Remove $wgDisableAuthManager 8 년 전
checkBadRedirects.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
checkComposerLockUpToDate.php 17b26044dd Suggest running composer (install|update) with --no-dev 7 년 전
checkImages.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
checkLess.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
checkSyntax.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
checkUsernames.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
cleanupAncientTables.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
cleanupBlocks.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
cleanupCaps.php 932c37e3cb Use english messages for background use of Status::getWikiText 9 년 전
cleanupImages.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
cleanupPreferences.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
cleanupRemovedModules.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
cleanupSpam.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
cleanupTable.inc 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
cleanupTitles.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
cleanupUploadStash.php 1834ee3d8e Fix numerous class/function casing 9 년 전
cleanupWatchlist.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
clearInterwikiCache.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
commandLine.inc b4d5a97c3b Register importImages options without arguments as actual maintenance script options so they are usable 9 년 전
compareParserCache.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
compareParsers.php 59db24e90b Use addDescription() instead of accessing mDescription directly 9 년 전
convertExtensionToRegistration.php 1b31ac18c0 registration: Fix mode of files (755 -> 644) 8 년 전
convertLinks.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
convertUserOptions.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
copyFileBackend.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
copyJobQueue.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
createAndPromote.php 2aa1e3f5d1 Remove $wgDisableAuthManager 8 년 전
createCommonPasswordCdb.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
deleteArchivedFiles.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
deleteArchivedRevisions.php 59db24e90b Use addDescription() instead of accessing mDescription directly 9 년 전
deleteBatch.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
deleteDefaultMessages.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
deleteEqualMessages.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
deleteOldRevisions.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
deleteOrphanedRevisions.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
deleteRevision.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
deleteSelfExternals.php 59db24e90b Use addDescription() instead of accessing mDescription directly 9 년 전
doMaintenance.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
dumpBackup.php 7ba452e3c7 Replace create_function() with a closure 9 년 전
dumpIterator.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
dumpLinks.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
dumpTextPass.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
dumpUploads.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
edit.php 932c37e3cb Use english messages for background use of Status::getWikiText 9 년 전
eraseArchivedFile.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
eval.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
exportSites.php eb46307b00 Introduce top level service locator. 9 년 전
fetchText.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
fileOpPerfTest.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
findDeprecated.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
findHooks.php 386aadde29 Support short array syntax in findHooks.php 8 년 전
findMissingFiles.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
findOrphanedFiles.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
fixDefaultJsonContentPages.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
fixDoubleRedirects.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
fixExtLinksProtocolRelative.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
fixTimestamps.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
fixUserRegistration.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
formatInstallDoc.php beb1c4a0ec phpcs: More require/include is not a function 11 년 전
generateJsonI18n.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
generateLocalAutoload.php 35e22af46e Fix generateLocalAutload.php 8 년 전
generateSitemap.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
getConfiguration.php 5b119a0e44 Replace uses of join() by implode() 9 년 전
getLagTimes.php 59db24e90b Use addDescription() instead of accessing mDescription directly 9 년 전
getSlaveServer.php 59db24e90b Use addDescription() instead of accessing mDescription directly 9 년 전
getText.php 59db24e90b Use addDescription() instead of accessing mDescription directly 9 년 전
importDump.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
importImages.inc 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
importImages.php 932c37e3cb Use english messages for background use of Status::getWikiText 9 년 전
importSiteScripts.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
importSites.php eb46307b00 Introduce top level service locator. 9 년 전
importTextFiles.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
initEditCount.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
initSiteStats.php ec134c075f initSiteStats.php: Make it obvious you need to use --update 9 년 전
install.php e839739f7b Let install.php detect and inject extensions 7 년 전
interwiki.list 610a4391db Remove the SourceForge interwiki 9 년 전
interwiki.sql 610a4391db Remove the SourceForge interwiki 9 년 전
jsparse.php 59db24e90b Use addDescription() instead of accessing mDescription directly 9 년 전
lag.php 59db24e90b Use addDescription() instead of accessing mDescription directly 9 년 전
makeTestEdits.php 59db24e90b Use addDescription() instead of accessing mDescription directly 9 년 전
mcc.php aa838b52de Try to fix some other broken-looking legacy maintenance script options 9 년 전
mctest.php 77adf7534b Remove used of deprecated MemCachedClientforWiki 9 년 전
mergeMessageFileList.php e74bc3b32e Support multiple extension-dir paths to be passed to mergeMessageFileList 9 년 전
migrateFileRepoLayout.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
migrateUserGroup.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
minify.php 59db24e90b Use addDescription() instead of accessing mDescription directly 9 년 전
moveBatch.php 932c37e3cb Use english messages for background use of Status::getWikiText 9 년 전
mwdoc-filter.php 222ef664fc Doxygen: Rewrite mwdoc-filter to fix bug with slashes in comments 9 년 전
mwdocgen.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
mwjsduck-gen 3bbd27aa49 Rename JSDuck config to standard 'jsduck' 10 년 전
namespaceDupes.php c9d885f3b4 Namespace LinkTarget under MediaWiki\Linker 9 년 전
nukeNS.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
nukePage.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
orphans.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
pageExists.php 59db24e90b Use addDescription() instead of accessing mDescription directly 9 년 전
parse.php 1834ee3d8e Fix numerous class/function casing 9 년 전
patchSql.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
populateBacklinkNamespace.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
populateCategory.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
populateContentModel.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
populateFilearchiveSha1.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
populateImageSha1.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
populateLogSearch.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
populateLogUsertext.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
populateParentId.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
populateRecentChangesSource.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
populateRevisionLength.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
populateRevisionSha1.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
preprocessDump.php 5a77286a1e Update formatting in maintenance/ (3/4) 11 년 전
preprocessorFuzzTest.php aa838b52de Try to fix some other broken-looking legacy maintenance script options 9 년 전
protect.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
pruneFileCache.php 59db24e90b Use addDescription() instead of accessing mDescription directly 9 년 전
purgeChangedFiles.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
purgeChangedPages.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
purgeList.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
purgeOldText.php 59db24e90b Use addDescription() instead of accessing mDescription directly 9 년 전
purgeParserCache.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
reassignEdits.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
rebuildFileCache.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
rebuildImages.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
rebuildLocalisationCache.php ee8b8f1d37 Fix RebuildLocalisationCache bug from MediaWikiServices 9 년 전
rebuildSitesCache.php eb46307b00 Introduce top level service locator. 9 년 전
rebuildall.php 59db24e90b Use addDescription() instead of accessing mDescription directly 9 년 전
rebuildmessages.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
rebuildrecentchanges.php b09a23f284 RebuildRecentchanges improvements 9 년 전
rebuildtextindex.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
refreshFileHeaders.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
refreshImageMetadata.php ed3b46d259 refreshImageMetadata: Allow filtering by 'img_media_type' too 9 년 전
refreshLinks.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
removeInvalidEmails.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
removeUnusedAccounts.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
renameDbPrefix.php 44cebea941 Update wfGetDB calls in Maintenance scripts to use getDB() 9 년 전
renderDump.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
resetUserEmail.php 5ef414072c resetUserEmail: Allow resetting email without scrambling password 9 년 전
resetUserTokens.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
rollbackEdits.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
runBatchedQuery.php 59db24e90b Use addDescription() instead of accessing mDescription directly 9 년 전
runJobs.php e2fde0fe45 Add --wait option for runJobs.php 9 년 전
runScript.php f36f49380e Add convenience maintenance script wrapper 11 년 전
showJobs.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
showSiteStats.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
sql.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
sqlite.inc 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
sqlite.php b5656b6953 Many more function case mismatches 9 년 전
syncFileBackend.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
tables.sql eec016ece6 Add new index to make updateCollation.php painless 9 년 전
tidyUpBug37714.php c161c46d26 Improve code suffering from PHP 5.3's lack of support for foo()[] 9 년 전
undelete.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
update-keys.sql d315c3bdb3 Ignore duplicate key errors in update-keys.sql 10 년 전
update.php 3d7debe94c Ignore long git hashes for eval-stdin.php 7 년 전
updateArticleCount.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
updateCollation.php 0d4e0ca543 Add -f as an alias of --force to cli args of updateCollation.php 8 년 전
updateDoubleWidthSearch.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
updateRestrictions.php 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
updateSearchIndex.php 1834ee3d8e Fix numerous class/function casing 9 년 전
updateSpecialPages.php 44cebea941 Update wfGetDB calls in Maintenance scripts to use getDB() 9 년 전
userDupes.inc 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
userOptions.inc 6e9b4f0e9c Convert all array() syntax to [] 9 년 전
userOptions.php 783fe84d00 Let maintenance class start with a upper case letter 11 년 전
validateRegistrationFile.php 9f5b6f5aeb Fix whitespace issues around parentheses 9 년 전
wrapOldPasswords.php cc61b621e3 Remove $wgAuth usage from wrapOldPasswords.php 7 년 전

README

== 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