Display view data on all Wikipedia articles
Displays view count information on all Wikipedia articles. When the user navigates to a Wikipedia article, an embedded plot will open on the right side of the page showing the volume, 12-day moving average, and 26-day moving average of views for the past several months. An average view/day item is also calculated and presented to the user. All formatting and styling is as close to that found natively on Wikipedia as possible.
When viewing an article pertaining to a movie or TV show, data will be scraped from IMDb and added to the frame, such as rating, volume, MPAA information and more. Similarly, data scraped from Goodreads is presented when viewing an article for a novel or series. When viewing an article for a cryptocurrency the current ticker price (along with some extra data) will be scraped from CoinMarketCap.
All trending articles (the top 1,000 viewed) from the prior day can be displayed via the button embedded on the lefthand side of the page, when on Wikipedia.
The popularity information pane can be hidden using the 'Hide Frame' button and re-displayed using 'Expand Frame'.
All data is fetched on-the-fly from the Wikimedia API. View data going back several years can be downloaded using the download button located within the frame.
(184.108.40.206) Improved parsing of CoinMarketCap entries, improved tv show parsing.
(220.127.116.11) Added support for CoinMarketCap scraping (activates when on an article for a cryptocurrency).
(18.104.22.168) Added support for Goodreads scraping (activates when on article for novel or series), added minimize/maximize buttons in top right of frame.
(22.214.171.124) Greatly reduced package size (~100MB->800KB), IMDb information is now parsed via the search functionality built into the IMDb website rather than using an article name -> IMDb ID to construct dynamic URLs, dynamic frame resizing, replaced download string with smaller button.
(0.0.1.3) Fixed bug that only showed up on Windows, removed extra large files from package (size down from 200MB to 17MB).
(0.0.1.2) View data seen in plot can now be downloaded as a CSV file using link at the bottom of the Frame (when on a Wikipedia article). An 'interest index' heuristic is now visible below the 'Views/day', equal to the percent of article views coming in on weekends (over the past several years).
(0.0.1.0) IMDB logo is now clickable, more accurate ratings (movie/tv shows are more frequently matched to their correct counterparts on IMDB, turns out there are a lot more "Shawshank Redemption"s out there than you'd think).
(0.0.0.5) IMDB data is now fetched from the website dynamically, rather than being read from a file.
(0.0.0.4) When visiting articles pertaining to films or TV shows, the current IMDB rating will also be displayed in the info box.
(0.0.0.3) Minor bug fix (extension was disabled by default).
(0.0.0.2) Added options page, can disable extension using this. Changed moving averages from 12 & 26 to 7 & 50.
Contributors: Nathan Kjer, Wayne Sun, Luke Wielgus
All code can be viewed here: https://github.com/bfaure/WikiPopularity