From: Max Semenik Date: Sat, 9 Sep 2017 01:03:09 +0000 (-0700) Subject: Deprecate wfUsePHP() X-Git-Tag: 1.31.0-rc.0~2171 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=5fd5f6dbbac92d65cff282ffcf914f2b0afe54d7;p=lhc%2Fweb%2Fwiklou.git Deprecate wfUsePHP() No callers anywhere. Change-Id: I47256448d313983e3cebd713f7c149e3c3a9ab47 --- diff --git a/RELEASE-NOTES-1.30 b/RELEASE-NOTES-1.30 index f741a4e627..7265b51810 100644 --- a/RELEASE-NOTES-1.30 +++ b/RELEASE-NOTES-1.30 @@ -213,6 +213,7 @@ changes to languages because of Phabricator reports. page_restrictions.pr_user, tag_summary.ts_log_id, tag_summary.ts_rev_id and user_properties.up_user have all been made unsigned on MySQL. * DB_SLAVE is deprecated. DB_REPLICA should be used instead. +* wfUsePHP() is deprecated. == Compatibility == MediaWiki 1.30 requires PHP 5.5.9 or later. There is experimental support for diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 49159ed3df..bbb93171cb 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2781,6 +2781,9 @@ function wfDiff( $before, $after, $params = '-u' ) { * @see perldoc -f use * * @param string|int|float $req_ver The version to check, can be a string, an integer, or a float + * + * @deprecated since 1.30 + * * @throws MWException */ function wfUsePHP( $req_ver ) { @@ -2809,7 +2812,7 @@ function wfUsePHP( $req_ver ) { * * @see perldoc -f use * - * @deprecated since 1.26, use the "requires' property of extension.json + * @deprecated since 1.26, use the "requires" property of extension.json * @param string|int|float $req_ver The version to check, can be a string, an integer, or a float * @throws MWException */