Difference between revisions of "MediaWiki/Toegangscontrole"
Line 1: | Line 1: | ||
− | {{TBN|t=no}} | + | {{TBN|t=no |
+ | |r= | ||
+ | y | ||
+ | }} | ||
{{NeedsUpdate|d= | {{NeedsUpdate|d= | ||
10:58, 13 May 2024 (UTC) | 10:58, 13 May 2024 (UTC) |
Revision as of 11:06, 13 May 2024
Deze pagina maakt deel uit van de serie MediaWiki. |
Note: this page needs to be updated! 10:58, 13 May 2024 (UTC) |
[[Tocright}} Lees ook: Mediawiki.org: Manual:Preventing_access
Contents
- 1 Introductie
- 2 Invulling
- 2.1 1 Simple private wiki
- 2.2 2 Restrict account creation
- 2.3 3 Restrict editing
- 2.4 3.1 Restrict editing of all pages
- 2.5 3.1.1 Restrict anonymous editing
- 2.6 3.1.2 Restrict editing by all non-sysop users
- 2.7 3.1.3 Restrict editing by absolutely everyone
- 2.8 3.2 Restrict editing of an entire namespace
- 2.9 3.3 Restrict editing of certain specific pages
- 2.10 3.4 Restrict editing of all but a few pages
- 2.11 3.5 Restrict editing for certain IP address ranges
- 2.12 3.6 Restrict editing by a particular user
- 2.13 3.7 Restrict creating of all pages
- 2.14 3.8 Restrict creating pages in certain namespaces
- 2.15 4 Restrict access to uploaded files
- 2.16 4.1 Example for access restriction to uploaded files in the server configuration
- 2.17 5 Restrict viewing
- 2.18 5.1 Restrict viewing of all pages
- 2.19 5.2 Restrict viewing of certain specific pages
- 2.20 6 Restricting exporting
- 2.21 7 Removing the Login link from all pages
- 2.22 8 Removing accounts
- 2.23 9 Other restrictions
- 2.24 10 See also
Introductie
Het artikel Mediawiki.org: Manual:Preventing_access beschrijft de volgende punten:
- 1 Simple private wiki
- 2 Restrict account creation
- 3 Restrict editing
- 3.1 Restrict editing of all pages
- 3.1.1 Restrict anonymous editing
- 3.1.2 Restrict editing by all non-sysop users
- 3.1.3 Restrict editing by absolutely everyone
- 3.2 Restrict editing of an entire namespace
- 3.3 Restrict editing of certain specific pages
- 3.4 Restrict editing of all but a few pages
- 3.5 Restrict editing for certain IP address ranges
- 3.6 Restrict editing by a particular user
- 3.7 Restrict creating of all pages
- 3.8 Restrict creating pages in certain namespacesv
- 4 Restrict access to uploaded files
- 4.1 Example for access restriction to uploaded files in the server configuration
- 5 Restrict viewing
- 5.1 Restrict viewing of all pages
- 5.2 Restrict viewing of certain specific pages
- 6 Restricting exporting
- 7 Removing the Login link from all pages
- 8 Removing accounts
- 9 Other restrictions
- 10 See also
Invulling
1 Simple private wiki
Voor de algemene use case van "een privé-wiki, voor jezelf en voor anderen goedgekeurd", moet je:
- Beperk weergave
- <translate> Restrict editing</translate>
- <translate> Restrict account creation</translate>
<syntaxhighlight lang="php">
- Disable reading by anonymous users
$wgGroupPermissions['*']['read'] = false;
- Disable anonymous editing
$wgGroupPermissions['*']['edit'] = false;
- Prevent new user registrations except by sysops
$wgGroupPermissions['*']['createaccount'] = false; </syntaxhighlight>
<translate> Depending on what extensions you have installed, you may want to whitelist more pages.</translate> <translate> For example if you are using the <tvar name=1>Extension:ConfirmAccount</tvar> extension, you probably want Special:RequestAccount whitelisted.</translate> <translate> If the content language of your wiki is not English, you may have to use the translated name of the special pages in question.</translate>
<translate>