Last modified: 2012-10-08 09:51:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39145, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37145 - A change to a translation should be able to trigger a message group workflow state change
A change to a translation should be able to trigger a message group workflow ...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
master
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Niklas Laxström
:
Depends on:
Blocks: 36591 34299
  Show dependency treegraph
 
Reported: 2012-05-27 14:48 UTC by Siebrand Mazeland
Modified: 2012-10-08 09:51 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Siebrand Mazeland 2012-05-27 14:48:24 UTC
Remove published on change. To make this possible, we need to start generating events in Translate.

These are the event conditions that we have identified so far.

Scenario: A message group in a language has an undefined state. When a change is made to any message of a message group in a language, based on the variables (UNTRANSLATED) untranslated message and (OUTDATED) Outdated message, (MESSAGECOUNT) Number of messages in group, (REVIEWED) Number of reviewed messages and (STATE) current message group state index, it must be possible to configure the following:
1.1. When UNTRANSLATED >= 1, OUTDATED = 0 set STATE to SomeState ("progress" on Meta Wiki).
1.2. When OUTDATED >= 1 set STATE to SomeState ("needs-updating" on Meta Wiki). 
1.3. When UNTRANSLATED = 0, OUTDATED = 0 set STATE to SomeState ("proofreading" on Meta Wiki).
1.4 When REVIEWED = MESSAGECOUNT set STATE to SomeState ("ready" on Meta Wiki).
1.5 When STATE = SomeState set STATE to WhateverTheWorkflowRequires (most probably "proofreading" in this example (This is used to remove state "published" after an update is made).

Additional acceptance criteria:
2.1: When no message group state is found, the state is "(unset)". This means that there are no translations for a message group at all (UNTRANSLATED = MESSAGECOUNT, STATE not present)
2.2: Any user should be able to override a state manually (the ones they are allowed to set (bug 37142)) until another change is made to a message in a group after which the state is set based on workflow state rules. This is needed to allow a language for which only one translator is available to reach a "ready" state.

For the initial integration of CentralNotice with Translate, only requirements 1.5, 2.1 and 2.2 MUST be met.
Comment 1 Niklas Laxström 2012-10-08 09:51:29 UTC
This is possible with the latest version of Translate. Docs will be
updated at
https://www.mediawiki.org/wiki/Help:Extension:Translate/Message_group_states

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links