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

Pull the actual english version / pom url from wiki, not just the first one returned #106

Merged
merged 1 commit into from
Jan 26, 2020

Conversation

halkeye
Copy link
Member

@halkeye halkeye commented Jan 26, 2020

Fixes #105

Summary of this pull request:

The wiki api returns a list of all pages that matches the title. Which includes other language versions. Update the code to grab the one that directly matches the url we asked for (defaulting back to entry 0 when not found)

Fix should get merged upstream to plugin-site-api and wiki exporter

@halkeye halkeye added the bug label Jan 26, 2020
@halkeye halkeye requested a review from a team as a code owner January 26, 2020 06:53
@halkeye halkeye merged commit acafb8f into jenkins-infra:master Jan 26, 2020
@oleg-nenashev
Copy link
Contributor

Thanks!

@timja
Copy link
Member

timja commented Jan 26, 2020

Ported fix to plugin-site-api: jenkins-infra/plugin-site-api#78
verified behaviour before and after the fix locally

@halkeye halkeye deleted the fix-non-english-docs branch November 22, 2020 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wiki page extraction retrieves wrong wiki page
3 participants