jenkins-bot has submitted this change and it was merged.
Change subject: Deprecate Solr translation memory
......................................................................
Deprecate Solr translation memory
Will be removed in MediaWiki 1.29. This should be added to the MLEB
release notes.
Change-Id: Ie734afd348b1f7fc2a8716c62c7b51848eeaa1a8
---
M ttmserver/SolrTTMServer.php
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
Nikerabbit: Looks good to me, approved
jenkins-bot: Verified
diff --git a/ttmserver/SolrTTMServer.php b/ttmserver/SolrTTMServer.php
index 77bebf9..33c0fec 100644
--- a/ttmserver/SolrTTMServer.php
+++ b/ttmserver/SolrTTMServer.php
@@ -13,6 +13,7 @@
* TTMServer backed based on Solr instance. Depends on Solarium.
* @since 2012-06-27
* @ingroup TTMServer
+ * @deprecated 1.27. Will be removed in 1.29.
*/
class SolrTTMServer
extends TTMServer
@@ -32,7 +33,10 @@
protected $logger;
public function __construct( $config ) {
+ wfDeprecated( __METHOD__, '1.24' );
+
parent::__construct( $config );
+
if ( isset( $config['config'] ) ) {
$this->client = new Solarium_Client( $config['config']
);
} else {
--
To view, visit https://gerrit.wikimedia.org/r/274941
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie734afd348b1f7fc2a8716c62c7b51848eeaa1a8
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
Gerrit-Reviewer: KartikMistry <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits