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

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