[PATCH] Mirror directive supports variable