Anomie has uploaded a new change for review.
https://gerrit.wikimedia.org/r/184685
Change subject: Remove long-deprecated ApiBase::getVersion()
......................................................................
Remove long-deprecated ApiBase::getVersion()
This method has been deprecated and uncalled since MediaWiki 1.21. Once
earlier versions of MediaWiki are no longer supported, this should be
merged to remove the method.
Bug: T35287
Change-Id: I41a72e9ab5c1cbb10436c8e97bc64ea05f2c194b
---
M includes/SF_AutocompleteAPI.php
M includes/SF_AutoeditAPI.php
2 files changed, 0 insertions(+), 17 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticForms
refs/changes/85/184685/1
diff --git a/includes/SF_AutocompleteAPI.php b/includes/SF_AutocompleteAPI.php
index a6407a0..790b4c9 100644
--- a/includes/SF_AutocompleteAPI.php
+++ b/includes/SF_AutocompleteAPI.php
@@ -141,10 +141,6 @@
);
}
- public function getVersion() {
- return __CLASS__ . ': $Id$';
- }
-
private static function getAllValuesForProperty( $property_name,
$substring, $basePropertyName = null, $baseValue = null ) {
global $sfgMaxAutocompleteValues, $sfgCacheAutocompleteValues,
$sfgAutocompleteCacheTimeout;
global $smwgDefaultStore;
diff --git a/includes/SF_AutoeditAPI.php b/includes/SF_AutoeditAPI.php
index 2d0135a..05f6512 100644
--- a/includes/SF_AutoeditAPI.php
+++ b/includes/SF_AutoeditAPI.php
@@ -1162,17 +1162,4 @@
);
}
- /**
- * Returns a string that identifies the version of the class.
- * Includes the class name, the svn revision, timestamp, and
- * last author.
- *
- * @return string
- */
- function getVersion() {
- global $sfgIP;
- $gitSha1 = SpecialVersion::getGitHeadSha1( $sfgIP );
- return __CLASS__ . '-' . SF_VERSION . ($gitSha1 !== false) ? '
(' . substr( $gitSha1, 0, 7 ) . ')' : '';
- }
-
}
--
To view, visit https://gerrit.wikimedia.org/r/184685
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I41a72e9ab5c1cbb10436c8e97bc64ea05f2c194b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticForms
Gerrit-Branch: master
Gerrit-Owner: Anomie <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits