X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=blobdiff_plain;f=includes%2FGlobalFunctions.php;h=cd8ae46907b64cda657f2736bbfca5e3b45af200;hb=5cf4575ea34f2dd17a8f318d0412e0d8457db5d5;hp=42a6573257cdb529bfdf23cd6138073959a4e82f;hpb=2a9814f00ee06ddea9ea0c81f0cc9c799067880a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 42a6573257..cd8ae46907 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2377,6 +2377,8 @@ function wfInitShellLocale() { * Note that $parameters should be a flat array and an option with an argument * should consist of two consecutive items in the array (do not use "--option value"). * + * @deprecated since 1.31, use Shell::makeScriptCommand() + * * @param string $script MediaWiki cli script path * @param array $parameters Arguments and options to the script * @param array $options Associative array of options: @@ -3019,7 +3021,7 @@ function wfWaitForSlaves( $ifWritesSince = null, $wiki = false, $cluster = false, $timeout = null ) { if ( $timeout === null ) { - $timeout = wfIsCLI() ? 86400 : 10; + $timeout = wfIsCLI() ? 60 : 10; } if ( $cluster === '*' ) {