in reply to Strip wiki markup
Other modules like Parse::MediaWikiDump look promising too.
As for your X-Y problem: you could just parse wikipedia's HTML output, there's a myriad of modules for that on CPAN.