On 07/12/2013 11:13 AM, Platonides wrote:
> Misc:
> - How to detect if you are running in labs? (for dual tools)

There is now a file on every labs instance:

/etc/wmflabs-project

that contains the project name.  Testing for its presence tells you "you
are in the WMF Labs", and checking its contents will tell you which
project; that would be "tools" for the Tool Labs, or "toolsbeta" for the
experimental tool labs.

-- Marc


_______________________________________________
Labs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/labs-l

Reply via email to