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

Slash fix #78

Merged
merged 3 commits into from
Mar 1, 2018
Merged

Slash fix #78

merged 3 commits into from
Mar 1, 2018

Conversation

pcantrell
Copy link
Contributor

@pcantrell pcantrell commented Mar 1, 2018

This fixes the handling of article titles containing slashes, which Wikipedia canonicalizes as if the slash were part of a path, e.g. https://en.wikipedia.org/wiki/PL/SQL.

This changes how Url extracts titles; it now specifically looks for the /wiki/ prefix. The specs still pass, but let me know if that change is going to break something.

(I discovered #76 pointing at the C++ article; this one comes from PL/SQL. Guess what topic my little Wikipedia project involves….)

@pietromenna
Copy link
Collaborator

Hi @pcantrell ,

Thank you for this Pull Request! This seems to be working just fine! I will release a new version tomorrow.

@pietromenna pietromenna merged commit 3dad7cb into kenpratt:master Mar 1, 2018
@pcantrell
Copy link
Contributor Author

Excellent! Thanks, and thank you for putting together this very helpful gem.

@pietromenna
Copy link
Collaborator

Thank you for your comments! I wish you success with your project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants