Most patches are automated except this one because it's extremely complicated: https://wikitech.wikimedia.org/wiki/Add_a_wiki
But once T223602: Define variant Wikimedia production config in compiled, static files is done, we can just have a templated yaml file and create it automatically.