Page MenuHomePhabricator

Source language shows untranslated messages
Open, MediumPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

The English message group shows that there is 1 translation message that is outdated.

image.png (175×1 px, 26 KB)

When you go to the message group page though it shows that the source language is English and there are no messages to translate.

What should have happened instead?:

Translation should have been 100%.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Nikerabbit moved this task from Backlog to Statistics on the MediaWiki-extensions-Translate board.
Nikerabbit subscribed.

It currently looks fine to me. The statistics calculation is slow and complicated, and there is caching too, so it's possible there is a small glitch in the numbers from time to time. But it's been built so that errors are repaired automatically on subsequent updates.

In this case I am not able to figure out what could have caused this. I don't see anything relevant in our logs.

This has been a long-standing bug. It was even present for this message group during the Community Wishlist Survey last year meaning that it's stayed that way for over a year...

I think I found the issue. It's this page.

image.png (736×1 px, 142 KB)
.

It shows up as having outdated translations even on the English translation page.

https://meta.wikimedia.org/w/api.php?action=query&format=jsonfm&list=messagecollection&mcgroup=page-Template%3ACommunity%20Wishlist%20Survey%2FNum%20tasks&mclanguage=en&mclimit=100&mcfilter=!ignored%7C!optional%7C!translated&mcprop=definition%7Ctranslation%7Ctags%7Cproperties&rawcontinue=1&errorformat=html&formatversion=2 shows:

{
    "warnings": [
        {
            "code": "translate-language-disabled-source",
            "html": "The source language of this group is English. Please select another language to translate into.",
            "module": "query+messagecollection"
        }
    ],
    "query": {
        "metadata": {
            "state": "progress",
            "resultsize": 1,
            "remaining": 0
        },
        "messagecollection": [
            {
                "key": "Template:Community_Wishlist_Survey/Num_tasks/1",
                "definition": "{{PLURAL:$1|$1 Phab task|$1 Phab tasks}}, {{PLURAL:$2|$2 related|$2 related}}",
                "translation": "{{PLURAL:$1|$1 Phab task|$1 Phab tasks}}, {{PLURAL:$2|$2 related|$2 related}}",
                "tags": [
                    "fuzzy"
                ],
                "properties": {
                    "revision": "22802029",
                    "status": "fuzzy",
                    "last-translator-text": "FuzzyBot",
                    "last-translator-id": "1058846"
                },
                "title": "Translations:Template:Community Wishlist Survey/Num tasks/1/en",
                "targetLanguage": "en",
                "primaryGroup": "page-Template:Community Wishlist Survey/Num tasks"
            }
        ]
    }
}

It is indeed marked as fuzzy.

https://meta.wikimedia.org/w/index.php?title=Translations:Template:Community_Wishlist_Survey/Num_tasks/1/en&action=history shows it's almost one year old, so not sure if this bug is fixed yet. Should be easy to reproduce by adding "incorrect" duplicated plural forms on English source page.