{"id":15960596,"url":"https://github.com/earwig/template-influence-factor","last_synced_at":"2026-06-06T18:31:37.346Z","repository":{"id":141189433,"uuid":"51238654","full_name":"earwig/template-influence-factor","owner":"earwig","description":"A tool that evaluates high-risk Wikipedia templates","archived":false,"fork":false,"pushed_at":"2016-02-14T06:38:24.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-09T05:51:17.003Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://tools.wmflabs.org/earwig-dev/tif","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/earwig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-07T06:51:57.000Z","updated_at":"2022-03-24T22:58:28.000Z","dependencies_parsed_at":"2023-05-01T20:46:09.870Z","dependency_job_id":null,"html_url":"https://github.com/earwig/template-influence-factor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/earwig/template-influence-factor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earwig%2Ftemplate-influence-factor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earwig%2Ftemplate-influence-factor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earwig%2Ftemplate-influence-factor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earwig%2Ftemplate-influence-factor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/earwig","download_url":"https://codeload.github.com/earwig/template-influence-factor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earwig%2Ftemplate-influence-factor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33995625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-07T15:20:44.442Z","updated_at":"2026-06-06T18:31:37.308Z","avatar_url":"https://github.com/earwig.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a tool that calculates the\n[Template Influence Factor](https://en.wikipedia.org/wiki/User:The_Earwig/Sandbox/TIF)\nof a [Wikipedia template](https://en.wikipedia.org/wiki/Help:Template), which\nis a measure of how\n[high risk](https://en.wikipedia.org/wiki/Wikipedia:High-risk_templates) it is,\nfor the purposes of anti-vandalism. It runs on\n[Wikimedia Labs](https://tools.wmflabs.org/earwig-dev/tif).\n\nDependencies\n============\n\n* [earwigbot](https://github.com/earwig/earwigbot) \u003e= 0.2\n* [flask](http://flask.pocoo.org/) \u003e= 0.10.1\n* [flask-mako](https://pythonhosted.org/Flask-Mako/) \u003e= 0.3\n* [mako](http://www.makotemplates.org/) \u003e= 1.0.3\n* [oursql](http://packages.python.org/oursql/) \u003e= 0.9.3.1\n\nRunning\n=======\n\n- Install all dependencies listed above.\n\n- Create an SQL database based on `schema.sql` on the same server as your\n  MediaWiki database.\n\n- Create an earwigbot instance in `.earwigbot` (run `earwigbot .earwigbot`). In\n  `.earwigbot/config.yml`, fill out the connection info for the database by\n  adding the following to the `wiki` section:\n\n        _tifSQL:\n            host: \u003chostname of database server\u003e\n            db:   \u003cname of database\u003e\n\n  If additional arguments are needed by `oursql.connect()`, like usernames or\n  passwords, they should be added to the `_tifSQL` section.\n\n- Start the web server (on Tool Labs, `webservice2 uwsgi-python start`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearwig%2Ftemplate-influence-factor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fearwig%2Ftemplate-influence-factor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearwig%2Ftemplate-influence-factor/lists"}