<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.omecha.nl/mw/index.php?action=history&amp;feed=atom&amp;title=Manual%3AMediaWiki%3A_Toegang_beperken</id>
	<title>Manual:MediaWiki: Toegang beperken - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.omecha.nl/mw/index.php?action=history&amp;feed=atom&amp;title=Manual%3AMediaWiki%3A_Toegang_beperken"/>
	<link rel="alternate" type="text/html" href="https://www.omecha.nl/mw/index.php?title=Manual:MediaWiki:_Toegang_beperken&amp;action=history"/>
	<updated>2026-06-13T02:01:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://www.omecha.nl/mw/index.php?title=Manual:MediaWiki:_Toegang_beperken&amp;diff=466&amp;oldid=prev</id>
		<title>OllieB at 21:13, 19 April 2021</title>
		<link rel="alternate" type="text/html" href="https://www.omecha.nl/mw/index.php?title=Manual:MediaWiki:_Toegang_beperken&amp;diff=466&amp;oldid=prev"/>
		<updated>2021-04-19T21:13:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 21:13, 19 April 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{TBN|b=no|Deze pagina bevat voorbeelden die handig zijn om de toegang te beperken.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{TBN|b=no|Deze pagina bevat voorbeelden die handig zijn om de toegang te beperken.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|w=50%&lt;/ins&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Voor hulp bij het specificeren van gebruikers rechten zie  &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Voor hulp bij het specificeren van gebruikers rechten zie  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{MWorg|h=yes|Manual:User rights}}.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{MWorg|h=yes|Manual:User rights}}.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>OllieB</name></author>
		
	</entry>
	<entry>
		<id>https://www.omecha.nl/mw/index.php?title=Manual:MediaWiki:_Toegang_beperken&amp;diff=465&amp;oldid=prev</id>
		<title>OllieB at 20:51, 19 April 2021</title>
		<link rel="alternate" type="text/html" href="https://www.omecha.nl/mw/index.php?title=Manual:MediaWiki:_Toegang_beperken&amp;diff=465&amp;oldid=prev"/>
		<updated>2021-04-19T20:51:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 20:51, 19 April 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;languages /&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{TBN|b=no|Deze pagina bevat voorbeelden die handig zijn om de toegang te beperken.}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;!--T:22--&amp;gt; For help customizing user rights, see &amp;lt;tvar|1&amp;gt;&lt;/del&gt;{{&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ll&lt;/del&gt;|Manual:User rights}}&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/&amp;gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Voor hulp bij het specificeren van gebruikers rechten zie &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;!--T:23--&amp;gt; This page contains examples useful for restricting access&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;MWorg|h=yes&lt;/ins&gt;|Manual:User rights}}.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--T:24--&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Most of the examples need changes to &lt;/del&gt;MediaWiki &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;configuration file &amp;lt;tvar|1&amp;gt;&lt;/del&gt;&amp;lt;code&amp;gt;{{ll|Manual:LocalSettings.php|LocalSettings.php}}&amp;lt;/code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/&amp;gt;&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--T:25--&amp;gt; Snippets of code with no accompanying instructions must be added to &amp;lt;tvar|1&amp;gt;&amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/&amp;gt; to take effect&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--T:24--&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;De meeste voorbeelden hebben wijzigingen in het &lt;/ins&gt;MediaWiki&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-configuratiebestand &lt;/ins&gt;&amp;lt;code&amp;gt;{{ll|Manual:LocalSettings.php|LocalSettings.php}}&amp;lt;/code&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;nodig&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--T:25--&amp;gt; Snippets of code with no accompanying instructions must be added to &amp;lt;tvar|1&amp;gt;&amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;nodig om geëffectueerd te worden&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--T:26--&amp;gt; To add one or more lines to the file, follow these steps:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--T:26--&amp;gt; To add one or more lines to the file, follow these steps:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>OllieB</name></author>
		
	</entry>
	<entry>
		<id>https://www.omecha.nl/mw/index.php?title=Manual:MediaWiki:_Toegang_beperken&amp;diff=464&amp;oldid=prev</id>
		<title>OllieB at 20:01, 19 April 2021</title>
		<link rel="alternate" type="text/html" href="https://www.omecha.nl/mw/index.php?title=Manual:MediaWiki:_Toegang_beperken&amp;diff=464&amp;oldid=prev"/>
		<updated>2021-04-19T20:01:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://www.omecha.nl/mw/index.php?title=Manual:MediaWiki:_Toegang_beperken&amp;amp;diff=464&amp;amp;oldid=461&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>OllieB</name></author>
		
	</entry>
	<entry>
		<id>https://www.omecha.nl/mw/index.php?title=Manual:MediaWiki:_Toegang_beperken&amp;diff=461&amp;oldid=prev</id>
		<title>OllieB: Created page with &quot;&lt;languages /&gt; &lt;translate&gt;&lt;!--T:22--&gt; For help customizing user rights, see &lt;tvar|1&gt;{{ll|Manual:User rights}}&lt;/&gt;.&lt;/translate&gt; &lt;translate&gt;&lt;!--T:23--&gt; This page contains examples...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.omecha.nl/mw/index.php?title=Manual:MediaWiki:_Toegang_beperken&amp;diff=461&amp;oldid=prev"/>
		<updated>2021-04-19T06:25:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;languages /&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:22--&amp;gt; For help customizing user rights, see &amp;lt;tvar|1&amp;gt;{{ll|Manual:User rights}}&amp;lt;/&amp;gt;.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:23--&amp;gt; This page contains examples...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;languages /&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:22--&amp;gt; For help customizing user rights, see &amp;lt;tvar|1&amp;gt;{{ll|Manual:User rights}}&amp;lt;/&amp;gt;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:23--&amp;gt; This page contains examples useful for restricting access.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:24--&amp;gt; Most of the examples need changes to MediaWiki configuration file &amp;lt;tvar|1&amp;gt;&amp;lt;code&amp;gt;{{ll|Manual:LocalSettings.php|LocalSettings.php}}&amp;lt;/code&amp;gt;&amp;lt;/&amp;gt;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:25--&amp;gt; Snippets of code with no accompanying instructions must be added to &amp;lt;tvar|1&amp;gt;&amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;&amp;lt;/&amp;gt; to take effect.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:26--&amp;gt; To add one or more lines to the file, follow these steps:&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
