mwlib adapted for python 3, with only the parser