From: Reedy Date: Tue, 24 Nov 2015 22:53:58 +0000 (+0000) Subject: Mark wfBaseConvert() as deprecated. X-Git-Tag: 1.31.0-rc.0~8877 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=a916a25607c15602d6395e52e98441ce45c5cec0;p=lhc%2Fweb%2Fwiklou.git Mark wfBaseConvert() as deprecated. Change-Id: I7c258d0844665dea8f93cce3d8dcf617c961c5f9 --- diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index 6850e2bb8b..c66da4f6ec 100644 --- a/RELEASE-NOTES-1.27 +++ b/RELEASE-NOTES-1.27 @@ -155,6 +155,7 @@ changes to languages because of Phabricator reports. ResourceLoaderContext instance is deprecated. * ResourceLoader::getLessCompiler() now takes an optional parameter of additional LESS variables to set for the compiler. +* wfBaseConvert() marked as deprecated, use Wikimedia\base_convert() directly instead. == Compatibility == diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 9566069ee4..43b936b54b 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -3330,6 +3330,8 @@ function wfRelativePath( $path, $from ) { * Supports base 2 through 36; digit values 10-36 are represented * as lowercase letters a-z. Input is case-insensitive. * + * @deprecated 1.27 Use Wikimedia\base_convert() directly + * * @param string $input Input number * @param int $sourceBase Base of the input number * @param int $destBase Desired base of the output