Updated mediawiki/extensions Project: mediawiki/extensions/Translate d3b54f5f3825d41589e4b5e7894bf4314ae9f971
Get translated messages in the target language, using MessageCollection.
Steps:
- Fetch 1000 messages for the query string in the source language.
- Create message definitions for all message keys found in step 1.
- Filter to get all the translations of said messages existing
in the selected target language.
- After filtering, if the messages count is less than the limit, say 25,
then repeat step 1 until found the remaining.
By default:
- the source language is the wiki's content language,
- the target language is the interface language.
Use parameter 'filter=translated' to get translated messages.
Bug: T101220
Change-Id: I0cd190a87c19318a79a124318183ca4d4d8a07b7