After I updated MediaWiki from 1.25.3 to 1.25.4, Special:MyPage stopped working.
In the PHP debug log this is what I found out about the problem:
PHP Fatal error: Call to undefined method OutputPage::lowerCdnMaxage() in /var/www/w/includes/MediaWiki.php on line 246