wiki: sanitize page parameter and prepare creation/updating