Difference between revisions of "MediaWiki/Toegangscontrole"
(→Introductie: co) |
|||
Line 23: | Line 23: | ||
:{{sl| 4.1 Example for access restriction to uploaded files in the server configuration }} | :{{sl| 4.1 Example for access restriction to uploaded files in the server configuration }} | ||
:{{sl| 5 Restrict viewing }} | :{{sl| 5 Restrict viewing }} | ||
− | + | :{{sl| 5.1 Restrict viewing of all pages }} | |
:{{sl| 5.2 Restrict viewing of certain specific pages }} | :{{sl| 5.2 Restrict viewing of certain specific pages }} | ||
:{{sl| 6 Restricting exporting }} | :{{sl| 6 Restricting exporting }} | ||
Line 30: | Line 30: | ||
:{{sl| 9 Other restrictions }} | :{{sl| 9 Other restrictions }} | ||
:{{sl| 10 See also }} | :{{sl| 10 See also }} | ||
+ | |||
== Invulling == | == Invulling == | ||
=== 1 Simple private wiki === | === 1 Simple private wiki === |
Revision as of 13:21, 16 September 2022
Deze pagina maakt deel uit van de serie MediaWiki. |
Deze pagina is een Stub. De inhoud ervan moet nog worden vastgesteld! OllieB (talk) 15:18, 10 November 2021 (UTC) |
Lees ook: Mediawiki.org: Manual:Preventing_access
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>