Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 829631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T03:54:52+00:00 2026-05-15T03:54:52+00:00

I am trying to parse Wikipedia XML Dump using Parse-MediaWikiDump-1.0.4 along with Wikiprep.pl script.

  • 0

I am trying to parse Wikipedia XML Dump using “Parse-MediaWikiDump-1.0.4” along with “Wikiprep.pl” script. I guess this script works fine with ver0.3 Wiki XML Dumps but not with the latest ver0.4 Dumps. I get the following error.

Can’t locate object method “page” via package “Parse::MediaWikiDump::Pages” at wikiprep.pl line 390.

Also, under the “Parse-MediaWikiDump-1.0.4” documentation @ http://search.cpan.org/~triddle/Parse-MediaWikiDump-1.0.4/lib/Parse/MediaWikiDump/Pages.pm, I read “LIMITATIONS Version 0.4 This class was updated to support version 0.4 dump files from a MediaWiki instance but it does not currently support any of the new information available in those files.”

Any work arounds would help me get to the next level.

Note: one may wonder why cannot we directly use SAX or STAX parser instead, wikipedia dump is a 25GB plus single file, stack/memory issues are obvious. Hence, the above perl script resolves this issue but currently I am stuck with this version problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T03:54:53+00:00Added an answer on May 15, 2026 at 3:54 am

    Any streaming parser should work just fine (DOM parsers would blow up). Try XML::Twig, just remember to flush (if you want to print out the XML) or purge (if you don’t care about the XML) after every major record.

    Or just use XML::Parser directly. That is what both XML::Twig and Parse::MediaWikiDump are using under the hood to parse the XML.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to parse some XML but apparently this is too much for a lazy
I'm using wikitools package to parse the wikipedia. I just copy this example from
I have an xml feed at this url Now im trying parse the content,
trying to parse this: <?xml version=1.0 encoding=UTF-8?> <directoryresponse xmlns=https://www.sisow.nl/Sisow/REST version=1.0.0> <directory> <issuer> <issuerid>01</issuerid> <issuername>ABN
trying to parse this as datetime : 2011.03.13-21:15:04+511.0597 using Console.WriteLine(DateTime.ParseExact(2011.03.13-21:15:04+511.0597, yyyy.MM.dd-hh:mm:ss+ttt.tttt, CultureInfo.CreateSpecificCulture(en-US)).ToString()); but it
I trying to parse some xml in Google Refine using Jython and ElementTree but
I'm trying parse the follow XML file: <root>Root <pai>Pai_1 <filho>Pai1,Filho1</filho> <filho>Pai1,Filho2</filho> </pai> <pai>Pai_2 <filho>Pai2,Filho1</filho>
Trying to parse an iTunes Atom feed with a PHP script. If you visit
Im trying to parse the string located in /proc/stat in a linux filesystem using
im trying to parse the XML returned by Google contacts API i made some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.