Hello,
I am looking for a way to get the content of $wgFlaggedRevsNamespaces
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 :
- list namespaces through
meta=siteinfo&siprop=namespaces
- look for the first page in each namespaces with
list=allpages
- test the flag status of theses pages through
prop=flagged
but wow, this is a bit complicated just to get this poor information.
Does anyone know an easier way to do it?
Thank you.