Updated wiki plugin

Now handles errors and redirects.