Manual:Preventing access/de

From MediaWiki.org
Jump to: navigation, search
Hinweis: Diese Seite bzw. dieses Handbuch beschreibt wichtige Aspekte, die mit dem Zugang zu ihrem Wiki in Verbindung stehen.

Hilfe zum anpassen der Benutzerrechte, finden Sie im Handbuch:Benutzerrechte. Diese Seite enthält nützliche Beispiele für die Beschränkung des Zugangs.

Die meisten der Beispiele bedürfen Änderungen in der MediaWiki Konfigurationsdatei LocalSettings.php Ausschnitte des Codes ohne begleitende Anweisungen, müssen der LocalSettings.php hinzugefügt werden, um wirksam zu werden. Um eine oder mehrere Zeilen in der Datei hinzuzufügen, gehen Sie folgendermaßen vor:

  1. If there is a ?> at the end of the file, remove it. It's unnecessary and may cause problems in certain situations.
  2. Add the line to the end of the file, using a text editor. It doesn't matter if there are some blank lines above or below the addition. Do not use Windows Notepad, which may add a "Byte Order Mark" (BOM) and muck up the file. Typical symptoms of BOMs include white pages and errors about headers already being sent. To remove a BOM, you'll have to edit the file in a hex editor. Windows WordPad seems to work fine, as does Notepad++. Removal of BOMs can also be accomplished using the Vim text editor by opening the file in Vim, typing :set nobomb, and resaving the file. If you're using a Mac, TextEdit will also do the job.

Um detaillierte Informationen zur Bearbeitung der LocalSettings.php zu erhalten, empfiehlt es sich das Handbuch der LocalSettings.php zu lesen.

Sprache: English  • Deutsch • español • 日本語 • 中文