Last modified: 2010-05-15 15:37:57 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 T4726, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2726 - links ([[:Image:foo]], ...) broken in image descriptions transcluded from the Commons
links ([[:Image:foo]], ...) broken in image descriptions transcluded from the...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.5.x
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 2711 4340 4386 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-06 18:02 UTC by David Benbennick
Modified: 2010-05-15 15:37 UTC (History)
4 users (show)

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


Attachments

Description David Benbennick 2005-07-06 18:02:38 UTC
See, for example, [[Image:Correggio Jupiter and Io dsc01821.jpg]].  
The markup inside the red box is broken.  All the other links on the 
page appear to be right.  I think the problem is simply links of the 
form [[:Image: ...
Comment 1 patrick.wikipedia 2005-07-16 07:23:51 UTC
The transclusion to another project of an internal 
link from an image page on Commons to another image 
page or to a special page gives a wrong link, see also 
[[m:Image:Tst.png]].
Comment 2 Aurimas Fišeras 2005-12-14 21:04:23 UTC
*** Bug 2711 has been marked as a duplicate of this bug. ***
Comment 3 Zigger 2005-12-22 10:57:12 UTC
*** Bug 4340 has been marked as a duplicate of this bug. ***
Comment 4 Zigger 2005-12-22 11:04:28 UTC
See bug 3397 for the same symptoms using a "[[Special:Upload]]" link inside a
template on the commons description page.
Comment 5 bdk 2005-12-23 06:39:58 UTC
please note especially comment 1 at bug 3495 
Comment 6 lɛʁi לערי ריינהארט 2005-12-23 08:55:03 UTC
Should "crosswiki" be added to "Keywords" here?
*crosswiki*
== "This bug requires two or more MediaWiki installations to communicate and/or
share data."

I think that the transclusion assumes that all interwiki prefixes from
[[commons:]] work at all of the wiki's sharing the files. If the transclusion of
the image description from the shared file repository is a basic MediaWiki
feature not related to WikiMedia foundations installations then the interwiki
tables at these installations need to pay attention that the interewiki tables
from all wiki's sharing the files are subsets of the interwiki table of the
common file repository.

*a minor issue*
At [[wiktionary:en:Image:Västerås-domkyrka2,_modified.jpg]] the link
"sv:User:Chrizz" points correctly to [[wikipedia:sv:User:Chrizz]]. However this
is an anomaly because links at wiktionaries starting with the interwiki prefix
"sv:" link to "[[wiktionary:sv:foo]]".

best regards reinhart [[user:gangleri]]
Comment 7 lɛʁi לערי ריינהארט 2005-12-23 09:26:26 UTC
example to comment6

The description from [[commons:Image:Lauterbrunnen-valley.jpg]] is included at
[[wikipedia:en:Image:Lauterbrunnen-valley.jpg]]. This is refered at
bug 3397: special link in commons template is badly expanded when viewed from
other wiki

At the moment the links are broken. If this bugs will be fixed please assure that 

http://commons.wikimedia.org/wiki/Special:Upload" title="Special:Upload">upload
[[Special:Upload|upload]]
is exchanged with
http://commons.wikimedia.org/wiki/Special:Upload"
title="commons:Special:Upload">upload
[[commons:Special:Upload|upload]]

See [[wiktionary:yi:project:bugzilla/02726#language_lings_trough_commons]].
Maybe it would be the easiest way just to add the interwiki prefix "commons:" to
all wikified links from the transcluded image description. This will fix also
the "minor issue" from comment 6.
Comment 8 David Benbennick 2005-12-23 17:54:50 UTC
(In reply to comment #6)
> At [[wiktionary:en:Image:Västerås-domkyrka2,_modified.jpg]] the link
> "sv:User:Chrizz" points correctly to [[wikipedia:sv:User:Chrizz]]. However this
> is an anomaly because links at wiktionaries starting with the interwiki prefix
> "sv:" link to "[[wiktionary:sv:foo]]".

No, the link is correct.  When an image description page is transcluded from the
Commons, it is supposed to be rendered the same way it would be at the Commons.
 This is necessary for attribution, for example, or so that license templates
are displayed the same way.  Having the page code be rendered "locally" would
defeat the purpose.
Comment 9 Brion Vibber 2005-12-28 22:39:00 UTC
*** Bug 4386 has been marked as a duplicate of this bug. ***
Comment 10 Brion Vibber 2005-12-28 23:18:01 UTC
Fixed along with bug 3397 in CVS HEAD.

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


Navigation
Links