Nikerabbit has uploaded a new change for review. 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(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate refs/changes/81/42281/1 -- To view, visit https://gerrit.wikimedia.org/r/42281 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8ec094df0e4ebe7a997db6134f8926981a896224 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Translate Gerrit-Branch: master Gerrit-Owner: Nikerabbit <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
