What is the best way to parse a wiki dump into a format which contains a self generated article id and the article content and nothing else?
The article id will be a reference id and the content to be a plain text no url no references.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
http://en.wikipedia.org/wiki/Wikipedia:Database_download#Database_schema
Seems very clear.
http://www.mediawiki.org/wiki/Manual:Importing_XML_dumps
Seems very clear.
http://www.mediawiki.org/wiki/Pywikipediabot
Seems to be the code you want.