Whitelist

Aus WS64 Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K
K
 
(3 dazwischenliegende Versionen von einem Benutzer werden nicht angezeigt)
Zeile 1: Zeile 1:
 
[[Category:PUBLIC]]__TOC__
 
[[Category:PUBLIC]]__TOC__
 
==Wikimedia Extension "Extended Whitelist"==
 
==Wikimedia Extension "Extended Whitelist"==
 
 
===Introduction===
 
===Introduction===
 
This extension allows to whitelist pages by category.<br>
 
This extension allows to whitelist pages by category.<br>
The intention is to use this extension with closed Wikis (like this one here) but still be able to share certain pages just by putting them in to pre-defined categories.<br>
+
The intention is to use this extension with closed Wikis (like this one here) but still be able to share certain pages just by putting them into pre-defined categories.<br>
This extension was written by WS64.
+
Written by WS64 and only tested with Wikimedia 1.19!
 
===Installation===
 
===Installation===
Download all extension files from [[Media:ExtendedWhitelist.zip|here]] and place them in the extensions/ExtendedWhiteList/ directory.<br>
+
Download all extension files from [[Media:ExtendedWhitelist.zip|here]] and place them into the extensions/ExtendedWhitelist/ directory.<br>
Add the following text to your [https://www.mediawiki.org/wiki/Manual:LocalSettings.php LocalSettings.php]
+
Add the following text to your [https://www.mediawiki.org/wiki/Manual:LocalSettings.php LocalSettings.php]:
<pre>require_once( "$IP/extensions/ExtendedWhitelist/ExtendedWhitelist.php" );</pre>
+
  require_once( "$IP/extensions/ExtendedWhitelist/ExtendedWhitelist.php" );
 
+
===Configuration===
=== Configuration ===
+
 
Add lines to LocalSettings.php like this one:
 
Add lines to LocalSettings.php like this one:
<pre>$WSCategoryWhitelist = array( "PUBLIC","public" );</pre>
+
  $WSCategoryWhitelist = array( "PUBLIC","public" );
 
This example will whitelist all files that are within the categories "PUBLIC" and "public".
 
This example will whitelist all files that are within the categories "PUBLIC" and "public".

Aktuelle Version vom 7. September 2013, 22:55 Uhr

Inhaltsverzeichnis

[Bearbeiten] Wikimedia Extension "Extended Whitelist"

[Bearbeiten] Introduction

This extension allows to whitelist pages by category.
The intention is to use this extension with closed Wikis (like this one here) but still be able to share certain pages just by putting them into pre-defined categories.
Written by WS64 and only tested with Wikimedia 1.19!

[Bearbeiten] Installation

Download all extension files from here and place them into the extensions/ExtendedWhitelist/ directory.
Add the following text to your LocalSettings.php:

 require_once( "$IP/extensions/ExtendedWhitelist/ExtendedWhitelist.php" );

[Bearbeiten] Configuration

Add lines to LocalSettings.php like this one:

 $WSCategoryWhitelist = array( "PUBLIC","public" );

This example will whitelist all files that are within the categories "PUBLIC" and "public".

Meine Werkzeuge
Kategorien
Arbeit
Misc
Music
Privat
PUBLIC