Feature summary I'd like to be able to use the api; or perhaps a format parameter to Special:SpecialPages to enumerate a list of all the SpecialPages in the wiki.
Use case(s) At the moment, the query module offers the allpages list, but (-1) is not a valid value for apprefix. Therefore, I'm unable to list SpecialPages. Similarly, the Special:PrefixIndex page does not offer an option to display the 'Special' namespace. Of course, I can get an HTML output at Special:SpecialPages, but I'd really like to get some form of list. Maybe this could be accomplished with a format parameter to Special:SpecialPages like format=json or format=php?
Benefits For wikis that want to control access to Special Pages beyond what is codified in the Special Page itself, it is helpful to have a list of all the available Special Pages