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.
 
 
 
 
 

55 lines
4.5 KiB

  1. {% extends "support/base.html.jinja" %}
  2. {% block title %}
  3. {% if g.page %}
  4. {{ g.page.title | e }} - {{ super() }}
  5. {% else %}
  6. {{ super() }}
  7. {% endif %}
  8. {% endblock %}
  9. {% block content %}
  10. {% if query.submitted %}
  11. {% if error %}
  12. <div id="info-box" class="red-box"><p>
  13. {% if error.code == ErrorCode.BAD_ACTION %}
  14. Unknown action: <b><span class="mono">{{ query.action | e }}</span></b>.
  15. {% elif error.code == ErrorCode.NO_SEARCH_METHOD %}
  16. No copyvio search methods were selected. A check can only be made using the search engine, links present in the page, or some combination of these.
  17. {% elif error.code == ErrorCode.BAD_OLDID %}
  18. The revision ID <code>{{ query.oldid | e }}</code> is invalid. It should be an integer.
  19. {% elif error.code == ErrorCode.NO_URL %}
  20. 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.
  21. {% elif error.code == ErrorCode.BAD_URI %}
  22. Unsupported URI scheme: <a href="{{ query.url | e }}">{{ query.url | e }}</a>.
  23. {% elif error.code == ErrorCode.NO_DATA %}
  24. Couldn't find any text in <a href="{{ query.url | e }}">{{ query.url | e }}</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.
  25. {% elif error.code == ErrorCode.TIMEOUT %}
  26. The URL <a href="{{ query.url | e }}">{{ query.url | e }}</a> timed out before any data could be retrieved.
  27. {% elif error.code == ErrorCode.SEARCH_ERROR %}
  28. An error occurred while using the search engine ({{ error.__cause__ }}). <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 | e }}&amp;use_engine=0">repeat the check without using the search engine</a>.
  29. {% else %}
  30. An unknown error occurred.
  31. {% endif %}
  32. </p></div>
  33. {% elif not g.site %}
  34. <div id="info-box" class="red-box">
  35. <p>The given site (project=<b><span class="mono">{{ query.project | e }}</span></b>, language=<b><span class="mono">{{ query.lang | e }}</span></b>) doesn't seem to exist. It may also be closed or private. <a href="https://{{ query.lang | e }}.{{ query.project | e }}.org/">Confirm its URL.</a></p>
  36. </div>
  37. {% elif query.oldid and not result %}
  38. <div id="info-box" class="red-box">
  39. <p>The revision ID couldn't be found: <a href="https://{{ g.site.domain | e }}/w/index.php?oldid={{ query.oldid | e }}">{{ query.oldid | e }}</a>.</p>
  40. </div>
  41. {% elif query.title and not result %}
  42. <div id="info-box" class="red-box">
  43. <p>The page couldn't be found: <a href="{{ g.page.url }}">{{ g.page.title | e }}</a>.</p>
  44. </div>
  45. {% endif %}
  46. {% endif %}
  47. <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>
  48. <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>
  49. <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>
  50. {% include "support/cv_form.html.jinja" %}
  51. {% if result %}
  52. {% include "support/cv_result.html.jinja" %}
  53. {% endif %}
  54. {% endblock %}