Spotted in production with wmf.5:
[WUA67QpAIEEAABLUG44AAADP] /w/api.php?action=parse&prop=parsetree&maxlag=5&page=Git%2FReviewers&format=json BadMethodCallException from line 461 of /srv/mediawiki/php-1.30.0-wmf.5/includes/api/ApiParse.php: Call to a member function getModel() on a non-object (null)
Here's the stacktrace:
#0 /srv/mediawiki/php-1.30.0-wmf.5/includes/api/ApiMain.php(1578): ApiParse->execute() #1 /srv/mediawiki/php-1.30.0-wmf.5/includes/api/ApiMain.php(545): ApiMain->executeAction() #2 /srv/mediawiki/php-1.30.0-wmf.5/includes/api/ApiMain.php(516): ApiMain->executeActionWithErrorHandling() #3 /srv/mediawiki/php-1.30.0-wmf.5/api.php(83): ApiMain->execute() #4 /srv/mediawiki/w/api.php(3): include(string) #5 {main}