https://bugzilla.wikimedia.org/show_bug.cgi?id=33253

--- Comment #18 from Donald Lancon <[email protected]> 2012-05-17 00:13:08 UTC ---
(In reply to comment #17)
> Query does list namespaces which are in use, but not whether these count as
> content. Am I missing something?
> 
> http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces

In the results of that query:

 <ns id="0" case="first-letter" content="" xml:space="preserve" />

The string 'content=""' indicates that this namespace counts as content. Here's
another example from
<http://de.wikisource.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces>:

 ...
 <ns id="0" case="first-letter" subpages="" content="" xml:space="preserve" />
 ...
 <ns id="102" case="first-letter" canonical="Seite" content=""
xml:space="preserve">Seite</ns>
 ...
 <ns id="104" case="first-letter" canonical="Index" content=""
xml:space="preserve">Index</ns>
 ...

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

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

Reply via email to