wiki.techinc.nl/maintenance
2011-08-15 18:52:25 +00:00
..
archives Revert r94289, r94290, r94294, r94333, r94345, r94362, r94370 -- core schema change with no discussion 2011-08-15 18:24:38 +00:00
benchmarks In Database.php: 2011-06-20 06:52:44 +00:00
cssjanus (Bug 24436) Move cssjanus to maintenance folder 2010-07-18 21:31:52 +00:00
dtrace
gearman Merge r86398 into the old wfWaitForSlaves. Update core calls. 2011-04-20 00:12:06 +00:00
hiphop Explored some ideas for HipHop optimisation. Made a preprocessor implementation, based on a copy of Preprocessor_Hash, with a preprocessToObj() which is optimised. It takes 33% less time than Preprocessor_Hash for a certain realistic test case (the Barack Obama article). Some notes about what I did: 2011-06-02 02:44:33 +00:00
ibm_db2 Breaking the 'math' table setup out to Math extension. Should be the last main step in extension-ification of the math options! 2011-04-22 21:37:16 +00:00
language more ajaxCategories fixes based on review in r93351 CR 2011-08-12 11:35:50 +00:00
mssql Breaking the 'math' table setup out to Math extension. Should be the last main step in extension-ification of the math options! 2011-04-22 21:37:16 +00:00
oracle * maintenance script to switch FK references if using wgSharedDB 2011-07-15 12:44:31 +00:00
postgres Follow-up r90749: 2011-06-25 04:11:20 +00:00
sqlite/archives Folow-up r89526: tabs and eol-style :( 2011-06-05 19:46:08 +00:00
storage Fix numerous undefined variables 2011-07-01 01:42:48 +00:00
.htaccess
7zip.inc Part of bug 26280: added license headers to PHP files in maintenance 2010-12-16 19:15:12 +00:00
addwiki.php $wgVersionNumber renamed to $wmfVersionNumber 2011-08-05 02:36:59 +00:00
attachLatest.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
backup.inc Remove last wfDie()s from maintenance 2011-07-06 19:57:52 +00:00
backupPrefetch.inc libxml >= 2.7.3 ha a 10mb cap on the size of a text node and the LIBXML_PARSEHUGE lets us override that, needed for lucid since there are a few revs in the db larger than that limit 2011-07-12 15:01:58 +00:00
cdb.php Add cdb.php for inspecting cdb cache files. Format is stolen from mcc.php 2011-04-29 22:08:58 +00:00
changePassword.php Allow changePassword.php to use username or userid 2011-03-27 17:07:14 +00:00
checkAutoLoader.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
checkBadRedirects.php Update output language. 2011-03-17 09:05:34 +00:00
checkImages.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
checkSyntax.php Bunch of error suppression operator fixes (bug 2011-07-06 21:57:44 +00:00
checkUsernames.php Fix $$ from r85379 2011-04-04 22:34:32 +00:00
cleanupCaps.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
cleanupImages.php Adding __METHOD__ to parameters passed to wfMkdirParents() 2011-07-25 22:01:19 +00:00
cleanupRemovedModules.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
cleanupSpam.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
cleanupTable.inc Wow major typo, r91763 2011-07-08 22:15:29 +00:00
cleanupTitles.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
cleanupUploadStash.php Fixed bug where global wgUploadStashMaxAge wasn't used, removed redundant defaults. Followup to r93476 2011-08-04 21:19:08 +00:00
cleanupWatchlist.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
clear_interwiki_cache.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
clear_stats.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
commandLine.inc Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
compareParsers.php Unbreak multiple maintenance scripts 2011-06-26 15:40:14 +00:00
convertLinks.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
convertUserOptions.php Merge r86398 into the old wfWaitForSlaves. Update core calls. 2011-04-20 00:12:06 +00:00
createAndPromote.php Fix broken --sysop flag in r87480: it was triggering the bureaucrat right instead, and createAndPromote.php couldn't be used to create sysops at all 2011-05-14 14:20:18 +00:00
deleteArchivedFiles.inc (bug 26848) deleteArchivedFiles.php deletes db records, but not files 2011-01-21 17:42:15 +00:00
deleteArchivedFiles.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
deleteArchivedRevisions.inc Change usages of $wgUser->getSkin() in special pages to use $this->getSkin() 2011-07-01 02:25:19 +00:00
deleteArchivedRevisions.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
deleteBatch.php Merge r86398 into the old wfWaitForSlaves. Update core calls. 2011-04-20 00:12:06 +00:00
deleteDefaultMessages.php Removed useless check for existence of wfWaitForSlaves() 2011-06-17 16:39:21 +00:00
deleteImageMemcached.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
deleteOldRevisions.php Fix numerous undefined variables 2011-07-01 01:42:48 +00:00
deleteOrphanedRevisions.php Fixup/add documentation 2011-03-30 19:00:11 +00:00
deleteRevision.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
deleteSelfExternals.php Merge r86398 into the old wfWaitForSlaves. Update core calls. 2011-04-20 00:12:06 +00:00
doMaintenance.php Updated doMaintenance since wmf-config/ was moved up a dir 2011-07-18 17:23:56 +00:00
Doxyfile generate caller graphs in doxygen 2011-02-28 17:33:03 +00:00
dumpBackup.php Remove last wfDie()s from maintenance 2011-07-06 19:57:52 +00:00
dumpInterwiki.php (bug 19838) API does not use interwiki cache. 2011-07-19 12:30:18 +00:00
dumpIterator.php Change usages of $wgUser->getSkin() in special pages to use $this->getSkin() 2011-07-01 02:25:19 +00:00
dumpLinks.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
dumpSisterSites.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
dumpTextPass.php Revert r85034, r81186, r77638: per CR on r77638: XMLReader and XMLWriter are memory-hungry beasts and this script OOMs constantly. 2011-07-20 23:06:24 +00:00
dumpUploads.php No current need for an alias to getPath() 2011-05-04 18:34:50 +00:00
edit.php * Added possibility to set short options aliases to long long options, added -h alias to --help and -q to --quiet for all scripts 2011-04-06 18:37:09 +00:00
eval.php (bug 30172) posix_isatty() fallback does not work when the function has been disabled (but exists). While we're at it, make things work for HipHop too. 2011-08-02 22:01:58 +00:00
fetchText.php Added a note when this script is used 2011-06-04 09:22:24 +00:00
findHooks.php Use camelCase, as pointed out by siebrand on r89731 2011-06-15 01:34:23 +00:00
fixDoubleRedirects.php Use consistent notation for "@todo FIXME". Should update http://svn.wikimedia.org/doc/todo.html nicely. 2011-05-17 22:03:20 +00:00
fixSlaveDesync.php Fix numerous undefined variables 2011-07-01 01:42:48 +00:00
fixTimestamps.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
fixUserRegistration.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
formatInstallDoc.php Maintenance script for exporting the preprocessed wikitext from installer document pages, plus relevant refactoring. For use in updating http://www.mediawiki.org/wiki/Release_notes/1.17 etc. 2011-06-14 03:09:49 +00:00
fuzz-tester.php Swap else if for elseif 2011-06-17 16:05:35 +00:00
generateSitemap.php Adding __METHOD__ to parameters passed to wfMkdirParents() 2011-07-25 22:01:19 +00:00
getLagTimes.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
getSlaveServer.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
getText.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
importDump.php (bug 30172) posix_isatty() fallback does not work when the function has been disabled (but exists). While we're at it, make things work for HipHop too. 2011-08-02 22:01:58 +00:00
importImages.inc Type hinting 2011-04-25 21:25:45 +00:00
importImages.php Swap else if for elseif 2011-06-17 16:05:35 +00:00
importSiteScripts.php Maintenance script to import all scripts in the MediaWiki namespace from a local site. 2011-02-28 13:54:14 +00:00
importTextFile.php Part of bug 26280: added license headers to PHP files in maintenance 2010-12-16 19:15:12 +00:00
importUseModWiki.php Use consistent notation for "@todo FIXME". Should update http://svn.wikimedia.org/doc/todo.html nicely. 2011-05-17 22:03:20 +00:00
importUseModWikipedia.php Tidy up some unused variables and such 2011-04-23 21:40:52 +00:00
initEditCount.php Merge r86398 into the old wfWaitForSlaves. Update core calls. 2011-04-20 00:12:06 +00:00
initStats.php Fix missing parameter to cacheUpdate 2011-03-30 18:34:38 +00:00
install.php Remove trailing newline from pass, which is very unlikely to be intended. 2011-06-16 21:01:52 +00:00
interwiki.list Fixes for r66013: fixed syntax, switched interwiki.list to use more customary comments starting with # 2010-06-23 16:06:34 +00:00
interwiki.sql Revert r81542 for now, too lazy to fix this properly 2011-05-04 22:08:40 +00:00
jsparse.php Add jsparse.php maintenance script to run given JavaScript files through JSMin+'s JS parser for syntax validity checks. 2011-07-11 21:09:45 +00:00
lag.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
Maintenance.php Restored r94370 changes PopulateRevisionLen, moving it to $postDatabaseUpdateMaintenance 2011-08-15 18:52:25 +00:00
Makefile Move parser test related stuff to tests directory 2010-09-28 12:24:56 +00:00
mcc.php * Rewrote ObjectCache.php to conform to the modern coding style, and to be less convoluted about how CACHE_ANYTHING and CACHE_ACCEL are resolved. Moved most functionality to static members of a new ObjectCache class. 2011-03-03 09:37:37 +00:00
mctest.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
mergeMessageFileList.php Merge r81725 from 1.17wmf1: add parent constructor call so $IP is set properly 2011-02-08 12:19:59 +00:00
migrateUserGroup.php Merge r86398 into the old wfWaitForSlaves. Update core calls. 2011-04-20 00:12:06 +00:00
minify.php Fixup a couple more undefined variables 2011-03-30 19:44:39 +00:00
moveBatch.php Merge r86398 into the old wfWaitForSlaves. Update core calls. 2011-04-20 00:12:06 +00:00
mwdocgen.php Use consistent notation for "@todo FIXME". Should update http://svn.wikimedia.org/doc/todo.html nicely. 2011-05-17 22:03:20 +00:00
namespaceDupes.php Use MWNamespace::getCanonicalNamespaces() instead of $wgCanonicalNamespaceNames 2011-04-08 07:14:42 +00:00
nextJobDB.php Some bug fixes for r83634. 2011-03-10 04:47:21 +00:00
nukeNS.php Fix nukeNS maintenance script to correctly reference nukePage. Add in all option to nuke everything regardless of revision count, defaults to false. 2011-07-22 16:10:22 +00:00
nukePage.php Fix numerous undefined variables 2011-07-01 01:42:48 +00:00
orphans.php Fixup/add documentation 2011-03-30 19:00:11 +00:00
ourusers.php Part of bug 26280: added license headers to PHP files in maintenance 2010-12-16 19:15:12 +00:00
patchSql.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
populateCategory.php Tidy up some unused variables and such 2011-04-23 21:40:52 +00:00
populateImageSha1.php Changed PopulateImageSha1 to use LoggedUpdateMaintenance and added it to $postDatabaseUpdateMaintenance 2011-08-12 20:37:35 +00:00
populateLogSearch.php Swap else if for elseif 2011-06-17 16:05:35 +00:00
populateLogUsertext.php Introduced Maintenance::getDB() and corresponding setDB() to control externally what database object should be used by maintenance script. Currently used by updater to avoid DatabaseSqliteTest from running stuff like Populate* on the live database instead of the one used for testing. 2011-05-24 17:48:22 +00:00
populateParentId.php Merge r86398 into the old wfWaitForSlaves. Update core calls. 2011-04-20 00:12:06 +00:00
populateRevisionLength.php Restored r94370 changes PopulateRevisionLen, moving it to $postDatabaseUpdateMaintenance 2011-08-15 18:52:25 +00:00
preprocessDump.php Unbreak multiple maintenance scripts 2011-06-26 15:40:14 +00:00
preprocessorFuzzTest.php Change usages of $wgUser->getSkin() in special pages to use $this->getSkin() 2011-07-01 02:25:19 +00:00
protect.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
proxy_check.php proxy_check.php is probably useful to keep around, but it's not really an includes script 2011-04-25 21:04:45 +00:00
purgeList.php Fix space/tab indentation FU r94444 2011-08-15 10:23:48 +00:00
purgeOldText.inc Fix numerous undefined variables 2011-07-01 01:42:48 +00:00
purgeOldText.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
purgeStaleMemcachedText.php Make a loop to keep them really deleted. 2010-12-25 23:23:38 +00:00
README * (bug 14201) Set $wgDBadminuser/$wgDBadminpassword during setup 2009-07-23 00:31:37 +00:00
reassignEdits.php Fixup/add documentation 2011-03-30 19:00:11 +00:00
rebuildall.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
rebuildFileCache.php Bunch of error suppression operator fixes (bug 2011-07-06 21:57:44 +00:00
rebuildImages.php Change usages of $wgUser->getSkin() in special pages to use $this->getSkin() 2011-07-01 02:25:19 +00:00
rebuildInterwiki.php Move duplicated Site class into own class in Maintenance.php, include in 2 users 2011-03-30 18:40:36 +00:00
rebuildLocalisationCache.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
rebuildmessages.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
rebuildrecentchanges.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
rebuildtextindex.php Change usages of $wgUser->getSkin() in special pages to use $this->getSkin() 2011-07-01 02:25:19 +00:00
refreshImageCount.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
refreshLinks.php Adding __METHOD__ to parameters passed to wfMkdirParents() 2011-07-25 22:01:19 +00:00
removeUnusedAccounts.php Added filearchive check to isInactiveAccount() 2011-08-04 17:43:06 +00:00
renameDbPrefix.php Remove usage of $dbw->escapeLike in RenameDbPrefix (per bug 270042) 2011-01-30 22:12:13 +00:00
renamewiki.php Fixup a couple more undefined variables 2011-03-30 19:44:39 +00:00
renderDump.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
resetUserTokens.php Followup r81928, make proper use of $this->output instead of echo. 2011-03-28 03:38:43 +00:00
rollbackEdits.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
runBatchedQuery.php Correct case in function call: wfGetDb() -> wfGetDB() 2011-05-19 17:31:32 +00:00
runJobs.php Merge r86398 into the old wfWaitForSlaves. Update core calls. 2011-04-20 00:12:06 +00:00
showJobs.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
showStats.php call parent constructor so that include path and other things work right 2011-01-28 17:18:35 +00:00
Site.php Move duplicated Site class into own class in Maintenance.php, include in 2 users 2011-03-30 18:40:36 +00:00
sql.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
sqlite.inc Part of bug 26280: added license headers to PHP files in maintenance 2010-12-16 19:15:12 +00:00
sqlite.php sqlite.php: don't fail after --check-syntax on a non-SQLite DB 2011-06-11 18:45:56 +00:00
stats.php * Update class name: FakeMemCachedClient -> EmptyBagOStuff 2011-03-08 18:01:17 +00:00
tables.sql Revert r94289, r94290, r94294, r94333, r94345, r94362, r94370 -- core schema change with no discussion 2011-08-15 18:24:38 +00:00
undelete.php Update undelete.php to use short option aliases. 2011-04-14 19:01:04 +00:00
update.php (bug 29558) Add config var to disable update.php. Did this by checking $wgMiserMode and bailing unless --iknowwhatimdoing 2011-07-13 22:14:19 +00:00
updateArticleCount.php * Made SiteStatsInit::articles() give a correct result when $wgUseCommaCount is false (btw, do we really need to keep that variable?) 2011-04-20 11:58:00 +00:00
updateCollation.php Introduced Maintenance::getDB() and corresponding setDB() to control externally what database object should be used by maintenance script. Currently used by updater to avoid DatabaseSqliteTest from running stuff like Populate* on the live database instead of the one used for testing. 2011-05-24 17:48:22 +00:00
updateDoubleWidthSearch.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
updateRestrictions.php Swap else if for elseif 2011-06-17 16:05:35 +00:00
updateSearchIndex.php Bunch of error suppression operator fixes (bug 2011-07-06 21:57:44 +00:00
updateSpecialPages.php Bunch of error suppression operator fixes (bug 2011-07-06 21:57:44 +00:00
upgrade1_5.php Unbreak multiple maintenance scripts 2011-06-26 15:40:14 +00:00
userDupes.inc Some HipHop fixes: 2011-05-27 06:25:21 +00:00
userOptions.inc Part of bug 26280: added license headers to PHP files in maintenance 2010-12-16 19:15:12 +00:00
userOptions.php Part of bug 26280: added license headers to PHP files in maintenance 2010-12-16 19:15:12 +00:00
waitForSlave.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
wikipedia-interwiki.sql follow up to r85847 - tokipona projects are long dead and gone 2011-04-12 01:33:57 +00:00
wiktionary-interwiki.sql follow up to r85847 - tokipona projects are long dead and gone 2011-04-12 01:33:57 +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
	
	importTextFile.php
	Import the contents of a text file into a wiki page

	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

	stats.php
	Show all statistics stored in the cache

	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