I want to embed a wikipedia article into a page but I don't want all the wrapper (navigation, etc.) that sits around the articles.  I saw it done here: http://www.dayah.com/periodic/.  Click on an element and the iframe is displayed and links to...
While browsing I came across this blog post about using the Wikipedia API from JavaScript, to link a single search term to it's definition. At the end of the blog post the author mentions possible extensions including:      A plugin which auto li...
I am doing a query in wikipedia to get a snippet and the title with the link. Then if i click a title I would like to get the full article in a modal.  I am trying to get different articles for each different link I get in the first query.  Here it i...
I am trying to do this via the Web Console (using Firefox, but I am willing to change if necessary of course).  What I want to do is to basically click all the "plus" signs on a page at once. For an example see here: http://de.wikipedia.org/w...
MediaWiki Version and LocalSettings.php MediaWiki 1.22.4 $wgAllowUserJs = true; $wgUseSiteJs = true;  Browser Version FireFox 28.0  JavaScript Code  $ gvim common.js  function myFunction() {   alert("Hello World!"); }  var onClickAttribute =...
This is the js I am using:  function onSuccess(data){       var markupt = data.parse.text["*"];       $('#usp-custom-4').val(markupt);       console.log(markupt);       var blurbt = $('<div></div>').html(markupt);...
I am writing an "auto-wikifier" tool using HTML and JavaScript. For each word in the text to be wikified, I need to obtain a list of pages that contain that word (so that the matching phrases in the text can be automatically wikified, if they...
I am trying to implement a simple request to Wikipedia's API using AJAX (XMLHttpRequest). If I type the url in the address bar of Firefox, I get a neat XML, no sweat there. Yet, calling the exact same url with:   // this is my XMLHttpRequest obje...
I'm writing a simple Javascript to add a specific parameter to a specific template in article that is currently being edited.  Wikipedia Templates are structured in the following format:   {{Template name|unnamed parameter|named parameter=some va...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.