See WikiModerationWithoutPasswords and WikiModerationWithPasswords.