Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
SEgt-WMF
.
With this query, you will be able to see which users have edited a given Wikipedia using a hashtag (in this case #1lib1ref). Some basic instructions to customize this query to your needs: 1) Click on "Fork" to create your own version of this query :) 2) Select your language Wiki to get the data of your Wikipedia (now selected srwiki_p, i.e. Serbian Wikipedia; but you could change it to plwiki_p for Polish or rowiki_p for Romanian) 3) If needed, change the dates in the timestamp to another date in case you want to count edits in a different timespan. Currently: a) revision.rev_timestamp > "20231231" -> Marks the beginning of the campaign - i.e. a date we're searching for is after (>) than December 31, 2023 ("20231231"). If you would like to start counting from January 12, 2023 you would change the date to "20230112000000" b) AND revision.rev_timestamp < "20240201" -> Marks the end of the campaign - i.e. a date we're searching for is before (>) than February 1, 2024 ("20240201") Once you have the dates you want and the database you need (i.e. the right Wikipedia code selected) click on "Submit Query" (note that you can download the data clicking on a blue button above the results) Shout out to Neil Shah-Quinn (WMF) for being so helpful with all my questions, and Sam Walton (WMF) for creating the original query that inspired this one :)
Toggle Highlighting
SQL
SELECT * FROM revision INNER JOIN comment ON revision.rev_comment_id = comment.comment_id WHERE LOWER(comment.comment_text) LIKE "%#1lib1ref%" AND revision.rev_timestamp > "20231231000000" AND revision.rev_timestamp < "20240201000000"
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...