Codepen : https://codepen.io/BLBaylis/pen/BdVqbG?editors=1010
If you look at your console (Ctrl + Shft + I on Chrome) you will see the following error:
XMLHttpRequest cannot load https://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=hi&prop=revisions&rvprop=content&format=json. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://s.codepen.io’ is therefore not allowed access.
Google “JQuery getJSON JSONP” and read through a few of the search results to use JSONP as a workaround.
Ahh I was unaware that the browser console would give different errors to the codepen one. I will search down this path then. Thanks!