templates / branches--on commit git-remote-mediawiki: put long code into a subroutine (6a316be)
   1: this is just to ensure the directory exists.