This extension is used to monitor the progression of the Kol-Zchut Hebrew->Arabic translation project.
This extension uses Composer to manage its dependencies. Therefore, you need to have the following in
composer.local.json
(unless you already use the merge plugin to include extensions/*/composer.json
):
"extra": {
"merge-plugin": {
"include": [
"extensions/WikiRights/TranslationManager/composer.json",
"skins/*/composer.json"
]
}
}
- $wgTranslationManagerAutoSaveWordCount (boolean): save word count into the database directly from the word counter special page.
- $wgTranslationManagerAutoSetEndTranslationOnWordCount (boolean): set end date to today on word count.
- $wgTranslationManagerValidLanguages (array): an array of allowed language codes (e.g. ['en', 'ar'] ) These determine the target languages you can manage.
The extension adds the user preference "translationmanager-language", which is set to the user's preferred language code (e.g. 'ar') for translation work. This is also used by extension:ExportForTranslation.
These are required for creating redirects on the target wiki:
- $wgTranslationManagerTargetWikiApiURL: the full url to the api (e.g., 'https://localhost/wiki/api.php'). You may use a placeholder $1 to be repalced automatically by a language code, if you use a wiki family.
- $wgTranslationManagerTargetWikiUserName
- $wgTranslationManagerTargetWikiUserPassword
- Extension:AdditionalFormInputs, which adds a positive-integer HTML field
- addwiki/mediawiki-api: API client to create redirects on a target wiki
- Extension:ExportForTranslation (used for word count) >= 0.3.0
- Extension:ArticleType (extra filtering enabled if available)
- Extension:ArticleContentArea (extra filtering)
- Multi-lingual support, including a user preference for default language
- Make extension ArticleType optional; use its new getJoin() function to filter without knowing table specifics.
- Drop the main_category field and use Extension:ArticleContentArea instead
- The word counter will now try to compare with the actual exported revision, instead of the current revision.
- Allow to programatically get suggestions by article IDs (with or without language links), not just all rows
- Do not create redirects if the article is already translated
- Use an API client to create redirects on a remote wiki whenever a new translation suggestion is added