From: jenkins-bot Date: Fri, 13 Oct 2017 18:15:34 +0000 (+0000) Subject: Merge "Hard deprecate wfBaseConvert()" X-Git-Tag: 1.31.0-rc.0~1782 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=2373a59e26eb38c23a166eb23464f54f41f6a3d4;hp=-c Merge "Hard deprecate wfBaseConvert()" --- 2373a59e26eb38c23a166eb23464f54f41f6a3d4 diff --combined includes/GlobalFunctions.php index 537a97ff9e,279fc95649..ffdfc92c4d --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@@ -2684,6 -2684,7 +2684,7 @@@ function wfRelativePath( $path, $from function wfBaseConvert( $input, $sourceBase, $destBase, $pad = 1, $lowercase = true, $engine = 'auto' ) { + wfDeprecated( __FUNCTION__, '1.27' ); return Wikimedia\base_convert( $input, $sourceBase, $destBase, $pad, $lowercase, $engine ); } @@@ -3047,8 -3048,6 +3048,8 @@@ function wfWaitForSlaves * Count down from $seconds to zero on the terminal, with a one-second pause * between showing each number. For use in command-line scripts. * + * @deprecated since 1.31, use Maintenance::countDown() + * * @codeCoverageIgnore * @param int $seconds */