Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit to main namespace? (Enhancment) #118

Closed
lokal-profil opened this issue Aug 20, 2014 · 2 comments
Closed

Limit to main namespace? (Enhancment) #118

lokal-profil opened this issue Aug 20, 2014 · 2 comments

Comments

@lokal-profil
Copy link
Contributor

Appologies if this ends up being a wikichanges issue.

Would it be possible to limit anon (through a toggle in config) to only look at contributions to the main namespace (articles for Wikipedia, more complicated for Commons). I would argue that the other namespaces are often of less interest to the average tweet reader. The main reason for the suggestion however is that edits to other pages, especially talk pages of various kinds, often risks linking usernames with IP addresses and thus the companies/departments they are working in.

As a concrete example: I picked up on an anon edit to a talk page which was immediately followed by an entry where a user signed the entry.

@lokal-profil
Copy link
Contributor Author

Not being very familiar with coffeescript but would the following work if inserted after line 102
else if account.namespaces and edit.namespace not in account.namespaces then
together with a namespaces : ["Article"] in config

lokal-profil added a commit to lokal-profil/anon that referenced this issue Sep 9, 2014
Delinting using http://www.coffeelint.org/

Adding throttle parameter to config (but set to false) to highlight
that it exists

Adding tripple mustaches to deal with issue edsu#116

Adding namespace logic to anon and config to support issue edsu#118
This allows filtering out edits in talk namespaces etc,
if namespace is left out of config all namespaces are accepted

Added logic to disregard @metadata entries in ranges to support issue edsu#115
this allows source, dates etc. to be added to the ranges
@lokal-profil
Copy link
Contributor Author

Solved with patch #121

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant