A copyright violation detector running on Wikimedia Cloud Services https://tools.wmflabs.org/copyvios/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 10 години
преди 10 години
преди 3 години
преди 3 години
преди 9 години
преди 10 години
преди 8 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 4 години
преди 10 години
преди 3 години
преди 10 години
преди 3 години
преди 10 години
преди 8 години
преди 3 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <%!
  2. from flask import request
  3. %>\
  4. <%
  5. titleparts = []
  6. if query.page:
  7. titleparts.append(query.page.title)
  8. titleparts.append("Earwig's Copyvio Detector")
  9. title = " - ".join(titleparts)
  10. %>\
  11. <%include file="/includes/header.mako" args="title=title, splash=not result"/>
  12. <%namespace module="copyvios.misc" import="httpsfix"/>
  13. % if notice:
  14. <div id="notice-box" class="gray-box">
  15. ${notice}
  16. </div>
  17. % endif
  18. % if query.submitted:
  19. % if query.error:
  20. <div id="info-box" class="red-box"><p>
  21. % if query.error == "bad action":
  22. Unknown action: <b><span class="mono">${query.action | h}</span></b>.
  23. % elif query.error == "no search method":
  24. No copyvio search methods were selected. A check can only be made using the search engine, links present in the page, Turnitin, or some combination of these.
  25. % elif query.error == "bad oldid":
  26. The revision ID <code>${query.oldid | h}</code> is invalid. It should be an integer.
  27. % elif query.error == "no URL":
  28. Compare mode requires a URL to be entered. Enter one in the text box below, or choose copyvio search mode to look for content similar to the article elsewhere on the web.
  29. % elif query.error == "bad URI":
  30. Unsupported URI scheme: <a href="${query.bad_uri | h}">${query.bad_uri | h}</a>.
  31. % elif query.error == "no data":
  32. Couldn't find any text in <a href="${query.url | h}">${query.url | h}</a>. <i>Note:</i> only HTML documents, plain text pages, and PDFs are supported, and content generated by JavaScript or found inside iframes is ignored.
  33. % elif query.error == "timeout":
  34. The URL <a href="${query.url | h}">${query.url | h}</a> timed out before any data could be retrieved.
  35. % elif query.error == "search error":
  36. An error occurred while using the search engine (${query.exception}). <i>Note:</i> there is a daily limit on the number of search queries the tool is allowed to make. You may <a href="${request.url | httpsfix, h}&amp;use_engine=0">repeat the check without using the search engine</a>.
  37. % else:
  38. An unknown error occurred.
  39. % endif
  40. </p></div>
  41. % elif not query.site:
  42. <div id="info-box" class="red-box">
  43. <p>The given site (project=<b><span class="mono">${query.project | h}</span></b>, language=<b><span class="mono">${query.lang | h}</span></b>) doesn't seem to exist. It may also be closed or private. <a href="https://${query.lang | h}.${query.project | h}.org/">Confirm its URL.</a></p>
  44. </div>
  45. % elif query.oldid and not result:
  46. <div id="info-box" class="red-box">
  47. <p>The revision ID couldn't be found: <a href="https://${query.site.domain | h}/w/index.php?oldid=${query.oldid | h}">${query.oldid | h}</a>.</p>
  48. </div>
  49. % elif query.title and not result:
  50. <div id="info-box" class="red-box">
  51. <p>The page couldn't be found: <a href="${query.page.url}">${query.page.title | h}</a>.</p>
  52. </div>
  53. % endif
  54. %endif
  55. <p>This tool attempts to detect <a href="https://en.wikipedia.org/wiki/WP:COPYVIO">copyright violations</a> in articles. In <i>search mode</i>, it will check for similar content elsewhere on the web using <a href="https://developers.google.com/custom-search/">Google</a>, external links present in the text of the page, or <a href="https://en.wikipedia.org/wiki/Wikipedia:Turnitin">Turnitin</a> (via <a href="https://en.wikipedia.org/wiki/User:EranBot">EranBot</a>), depending on which options are selected. In <i>compare mode</i>, the tool will compare the article to a specific webpage without making additional searches, like the <a href="https://dupdet.toolforge.org/">Duplication Detector</a>.</p>
  56. <p>Running a full check can take up to a minute if other websites are slow or if the tool is under heavy use. Please be patient. If you get a timeout, wait a moment and refresh the page.</p>
  57. <p>Be aware that other websites can copy from Wikipedia, so check the results carefully, especially for older or well-developed articles. Specific websites can be skipped by adding them to the <a href="https://en.wikipedia.org/wiki/User:EarwigBot/Copyvios/Exclusions">excluded URL list</a>.</p>
  58. <%include file="/includes/form.mako" args="query=query"/>
  59. % if result:
  60. <%include file="/includes/result.mako" args="query=query, result=result, turnitin_result=turnitin_result"/>
  61. % endif
  62. <%include file="/includes/footer.mako"/>