X-Git-Url: http://git.cyclocoop.org/%27.parametre_url%28%20%20%20generer_action_auteur%28%27charger_plugin%27%2C%20%27update_flux%27%29%2C%27update_flux%27%2C%20%27oui%27%29.%27?a=blobdiff_plain;f=includes%2FGlobalFunctions.php;h=6e94d5fe6eb1e58f1a0c9a47389df7ba10fd52ad;hb=fbc03474660e678e1e53705694f149d9ae32db6f;hp=b0057ebf9afa81073355db463dac5e667bd6c3c4;hpb=cce016b4a4cb04611657e3d3299cba94f2e354d2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index b0057ebf9a..6e94d5fe6e 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -582,7 +582,7 @@ function wfAppendQuery( $url, $query ) { * like "subdir/foo.html", etc. * * @param string $url Either fully-qualified or a local path + query - * @param string $defaultProto One of the PROTO_* constants. Determines the + * @param string|int|null $defaultProto One of the PROTO_* constants. Determines the * protocol to use if $url or $wgServer is protocol-relative * @return string|false Fully-qualified URL, current-path-relative URL or false if * no valid URL can be constructed @@ -2021,7 +2021,7 @@ function wfSuppressWarnings( $end = false ) { * Restore error level to previous value */ function wfRestoreWarnings() { - MediaWiki\suppressWarnings( true ); + MediaWiki\restoreWarnings(); } /** @@ -2754,7 +2754,7 @@ function wfSetupSession( $sessionId = false ) { if ( session_id() !== $session->getId() ) { session_id( $session->getId() ); } - MediaWiki\quietCall( 'session_start' ); + Wikimedia\quietCall( 'session_start' ); } /**