Page MenuHomePhabricator

make maintenance/update.php exit(1) so calling scripts can catch errors
Closed, ResolvedPublic


exit(1) on errors

Version: 1.15.x
Severity: minor




Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:30 PM
bzimport set Reference to bz17948.
bzimport added a subscriber: Unknown Object (MLST).
Jidanni created this task.Mar 11 2009, 11:19 PM

Consider doing similar at all other die()s throughout MediaWiki.

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.

demon added a comment.Apr 6 2009, 2:41 PM

Fixed in r49247