%include file="/support/header.mako" args="environ=environ, cookies=cookies, title='Earwig\'s Copyvio Detector'"/>\ <%namespace module="copyvios" import="main, highlight_delta"/>\ <%namespace module="copyvios.misc" import="urlstrip"/>\ <% query = main(environ) # Unpack query data: lang, orig_lang, title, oldid, url, nocache = query.lang, query.orig_lang, query.title, query.oldid, query.url, query.nocache bot, site, page, result = query.bot, query.site, query.page, query.result %>\ % if query.project and lang and (title or oldid): % if not site:
The given site (project=${query.project | h}, language=${lang | h}) doesn't seem to exist. It may also be closed or private. Confirm its URL.
The given page doesn't seem to exist: ${page.title | h}.
The given revision ID doesn't seem to exist: ${oldid | h}.
Unsupported URI scheme: ${url | h}.
This tool attempts to detect copyright violations in articles. Simply give the title of the page or ID of the revision you want to check and hit Submit. The tool will search for similar content elsewhere on the web and display a report if a match is found. If you also provide a URL, it will not query any search engines and instead display a report comparing the article to that particular webpage, like the Duplication Detector. Check out the FAQ for more information and technical details.
Note: The tool is still in beta. You are completely welcome to use it and provide feedback, but be aware that it may produce strange or broken results.
% if result: <% show_details = "CopyviosShowDetails" in cookies and cookies["CopyviosShowDetails"].value == "True" %>Article: ${highlight_delta(result.article_chain, result.delta_chain)} |
Source: ${highlight_delta(result.source_chain, result.delta_chain)} |