You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Have a copy of wikipedia 20120502 or wikipedia 20110405 (possibly same on other
versions of data dump but i only tested on this two)
2. Do: "new Wikipedia().getPage("brother")"
3. Inspect the page returned
What is the expected output? What do you see instead?
According to Wikipedia, this should return the "sibling" page, but in fact the "Brother
(2000 film)" is returned.
What version of the product are you using? On what operating system?
JWPL0.9.1, for both datamachine and API. on linux 64
Thanks
Reported by ziqizhang.email on 2012-05-16 14:00:56
The text was updated successfully, but these errors were encountered:
I can reproduce this issues, brother fetches the "Brother (2000 film)" Page instead
of the "Sibling" page where "brother" should redirect to. On the other hand if you
search for example "sister" the "Sibling" page is returned where "sister" redirects
to and not the "Sister (Band)" page or similar.
I don't know if this is a unique error, or how jwpl prioritises matches to a query
string. The question is why is "brother" not resolved as a redirect but "sister" is?
Actually "brother" is "redirect" (wiki.getPage("brother").isRedirect()=true) but it
seems it redirects to the wrong target i.e., "brother (2000 film)". So I am wondering
if there is a bug in the datamachine...
Reported by ziqizhang.email on 2012-06-01 13:26:04
Originally reported on Google Code with ID 95
Reported by
ziqizhang.email
on 2012-05-16 14:00:56The text was updated successfully, but these errors were encountered: