aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/reassignEdits.php
Commit message (Collapse)AuthorAgeFilesLines
...
* Update some deprecated codeSam Reed2011-10-141-2/+2
| | | | | | | | | | | Documentation Fix "/*" comments to "/**" Flesh out some missing returns, change some return types Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/99808
* Fixup/add documentationSam Reed2011-03-301-2/+2
| | | | | | | Remove some unused variables Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/85035
* Fix concern raised by Brion in r74108 (but has really existed since the ↵Chad Horohoe2011-01-131-1/+1
| | | | | | | | | | | 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. Until now, we relied on setting MW_NO_SETUP which was a) hacky, b) irreversable, and c) likely to be forgotten if you didn't use one of the wrappers like runChild(). Instead, move the freaky magic to doMaintenance and have *it* check if it's in a specific call stack that indicates this is being run from the file scope and should be executed. Rename DO_MAINTENANCE to RUN_MAINTENANCE_IF_MAIN so it's nice and clear what magic happens behind the require_once(). Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/80205
* Whitespace fixup under tha maint directory.Mark A. Hershberger2010-12-041-9/+9
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/77711
* More unused variablesSam Reed2010-11-301-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/77495
* Fix spaces to tabs from r77393Sam Reed2010-11-291-3/+3
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/77413
* Remove some unused variables and globalsSam Reed2010-11-281-3/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/77393
* More reversion of r77297, 2 of 2 commits to keep it readable in CR (hopefully)Sam Reed2010-11-251-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/77305
* revert r76464Antoine Musso2010-11-251-1/+1
| | | | | | | | | | * mixed style changes and variable removing * logic changes * useful comments removed Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/77297
* Various unused variables, add some bracesSam Reed2010-11-101-1/+1
| | | | | | | Explicitally define some variables used in hook type calls Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/76464
* Remove some unused variablesSam Reed2010-09-201-1/+2
| | | | | | | Add some braces Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/73377
* Stylize maintenance folder..Sam Reed2010-05-221-15/+15
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/66751
* Followup r60051, with the rest of the callers and removing a useless ↵Chad Horohoe2009-12-141-2/+2
| | | | | | | subclassing from DatabaseMssql Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/60053
* * (bug 20908) reassignEdits.php was calling userSpecification() which was ↵Alexandre Emsenhuber2009-10-011-4/+4
| | | | | | | | | moved to the ReassignEdits class with the maintenance scripts rewrite * Also fix some E_STRICT errors Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/57223
* Redo addArgs() as addArg() so we can actually do useful things with ↵Chad Horohoe2009-08-181-1/+2
| | | | | | | arguments like descriptions and proper requirement checks, similar to addOption() Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/55287
* Revert r54244 which was stupid and fix this properly. Require ↵Chad Horohoe2009-08-031-1/+1
| | | | | | | commandLine.inc/Maintenance.php using the full path every time. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/54312
* Don't put \n on the end of every error() call, just do it in error() itself. ↵Chad Horohoe2009-08-021-1/+1
| | | | | | | Still have to use on output(), because people like "Something...done" stuff. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/54240
* Merge maintenance-work branch (now with less errors!):Chad Horohoe2009-08-021-42/+154
| | | | | | | | | | | * Docs have been updated to indicate the standard on how to write maintenance scripts (MW.org docs will follow) Have ported vast majority of maintenance scripts to new format. Remaining ones (mostly FiveUpgrade-related) are a bit more tricky. commandLine.inc is untouched for now. Many have gotten code-style updates as well. Deleted .inc files were only used by their .php counterparts, and have been merged into single files. * (bug 11867) Lock error on redirect table when running orphans.php * (bug 16322) Allow maintenance scripts to accept DB user/pass over input or params * (bug 18566) Maintenance script to un/protect pages * initStats overhaul, now uses class SiteStatsInit. Also fixes bug 18930 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/54225
* Revert r52336 "Merge maintenance-work branch:"Brion Vibber2009-06-241-139/+42
| | | | | | | | Seems to have broken a bunch of stuff. Don't commit giant non-critical changes that break Setup.php and all maint scripts. Thanks! Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/52340
* Merge maintenance-work branch:Chad Horohoe2009-06-241-42/+139
| | | | | | | | | | | | * (bug 16322) Allow maint scripts to accept DB user/pass over input or params if no AdminSettings.php * (bug 18768) Remove AdminSettings.php from MediaWiki core * (bug 19157) createAndPromote error on bad password * (bug 14201) Create AdminSettings.php during wiki installation, in the same way as LocalSettings.php * Introduce new Maintenance class framework and port a good number of scripts over; the ones that are left are a little more complicated. Read the docs. * Not deleting "unused" files yet, don't want to break everything at once :) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/52336
* * (bug 18698) Renaming non entry point maintenance scripts from .inc.php to .incShinjiman2009-05-231-1/+1
| | | | | | | patch by Karun Dambiec Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/50942
* WARNING: HUGE COMMITAlexandre Emsenhuber2008-05-201-1/+2
| | | | | | | | | | | | | | | | | | Doxygen documentation update: * Changed alls @addtogroup to @ingroup. @addtogroup adds the comment to the group description, but doesn't add the file, class, function, ... to the group like @ingroup does. See for example http://svn.wikimedia.org/doc/group__SpecialPage.html where it's impossible to see related files, classes, ... that should belong to that group. * Added @file to file description, it seems that it should be explicitely decalred for file descriptions, otherwise doxygen will think that the comment document the first class, variabled, function, ... that is in that file. * Removed some empty comments * Removed some ?> Added following groups: * ExternalStorage * JobQueue * MaintenanceLanguage One more thing: there are still a lot of warnings when generating the doc. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/35098
* Remove ?>'s from files. They're pointless, and just asking for people to ↵Aryeh Gregor2007-06-291-1/+0
| | | | | | | mess with the files and add trailing whitespace. (Yes, I looked over every one and reverted those that were bogus. Slash-enter a million times in less worked well enough, although it was a bit mind-numbing.) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/23531
* Use Doxygen @addtogroup instead of phpdoc @package && @subpackageAntoine Musso2007-01-201-2/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/19502
* Rewrite reassignEdits script to be more efficient; support optional updates ↵Rob Church2006-04-291-12/+27
| | | | | | | to recent changes table; add reporting and silent modes Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/13931
* Maintenance script to reassign edits from one user to anotherRob Church2006-01-261-0/+42
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/12877