Thread:Extension talk:FlaggedRevs/Getting $wgFlaggedRevsNamespaces configuration in JavaScript

Hello,

I am looking for a way to get the content of  variable through javascript, to define if a particular namespace is under review or not. I've searched in API help but it seems there is no sush a feature.

Of course, I could :
 * 1) list namespaces through
 * 2) look for the first page in each namespaces with
 * 3) test the flag status of theses pages through

but wow, this is a bit complicated just to get this poor information.

Does anyone know an easier way to do it?

Thank you.