I'm trying to force users to login to view special pages and recent changes. I added the Lockdown extension directory to /w/extensions/Lockdown. I then added these lines to my LocalSettings.php file.
require_once "$IP/extensions/Lockdown/Lockdown.php";
$wgSpecialPageLockdown['Export'] = array('user');
$wgSpecialPageLockdown['Recentchanges'] = array('user');
$wgSpecialPageLockdown['Specialpages'] = array('user');
$wgSpecialPageLockdown['Recentchangeslinked'] = array('user');
When I go to my wiki and click special pages I get a "500 - Internal server error". When I log in I'm able to go to special pages. I checked my error log and it says
[error] [dddf1fc1ccccd7df34f2ec09] /index.php?title=Special:SpecialPages ErrorException from line 309 of C:\inetpub\wwwroot\TestWiki\w\includes\debug\MWDebug.php: PHP Deprecated: Use of User::makeGroupLinkWiki was deprecated in MediaWiki 1.29. [Called from array_map in (internal function)]
This did work in MediaWiki 1.26.
I'm now using 1.30 that was a fresh install not an upgrade. I'm also using PHP 7 and MySQL 5.7.