Last modified: 2014-05-23 01:57:02 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 T46471, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44471 - Redirect file page of foreign files directly to commons
Redirect file page of foreign files directly to commons
Status: UNCONFIRMED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.21.x
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 38634 (view as bug list)
Depends on: 18752 38786
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-29 17:01 UTC by Jan Kucera (Kozuch)
Modified: 2014-05-23 01:57 UTC (History)
4 users (show)

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


Attachments

Description Jan Kucera (Kozuch) 2013-01-29 17:01:41 UTC
Redirect File: page directly to Wikimedia Commons in case file is streamed from there and no local file copy is available (most images on Wikipedias) because of 2 main reasons:
- Commons categories are not shown on local File: pages
- Commons annotations are not shown on local File: pages

This feature would basically be needed on all Wikimedia wiki projects.
Comment 1 Bawolff (Brian Wolff) 2013-01-30 01:38:51 UTC
Just to clarify, you are asking that

User links to (or goes to) [[File:Example.png]] on en.wikipedia, they end up at http://commons.wikimedia.org/wiki/File:Example.png instead of http://en.wikipedia.org/wiki/File:Example.png. (Just want to make sure I understand you correctly. "stream" can sometimes have a different meaning).

Doing this would probably make the "what pages use this file" not have the information for the specific wiki, which might be considered bad. Magically moving the user to the other site could also cause some confusion. People might not realize what happened, etc.

>- Commons categories are not shown on local File: pages
In theory there's nothing preventing us from showing them. How to present them so as not to be confusing is probably the biggest issue.

>- Commons annotations are not shown on local File: pages
annotations are done via js and really don't have much to do with MW. I see no reason why adding the javascript to the local js of the downstream user can't be done (Aka, add the annotation js to [[mediawiki:Common.js]] on wikipedia).
Comment 2 Jan Kucera (Kozuch) 2013-01-30 08:30:01 UTC
(In reply to comment #1)
> Just to clarify, you are asking that
> 
> User links to (or goes to) [[File:Example.png]] on en.wikipedia, they end up
> at
> http://commons.wikimedia.org/wiki/File:Example.png instead of
> http://en.wikipedia.org/wiki/File:Example.png. (Just want to make sure I
> understand you correctly. "stream" can sometimes have a different meaning).

Yes this is what I meant.

> >- Commons categories are not shown on local File: pages
> In theory there's nothing preventing us from showing them. How to present
> them
> so as not to be confusing is probably the biggest issue.

Ok, lets do it. I filled another bug for this as bug #38786.

> >- Commons annotations are not shown on local File: pages
> annotations are done via js and really don't have much to do with MW. I see
> no
> reason why adding the javascript to the local js of the downstream user can't
> be done (Aka, add the annotation js to [[mediawiki:Common.js]] on wikipedia).

Ok, lets do this too.
Comment 3 Jan Kucera (Kozuch) 2013-01-30 08:32:22 UTC
Sorry that bug goes to annotations of course.
Comment 4 Jan Kucera (Kozuch) 2013-01-30 08:35:45 UTC
Regarding the categories there already is a bug too: bug #18752.
Comment 5 Bawolff (Brian Wolff) 2014-05-22 16:26:47 UTC
I'm taking this bug to just be about redirected users to commons image page. The copy over categories is now a separate bug.

It should perhaps be re-evaluated if we still want to redirect file desc pages to commons. As it stands, we now have

*Multimedia viewer that changes the default viewing of file page experience
*"tabs" on the file page which now point users to commons.


>> >- Commons annotations are not shown on local File: pages
>> annotations are done via js and really don't have much to do with MW. I see
>> no
>> reason why adding the javascript to the local js of the downstream user can't
>> be done (Aka, add the annotation js to [[mediawiki:Common.js]] on wikipedia).

>Ok, lets do this too.

To clarify, that part is out of scope for bugzilla (unless we bring annotations into MediaWiki at some future date). You'd have to ask at local wikipedia
Comment 6 Bawolff (Brian Wolff) 2014-05-23 01:57:02 UTC
*** Bug 38634 has been marked as a duplicate of this bug. ***

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


Navigation
Links