Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Possible Wikipedia Link Bug

by kutsu (Priest)
on Feb 09, 2006 at 23:13 UTC ( #529233=monkdiscuss: print w/ replies, xml ) Need Help??

I've noticed several times that when linking to wikipedia with the wp:// link, words with a hyphen or space in the middle may not correctly link because of incorrect casing. IE. Mahi-Mahi will return page not found while Mahi-mahi will link to the correct page.

I've found that linking using wikipedia's own Special:Search (with the go option) corrects this problem. IE. /wiki/Special%3ASearch?go=Go&search=<Search Term>. Which leads to my question: Could such a change be made or does some policy prevent this?

Update: jdporter informed me that wp:// has been improved/fixed (Feb. 10, 2006)

Comment on Possible Wikipedia Link Bug
Re: Possible Wikipedia Link Bug
by jdporter (Canon) on Feb 09, 2006 at 23:40 UTC

    I'm not aware of any policies of either PerlMonks or Wikipedia that would stand in the way of using that form. Technically, it's trivial.

    We're building the house of the future together.
Re: Possible Wikipedia Link Bug
by spiritway (Vicar) on Feb 10, 2006 at 00:46 UTC

    A cursory look at Wikipedia suggests that their links are case-sensitive, which is not surprising. Their search function appears to correct the case, so that "mAHI-MAHI" is searched as "Mahi-mahi". Their search function apparently fixes input to agree with their capitalization scheme. This is probably not a bug, but a feature.

Re: Possible Wikipedia Link Bug
by ambrus (Abbot) on Feb 10, 2006 at 10:24 UTC

    I've seen it documented somewhere that the URLs of wikipedia are more case-sensitive than the "go" box.

    My policy is not to use wp:// links at all, but give a http link directly.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://529233]
Approved by injunjoel
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2014-09-23 05:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls