Deprecate wfUsePHP()
authorMax Semenik <maxsem.wiki@gmail.com>
Sat, 9 Sep 2017 01:03:09 +0000 (18:03 -0700)
committerMax Semenik <maxsem.wiki@gmail.com>
Sat, 9 Sep 2017 01:03:09 +0000 (18:03 -0700)
No callers anywhere.

Change-Id: I47256448d313983e3cebd713f7c149e3c3a9ab47

RELEASE-NOTES-1.30
includes/GlobalFunctions.php

index f741a4e..7265b51 100644 (file)
@@ -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
index 49159ed..bbb9317 100644 (file)
@@ -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
  */