# If there is a &amp;lt;tvar|1&amp;gt;&amp;lt;code&amp;gt;?&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/&amp;gt; at the end of the file, remove it.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:28--&amp;gt; It&amp;#039;s unnecessary and may cause problems in certain situations.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
# Add the line to the &amp;#039;&amp;#039;&amp;#039;end&amp;#039;&amp;#039;&amp;#039; of the file, using a text editor.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:30--&amp;gt; It doesn&amp;#039;t matter if there are some blank lines above or below the addition.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:31--&amp;gt; &amp;#039;&amp;#039;&amp;#039;Do not use Windows Notepad&amp;#039;&amp;#039;&amp;#039;, which may add a &amp;quot;[[w:Byte Order Mark|Byte Order Mark]]&amp;quot; (BOM) and prevent the file from being read correctly.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:32--&amp;gt; Typical symptoms of BOMs include white pages and errors about headers already being sent.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:33--&amp;gt; To remove a BOM, you&amp;#039;ll have to edit the file in a [[w:hex editor|hex editor]].&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:34--&amp;gt; Windows WordPad seems to work fine, as does [[w:Notepad++|Notepad++]].&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:35--&amp;gt; Removal of BOMs can also be accomplished using the [[w:Vim (text_editor)|Vim text editor]] by opening the file in Vim, typing :set nobomb, and resaving the file.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:36--&amp;gt; If you&amp;#039;re using a Mac, TextEdit will also do the job.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:37--&amp;gt;&lt;br /&gt;
For more detailed information on editing &amp;lt;tvar|1&amp;gt;&amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;&amp;lt;/&amp;gt;, read &amp;lt;tvar|2&amp;gt;{{ll|Manual:LocalSettings.php}}&amp;lt;/&amp;gt;.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
{{anchor|Simple private wiki|Disable anonymous reading}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Simple private wiki== &amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
For the common [[w:use case|use case]] of &amp;quot;a private wiki, for oneself and approved others&amp;quot;, you need to:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*[[#Restrict viewing of all pages|&amp;lt;translate&amp;gt;&amp;lt;!--T:39--&amp;gt; Restrict viewing&amp;lt;/translate&amp;gt;]]&lt;br /&gt;
*[[#Restrict editing of all pages|&amp;lt;translate&amp;gt;&amp;lt;!--T:40--&amp;gt; Restrict editing&amp;lt;/translate&amp;gt;]]&lt;br /&gt;
*[[#Restrict account creation|&amp;lt;translate&amp;gt;&amp;lt;!--T:41--&amp;gt; Restrict account creation&amp;lt;/translate&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
{{warning|1=&amp;lt;translate&amp;gt;&amp;lt;!--T:42--&amp;gt; See the warnings in the sections below; this is simple &amp;quot;general use&amp;quot; code, and may or may not match your requirements.&amp;lt;/translate&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
# Disable reading by anonymous users&lt;br /&gt;
$wgGroupPermissions[&amp;#039;*&amp;#039;][&amp;#039;read&amp;#039;] = false;&lt;br /&gt;
&lt;br /&gt;
# Disable anonymous editing&lt;br /&gt;
$wgGroupPermissions[&amp;#039;*&amp;#039;][&amp;#039;edit&amp;#039;] = false;&lt;br /&gt;
&lt;br /&gt;
# Prevent new user registrations except by sysops&lt;br /&gt;
$wgGroupPermissions[&amp;#039;*&amp;#039;][&amp;#039;createaccount&amp;#039;] = false;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:43--&amp;gt; Depending on what extensions you have installed, you may want to whitelist more pages.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:44--&amp;gt; For example if you are using the &amp;lt;tvar|1&amp;gt;{{ll|Extension:ConfirmAccount}}&amp;lt;/&amp;gt; extension, you probably want Special:RequestAccount whitelisted.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:45--&amp;gt; If the content language of your wiki is not English, you may have to use the translated name of the special pages in question.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{anchor|Restrict account creation}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Restrict account creation== &amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:46--&amp;gt;&lt;br /&gt;
To restrict account creation, you need to edit &amp;lt;tvar|1&amp;gt;&amp;#039;&amp;#039;LocalSettings.php&amp;#039;&amp;#039;&amp;lt;/&amp;gt; in the root path of your MediaWiki installation.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
# Prevent new user registrations except by sysops&lt;br /&gt;
$wgGroupPermissions[&amp;#039;*&amp;#039;][&amp;#039;createaccount&amp;#039;] = false;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note|1=&amp;lt;translate&amp;gt;&amp;lt;!--T:47--&amp;gt; You can use the &amp;lt;tvar|1&amp;gt;{{ll|Extension:ConfirmAccount|ConfirmAccount}}&amp;lt;/&amp;gt; extension if you want to set up an account confirmation queue.&amp;lt;/translate&amp;gt; (&amp;lt;translate&amp;gt;&amp;lt;!--T:48--&amp;gt; If not you may still proceed as follows.&amp;lt;/translate&amp;gt;)}}&lt;br /&gt;
&lt;br /&gt;
{{note|1=&amp;lt;translate&amp;gt;&amp;lt;!--T:49--&amp;gt; New users will still be able to be created by sysops, in the following manner:&amp;lt;/translate&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:50--&amp;gt;&lt;br /&gt;
#Go to &amp;lt;tvar|1&amp;gt;{{blue|Special:Userlogin}}&amp;lt;/&amp;gt;, when logged in as a sysop.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:51--&amp;gt;&lt;br /&gt;
#Click on &amp;quot;Create an account&amp;quot; link to get to the account creation form.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:52--&amp;gt;&lt;br /&gt;
#Enter a username and an email address, and click the &amp;quot;by email&amp;quot; button.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:53--&amp;gt; Note you need &amp;lt;tvar|1&amp;gt;{{ll|Manual:$wgEnableEmail|$wgEnableEmail{{=}}true}}&amp;lt;/&amp;gt; or else the sysop must pick a password and send it to the user.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:54--&amp;gt;&lt;br /&gt;
#The account will be created with a random password which is then emailed to the given address (as with the &amp;quot;forgot password&amp;quot; feature).&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:55--&amp;gt; The user will be requested to change password at first login; when they do this, the email address will also be marked as confirmed.&amp;lt;/translate&amp;gt;&lt;br /&gt;
#:&amp;lt;small&amp;gt;&amp;lt;translate&amp;gt;&amp;lt;!--T:56--&amp;gt; When you click the &amp;quot;create account&amp;quot; button instead, you have to manually send the user their password.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:57--&amp;gt; If you&amp;#039;ve set &amp;lt;tvar|1&amp;gt;{{ll|Manual:$wgMinimalPasswordLength|$wgMinimalPasswordLength{{=}}0}}&amp;lt;/&amp;gt; (default configuration up to version 1.15) and you&amp;#039;ve left the password field blank, the user will be emailed an email address confirmation request but will be unable to access &amp;lt;tvar|2&amp;gt;{{ll|Manual:Interface/Special pages summary|Special:Confirmemail}}&amp;lt;/&amp;gt; to perform the confirmation.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:58--&amp;gt; Instead, the user will get an error (unless you&amp;#039;ve added it to &amp;lt;tvar|1&amp;gt;{{ll|Manual:$wgWhitelistRead|$wgWhitelistRead}}&amp;lt;/&amp;gt;); the user will be able to login with a blank password and then confirm email, but their password will not have been reset (it will have to be reset manually).&amp;lt;/translate&amp;gt;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:59--&amp;gt; It may be appropriate to edit the text displayed when a non-user attempts to log in.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:60--&amp;gt; This can be done at &amp;lt;tvar|1&amp;gt;[[MediaWiki:Nosuchuser]]&amp;lt;/&amp;gt;, when logged in as a sysop.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:61--&amp;gt; Use plain text without any special formatting, as the formatting is ignored and the text is literally rendered.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:62--&amp;gt; (Might have changed, see &amp;lt;tvar|1&amp;gt;[[Mediazilla:12952|bug 12952]]&amp;lt;/&amp;gt;).&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:63--&amp;gt;&lt;br /&gt;
You may also modify the contents of the email sent to new users by editing the page &amp;lt;tvar|1&amp;gt;[[MediaWiki:Createaccount-text]]&amp;lt;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:64--&amp;gt;&lt;br /&gt;
To prevent even sysops from creating accounts:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
# Prevent new user registrations by anyone&lt;br /&gt;
$wgGroupPermissions[&amp;#039;*&amp;#039;][&amp;#039;createaccount&amp;#039;] = false;&lt;br /&gt;
$wgGroupPermissions[&amp;#039;sysop&amp;#039;][&amp;#039;createaccount&amp;#039;] = false;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:65--&amp;gt;&lt;br /&gt;
To add a message on top of the login form, modify &amp;lt;tvar|1&amp;gt;[[MediaWiki:Loginprompt]]&amp;lt;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Restrict editing== &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{anchor|Restrict editing of all pages}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
===Restrict editing of all pages=== &amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:67--&amp;gt; Users will still be able to read pages with these modifications, and they can view the source by using [[&amp;lt;tvar|1&amp;gt;Special:Export&amp;lt;/&amp;gt;/Article name]] or other methods.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:68--&amp;gt; See also &amp;lt;tvar|1&amp;gt;[[Mediazilla:1859|bug 1859]]&amp;lt;/&amp;gt;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:69--&amp;gt; See &amp;lt;tvar|1&amp;gt;{{ll|Help:User rights}}&amp;lt;/&amp;gt; and &amp;lt;tvar|2&amp;gt;{{ll|Manual:$wgGroupPermissions}}&amp;lt;/&amp;gt;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:70--&amp;gt; If you use &amp;lt;tvar|1&amp;gt;{{ll|Extension:AbuseFilter}}&amp;lt;/&amp;gt;, any wiki admin can also put various restrictions in place.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:71--&amp;gt;&lt;br /&gt;
Some examples of how to protect all pages from editing (not reading) by certain classes of users:&lt;br /&gt;
&lt;br /&gt;
====Restrict anonymous editing==== &amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:72--&amp;gt;&lt;br /&gt;
Requires that a user be registered before they can edit.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$wgGroupPermissions[&amp;#039;*&amp;#039;][&amp;#039;edit&amp;#039;] = false;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
====Restrict editing by all non-sysop users==== &amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:73--&amp;gt;&lt;br /&gt;
Requires that a user be a member of the administrators (sysop) usergroup.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$wgGroupPermissions[&amp;#039;*&amp;#039;][&amp;#039;edit&amp;#039;] = false;&lt;br /&gt;
$wgGroupPermissions[&amp;#039;user&amp;#039;][&amp;#039;edit&amp;#039;] = false;&lt;br /&gt;
$wgGroupPermissions[&amp;#039;sysop&amp;#039;][&amp;#039;edit&amp;#039;] = true;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
====Restrict editing by absolutely everyone==== &amp;lt;!--T:7--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$wgGroupPermissions[&amp;#039;*&amp;#039;][&amp;#039;edit&amp;#039;] = false;&lt;br /&gt;
$wgGroupPermissions[&amp;#039;user&amp;#039;][&amp;#039;edit&amp;#039;] = false;&lt;br /&gt;
$wgGroupPermissions[&amp;#039;sysop&amp;#039;][&amp;#039;edit&amp;#039;] = false;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
===Restrict editing of an entire namespace=== &amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{MW 1.10|and after}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:74--&amp;gt; Starting from MediaWiki version 1.10, it is possible to protect entire namespaces using the &amp;lt;tvar|1&amp;gt;{{ll|Manual:$wgNamespaceProtection|$wgNamespaceProtection}}&amp;lt;/&amp;gt; variable.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:75--&amp;gt; Examples:&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
# Only allow autoconfirmed users to edit Project namespace&lt;br /&gt;
$wgNamespaceProtection[NS_PROJECT] = array( &amp;#039;autoconfirmed&amp;#039; );&lt;br /&gt;
&lt;br /&gt;
# Don&amp;#039;t allow anyone to edit non-talk pages until they&amp;#039;ve confirmed their&lt;br /&gt;
# email address (assuming we have no custom namespaces and allow edits&lt;br /&gt;
# from non-emailconfirmed users to start with)&lt;br /&gt;
# Note for 1.13: emailconfirmed group and right were removed from default&lt;br /&gt;
# setup, if you want to use it, you&amp;#039;ll have to re-enable it manually&lt;br /&gt;
$wgNamespaceProtection[NS_MAIN]     = $wgNamespaceProtection[NS_USER]  =&lt;br /&gt;
$wgNamespaceProtection[NS_PROJECT]  = $wgNamespaceProtection[NS_IMAGE] =&lt;br /&gt;
$wgNamespaceProtection[NS_TEMPLATE] = $wgNamespaceProtection[NS_HELP]  =&lt;br /&gt;
$wgNamespaceProtection[NS_CATEGORY] = array( &amp;#039;emailconfirmed&amp;#039; );&lt;br /&gt;
&lt;br /&gt;
# Only allow sysops to edit &amp;quot;Policy&amp;quot; namespace&lt;br /&gt;
$wgGroupPermissions[&amp;#039;sysop&amp;#039;][&amp;#039;editpolicy&amp;#039;] = true;&lt;br /&gt;
$wgNamespaceProtection[NS_POLICY] = array( &amp;#039;editpolicy&amp;#039; );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:76--&amp;gt;&lt;br /&gt;
Note that in the last case it&amp;#039;s assumed that a custom namespace exists and that &amp;lt;code&amp;gt;NS_POLICY&amp;lt;/code&amp;gt; is a defined constant equal to the namespace number.  See [[Manual:Using custom namespaces]] and [[Manual:Namespace_constants]] for a list of MediaWiki&amp;#039;s core namespaces.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{anchor|Restrict editing of certain specific pages}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
===Restrict editing of certain specific pages=== &amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:77--&amp;gt; Use the {{&amp;lt;tvar|1&amp;gt;ll|Manual:Administrators#Protection&amp;lt;/&amp;gt;|Protect}} feature.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:78--&amp;gt; By default, any sysop can protect pages so only other sysops can edit them.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:79--&amp;gt; In 1.9 and higher, by default they can also protect pages so only &amp;quot;autoconfirmed&amp;quot; users (with accounts older than a configured period) can edit them.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:80--&amp;gt; This does not require editing configuration files.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:81--&amp;gt; If you want to restrict editing to groups with specific permissions, edit &amp;lt;tvar|1&amp;gt;{{ll|Manual:$wgRestrictionLevels|$wgRestrictionLevels}}&amp;lt;/&amp;gt;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:82--&amp;gt; To prevent actions other than edit and move, use &amp;lt;tvar|1&amp;gt;{{ll|Manual:$wgRestrictionTypes|$wgRestrictionTypes}}&amp;lt;/&amp;gt;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
===Restrict editing of all but a few pages=== &amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:83--&amp;gt; To impose a blanket restriction on editing for all pages, but allow a few (such as sandboxes, join request pages, etc.) to be more generously editable, you can use the &amp;lt;tvar|1&amp;gt;{{ll|Extension:EditSubpages|nsp=0}}&amp;lt;/&amp;gt; extension.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:84--&amp;gt; This may not fit too often, but you could also use the [[&amp;lt;tvar|1&amp;gt;#Restrict editing of certain specific pages&amp;lt;/&amp;gt;|Restrict editing of certain specific pages]] method mentioned above, with all name spaces protected, and only a special one editable by everyone which has all the pages you want editable.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
===Restrict editing for certain IP address ranges=== &amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:85--&amp;gt; Schools and other institutions may want to block all edits not from a few specified [[w:IP address|IP address]] ranges.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:86--&amp;gt; To do so, see &amp;lt;tvar|1&amp;gt;{{ll|Manual:Block and unblock}}&amp;lt;/&amp;gt;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:87--&amp;gt; The only way to do this at present &amp;lt;!-- that I know of--&amp;gt; without modifying the code is to go to &amp;lt;tvar|1&amp;gt;[[Special:Blockip]]&amp;lt;/&amp;gt; and systematically {{&amp;lt;tvar|2&amp;gt;ll|Help:Range blocks&amp;lt;/&amp;gt;|rangeblock}} every one of the address ranges that you don&amp;#039;t want to be able to edit.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:88--&amp;gt; This will work for all future versions of MediaWiki.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:89--&amp;gt; It will not work on a per-namespace basis.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
===Restrict editing by a particular user=== &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:90--&amp;gt; Use the user {{&amp;lt;tvar|1&amp;gt;ll|Manual:Block and unblock&amp;lt;/&amp;gt;|blocking}} functionality to deprive a user of all edit access.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:91--&amp;gt; MediaWiki does not include a possibility to give rights to separate users directly; instead rights are always given to a user group.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:92--&amp;gt; There is no way in the core software to change permissions of particular users in order to restrict or allow editing particular pages, except by changing their usergroup.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
===Restrict creating of all pages=== &amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note|1=&amp;lt;translate&amp;gt;&amp;lt;!--T:93--&amp;gt; Revoking the &amp;#039;&amp;#039;edit&amp;#039;&amp;#039; right already prevents affected users from creating new pages and talk pages.&amp;lt;/translate&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
# Anonymous users can&amp;#039;t create pages&lt;br /&gt;
$wgGroupPermissions[&amp;#039;*&amp;#039;][&amp;#039;createpage&amp;#039;] = false;&lt;br /&gt;
&lt;br /&gt;
# Only users with accounts four days old or older can create pages&lt;br /&gt;
# Requires MW 1.6 or higher.&lt;br /&gt;
$wgGroupPermissions[&amp;#039;*&amp;#039;            ][&amp;#039;createpage&amp;#039;] = false;&lt;br /&gt;
$wgGroupPermissions[&amp;#039;user&amp;#039;         ][&amp;#039;createpage&amp;#039;] = false;&lt;br /&gt;
$wgGroupPermissions[&amp;#039;autoconfirmed&amp;#039;][&amp;#039;createpage&amp;#039;] = true;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
===Restrict creating pages in certain namespaces=== &amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:94--&amp;gt; There are separate rights for creating talk pages (&amp;lt;tvar|1&amp;gt;createtalk&amp;lt;/&amp;gt;) and creating non-talk pages (&amp;lt;tvar|2&amp;gt;createpage&amp;lt;/&amp;gt;).&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:95--&amp;gt; If you need per-namespace control finer than that, it is not possible in core MediaWiki, and requires an extension such as &amp;lt;tvar|1&amp;gt;{{ll|Extension:Lockdown}}&amp;lt;/&amp;gt;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Restrict access to uploaded files== &amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;amp;rarr; {{ll|Manual:Image authorization}}, {{ll|Manual:img_auth.php|img_auth.php}}, {{ll|Manual:User rights#List of permissions|2=&amp;lt;translate&amp;gt;&amp;lt;!--T:96--&amp;gt; Manual:User rights (read)&amp;lt;/translate&amp;gt;}}&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:97--&amp;gt; If you have enabled the ability to upload files, these will be served directly by the underlying web server.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:98--&amp;gt; As a result, &amp;#039;&amp;#039;&amp;#039;{{&amp;lt;tvar|1&amp;gt;red&amp;lt;/&amp;gt;|account-based access to the file is unrestricted by default}}&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{uploaded-files-access-restriction-info}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
=== Example for access restriction to uploaded files in the server configuration === &amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:99--&amp;gt; If sensitive files are uploaded to an internet-accessible wiki, you may wish to add restrictions on where these can be accessed from.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:100--&amp;gt; On Apache, if your local network were 10.1.2.*, you could restrict serving files to local addresses with:&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  &amp;lt;Location /mediawiki/images&amp;gt;&lt;br /&gt;
    Order deny,allow&lt;br /&gt;
    Allow from 10.1.2.3&lt;br /&gt;
    Deny from all&lt;br /&gt;
  &amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Restrict viewing== &amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{anchor|Restrict viewing of all pages}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
===Restrict viewing of all pages=== &amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{warning|1=&amp;lt;translate&amp;gt;&amp;lt;!--T:101--&amp;gt; If you want anonymous users to be unable to view the wiki markup/code, you should not allow them to edit any page (see [[&amp;lt;tvar|1&amp;gt;#Restrict editing of all pages&amp;lt;/&amp;gt;|#Restrict editing of all pages]] above).&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:102--&amp;gt; If they can edit any page, they can use {{&amp;lt;tvar|1&amp;gt;ll|Help:Templates&amp;lt;/&amp;gt;|template inclusion}} to view even pages they can&amp;#039;t edit.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:103--&amp;gt; This may be possible to avoid by using &amp;lt;tvar|1&amp;gt;{{ll|Manual:$wgNonincludableNamespaces|$wgNonincludableNamespaces}}&amp;lt;/&amp;gt;&amp;lt;/translate&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{warning|1=&amp;lt;translate&amp;gt;&amp;lt;!--T:104--&amp;gt; This method allows any visitor to view the wiki after creating an account.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:105--&amp;gt; You may wish to combine it with [[&amp;lt;tvar|1&amp;gt;#Restrict account creation&amp;lt;/&amp;gt;|#Restrict account creation]] above.&amp;lt;/translate&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{warning|1=&amp;lt;translate&amp;gt;&amp;lt;!--T:106--&amp;gt; Uploaded images will still be viewable to anyone who knows the image directory&amp;#039;s name.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:107--&amp;gt; Either point &amp;lt;tvar|1&amp;gt;{{ll|Manual:$wgUploadPath|$wgUploadPath}}&amp;lt;/&amp;gt; to the &amp;lt;tvar|2&amp;gt;img_auth.php&amp;lt;/&amp;gt; script and follow the instructions in &amp;lt;tvar|3&amp;gt;{{ll|Manual:Image authorization}}&amp;lt;/&amp;gt;, or use some external method to protect images, like .htaccess.&amp;lt;/translate&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{note|1=&amp;lt;translate&amp;gt;&amp;lt;!--T:108--&amp;gt; If anonymous users can&amp;#039;t view your page, neither can search engines.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:109--&amp;gt; Your site will not be indexed on Google.&amp;lt;/translate&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:110--&amp;gt;&lt;br /&gt;
Add this line to your LocalSettings.php file:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
# Disable reading by anonymous users&lt;br /&gt;
$wgGroupPermissions[&amp;#039;*&amp;#039;][&amp;#039;read&amp;#039;] = false;&lt;br /&gt;
&lt;br /&gt;
# But allow them to read e.g., these pages:&lt;br /&gt;
$wgWhitelistRead =  [ &amp;quot;Main Page&amp;quot;, &amp;quot;Help:Contents&amp;quot; ];&lt;br /&gt;
&lt;br /&gt;
# Allow Jobs to be run&lt;br /&gt;
$wgWhitelistRead = [ &amp;quot;Special:RunJobs&amp;quot; ];&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:122--&amp;gt; The &amp;lt;tvar|1&amp;gt;&amp;lt;code&amp;gt;{{ll|Manual:$wgWhitelistRead|$wgWhitelistRead}}&amp;lt;/code&amp;gt;&amp;lt;/&amp;gt; setting allows users to view the main page.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:123--&amp;gt; If page names have more than one word, use a space &amp;quot;&amp;lt;tvar|1&amp;gt; &amp;lt;/&amp;gt;&amp;quot; between them, not an underscore &amp;quot;&amp;lt;tvar|2&amp;gt;_&amp;lt;/&amp;gt;&amp;quot;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:124--&amp;gt;&lt;br /&gt;
In addition to the main page of such a private site, you could give access to the Recentchanges page (if you think that its content isn&amp;#039;t private) for feed readers by adding &amp;quot;Special:Recentchanges&amp;quot; to &amp;lt;tvar|1&amp;gt;&amp;lt;code&amp;gt;{{ll|Manual:$wgWhitelistRead|$wgWhitelistRead}}&amp;lt;/code&amp;gt;&amp;lt;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:125--&amp;gt;&lt;br /&gt;
If you need to protect even the sidebar, main page, or login screen for any reason, it&amp;#039;s recommended that you use higher-level authentication such as &amp;lt;tvar|1&amp;gt;.htpasswd&amp;lt;/&amp;gt; or equivalent.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note|1=&amp;lt;translate&amp;gt;&amp;lt;!--T:126--&amp;gt; Although &amp;lt;tvar|1&amp;gt;[[Special:Listusers]]&amp;lt;/&amp;gt; won&amp;#039;t be available, it can be determined if a username is correct from Userlogin errors.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:127--&amp;gt; You may want to give a common text for &amp;lt;tvar|1&amp;gt;[[MediaWiki:wrongpassword]]&amp;lt;/&amp;gt; and &amp;lt;tvar|2&amp;gt;[[MediaWiki:nosuchusershort]]&amp;lt;/&amp;gt;.&amp;lt;/translate&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
===Restrict viewing of certain specific pages=== &amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{Page security extension disclaimer}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:128--&amp;gt; To prevent anyone but sysops from viewing a page, it can simply be {{&amp;lt;tvar|1&amp;gt;ll|Help:Deletion and undeletion&amp;lt;/&amp;gt;|deleted}}.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:129--&amp;gt; To prevent even sysops from viewing it, it can be removed more permanently using &amp;lt;tvar|1&amp;gt;{{ll|Manual:RevisionDelete}}&amp;lt;/&amp;gt;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:130--&amp;gt; To completely destroy the text of the page, it can be manually removed from the database.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:131--&amp;gt; In any case, the page cannot be edited while in this state, and for most purposes no longer exists.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:132--&amp;gt; To have a page act normally for some users but be invisible to others, as is possible for instance in most forum software, is a very different matter.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:133--&amp;gt; MediaWiki is designed for two basic access modes:&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:134--&amp;gt;&lt;br /&gt;
# Everyone can view every single page on the wiki (with the possible exception of a few special pages).&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:135--&amp;gt; This is the mode used by Wikipedia and its sister projects.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:136--&amp;gt;&lt;br /&gt;
# Anonymous users can only view the Main Page and login page, and cannot edit any page.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:137--&amp;gt; This is basically the same as the above, in terms of technical implementation (just an extra check for every page view), which is why it exists.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:138--&amp;gt; This is the mode of operation used by certain private wikis such as those used by various Wikimedia committees.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;translate&amp;gt;&amp;lt;!--T:139--&amp;gt; If you intend to have different view permissions than that, MediaWiki is not designed for your usage.&amp;lt;/translate&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
(&amp;lt;translate&amp;gt;&amp;lt;!--T:140--&amp;gt; See &amp;lt;tvar|1&amp;gt;[[phab:T3924|T3924]]&amp;lt;/&amp;gt;.&amp;lt;/translate&amp;gt;)&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:141--&amp;gt; Data is not necessarily clearly delineated by namespace, page name, or other criteria, and there are a lot of leaks you&amp;#039;ll have to plug if you want to make it so (see &amp;lt;tvar|1&amp;gt;&amp;#039;&amp;#039;{{ll|security issues with authorization extensions}}&amp;#039;&amp;#039;&amp;lt;/&amp;gt; for a sample).&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:142--&amp;gt; Other wiki software may be more suitable for your purpose.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:143--&amp;gt; You have been warned.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:144--&amp;gt; If you must use MediaWiki, there are three basic possibilities:&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:145--&amp;gt;&lt;br /&gt;
# Set your wiki up private and whitelist specific pages that will be public with &amp;lt;tvar|1&amp;gt;&amp;lt;code&amp;gt;{{ll|Manual:$wgWhitelistRead|$wgWhitelistRead}}&amp;lt;/code&amp;gt;&amp;lt;/&amp;gt; in the &amp;lt;tvar|2&amp;gt;LocalSetting.php&amp;lt;/&amp;gt; file.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:146--&amp;gt; See the section above.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:147--&amp;gt;&lt;br /&gt;
# Set up separate wikis with a {{&amp;lt;tvar|1&amp;gt;ll|Manual:$wgSharedDB&amp;lt;/&amp;gt;|shared user database}}, configure one as viewable and one as unviewable ([[&amp;lt;tvar|2&amp;gt;#Disable anonymous reading&amp;lt;/&amp;gt;|see above]]), and {{&amp;lt;tvar|3&amp;gt;ll|Help:Interwiki linking&amp;lt;/&amp;gt;|make interwiki links}} between them.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:148--&amp;gt;&lt;br /&gt;
# Install a third-party hack or extension.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:149--&amp;gt; You will have to reapply it every time you upgrade the software, and it may not be updated immediately when new security fixes or upgrades of MediaWiki are released.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:150--&amp;gt; Third-party hacks are, of course, not supported by MediaWiki developers, and if you&amp;#039;re having problems you shouldn&amp;#039;t ask on &amp;lt;tvar|1&amp;gt;MediaWiki-l&amp;lt;/&amp;gt;, &amp;lt;tvar|2&amp;gt;#mediawiki&amp;lt;/&amp;gt;, or other official support channels.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:151--&amp;gt; A number of hacks are listed in &amp;lt;tvar|1&amp;gt;{{ll|Category:Page specific user rights extensions}}&amp;lt;/&amp;gt;.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:152--&amp;gt; Read about &amp;lt;tvar|1&amp;gt;{{ll|security issues with authorization extensions}}&amp;lt;/&amp;gt; if you plan to use one of those.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Restricting exporting== &amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;lt;translate&amp;gt;&amp;lt;!--T:153--&amp;gt; See also:&amp;lt;/translate&amp;gt; {{ll|Manual:Parameters_to_Special:Export}}&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:154--&amp;gt;&lt;br /&gt;
It is not possible to export the contents of a page that cannot be read since &amp;lt;tvar|1&amp;gt;{{rev|19935}}&amp;lt;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Removing the Login link from all pages== &amp;lt;!--T:155--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:156--&amp;gt; One can remove the login/create account link from the upper right corner of all pages,&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:157--&amp;gt; as users can still go to &amp;lt;tvar|1&amp;gt;[[Special:SpecialPages]]&amp;lt;/&amp;gt;&amp;gt;&amp;lt;tvar|2&amp;gt;[[Special:UserLogin]]&amp;lt;/&amp;gt; to login.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:158--&amp;gt; In LocalSettings.php use (tested with MediaWiki 1.16)&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
function NoLoginLinkOnMainPage( &amp;amp;$personal_urls ){&lt;br /&gt;
    unset( $personal_urls[&amp;#039;login&amp;#039;] );&lt;br /&gt;
    unset( $personal_urls[&amp;#039;anonlogin&amp;#039;] );&lt;br /&gt;
    return true;&lt;br /&gt;
}&lt;br /&gt;
$wgHooks[&amp;#039;PersonalUrls&amp;#039;][]=&amp;#039;NoLoginLinkOnMainPage&amp;#039;;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Removing accounts== &amp;lt;!--T:159--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:160--&amp;gt; If you want to completely remove access to a user, e.g. on a [[&amp;lt;tvar|1&amp;gt;#Simple private wiki&amp;lt;/&amp;gt;|simple private wiki]], it&amp;#039;s not possible to simply delete the account ({{&amp;lt;tvar|2&amp;gt;ll|Manual:removeUnusedAccounts.php&amp;lt;/&amp;gt;|unless no edits have been made}}); you can {{&amp;lt;tvar|3&amp;gt;ll|Manual:Block and unblock&amp;lt;/&amp;gt;|block}} it, but the user will still {{&amp;lt;tvar|4&amp;gt;ll|Manual:Block_and_unblock#Effects_of_being_blocked&amp;lt;/&amp;gt;|be able}} to read pages.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:161--&amp;gt; However, using &amp;lt;tvar|1&amp;gt;{{ll|Extension:User Merge and Delete|nsp=0}}&amp;lt;/&amp;gt; extension you can merge the account in another one and delete the former; the original account will then &amp;quot;disappear&amp;quot;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:162--&amp;gt; If you want to preserve history readability (i.e., to have edits from the user to be still shown under their name), you can create a new account e.g. with username &amp;quot;OriginalUserName (deactivated)&amp;quot; and then merge &amp;quot;OriginalUserName&amp;quot; into the former, or even use &amp;lt;tvar|1&amp;gt;{{ll|Extension:Renameuser|nsp=0}}&amp;lt;/&amp;gt; extension to rename &amp;quot;OriginalUserName&amp;quot; into &amp;quot;AnotherUserName&amp;quot;, then create an account under &amp;quot;OriginalUserName&amp;quot; and merge &amp;quot;AnotherUserName&amp;quot; into it: in this manner, &amp;quot;OriginalUserName&amp;quot; will be completely &amp;quot;usurped&amp;quot; (if you&amp;#039;ve set a non-null password).&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:163--&amp;gt;&lt;br /&gt;
Since MediaWiki 1.16.0, it is possible to set &amp;lt;tvar|1&amp;gt;{{ll|Manual:$wgBlockDisablesLogin|$wgBlockDisablesLogin}}&amp;lt;/&amp;gt; to true to prevent access and reading to blocked users.&lt;br /&gt;
&lt;br /&gt;
==Other restrictions== &amp;lt;!--T:164--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:165--&amp;gt; You may want to have pages editable only by their creator, or ban viewing of history, or any of a number of other things.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:166--&amp;gt; None of these features are available in an unhacked version of MediaWiki.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:167--&amp;gt; If you need more fine-grained permissions, see the [[&amp;lt;tvar|1&amp;gt;#See also&amp;lt;/&amp;gt;|#See also]] section for links to other wiki packages that are designed for this, as well as hacks that attempt to contort MediaWiki into something it&amp;#039;s not designed to be but may work anyway.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{anchor|See also}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==See also== &amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:111--&amp;gt;&lt;br /&gt;
There are some related manual/help pages that may be of interest:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*{{ll|Manual:LocalSettings.php}}&lt;br /&gt;
*{{ll|Manual:$wgGroupPermissions}}&lt;br /&gt;
*{{ll|Manual:$wgRestrictionTypes}}&lt;br /&gt;
*{{ll|Manual:$wgRestrictionLevels}}&lt;br /&gt;
*{{ll|Manual:$wgNamespaceProtection}}&lt;br /&gt;
*{{ll|Manual:$wgEmailConfirmToEdit}}&lt;br /&gt;
*{{ll|Manual:$wgNonincludableNamespaces}}&lt;br /&gt;
*{{ll|Manual:User rights}}&lt;br /&gt;
*{{ll|Help:User rights and groups}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:112--&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Other wiki software&amp;#039;&amp;#039;&amp;#039; may have better support for fine-grained access control than MediaWiki:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[http://moinmo.in/HelpOnAccessControlLists MoinMoin]&lt;br /&gt;
*[http://twiki.org/ TWiki]&lt;br /&gt;
*[http://tikiwiki.org/ TikiWiki] - &amp;lt;translate&amp;gt;&amp;lt;!--T:114--&amp;gt; has fully configuable access control to features and permission levels.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:115--&amp;gt; If you want better access control but want to use MediaWiki, this is a list of &amp;#039;&amp;#039;&amp;#039;extensions&amp;#039;&amp;#039;&amp;#039; and hacks to allow restrictions not possible in the software proper.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:116--&amp;gt; These hacks may be out-of-date (check the version they&amp;#039;re for).&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:117--&amp;gt; Please don&amp;#039;t ask in official MediaWiki support channels if something goes wrong with a third-party hack.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*{{ll|Extension:FlaggedRevs|Extension:Flagged Revisions}}&lt;br /&gt;
*{{ll|Extension:Moderation}}&lt;br /&gt;
*{{ll|Extension:Approved Revs}}&lt;br /&gt;
*{{ll|Extension:Lockdown}}&lt;br /&gt;
*{{ll|Extension:AuthorProtect}}&lt;br /&gt;
*{{ll|Extension:ArticleProtection}}&lt;br /&gt;
*{{ll|Extension:EditSubpages}} -  &amp;lt;translate&amp;gt;&amp;lt;!--T:119--&amp;gt; restricts anonymous users from editing most pages&amp;lt;/translate&amp;gt;&lt;br /&gt;
*{{ll|Extension:NSFileRepo}}&lt;br /&gt;
&lt;br /&gt;
[[Category:MediaWiki configuration{{#translation:}}]]&lt;br /&gt;
[[Category:Configure{{#translation:}}]]&lt;br /&gt;
[[Category:Permission{{#translation:}}]]&lt;br /&gt;
[[Category:Namespace{{#translation:}}]]&lt;/div&gt;</summary>
		<author><name>OllieB</name></author>
		
	</entry>
</feed>