Remove Wiki markup from string in Python
<p>I have a string containing information downloaded from a Wikia page.</p>

<p>In order to parse its contents, how would I strip down all Wiki formatting from the page, leaving only the raw text?</p>

<p>Here's an example of what might turn up:</p>

<pre><code>#REDIRECT[[Blah]]

{{
I have some stuff in here
}}
[[I also have some stuff in here|and here]]
[[http://blehthisisfake.com Link to a fake website]]

&amp;lt;span class="plainlinks"&amp;gt;This is quite useless. Why was [[this page]] even created?&amp;lt;/span&amp;gt;

&amp;lt;nowiki&amp;gt;There are more HTML tags, they should probably all be stripped...&amp;lt;/nowiki&amp;gt;

There is random text in here. bleh bleh bleh

I'm not sure what single [brackets] do, but they should be stripped too...
</code></pre>

<p>Expected output:</p>

<pre>
There is random text in here. bleh bleh bleh

I'm not sure what single do, but they should be stripped too...
</pre>

<p>Is there a module that could do this?</p>
