https://bugzilla.wikimedia.org/show_bug.cgi?id=55204

--- Comment #5 from Fabian <[email protected]> ---
Okay with a little help from John, I think I know what the problem is, but I'm
not sure how to tackle it the best.

Basically if the first interwikiprefix is not preceeded by a colon, it appears
on the sidebar only if it's not linking to it's own site. So [[de:en:Foobar]]
appears in the sidebar on the English Wikipedia but [[en:Foobar]] not.

Now I'm toying with the idea to add a "is_special" method to Link which says
whether it's just a link or if it's "special". So [[:File:Foobar.png]] would be
not special but [[File:Foobar.png]]. Same with [[:Category:Foobar]] and
[[Category:Foobar]] and then with [[:interwiki:Foobar]] and
[[interwiki:Foobar]] with the special exception that it's not an special link
if the frist interwiki points to it's own site. I don't think we need to
interpret "localinterwiki" for that, and could add that later independently to
add a shortcut in Site.interwiki(), as I'm not sure when this was added (and if
this is determined automatically it doesn't really matter for this bug).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to