From a916a25607c15602d6395e52e98441ce45c5cec0 Mon Sep 17 00:00:00 2001 From: Reedy Date: Tue, 24 Nov 2015 22:53:58 +0000 Subject: [PATCH] Mark wfBaseConvert() as deprecated. Change-Id: I7c258d0844665dea8f93cce3d8dcf617c961c5f9 --- RELEASE-NOTES-1.27 | 1 + includes/GlobalFunctions.php | 2 ++ 2 files changed, 3 insertions(+) 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 -- 2.20.1