%! from json import dumps, loads from flask import g, request from copyvios.misc import cache from urlparse import parse_qsl %>\ <%include file="/support/header.mako" args="title='Login | Earwig\'s Copyvio Detector', splash=True"/> % if error:
Error trying to log in: ${error | h}
You are required to log in with your Wikimedia account to perform checks with the search engine.
%if request.args.get('next'):After logging in, % if request.args["next"][0:2] == "/?" and dict(parse_qsl(request.args["next"])).get("action") == "search": your check will be run. % else: you will be redirected to: ${request.args.get('next') | h} % endif
%endif <%include file="/support/footer.mako"/>