Last modified: 2014-03-04 08:54:36 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 T49864, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47864 - Language bar percentages are off
Language bar percentages are off
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
master
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://www.mediawiki.org/wiki/MediaW...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-30 09:31 UTC by Siebrand Mazeland
Modified: 2014-03-04 08:54 UTC (History)
9 users (show)

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


Attachments

Description Siebrand Mazeland 2013-04-30 09:31:34 UTC
URL is fully tranalated, but until it was purged, it showed "This page is a translated version of a page MediaWiki 1.22/wmf3 and the translation is 83% complete." The language bar percentage also indicated 83% translated.
Comment 1 Nemo 2013-04-30 09:37:36 UTC
Sometimes cache lasts few weeks and purging doesn't help (no idea if it's same issue).
Comment 2 Benjamin Chen 2013-04-30 11:04:26 UTC
http://meta.wikimedia.org/wiki/Single_User_Login_finalisation_announcement/zh-hans

There exists 1 outdated message, but it still says 100% complete. Not sure if it's the same cache problem or it's a separate bug.
Comment 3 Eduard Braun 2014-03-02 20:06:58 UTC
Still an issue.

As an example I just translated [1] with two translation units:
- during translation on Special:Translate the progress bar reached 100 %
- afterwards I noticed on the linked page that it said only 50 % were completed
  (purging had no effect)
- back at Special:Translate the progress bar now also back at 50 %
- Message group statistics also show 50 % although both translation units
  are translated


[1] https://commons.wikimedia.org/wiki/Template:ESO-source/i18n/de
Comment 4 Eduard Braun 2014-03-03 22:29:59 UTC
It seems that always one translation goes uncounted (e.g. 4 translation units translated for a message group results in 75 % completion).

I noticed however that by translating an already translated unit again (enter and delete a char to bypass the initially disabled button) will update the percentage so it shoes correctly afterwards.


Be warned though, that the progress bar will go crazy during this:
- If you do what I just described after step 1 of comment 3 the progress bar
  will increase by one (e.g. reaching 125 % in a message group with 4
  translation units)
- If you do what I just described after step 3 of comment 3 the progress bar
  will actually DEcrease by one (e.g. reaching 50 % in a message group with 4
  translation units)
But at least the actual completion is correctly updated...
Comment 5 Nemo 2014-03-04 08:11:32 UTC
Thanks Eduard, but this bug is about the so called language bar i.e. the output of <languages/> on translation pages. The bug with the bar on Special:Translate was filed as bug 46739, duped to 45700, re-appeared disguised as bug 48971 and filed again as bug 60949. I'm copying your comments there.
Comment 6 Eduard Braun 2014-03-04 08:47:30 UTC
Thanks and sorry for mixing stuff up since actually I was talking about both bugs.

I just wanted to note that the status bar on Special:Tranlsate was differently broken from the translation completion percentage shown in the <languages/> tag and the "Message group statistics". At least the latter two are the same internal value and therefore the same (this) bug I hope?
Comment 7 Nemo 2014-03-04 08:54:36 UTC
(In reply to Eduard Braun from comment #6)
> At least the latter two
> are the same internal value and therefore the same (this) bug I hope?

Not necessarily, they have separate caching. There is or was another bug (or multiple) for LanguageStats / MessageGroupStats, but devs think nothing can be done until the underlying cause of bug 46716 is fixed (and that bug is blocked, see there).

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


Navigation
Links