Add JavaScript variable wgContentNamespaces
authorThis, that and the other <at.light@live.com.au>
Fri, 29 Nov 2013 10:19:58 +0000 (21:19 +1100)
committerThis, that and the other <at.light@live.com.au>
Fri, 29 Nov 2013 10:19:58 +0000 (21:19 +1100)
commit3d87e3a86bcb39d444ef916129dd48bf80b5bb31
treee748e7f0534cec8b23f5095f2184b85663fe5301
parente7c8c43d2336540eae0d0279e3e7e945acff8c89
Add JavaScript variable wgContentNamespaces

Intended to be used in WikiEditor to hide the signature button in content
namespaces. Other uses could be for gadgets or extensions that only need
to work on content pages, or that are internally-facing and should only
be seen on non-content pages.

It is an array of namespace IDs, so that end-users can quickly check
whether wgNamespaceNumber is in this array.

Change-Id: I01d9671dd14aa79e79ed887299c2f5de766f7375
includes/resourceloader/ResourceLoaderStartUpModule.php