Last modified: 2013-11-01 21:14:22 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 T55184, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53184 - Uselang hack not working for Persian
Uselang hack not working for Persian
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: commons
  Show dependency treegraph
 
Reported: 2013-08-21 22:53 UTC by [no longer active user]
Modified: 2013-11-01 21:14 UTC (History)
12 users (show)

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


Attachments

Comment 1 Bawolff (Brian Wolff) 2013-08-21 23:45:10 UTC
Many of the messages are missing a "fafromflickr" translation. For example: https://commons.wikimedia.org/wiki/MediaWiki:Watchthisupload/fafromflickr does not exist. When using the uselang hack, language fallbacks are not used. If a message is missing, the english translation is used.

https://commons.wikimedia.org/wiki/MediaWiki:Upload-permitted/fafromflickr does exist, and does not seem to be used. I'm not sure why, maybe something wrong with i18n cache?
Comment 2 [no longer active user] 2013-08-22 00:13:02 UTC
Okay. I run http://commons.wikimedia.org/wiki/User:MediaWiki_Update_Bot/commonsmwupdate_specific.py for it and most messages [seems after cache to be purged] will be in Persian but it is far from prefect. For an RTL language [like Hebrew, Arabic, ...], UI must be flipped; compare http://commons.wikimedia.org/w/index.php?title=Special:Upload&uselang=he and http://commons.wikimedia.org/w/index.php?title=Special:Upload&uselang=hefromflickr
Comment 3 Bawolff (Brian Wolff) 2013-08-22 00:14:54 UTC
I don't think we're likely to support setting the page language based on the uselang parameter in the near future. (It is called the uselang *hack*, emphasize the word "hack" for a reason).
Comment 4 [no longer active user] 2013-08-22 00:22:18 UTC
Of-course, UploadWizard has most use-cases of Special:Upload so fixing it is important IMO also, but good to be fixed somehow, may with an alternative URL parameter (uilang=fa) or ...
Comment 5 [no longer active user] 2013-08-22 00:33:00 UTC
*not :)
Comment 6 Nemo 2013-08-22 04:34:49 UTC
I would call it a major bug if Commons' Special:Upload was broken, but it seems the example URL is now ok?
The changes related to bug 1495 have taken into account the need not to disrupt Commons and they have been implemented some weeks ago, while your problem is more recent, isn't it?
Comment 7 [no longer active user] 2013-08-22 14:58:48 UTC
http://commons.wikimedia.org/w/index.php?title=Special:Upload&uselang=fafromflickr  vs http://commons.wikimedia.org/w/index.php?title=Special:Upload&uselang=fa definitely not okay and yes its major. IMO hack was not even needed if Special:Upload just had another URL parameter to change MediaWiki:Uploadtext (and may two or three other messages) to custom ones but denying this simple needed feature made Commons community to make completely mess of MediaWiki messages (see http://commons.wikimedia.org/wiki/Special:Contributions/MediaWiki_Update_Bot)
Comment 8 Bawolff (Brian Wolff) 2013-08-22 15:30:02 UTC
(In reply to comment 
> IMO hack was not even needed if
> Special:Upload just had another URL parameter to change MediaWiki:Uploadtext
> (and may two or three other messages)

You know, I don't think anyone has ever asked for that before. What are the two or three additional messages you would consider important to override?
Comment 9 Bawolff (Brian Wolff) 2013-08-23 00:57:26 UTC
I guess it would just be mediawiki:Uploadtext and MediaWiki:Licenses that you would need to be overriden by url parameter?
Comment 10 [no longer active user] 2013-11-01 21:14:22 UTC
Yes just these two AFAIK. I guess this needs another specific bug report, I will close it. I hope someone go for fix this mess on Commons MediaWiki message [just because two message].

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


Navigation
Links