don't allow garbage in wiki view parameter

the v parameter only takes digits and 404s when it's not a digit or the
digit is invalid.