Add namespace attribute to Wikilink objects
Now that we have a full mapping of the different namespace prefixes for each language, we'll want to use that to identify which namespace each wikilink falls in (based on its href).
For example:
-
<a href="./Michael_Potts_(actor)" id="mwBw" rel="mw:WikiLink" title="Michael Potts (actor)">Michael Potts (actor)</a>
-> Wikilink(ns=0) -
<a href="./Help:Disambiguation" rel="mw:WikiLink" title="Help:Disambiguation">disambiguation</a>
-> Wikilink(ns=12)