Hi everyone,
my skin uses the global parser in order to render some parts of the navigation bar via templates (Parser::recursivePreprocess). This works fine on all normal pages (and even some special ones like Special:Version), but not on special pages like Special:AllPages.
Some debugging revealed that on Special:AllPages the global parser object (\MediaWiki\MediaWikiServices::getInstance()->getParser()) is not properly initialized. Member variables like mOptions and mTitle are null which results in tons of NPEs.
Any idea why that is? Is that a bug or am I mis-using the parser?
Regards, Sebastian