#1093 Wikicode "Wikipedia:" marker misinterpreted in links

closed-invalid
nobody
None
5
2004-08-11
2004-08-11
No

When trying to use wikicode to link from
meta.wikipedia.org to <A
HREF="http://en.wikipedia.org/wiki/Wikipedia:_Measurements_Debate">here</A>
I found that the "Wikipedia:" in my link was being
taken as a language designator by the parser. As a
result my link was not pointing to the right place
unless I entered "en:" or "Wikipedia:" onto the front,
giving [[en:Wikipedia: Measurements_Debate]], and
making the link rather unsightly as en:Wikipedia:
Measurements_Debate.

Of course I could use a pipe to present a different
appearance, but I wasn't expecting the language
designator to hang around like that in the first place.
The prefixed colon suggested
<HREF="http://en.wikipedia.org/wiki/Wikipedia:Interlanguage_links#Interwiki_links">here</A>
didn't have any effect. I also tried appending a pipe
with no text to the end, like was suggested <A
HREF="http://meta.wikimedia.org/wiki/MediaWiki_feature_request_and_bug_report_discussion#Pipe_symbol_not_hiding_language_designator_on_Scots_Gaelic_WP">here</A>
but this caused the parser to not interpret it as a link.

Discussion

  • Brion Vibber

    Brion Vibber - 2004-08-11

    Logged In: YES
    user_id=446709

    meta and en.wikipedia.org are separate wikis, you need an interwiki
    prefix to link from one to the other. 'Wikipedia' is basic the interwiki
    prefix to get from elsewhere to Wikipedia.

     
  • Brion Vibber

    Brion Vibber - 2004-08-11
    • status: open --> closed-invalid
     
  • Jacob Levine

    Jacob Levine - 2004-08-11

    Logged In: YES
    user_id=445291

    I see. So it's expected behavior that I would need to enter
    [[Wikipedia:Wikipedia: Measurements_Debate]] or
    [[en:Wikipedia: Measurements_Debate]] to make a link to
    http://en.wikipedia.org/wiki/Wikipedia:_Measurements_Debate
    as well as using a pipe to hide the interwiki prefix?

     
  • Brion Vibber

    Brion Vibber - 2004-08-11

    Logged In: YES
    user_id=446709

    Yes, that sounds 100% normal.

     
  • Jacob Levine

    Jacob Levine - 2004-08-11

    Logged In: YES
    user_id=445291

    Understood. There are no plans for making "Wikipedia:"
    distinct from "en:" in interwiki links to avoid this sort of
    namespace issue, I would assume?

     
  • Brion Vibber

    Brion Vibber - 2004-08-11

    Logged In: YES
    user_id=446709

    No. What would it do differently?

     
  • Jacob Levine

    Jacob Levine - 2004-08-11

    Logged In: YES
    user_id=445291

    It seems strange to me that [[Wikipedia:foo]] is being taken
    to be the same as [[en:foo]] given both the international
    nature of Wikipedia and the fact that within the English
    language Wikipedia there is a part of the namespace
    designated with the "Wikipedia:" prefix.
    I imagine that there are many tags that would have to be
    changed on meta.wikipedia.org that would make such a code
    edit not worth the time. Assuming anyone else even sees this
    the way I do, of course. :)

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks