A copyright violation detector running on Wikimedia Cloud Services https://tools.wmflabs.org/copyvios/
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

11 лет назад
4 лет назад
11 лет назад
4 лет назад
13 лет назад
4 лет назад
4 лет назад
4 лет назад
9 лет назад
4 лет назад
9 лет назад
10 лет назад
10 лет назад
10 лет назад
10 лет назад
10 лет назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. This is a [copyright violation](https://en.wikipedia.org/wiki/WP:COPYVIO)
  2. detector running on [Wikimedia Cloud Services](https://copyvios.toolforge.org/).
  3. It can search the web for content similar to a given article, and graphically
  4. compare an article to a specific URL. Some technical details are expanded upon
  5. [in a blog post](https://benkurtovic.com/2014/08/20/copyvio-detector.html).
  6. Dependencies
  7. ============
  8. * [earwigbot](https://github.com/earwig/earwigbot) >= 0.1
  9. * [flask](https://flask.palletsprojects.com/) >= 0.10.1
  10. * [flask-mako](https://pythonhosted.org/Flask-Mako/) >= 0.3
  11. * [mako](https://www.makotemplates.org/) >= 0.7.2
  12. * [mwparserfromhell](https://github.com/earwig/mwparserfromhell) >= 0.3
  13. * [mwoauth](https://github.com/mediawiki-utilities/python-mwoauth) == 0.3.8
  14. * [oursql](https://pythonhosted.org/oursql/) >= 0.9.3.1
  15. * [requests](https://requests.readthedocs.io/) >= 2.9.1
  16. * [SQLAlchemy](https://www.sqlalchemy.org/) >= 0.9.6
  17. * [apsw](https://github.com/rogerbinns/apsw) >= 3.26.0
  18. * [uglifyjs](https://github.com/mishoo/UglifyJS) >= 3.12.6
  19. * [cssnano](https://github.com/cssnano/cssnano) >= 4.1.10
  20. * [postcss-cli](https://github.com/postcss/postcss-cli) >= 8.3.1
  21. Running
  22. =======
  23. - If using Toolforge, you should clone the repository to `~/www/python/src`, or
  24. otherwise symlink it to that directory. A
  25. [virtualenv](https://virtualenv.pypa.io/) should be created at
  26. `~/www/python/venv`.
  27. - Install all dependencies listed above.
  28. - Create an SQL database with the `cache` and `cache_data` tables defined by
  29. [earwigbot-plugins](https://github.com/earwig/earwigbot-plugins/blob/develop/tasks/schema/afc_copyvios.sql).
  30. - Create an earwigbot instance in `.earwigbot` (run `earwigbot .earwigbot`). In
  31. `.earwigbot/config.yml`, fill out the connection info for the database by
  32. adding the following to the `wiki` section:
  33. _copyviosSQL:
  34. host: <hostname of database server>
  35. db: <name of database>
  36. If additional arguments are needed by `oursql.connect()`, like usernames or
  37. passwords, they should be added to the `_copyviosSQL` section.
  38. - Run `./build.py` to minify JS and CSS files.
  39. - Start the web server (on Toolforge, `webservice uwsgi-python start`).