A copyright violation detector running on Wikimedia Cloud Services https://tools.wmflabs.org/copyvios/
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 11 gadiem
pirms 13 gadiem
pirms 12 gadiem
pirms 10 gadiem
pirms 10 gadiem
pirms 10 gadiem
pirms 10 gadiem
pirms 10 gadiem
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. This is a [copyright violation](https://en.wikipedia.org/wiki/WP:COPYVIO)
  2. detector running on [Wikimedia Labs](https://tools.wmflabs.org/copyvios).
  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](http://benkurtovic.com/2014/08/20/copyvio-detector.html).
  6. Dependencies
  7. ============
  8. * [earwigbot](https://github.com/earwig/earwigbot) >= 0.1
  9. * [flask](http://flask.pocoo.org/) >= 0.10.1
  10. * [flask-mako](https://pythonhosted.org/Flask-Mako/) >= 0.3
  11. * [mako](http://www.makotemplates.org/) >= 0.7.2
  12. * [mwparserfromhell](https://github.com/earwig/mwparserfromhell) >= 0.3
  13. * [oursql](http://packages.python.org/oursql/) >= 0.9.3.1
  14. * [requests](http://python-requests.org/) >= 2.9.1
  15. * [SQLAlchemy](http://sqlalchemy.org/) >= 0.9.6
  16. * [uglifycss](https://github.com/fmarcia/UglifyCSS/)
  17. * [uglifyjs](https://github.com/mishoo/UglifyJS/) >= 1.3.3
  18. Running
  19. =======
  20. - If using Tool Labs, you should clone the repository to `~/www/python/src`, or
  21. otherwise symlink it to that directory. A
  22. [virtualenv](http://virtualenv.readthedocs.org/) should be created at
  23. `~/www/python/venv`.
  24. - Install all dependencies listed above.
  25. - Create an SQL database with the `cache` and `cache_data` tables defined by
  26. [earwigbot-plugins](https://github.com/earwig/earwigbot-plugins/blob/develop/tasks/schema/afc_copyvios.sql).
  27. - Create an earwigbot instance in `.earwigbot` (run `earwigbot .earwigbot`). In
  28. `.earwigbot/config.yml`, fill out the connection info for the database by
  29. adding the following to the `wiki` section:
  30. _copyviosSQL:
  31. host: <hostname of database server>
  32. db: <name of database>
  33. If additional arguments are needed by `oursql.connect()`, like usernames or
  34. passwords, they should be added to the `_copyviosSQL` section.
  35. - Run `./build.py` to minify JS and CSS files.
  36. - Start the web server (on Tool Labs, `webservice2 uwsgi-python start`).