Page MenuHomePhabricator

Translating page in Special:Translate displays empty messages after filtering
Open, MediumPublic

Description

Intention:
Update message translation after filtering results

Steps to Reproduce:
See note below if using another example.

  1. Go to a Special:Translate for a translatable page (e.g. https://www.mediawiki.org/w/index.php?title=Special:Translate&group=page-How+to+report+a+bug&language=sv&action=page&filter=)
  2. Filter the results (using "step" for above link)
  3. Select any message
  4. Click Skip to next
  5. Make a null edit (add space, remove space, press save)
  6. Remove filter word and reload page

Actual Results:
After 4/5: Whole message (source+translation) is replaced by a blank box
After 6: Messages reappear

Expected Results:
After 4/5: Messages appear as before step 3

Reproducible: Sometimes

Could not reproduce this on a filtered search on translatewiki. Might be linked specifically to translated pages (similar to bug #60952).

The bug does not occur for the first and last messages on the page (if included in the filtered results) or when the filtered results are sufficiently many to trigger the page to scroll down (e.g. filter by "bug" in the example url).

Details

Reference
bz60963

Event Timeline

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

Created attachment 14506
Screenshot showing empty messages

Attached:

pr4tiklahoti wrote:

Screenshot when filtered on 'bug'

I was able to reproduce the bug. But when I filtered on 'bug', I could see this weird behaviour. One of the message appears in the midway and then again, there are empty messages. The messages are thus empty when filtered on 'bug', which returned me 15 results.

Attached:

Pols12 added a subscriber: Pols12.Jan 21 2020, 11:27 PM

Seems to be worst today:

Could not reproduce this on a filtered search on translatewiki. Might be linked specifically to translated pages (similar to bug #60952).

I can reproduce on Translatewiki.net, so it is not only related to translated pages only.

The bug does not occur […] when the filtered results are sufficiently many to trigger the page to scroll down (e.g. filter by "bug" in the example url).

Like pr4tiklahoti, I can reproduce even if a the page scrolls down while saving.

I can reproduce with Chromium

Nikerabbit updated the task description. (Show Details)Jan 22 2020, 9:21 AM
Nikerabbit removed a subscriber: wikibugs-l-list.