enterprisey / afdstats Goto Github PK
View Code? Open in Web Editor NEWA Wikipedia tool to analyze a user's history of contributions to Articles for Deletion discussions.
Home Page: http://tools.wmflabs.org/afdstats/
A Wikipedia tool to analyze a user's history of contributions to Articles for Deletion discussions.
Home Page: http://tools.wmflabs.org/afdstats/
Currently, the dates are inconsistent when it comes to the first nine days of a month. Nominations one has started on the first nine days of a month are shown with a leading zero in the date in the AfD stats, while votes on nominations started by other users are shown without a leading zero in the date in the AfD stats.
None of the dates in the "Date" column should ever show leading zeros, regardless of whether the nomination was originally started by the same user or a different user.
Per https://wikitech.wikimedia.org/wiki/News/Toolforge_Grid_Engine_deprecation the Grid Engine shutdown will begin on 2023-12-14. Moving to Kubernetes will require upgrading to Python 3.9, which is fixed by #27
Currently the tool doesn't understand "draftify" as an option for a deletion discussion. Draftification is an uncommon but still valid result of a deletion discussion, so I feel like the tool should also list it.
Suggestion: Mention the total # of AFD votes counted/detected. Right now the total number of AFD pages edited is displayed, but not the total number of votes. Consider adding it beneath this text:
Total number of unique AfD pages edited by Novem Linguae: 47
Beneath the above text, we could add:
Total number of AfD votes detected in this query: 32
Examples:
User:me_and
– only AfD nominations are detected, not their other !votes such as this or thisUser:A._C._Santacruz
– only AfD nominations are detected, not their other !votes such as this or thisThis is happening with every user who uses underscores instead of spaces in their signature – it's only picking up their nominations because that part isn't based on signature matching.
This tool currently counts April Fools Day nomination !votes, which can throw off the numbers (depending on how actively someone participates). The issue could be resolved by having the tool ignore all !votes on pages that transclude {{humor}}.
Example: Actualcpscm's !vote here is not counted because their signature was an unsigned template.
https://en.wikipedia.org/wiki/Wikipedia:Articles_for_deletion/Moises_Lino_e_Silva_(3rd_nomination)
Note that the {{Unsigned}} template always ends up substituted, so would need to check for the substituted code, not the template itself.
<!-- Template:Unsigned --><small class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Actualcpscm|Actualcpscm]] ([[User talk:Actualcpscm#top|talk]] • [[Special:Contributions/Actualcpscm|contribs]]) </small>
hello @enterprisey there seems to be no project
license, can you please update OSI approved
The list of AfDs is currently sorted by the date of the latest edit the user has made to each AfD. It should instead be sorted by the dates in the "Date" column, which shows when each vote was originally made.
*'''Weak keep'''.
is not showing up at https://afdstats.toolforge.org/afdstats.py?name=Joe+Roe&max=500&startdate=&altname=
Perhaps we should double check that weak keep, week delete, strong keep, and strong delete (case insensitive) are counted. And if not, we should add support for this. They're common, and coding it would be easy.
On the index page, consider adding "case sensitive" next to the Username label on the search form.
If this has not been caused by any software modification of adfstats, then something has changed on the Toolserver, maybe.
Traceback (most recent call last): File "/data/project/afdstats/public_html//afdstats.py", line 91, in main db = MySQLdb.connect(db='enwiki_p', host="enwiki.labsdb", read_default_file=os.path.expanduser("~/replica.my.cnf")) File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect return Connection(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 187, in __init__ super(Connection, self).__init__(*args, **kwargs2) OperationalError: (2013, "Lost connection to MySQL server at 'reading initial communication packet', system error: 0") None
Fatal error.
Example queries:
https://tools.wmflabs.org/afdstats/afdstats.py?name=ToBeFree&max=&startdate=&altname=
https://tools.wmflabs.org/afdstats/afdstats.py?name=ToBeFree&max=500&startdate=&altname=
https://tools.wmflabs.org/afdstats/afdstats.py?name=Sergecross73&max=500&startdate=&altname=
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.