As https://gerrit.wikimedia.org/r/#/c/219191/ , but less hacky, and preferrably with a nice 'Labs is down' message comparable to what happens on wikipedia.
how to deploy: https://wikitech.wikimedia.org/w/index.php?title=Nova_Resource:Tools/Admin/emergency_guides/labs_down_notification