From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
English • ‎dansk • ‎español • ‎العربية • ‎مصرى • ‎中文
Screenshot of the homepage of the tool.

Hashtags is a tool for monitoring and searching the usage of hashtags in Wikimedia edit summaries. The tool monitors edits to all Wikimedia projects (except Wikidata, see below) and allows users to search for them. It was initially created in 2016, but was rewritten in 2018.


Example search results from the tool (https://hashtags.wmflabs.org/?query=1lib1ref).

The tool is hosted on a Cloud VPS instance at https://hashtags.wmflabs.org/. The 'Trending Tags' section on the right lists the most commonly used hashtags from the past 30 days.

To search for a specific hashtag, simply enter it in the Hashtag field and click Submit. Results can be further limited by Project (e.g. `fr.wikisource.org`) and within a date range with one or both of a start and end date. To search for multiple hashtags within the same search, simply separate them with commas, e.g. 1lib1ref, 1bib1ref. Edits with multiple searched hashtags in the same edit summary are only returned once.

URLs take the form https://hashtags.wmflabs.org/?query=<hashtag>&project=<project>&startdate=<YYYY-MM-DD>&enddate=<YYYY-MM-DD>. Any parameter except query can be omitted.

Until 2018 the tool was hosted at https://tools.wmflabs.org/hashtags. Due to high resource usage and a very large database, the tool was rewritten and moved to a dedicated Cloud VPS instance. Most URLs from the old tool now redirect to the new one, including any search queries.


The Hashtags tool monitors hashtag usage from all Wikimedia projects except for Wikidata via the recentchanges EventStream. Hashtags are matched using the regex (?:^|\s)[##]{1}(\w+) which matches all hashtags that aren't only numbers.

Wikidata is currently excluded from data collection due to the large volume of data it would generate. As an example, nearly 7 million monthly edits are tagged with #quickstatements there. See T207029 for details.

Bot edits are also excluded from data collection due to high edit rates. Individual bot edits can easily be tracked by looking at the contribution history of those individual bot accounts.

From 2016 to 2018 data was collected from various language Wikipedia projects, as each was requested by editors. Therefore data earlier than August 2018 does not include other Wikimedia projects or many Wikipedia languages. There is a gap in the data from August 8th to early September 2018 as a result of the time between the old tool being taken down and the new one starting up.


Contributions to the hashtags tool's development are welcomed. The source code is available on Github and open tasks are listed on Phabricator. The tool runs on Django via Docker containers. Instructions on local setup can be found in the Github README.