This script is insecure and shouldn't be used on a public wiki.