Merge "Hard deprecate wfBaseConvert()"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 13 Oct 2017 18:15:34 +0000 (18:15 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 13 Oct 2017 18:15:34 +0000 (18:15 +0000)
1  2 
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
   */