X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiBase.php;h=9d6314de8be10df3d67d5cd17a5db81ff3e7e0d4;hp=73315a09668222bb5035086d325e2aea7b5f582c;hb=64b146e55a132a8381e9f24c58ef6d5b37fa1750;hpb=654508a1d9c75148095ee615012c8d43b625f489 diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 73315a0966..9d6314de8b 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -2465,7 +2465,7 @@ abstract class ApiBase extends ContextSource { realpath( __DIR__ ) ?: __DIR__ => [ 'path' => $IP, 'name' => 'MediaWiki', - 'license-name' => 'GPL-2.0+', + 'license-name' => 'GPL-2.0-or-later', ], realpath( "$IP/extensions" ) ?: "$IP/extensions" => null, realpath( $extDir ) ?: $extDir => null, @@ -2589,16 +2589,6 @@ abstract class ApiBase extends ContextSource { return false; } - /** - * @deprecated since 1.25, always returns empty string - * @param IDatabase|bool $db - * @return string - */ - public function getModuleProfileName( $db = false ) { - wfDeprecated( __METHOD__, '1.25' ); - return ''; - } - /** * @deprecated since 1.25 */ @@ -2622,15 +2612,6 @@ abstract class ApiBase extends ContextSource { wfDeprecated( __METHOD__, '1.25' ); } - /** - * @deprecated since 1.25, always returns 0 - * @return float - */ - public function getProfileTime() { - wfDeprecated( __METHOD__, '1.25' ); - return 0; - } - /** * @deprecated since 1.25 */ @@ -2645,15 +2626,6 @@ abstract class ApiBase extends ContextSource { wfDeprecated( __METHOD__, '1.25' ); } - /** - * @deprecated since 1.25, always returns 0 - * @return float - */ - public function getProfileDBTime() { - wfDeprecated( __METHOD__, '1.25' ); - return 0; - } - /** * Call wfTransactionalTimeLimit() if this request was POSTed * @since 1.26