Add a lot of code for correct Wikipedia import.