Page MenuHomePhabricator

JavaFFS doesn't parse fuzzy tags from source files
Open, LowPublic

Description

This leads to information loss when the files are modified outside the wiki.

Steps to reproduce:

  1. Set up Translate extension
  2. Setup file based message group per https://www.mediawiki.org/wiki/Help:Extension:Translate/Group_configuration_example using JavaFFS
  3. Import some message
  4. Make some translations
  5. Fuzzy the translations
  6. Export translations
  7. Edit the exported files to remove # fuzzy
  8. Sync the exported files back to the wiki

Excepted: While reviewing changes in Special:ManageMessageGroups, the unfuzzied messages will shop up in the list and and are no longer fuzzy after synced.

Details

Reference
bz40712

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:56 AM
bzimport set Reference to bz40712.
bzimport added a subscriber: Unknown Object (MLST).

pr4tiklahoti wrote:

How can I reproduce this bug? Any testcase?

Steps to reproduce:

  1. Setup file based message group per https://www.mediawiki.org/wiki/Help:Extension:Translate/Group_configuration_example using JavaFFS
  2. Import some message
  3. Make some translations
  4. Fuzzy the translations
  5. Export translations
  6. Edit the exported files to remove # fuzzy
  7. Sync the exported files back to the wiki

Excepted: While reviewing changes in Special:ManageMessageGroups, the unfuzzied messages will shop up in the list and and are no longer fuzzy after synced.

PLease brief me about the bug and corresponding code lines.

Alisha: See comment 2 for reproducing. Afterwards you need to investigate the source code in git.wikimedia.org/tree/mediawiki%2Fextensions%2FTranslate.git/HEAD/ffs yourself, e.g. how supportsFuzzy() is called and used.

Aklapper lowered the priority of this task from Medium to Low.Apr 22 2019, 6:05 PM
Aklapper updated the task description. (Show Details)
Aklapper removed a subscriber: wikibugs-l-list.