jenkins-bot has submitted this change and it was merged.

Change subject: Translation memory changes part 2
......................................................................


Translation memory changes part 2

!! All message indexes need to be rebuild !!

Has some sprawling changes because I needed to fix failing tests.
Handle tm updating properly as described in
https://www.mediawiki.org/wiki/Help:Extension:Translate/Translation_memories#Solr_backend

* MessageGroups: fix cache clearing on group deletion
* MockFileBasedMessageGroup: above fixed exposed bugs here, which caused 
MessageGroupsTest to fail
* ApiQueryMessageTranslations: handle no results
* DatabaseTTMServer: cleanup unused code
* MessageIndex: added hook needed for ttmserver updating
* MessageIndex: in-process cache was not updated on store

Change-Id: I8ec094df0e4ebe7a997db6134f8926981a896224
---
M MessageGroups.php
M Translate.php
M TranslateEditAddons.php
M TranslateHooks.php
M TranslateUtils.php
M _autoload.php
M api/ApiQueryMessageTranslations.php
M hooks.txt
M tests/MessageGroupsTest.php
M tests/MessageIndexRebuildJobTest.php
M tests/MockFileBasedMessageGroup.php
M tests/PageTranslationTaggingTest.php
A tests/SolrTTMServerTest.php
M ttmserver/DatabaseTTMServer.php
M ttmserver/Interfaces.php
M ttmserver/SolrTTMServer.php
M ttmserver/TTMServer.php
A ttmserver/TTMServerMessageUpdateJob.php
M utils/MessageIndex.php
19 files changed, 412 insertions(+), 88 deletions(-)

Approvals:
  Siebrand: Looks good to me, approved
  jenkins-bot: Verified


--
To view, visit https://gerrit.wikimedia.org/r/42281
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8ec094df0e4ebe7a997db6134f8926981a896224
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[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

Reply via email to