MediaWiki Hastags

Been playing around with my local MediaWiki. Since I couldn’t find an extension to use tags for Categories, I created my own one. You can find the code on my Github┬ápage.

Inspired by the plugin by Jeroen de Dauw

It’s easy to install.

  • Download the files from GitHub
  • Put them in a folder called Hashtags in the Extensions folder of your MediaWiki
  • add the following to your Localsettings.php
    require_once( “$IP/extensions/Hastags/Hastags.php” );

Now when you save your articles it will work for you

#Hastag to [[Category:Hastag]].
@Article to [[Article]]
&file to [[File:file]]

That’s it!

Feel free to use it. MIT License applies.