mozilla / popcorn-js

The HTML5 Media Framework. (Unmaintained. See https://github.com/menismu/popcorn-js for activity)
MIT License
2.14k stars 632 forks source link

Wikipedia fix #465

Open staplegun opened 8 years ago

staplegun commented 8 years ago

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 commented 8 years ago

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

kirkins commented 7 years ago

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