the parser so extensions are free to implement their own <math> tag
* (bug 21047) Wrap 'cannotdelete' into a div with the generic 'error' class and
an own 'mw-error-cannotdelete' class
+* Maintenance scripts now set nonzero exit codes when terminating due to error
=== Bug fixes in 1.16 ===
// Do the work
try {
- $maintenance->execute();
+ $result = $maintenance->execute();
} catch( MWException $mwe ) {
echo( $mwe->getText() );
+ $result = 1;
}
// Potentially debug globals
$maintenance->globals();
+
+exit( intval( $result ) );