Last modified: 2009-04-06 14:41:44 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 T19948, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17948 - make maintenance/update.php exit(1) so calling scripts can catch errors
make maintenance/update.php exit(1) so calling scripts can catch errors
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.15.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy, patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-11 23:19 UTC by Dan Jacobson
Modified: 2009-04-06 14:41 UTC (History)
1 user (show)

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


Attachments
exit(1) on errors (786 bytes, patch)
2009-03-11 23:19 UTC, Dan Jacobson
Details

Description Dan Jacobson 2009-03-11 23:19:25 UTC
Created attachment 5918 [details]
exit(1) on errors
Comment 1 Dan Jacobson 2009-03-21 22:38:31 UTC
Consider doing similar at all other die()s throughout MediaWiki.
Comment 2 Dan Jacobson 2009-04-01 00:23:10 UTC
Often one makes scripts to update many wikis at a time.
Without you returning the correct error value, scripts are unable to detect errors, and will plow along possibly damaging many things.
Comment 3 Chad H. 2009-04-06 14:41:44 UTC
Fixed in r49247

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


Navigation
Links