Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getPage("brother") doesnt retrieve the proper page #89

Open
daxenberger opened this issue Jul 31, 2015 · 3 comments
Open

getPage("brother") doesnt retrieve the proper page #89

daxenberger opened this issue Jul 31, 2015 · 3 comments
Labels
Milestone

Comments

@daxenberger
Copy link
Member

Originally reported on Google Code with ID 95

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

@daxenberger
Copy link
Member Author

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?

Reported by SamyAteia on 2012-06-01 13:17:34

@daxenberger
Copy link
Member Author

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

@daxenberger
Copy link
Member Author

We have filed a new Issue that might solve this problem: Issue99

Reported by oliver.ferschke on 2012-07-03 14:01:41

@reckart reckart added this to the Bug backlog milestone Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants