PrivatePageProtection (archived) work with 1.33.3
Files Source : https://phabricator.wikimedia.org/diffusion/SVN/browse/trunk/extensions/PrivatePageProtection/
Now, with Mediawiki 1.34.2, PrivatePageProtection not work :
https://privatebin.visionduweb.fr/?8039658573b9ed9d#GbeVLFerzrd7go8NNRn22y6nwfWCkseHXZP7vpUK2Mjd
I replace DB_REPLICA instead of DB_SLAVE on :
sudo nano /var/www/mediawiki/extensions/PrivatePageProtection/PrivatePageProtection.php line 95
// $dbr = wfGetDB( DB_SLAVE );
$dbr = wfGetDB( DB_REPLICA );
Then, i have this error :
/index.php?search=joomla&title=Sp%C3%A9cial%3ARecherche&fulltext=1 TypeError from line 3367 of /var/www/wiki.visionduweb.fr/languages/Language.php: Argument 1 passed to Language::commaList() must be of the type array, null given, called in /var/www/wiki.visionduweb.fr/extensions/PrivatePageProtection/PrivatePageProtection.php on line 132
https://privatebin.visionduweb.fr/?8986b983a4d95d45#BMyweusa8P6ekukDnWp4CBoN4M8wwcC6UZaKyeGDY84X
$err = array(
'badaccess-groups',
$wgLang->commaList( $groupLinks ), // This line is the 132.
count( $groups )