Last modified: 2014-10-17 22:21:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T73952, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71952 - add namespace restrictions to meta=siteinfo
add namespace restrictions to meta=siteinfo
Status: NEW
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-11 13:43 UTC by Dr Brains
Modified: 2014-10-17 22:21 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dr Brains 2014-10-11 13:43:41 UTC
It would be good to find a way to provide namespace restrictions ([[mw:Manual:$wgNamespaceProtection]]) with "meta=siteinfo" module, 

* in a new "siprop" parameter 

* or in already existent "siprop=namespaces" module.
Comment 1 Andre Klapper 2014-10-12 18:57:39 UTC
Please provide a usecase because I cannot guess why "it would be good". Thanks!
Comment 2 Dr Brains 2014-10-17 22:21:37 UTC
User scripts or gadget could need this information to know if a user can or cannot edit a page depending on its namespace. 

I think to LiveRC gadget, for example ([[fr:Wikipédia:LiveRC/Sources]]).

It is as probably as reavelant as "case" or "subpages" attributes already provided with "meta=siteinfo&siprop=namespaces"

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links