Advise extensions not to modify $wgWhitelistRead
authorKunal Mehta <legoktm@member.fsf.org>
Wed, 12 Jul 2017 01:30:33 +0000 (18:30 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Wed, 12 Jul 2017 01:30:33 +0000 (18:30 -0700)
commit867c79be202de0656efc5b42dd46be1916b82a39
treee7945f3f5e9b74830fd592bb16e3f332bc0938ba
parent1d12fd51ef3d8f432422461d2f953ec7c6c2d88e
Advise extensions not to modify $wgWhitelistRead

Instead they should use the TitleReadWhitelist hook. I've seen this
pattern in multiple extensions now, each causing different problems, so
it should be explicitly documented.

Change-Id: I670b0acde660bdc27a6c7e91c4b1b3baeea8b2e5
includes/DefaultSettings.php