Skip to content
This repository was archived by the owner on Jun 29, 2018. It is now read-only.

Wikipedia fix#465

Open
staplegun wants to merge 2 commits into
mozilla:masterfrom
staplegun:wikipedia-fix
Open

Wikipedia fix#465
staplegun wants to merge 2 commits into
mozilla:masterfrom
staplegun:wikipedia-fix

Conversation

@staplegun
Copy link
Copy Markdown

This is a fix for #464 so the correct parameters are used in the Wikipedia API call.

I also changed the API call so it only returns the main summary. Often long Wikipedia entries contain table of contents, etc. that look odd in a single block of text. The API 'extract' call lets us just get the main summary at the top of the Wikipedia entry. This means it will be shorter, but probably more meaningful.

@NathanLawrence
Copy link
Copy Markdown

This seems like a really good way to handle this situation -- things are definitely very broken right now.

@kirkins
Copy link
Copy Markdown

kirkins commented Jan 30, 2017

I take it Mozilla never looks at pull requests for this repo?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants