Fix ID and pagetext on addpage

Previously the page text was used to generate the full wiki id of a page.