Last modified: 2014-07-09 12:42:32 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 T12827, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10827 - Make MediaWiki:Sharedupload point to Commons with lang setting of that wiki
Make MediaWiki:Sharedupload point to Commons with lang setting of that wiki
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
UniversalLanguageSelector-fixed
: i18n
Depends on:
Blocks: 4243 commons messages
  Show dependency treegraph
 
Reported: 2007-08-07 08:42 UTC by brianna.laugher
Modified: 2014-07-09 12:42 UTC (History)
10 users (show)

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


Attachments

Description brianna.laugher 2007-08-07 08:42:30 UTC
MediaWiki:Sharedupload appears on 'fake' image pages at local wikis,  where the image is actually hosted at Commons rather than the local wiki. Most wikis that use this message include a link to the Commons image page similar to this:

[[Commons:Image:{{PAGENAMEE}}|description page there]]

A user from is.wikipedia change the link on that project like this:

[{{fullurl:commons:Image:{{PAGENAME}}|uselang=is}} description page there]

This means when the Icelandic reader clicks on the link, they get the Commons interface in Icelandic.

This seems like a reasonable change, to me, to make on all Wikimedia wikis. Although if the user clicks another link on Commons, the interface will 'jump back' to English, at least it is better than nothing.

Possibly when SUL comes, this will be irrelevant. I am not sure if language preference settings will 'carry over'.
Comment 1 Eysteinn Gudni Gudnason 2007-08-09 00:31:05 UTC
I got the idea from jp.wikipedia. And I suggested this on de: and fr: where they quickly and happily made the change. The problem is, when I am on fr: and click on an image the link overwrites my settings for an Icelandic Commons page. This quickly changes when I go to the next page. Still, better then nothing.
Comment 2 Bawolff (Brian Wolff) 2012-12-29 09:16:31 UTC
Note: doing [{{fullurl:commons:Image:{{PAGENAME}}|uselang={{CONTENTLANG}}}} description page there] should work on all wikis.

----

This is an interesting idea, and perhaps should be done with instant commons too. (and the url is generated per view, so we could probably do this with userlang instead of contentlang)


Downside:
*Would cause anons to bypass some caches. I don't think there's enough traffic off those links to really make a significant difference.
*As mentioned above, if user logged in on commons, may override their prefs. but minor issue. Even less if we use userlang


>the interface will 'jump back' to English,

I think commons has fancy js to prevent that.
Comment 3 Nemo 2012-12-29 09:30:59 UTC
(In reply to comment #2)
> This is an interesting idea, and perhaps should be done with instant commons
> too. (and the url is generated per view, so we could probably do this with
> userlang instead of contentlang)

Yes, it should. The additional advantage of doing it MediaWiki side would be precisely to use userlang. This would have been more useful 5 years ago, because the UniversalLanguageSelector will make it less useful on Commons in the next few months/years, but it should still be a good idea for the meanwhile and for wikis using another shared repository.
Comment 4 Bawolff (Brian Wolff) 2012-12-30 04:54:42 UTC
I'm not that familar with ULS - but I assume it still requires the user to select a language. In that case passing on the current language still sounds useful.
Comment 5 Andre Klapper 2014-07-08 16:20:19 UTC
This has a "UniversalLanguageSelector-fixed" whiteboard entry, which makes me wonder what's specifically left to do here now that ULS is deployed...
Anyone knows? Nemo? :-/
Comment 6 Nemo 2014-07-08 16:35:16 UTC
(In reply to Andre Klapper from comment #5)
> This has a "UniversalLanguageSelector-fixed" whiteboard entry, which makes
> me wonder what's specifically left to do here now that ULS is deployed...

This bug would be superseded only if bug 13097 / bug 1135 was fixed. ULS is not yet enabled for unregistered users and there are no plans to complete that work in the next year(s).

Also to be noted:

(from comment #0)
> Possibly when SUL comes, this will be irrelevant. I am not sure if language
> preference settings will 'carry over'.

There are no plans for this either.
Comment 7 Nemo 2014-07-08 16:37:42 UTC
(In reply to Bawolff (Brian Wolff) from comment #2)
> This is an interesting idea, and perhaps should be done with instant commons
> too.

Indeed. Moved to core, where it's even more useful because third party wikis have no SUL. :)

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


Navigation
Links