Page MenuHomePhabricator

The same wish appearing multiple times in index pages if they have translations
Closed, ResolvedPublicBUG REPORT

Description

What is the problem?

On https://wishlist-test.toolforge.org/wiki/Community_Wishlist and https://wishlist-test.toolforge.org/wiki/Community_Wishlist/Wishes I see several duplicate wishes, one for each translation of a wish.

It probably affects https://wishlist-test.toolforge.org/wiki/Community_Wishlist/Archive as well.

Steps to reproduce problem

In https://wishlist-test.toolforge.org/wiki/Community_Wishlist/Wishes you will see

  • <translate> Translate Wish 4</translate>
  • ترجمة الرغبة 4
  • Traduire le souhait 4

which all link to different translations of Community_Wishlist/Wishes/Translate_Wish_4

Screenshots

duplicate_wishes.png (980×686 px, 83 KB)

Details

Other Assignee
dom_walden

Event Timeline

TheresNoTime changed the task status from Open to Stalled.Jul 3 2024, 10:45 AM
TheresNoTime subscribed.

Likely to be resolved by the work towards T368349: Translate tags are shown in wish table — stalling this until clear.

@tstarling @MusikAnimal In the English index I am seeing some URLs for non-English translations of wishes, even though English translations exist.

For example, go to https://wishlist-test.toolforge.org/wiki/Template:Community_Wishlist/Wishes/All and search:

  • da Cannot save B da
  • eo Cannot save D eo
  • bpy VE accuracy test (oracle) bpy

But, other translated wishes are having their English translations linked correctly. Is it because the titles have been translated?

Also, when selecting translations for the index, should we follow the language fallback chain (e.g. the Brazilian Portuguese index should have links to the Portuguese translation if no pt-br translation exists but a pt one does).

I tested that all the current wishes were shown on all the index pages for every language.

@tstarling @MusikAnimal In the English index I am seeing some URLs for non-English translations of wishes, even though English translations exist.

I don't see this anymore. I guess it was fixed incidentally.

MusikAnimal claimed this task.