https://bugzilla.wikimedia.org/show_bug.cgi?id=29558
--- Comment #4 from Bryan Tong Minh <bryan.tongm...@gmail.com> 2011-07-07 08:11:50 UTC --- (In reply to comment #3) > (In reply to comment #2) > > General hook in Maintenance, that we hook in InitialiseSettings.php to abort > > the script? > > Sounds good to me, Bryan. Could you implement this? No, somebody with shell access should do it, because InitialiseSettings.php is a Wikimedia config file. I took a quick look into the Maintenance hook though, and it looks like if ( !wfRunHooks( 'MaintenanceMainBeforeExecute', array( &$maintenance, &$exitCode ) ) ) { exit( $exitCode ); } just before the try catch block in maintenance/doMaintenance.php would be appropriate. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l