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

--- Comment #4 from Fabian <[email protected]> ---
Link.parse() doesn't know if it's a piped link. A link like [[en:Blah|Blah]] is
treated like [[en:Blah]] or [[:en:Blah]]: all link to Blah on en (whatever that
is linked in the interwiki map). In fact Link doesn't store if it's an
interwiki link and just returns the Site (which might be to a different site).

Site.interwiki() also doesn't take "localinterwiki" into account because it
doesn't make a difference as based on the URL, it should return the Site itself
anyway.

It sounds to me that before that it shouldn't recognize [[X:Y|Z]] as an link to
be parsed anyway.

-- 
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