Diferenças entre edições de "Disable registration"
Saltar para a navegação
Saltar para a pesquisa
(Criou a página com "It is possible to prevent new users from registering themselves on your MediaWiki site. For that, you need to edit your LocalSettings.php file. Find the place on your Local...") |
(Sem diferenças)
|
Edição atual desde as 16h21min de 1 de junho de 2018
It is possible to prevent new users from registering themselves on your MediaWiki site. For that, you need to edit your LocalSettings.php file.
Find the place on your LocalSettings.php where you have the $wgGroupPermissions declarations and add the following in a new line:
$wgGroupPermissions['*']['createaccount'] = false;
If you have no $wgGroupPermissions already defined in your file, just add the line anyway.
Make sure to check that such a line is not defined elsewhere in the file, whatever the settings in it.