Fix some errors in the wikipages creation process