Last modified: 2010-05-15 15:28:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 938 - links to [[en:user:foo]] in en.wikibooks shown as broken links
links to [[en:user:foo]] in en.wikibooks shown as broken links
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-11-24 15:16 UTC by Wikipedia:en:User:Paddu
Modified: 2010-05-15 15:28 UTC (History)
1 user (show)

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


Description Wikipedia:en:User:Paddu 2004-11-24 15:16:40 UTC has the
link <nowiki>[[en:user:maveric149]]</nowiki>. This creates a link formatted as
broken (e.g. red-coloured) that takes one to Instead
it should be formatted as a normal link & should lead to
Comment 1 River Tarnell 2004-11-24 15:26:49 UTC
Maybe I'm missing something, but why would you expect en: on Wikibooks to link
to Wikipedia?
Comment 2 Rowan Collins [IMSoP] 2004-11-24 16:16:06 UTC
I think the source of misunderstanding here is the behaviour on meta:, predating
the existence of multiple multilingual projects - from meta, any language code
alone is presumed to be a link to that *Wikipedia*. But in a multilingual
project, a language code logically refers to that language *within that
project*. So [[en:foo]], on *any* English project, should be equivalent to
[[foo]] - in other words, the link in question should in fact be treated as a

To link to the English Wikipedia, you need to link to [[w:en:User:Maveric149]].

There are still 2 bugs here, though, since it shouldn't be a red link, it should
be bolded as a link to itself. 
1) It seems capitalisation isn't being normalised properly when checking for
self-links: [[en:user:Maveric149]] (upper case 'M') and [[user:maveric149]] both
get bolded, but [[en:user:maveric149]] (lower case 'm') is treated as
non-existent, even though it leads to the same page.
2) Interwiki links to the same project, but not the main namespace (e.g.
[[en:User:Maveric149]] or [[en:Wikibooks:FAQ]] anywhere on en.wikibooks) are not
recognised as being existent pages, and thus are rendered as new-page links.

Both of these seem to me to be parser issues, rather than configuration ones, so
I'm changing the bug headers appropriately; I should probably split them into 2
different bugs, but ... well, I can't be bothered this minute.
Comment 3 Wikipedia:en:User:Paddu 2004-11-24 21:31:25 UTC
Until recently wikibooks wasn't multilingual and en: used to link to
en.wikipedia. Now that should link to en.wikibooks itself. I somehow forgot that
change while filing the bug.

But I'd think a link with en: would be treated as an "interlanguage" link
(though it could be to the same wiki), since a link with w: in wikipedia is
always highlighted as a normal link, & never as a broken link (for inexistant
pages) or bolded (for self links). So I'd expect a normal link to, not bolded text.
Comment 4 Rowan Collins [IMSoP] 2004-11-25 19:31:11 UTC
(In reply to comment #3)
> But I'd think a link with en: would be treated as an "interlanguage" link
> (though it could be to the same wiki), since a link with w: in wikipedia is
> always highlighted as a normal link, & never as a broken link (for inexistant
> pages) or bolded (for self links). 

Personally, I'd consider that a bug: it links to the page it's on, so it's a
self-link; and if it links to a non-existent page, a redlink seems appropriate.
Not that it matters, as long as a) the behaviour is consistent, and b) a link to
an existing page is *never* treated as a redlink.
Comment 6 Wikipedia:en:User:Paddu 2004-11-27 08:04:30 UTC
(In reply to comment #5)
> Please see for also:

Note that some of the links therein use the format
whereas some use the format, another
inconsistency. It looks like what users perceive as similar links are expanded
in different parts of the software, which are inconsistent with each other.

Should separate bugs be opened for each of the inconsistencies?
Comment 7 Brion Vibber 2004-11-27 08:39:03 UTC
I'm fairly certain this is a bug I've just fixed in 1.4: on self-interwiki links the namespace 
isn't correctly parsed.
Comment 8 Brion Vibber 2004-11-27 09:22:45 UTC
Ok, I've backported the fix into 1.3 and 1.3a branches and the fix is live.

Some affected pages may have bogus entries in the brokenlinks table, which can probably be 
cleared by editing. (action=purge doesn't do it)
Comment 9 Wikipedia:en:User:Paddu 2004-11-28 16:30:54 UTC
Related bugs filed: bug 953, bug 954, bug 955.

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