Last modified: 2013-12-28 14:53:21 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 T46867, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44867 - Categories marked for translation don't have anything translatable, page display title available only if there's another string to translate
Categories marked for translation don't have anything translatable, page disp...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://www.mediawiki.org/w/index.php...
:
Depends on:
Blocks: commons
  Show dependency treegraph
 
Reported: 2013-02-11 08:47 UTC by Nemo
Modified: 2013-12-28 14:53 UTC (History)
6 users (show)

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


Attachments

Description Nemo 2013-02-11 08:47:42 UTC
(Split from bug 44864 comment #4)
> (In reply to comment #2)
> > Why is that category a translatable page if there is nothing to translate?
> 
> Note: By way, if category have no translatable strings, upper caption is
> "This
> page is a translated version of a page and the translation is 0% complete".
> In
> my opinion, should be "100%".

This is because the bar assumes there will always be at least one translation unit, the page title.
This is IMHO a correct assumption, because the pagedisplay / displaytitle for categories should be translatable as in all pages (and I thought it was; maybe this changed at some point). However, if for some reason devs decide the contrary the calculation bug reported by Kaganer remains.
Comment 1 Nemo 2013-02-13 08:35:20 UTC
Clarified summary: the page display title became available when another non-empty translation unit was added.
Comment 2 Paul Kaganer 2013-02-13 11:37:17 UTC
Ok, this tested in the http://www.mediawiki.org/wiki/Category:MediaWiki_Introduction/ru

Why this page marked as "50% translation"? There's no untranslated content... Maybe should be two translatable string at least?
Comment 3 Nemo 2013-03-05 09:51:17 UTC
To keep an eye on: unlrelated Gerrit change #52216 might affect this.
Comment 4 Andre Klapper 2013-04-25 11:42:23 UTC
(In reply to comment #3)
> To keep an eye on: unlrelated Gerrit change #52216 might affect this.

That patch got merged on March 07, 2013, hence wondering what's the status here.
Comment 5 Nemo 2013-04-25 13:21:00 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > To keep an eye on: unlrelated Gerrit change #52216 might affect this.
> 
> That patch got merged on March 07, 2013, hence wondering what's the status
> here.

IIRC I tested when that was deployed and nothing had changed.
On the original example if you remove the translation unit the mark page for translation link doesn't even appear; I created another test case and there's nothing to translate after «The page has been marked up for translation with 0 translation units. The page can now be translated».
https://www.mediawiki.org/w/index.php?title=Special%3ATranslate&taction=translate&group=page-Category%3ALocalisation+extensions&language=it&limit=100&task=untranslated

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


Navigation
Links