Skip to content

mattproetsch/wiki-sanitize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wiki-sanitize

Very much a WIP. Alerts you when it thinks someone has been paid to contribute to the Wikipedia page you are viewing.

What does it do, exactly?

This Firefox extension uses the page-mod API to inject itself into all Wikipedia article pages. As per the recently-proposed Terms of use/Paid contribution amendment, it then uses the page-worker API to download the talk page and edit history page for the article, as well as the user pages of the 5 most active editors. It uses regexes to scan the content of these pages for phrases that may indicate the editor was paid to contribute to the article. When it finds a matching phrase or word, it adds its context to a panel overlay so that the user can review the edit summary or relevant talk/user page section and decide for his or herself if the phrase in question represents a conflict of interest.

Matched phrases

Here is a list of currently matched phrases that will cause an edit summary or user or talk page snippet to be added to the results panel (this is a default list, and really ought to be editable via UI):

Regex Matched Pattern
pa(y|ying|id|yment) pay/paying/paid/payment
compensat(e|ed|ion|ing) compensate/compensated/compensation/compensating
hire(d|s|ing)? hire/hired/hires/hiring
disclos(e|ed|ure|ing) disclose/disclosed/disclosure/disclosing
contribut(e|ed|ion|ing) contribute/contibuted/contribution/contributing
affiliat(e|ed|ion) affiliate/affiliated/affiliation
client(ele)? client/clientele
employ(ee|er|ed|ing)? employ/employee/employer/employed/employing
work(s|ed|ing)? work/works/worked/working

About

Add-on revealing paid contribs to Wikipedia

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published