Various users will need access to page properties that are set in the PHP parser during the parse process. We do have information about everything that's in the wikitext (categories, interwikis etc), but don't have access to private properties set by extensions. It would be great if these could be exposed through the API on:
- action=parse (used by parsoid to expand extension tags), and
- action=expandtemplates
In the longer term, we should think about how we'd like to evolve page metadata in general. One option is to move metadata out of the wikitext as discussed in T55508 and https://www.mediawiki.org/wiki/User:GWicke/PageProperties.