"Kelly Jones" <[EMAIL PROTECTED]> writes:

> If I go to "wiki:sue lawley" in ELinks, it takes me to the Wikipedia
> search page for "Sue%20Lawley" [sic], which does not include the
> article I want.

get_hooked_uri() calls trigger_event() and gets uristring =
"http://www.wikipedia.org/w/wiki.phtml?search=sue%20lawley";.
The bug is in the server, which incorrectly redirects to
"http://en.wikipedia.org/w/wiki.phtml?search=sue%2520lawley";.

So the solution is to edit the smartprefix and change "www" to
"en".  I asked on #wikimedia-tech, and www.wikipedia.org does
always redirect to en.wikipedia.org; it does not guess any other
language based on headers or IP addresses or such.

I will change the default "wiki" smartprefix in elinks-0.11 and
elinks-0.12.  Eventually, www.wikipedia.org may be fixed as well.
_______________________________________________
elinks-users mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-users

Reply via email to