Last modified: 2010-11-27 15:26:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T27505, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25505 - Write maintenance script to bulk update status'
Write maintenance script to bulk update status'
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CodeReview (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-12 22:43 UTC by Sam Reed (reedy)
Modified: 2010-11-27 15:26 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2010-10-12 22:43:04 UTC
Granted... UPDATE /*_*/code_rev SET cr_status = 'old' WHERE cr_status = 'new' AND cr_timestamp < NOW() - Some Period AND cr_repo_id = blah would do the job

But might aswell do it semi-properly, eh?

I'm presuming we don't need the status change audit trail?
Comment 1 Sam Reed (reedy) 2010-11-27 12:10:16 UTC
How do you think we should just do the user? Just allow the script to be run with parameter user X?
Comment 2 Sam Reed (reedy) 2010-11-27 14:22:40 UTC
Commited script in r77355, but it's not autoloading stuff

Chad, any ideas?
Comment 3 Sam Reed (reedy) 2010-11-27 15:26:05 UTC
Done, needed a bit of core modification in r77358

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links