Hashtags have become the standard way of marking edits as belonging to campaigns, but there is no easy way to filter for them (hashtags.wmcloud.org is handy but does not help with filtering recent changes, watchlists etc), they cannot be searched efficiently in the database, and there is no way to add or fix them after the edit is made. Change tags provide all of this functionality, but they are meant be added by software, not manually.
A simple way to bridge the two would be to automatically turn hashtags into change tags, e.g. if an edit summary contains the word #wpwp, it would automatically receive the change tag hashtag-wpwp (or something like that; the hash character cannot be used in change tag names and they need to be namespaced somehow). This could either be unrestricted, or restricted to hashtags that campaign organizers have pre-registered in some way; in the latter case, hashtag registration would have to be global as some campaigns run on many wikis, and manually declaring the hashtag on dozens of wikis isn't really feasible. A possible low-effort approach would be to only create the change tag if the i18n message for the change tag name exists, and campaign organizers could use Translatewiki (e.g. via WikimediaMessages) to register and translate hashtag-related change tags.
Such a scheme would have several advantages, while only taking a few lines of code to implement:
- hashtags would become filterable inside MediaWiki (e.g. recent changes, watchlists, user contributions, page history all support change tag filters)
- hashtags would become easily searchable by external tools relying on the replica DB (substring searches on edit summaries are inefficient, but change tags are indexed)
- hashtags would become more visually prominent on various MediaWiki interfaces, and more self-explanatory (as you can associate a description with the hashtag, link from the description to the project page etc, although for cross-wiki campaigns it would take extra tooling to make this option useful - see the Translatewiki suggestion above)
- it would be possible for wiki administrators to add/remove hashtags for an existing edit (though this doesn't seem like there would be much use for it in practice, it's nice to have the option)