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

Gabriel Wicke <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|easy, javascript            |

--- Comment #5 from Gabriel Wicke <[email protected]> ---
The PHP implementation of the 'general' section is in
includes/api/ApiQuerySiteinfo.php. The config variable to expose is
http://www.mediawiki.org/wiki/Manual:$wgNamespacesWithSubpages#Enabling_for_a_namespace.
Subpages can be enabled or disabled per namespace, so an array of numeric
namespace ids for which subpages are enabled probably makes most sense for the
API. There are some other arrays in ApiQuerySiteinfo (see appendFileExtensions
for example) that can be used as a template.

-- 
You are receiving this mail because:
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