Skip to content

Instantly share code, notes, and snippets.

@slaporte
Created February 15, 2016 10:08
Show Gist options
  • Save slaporte/d01fc9c1eac87734e06b to your computer and use it in GitHub Desktop.
Save slaporte/d01fc9c1eac87734e06b to your computer and use it in GitHub Desktop.
Select distinct ht.ht_text, ht.ht_update_timestamp
FROM recentchanges AS rc
JOIN hashtag_recentchanges AS htrc
ON htrc.htrc_id = rc.htrc_id
JOIN hashtags AS ht
ON ht.ht_id = htrc.ht_id
WHERE rc.rc_type = 0
AND rc.htrc_lang LIKE 'en'
AND ht.ht_text NOT IN('redirect', 'ifexist', 'switch', 'ifexpr')
AND ht.ht_text REGEXP '[[:alpha:]]+'
AND CHAR_LENGTH(ht.ht_text) > 1
ORDER BY ht.ht_update_timestamp DESC
LIMIT 25;
@slaporte
Copy link
Author

Some possible hashtag charts:

  • Most recent tags
  • Tags used on the most revisions
  • Tags sorted by language
  • A few promoted tags (like #editathon)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment