Difference between revisions of "MediaWiki/Toegangscontrole"
(→Introductie: co) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{TBN}} | + | {{TBN|r= |
− | {{ | + | y |
+ | }} | ||
+ | {{NeedsUpdate|d= | ||
+ | 10:58, 13 May 2024 (UTC) | ||
+ | }} | ||
Lees ook: {{MWorg|h=y|Manual:Preventing_access}} | Lees ook: {{MWorg|h=y|Manual:Preventing_access}} | ||
== Introductie == | == Introductie == |
Latest revision as of 15:39, 1 September 2024
Deze pagina maakt deel uit van de serie MediaWiki. |
Note: this page needs to be updated! 10:58, 13 May 2024 (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>