wikipedia

what is a programming language?

Hi Wikipedia says: A programming language is a machine-readable artificial language designed to express computations that can be performed by a machine, particularly a computer. Programming languages can be used to create programs that specify the behavior of a machine, to express algorithms precisely, or as a mode of human communic...

Import non-english WIkipedia XML dump in MySQL?

Hi, I'm looking for a script that can convert the XML wikipedia DUMP in MySQL compliant SQL. I've found a ready SQL dump for the english version but no easy way to import the other languages. Thanks, Piero ...

Copy chosen Wikipedia articles into own wiki?

Hi, is there a way to batch copy certain wikipedia articles(about 10,000) to my own mediawiki site? EDIT: How do I do this without overwriting similarly named articles/pages? Also I don't plan on using illegal means (crawlers etc) ...

How to use wikipedia api if it exists?

Hi, I'm trying to find out if there's a wikipedia api (I Think it is related to the mediawiki?). If so, I would like to know how I would tell wikipedia to give me an article about the new york yankees for example. What would the REST url be for this example? All the docs on this subject seem fairly complicated. ...

How do I grab just the parsed Infobox of a wikipedia article?

Hi guys, I'm still stuck on my problem of trying to parse articles from wikipedia. Actually I wish to parse the infobox section of articles from wikipedia i.e. my application has references to countries and on each country page I would like to be able to show the infobox which is on corresponding wikipedia article of that country. I'm us...

What do I do with this csv dataset I just downloaded from dbpedia?

I just downloaded this csv of infoboxes of wikipedia from dbpedia. However I have no idea how to use it :-S I want to import all this data into a database but am not so sure how to take it from here. I downloaded it from http://wiki.dbpedia.org/Downloads32#infoboxes I'm working in Php Just for the record - this csv file is around 1.8...

Wikipedia integration issue - need to finally sort this out 101

Sorry guys, I've been running a mock asking questions on how to integrate wikipedia data into my application and frankly I don't think I've had any success on my end as I've been trying all the ideas and kinda giving up when I read a dead end or obstacle. I'll try to explain what exactly I am trying to do here. I have a simple directory...

Mediawiki: Invalid Edit Token

Hello, I use the API with HTTP POST to create a wiki page in a Mediawiki (1.14): I require an edit token It works, I get a fresh token (example: d96d72fae5e6c43b0b9f63d82ace366) I send the HTTP POST for creating a new site with my new token (sth. similar to "d96d72fae5e6c43b0b9f63d82ace366+\" I get an error message "Invalid Token" ...

How do I get link to an image on wikipedia from the infobox?

Hi guys, I'm parsing wikipedia infoboxes and I noticed that some infoboxes have image fields - these fields hold names of image files stashed on wikipedia somewhere. However they just contain the name of the file as is as opposed to the actual link. I checked the links of the images on real live infoboxes and the links do not seem to b...

Inserting articles straight into MediaWiki database

I need a way to insert new articles straight into my MediaWiki database without damaging the wiki installation. I'm guessing if I knew what tables/attributes MediaWiki inserts to when creating a new article then I could fill them in myself. Does anyone know a better way or have any suggestions? ...

Is there an FFT that uses a logarithmic division of frequency?

Wikipedia's Wavelet article contains this text: The discrete wavelet transform is also less computationally complex, taking O(N) time as compared to O(N log N) for the fast Fourier transform. This computational advantage is not inherent to the transform, but reflects the choice of a logarithmic division of frequency, in contrast to t...

Recusive transformations using xslt, xpath:document() and mediawiki

I want to use the wikipedia API to find the French pages including the ''Template:Infobox Scientifique'' missing in the english version. So, my idea was to process the following document with xproc: http://fr.wikipedia.org/w/api.php?action=query&format=xml&list=embeddedin&eititle=Template:Infobox%20Scientifique&eilimit=...

What language is Wikipedia programmed in?

What language is Wikipedia programmed in? ...

Search by topics and extract keywords from articles in Wikipedia

Hi. I'm doing a project in java in which I have to process a wikipedia dump file. I'm looking for a library to extract keywords in wikipedia articles... Basically I want to read every tag page in the wikipedia xml dump and compare it with a list of topics and categories and if it is correct , to choose it and add to my results. I'm not i...

How to make templates after installing MediaWiki?

Hi. I had just installed MediaWiki. What must I do to have wikipedia style templates like this: http://i.piccy.info/i4/4b/37/fe303fda0c813c0bda717d3a1e3b.png (example). I have already installed ParserFunctions Extension on my MediaWiki CMS. I have tried to look source & copy it, but it didn't work. Thanks. *sorry for my English (it isn...

Reverse wikipedia geotagging lookup

Wikipedia is geotagging a lot of its articles. (Look in the top right corner of the page.) Is there any API for querying all geotagged pages within a specified radius of a geographical position? Update Okay, so based on lost-theory's answer I tried this (on dbpedia query explorer): PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos...

Downloading Images from WikiMedia Commons

Is anyone aware of a way to programatically download images from WikiMedia Commons without registering for a Bot account? It seems like the only way to get approval for a Bot account is if it adds to or edits information already on Wikimedia. If you try to download any images, without a bot account, using some of the api libraries out th...

wikipedia bots and captcha

I see there are many php (and other) frameworks for writing wikipedia bots, but isn't captcha a problem? Or bots don't have to solve it (but that sounds like there's no point to having captcha in the first place...)? Or maybe i can make my prog stop and let me fill captcha in? ...

How to change the color of horizontal line on a wiki page?

In wiki you can add horizontal line just by adding "----" in the text you enter. I just couldn't find what CSS section controls it. (And no, it's not "hr") ...

Any tool to display Wictionary raw content as HTML ?

Hello, I have just downloaded the last Wictionary dump from their backup and I would like to display the content of some articles in HTML format. The articles contents come the way they were written: using the wiki syntax, full of internal links, formatting symbols, abreviations and category keywords. Are you aware of any tool I could...