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

Extend URL stripping in Simple selection builder to non EN projects #721

Open
audiodude opened this issue Apr 20, 2024 · 0 comments
Open

Comments

@audiodude
Copy link
Member

Currently there is code in the Simple Selection validator that strips the following prefixes from article names:

https://en.wikipedia.org/wiki/
https://en.wikipedia.org/w/index.php?title=

This is a courtesy to prevent invalid article names from making it to the ZIM farm, however it should be obvious that this only works for en.wikipedia.org. Instead, we should use the project name associated with the builder to strip.

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

No branches or pull requests

1 participant