Last modified: 2014-11-20 08:53:23 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 T51898, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49898 - It's sometimes possible to save translations in a blacklisted language
It's sometimes possible to save translations in a blacklisted language
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!
leteam
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-20 18:14 UTC by Rainer Rillke @commons.wikimedia
Modified: 2014-11-20 08:53 UTC (History)
11 users (show)

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


Attachments

Description Rainer Rillke @commons.wikimedia 2013-06-20 18:14:51 UTC
Original bug title:
When entering the URL generated by the Translate extension into my browser's address bar it says: "Translate in zh please."

But when I choose zh-hant from ULS, it allows translating into Traditional Chinese (zh-hant) and it creates the URL, I later tried to enter in my browser's address bar (which fails with "Translate in zh please.").

Here is the URL: https://commons.wikimedia.org/w/index.php?title=Special:Translate&group=page-Commons%3AVandalism&filter=&action=translate&language=zh-hant

Expected: Consistent behaviour.
Comment 1 Rainer Rillke @commons.wikimedia 2013-06-20 18:21:45 UTC
Note that I use that ULS that appears after clicking the dropdown in Special:Translate

You can easily reproduce this:
* Go to https://commons.wikimedia.org/w/index.php?title=Special:Translate&group=page-Commons%3AVandalism&filter=&action=translate&language=zh
* Click the language in the "Translate to" dropdown
* ULS appears
* Enter zh-hant
* Click the one remaining entry.
* The URL changes to https://commons.wikimedia.org/w/index.php?title=Special:Translate&group=page-Commons%3AVandalism&filter=&action=translate&language=zh-hant
* You can translate into Traditional Chinese

On the other hand, go to https://commons.wikimedia.org/w/index.php?title=Special:Translate&group=page-Commons%3AVandalism&filter=&action=translate&language=zh-hant directly and you can't
Comment 2 Nemo 2013-06-20 18:36:23 UTC
zh-hant is blacklisted, so the warning is correct. However, I was able to save a translation in zh-hant...
Comment 3 Liangent 2013-06-20 19:50:35 UTC
I guess the solution should be to hide disabled languages in Extension:Translate's ULS dialog.
Comment 4 Rainer Rillke @commons.wikimedia 2013-06-20 20:02:16 UTC
Why is zh-hant blacklisted?
Comment 5 Liangent 2013-06-20 20:25:06 UTC
(In reply to comment #4)
> Why is zh-hant blacklisted?

There is https://commons.wikimedia.org/w/index.php?title=Commons:Vandalism/zh&variant=zh-hant
Comment 6 Liangent 2013-06-20 20:28:42 UTC
btw. bug 49907 spotted just now.

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


Navigation
Links