[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Deprecate wfUsePHP()
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/376860 ) Change subject: Deprecate wfUsePHP() .. Deprecate wfUsePHP() No callers anywhere. Change-Id: I47256448d313983e3cebd713f7c149e3c3a9ab47 --- M RELEASE-NOTES-1.30 M includes/GlobalFunctions.php 2 files changed, 5 insertions(+), 1 deletion(-) Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified diff --git a/RELEASE-NOTES-1.30 b/RELEASE-NOTES-1.30 index f741a4e..7265b51 100644 --- a/RELEASE-NOTES-1.30 +++ b/RELEASE-NOTES-1.30 @@ -213,6 +213,7 @@ 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 49159ed..bbb9317 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2781,6 +2781,9 @@ * @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 @@ * * @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 */ -- To view, visit https://gerrit.wikimedia.org/r/376860 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I47256448d313983e3cebd713f7c149e3c3a9ab47 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: MaxSemGerrit-Reviewer: Legoktm Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Deprecate wfUsePHP()
MaxSem has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/376860 ) Change subject: Deprecate wfUsePHP() .. Deprecate wfUsePHP() No callers anywhere. Change-Id: I47256448d313983e3cebd713f7c149e3c3a9ab47 --- M RELEASE-NOTES-1.30 M includes/GlobalFunctions.php 2 files changed, 5 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/60/376860/1 diff --git a/RELEASE-NOTES-1.30 b/RELEASE-NOTES-1.30 index f741a4e..7265b51 100644 --- a/RELEASE-NOTES-1.30 +++ b/RELEASE-NOTES-1.30 @@ -213,6 +213,7 @@ 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 49159ed..bbb9317 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2781,6 +2781,9 @@ * @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 @@ * * @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 */ -- To view, visit https://gerrit.wikimedia.org/r/376860 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I47256448d313983e3cebd713f7c149e3c3a9ab47 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: MaxSem___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits