From 5fd5f6dbbac92d65cff282ffcf914f2b0afe54d7 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Fri, 8 Sep 2017 18:03:09 -0700 Subject: [PATCH] Deprecate wfUsePHP() No callers anywhere. Change-Id: I47256448d313983e3cebd713f7c149e3c3a9ab47 --- RELEASE-NOTES-1.30 | 1 + includes/GlobalFunctions.php | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) 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 */ -- 2.20.1