MediaWiki: Unterschied zwischen den Versionen

Aus crazylinux.de
Zur Navigation springen Zur Suche springen
(No Anonymous)
Zeile 20: Zeile 20:
  $wgStrictFileExtensions = false;
  $wgStrictFileExtensions = false;
http://www.mediawiki.org/wiki/Configuring_file_uploads
http://www.mediawiki.org/wiki/Configuring_file_uploads
==No Anonymous==
<pre>
# Permission keys given to users in each group.
  # All users are implicitly in the '*' group including anonymous visitors;
  # logged-in users are all implicitly in the 'user' group. These will be
  # combined with the permissions of all groups that a given user is listed
  # in in the user_groups table.
  #
  # This replaces wgWhitelistAccount and wgWhitelistEdit
  #
  # The following line should be commented, otherwise these settings will
  # throw away the settings on DefaultSettings.php (you probably don't want this).
  # With this line commented you will only overwrite the settings you explicitly
  # define here (that's what you probably want).
  #$wgGroupPermissions = array();
$wgGroupPermissions['*'    ]['createaccount']  = false;
$wgGroupPermissions['*'    ]['read']            = true;
$wgGroupPermissions['*'    ]['edit']            = false;
</pre>

Version vom 4. Januar 2006, 03:48 Uhr

Restricted Page Patch

http://conseil-recherche-innovation.net/index.php/1974/04

Navigation

http://meta.wikimedia.org/wiki/Help:Navigation_bar

Eliminating index.php from the url

das wiki läuft unter /mediawiki. /wiki ist die virtuelle url.

http://meta.wikimedia.org/wiki/Eliminating_index.php_from_the_url

LocalSesstings.php:

$wgScriptPath       = "/mediawiki";
## If using PHP as a CGI module, use the ugly URLs
$wgArticlePath      = "/wiki/$1";

File Upload

LocalSesstings.php:

$wgEnableUploads = true; // Enable uploads
$wgCheckFileExtensions = false;
$wgStrictFileExtensions = false;

http://www.mediawiki.org/wiki/Configuring_file_uploads

No Anonymous

# Permission keys given to users in each group.
  # All users are implicitly in the '*' group including anonymous visitors;
  # logged-in users are all implicitly in the 'user' group. These will be
  # combined with the permissions of all groups that a given user is listed
  # in in the user_groups table.
  #
  # This replaces wgWhitelistAccount and wgWhitelistEdit
  #
  # The following line should be commented, otherwise these settings will
  # throw away the settings on DefaultSettings.php (you probably don't want this).
  # With this line commented you will only overwrite the settings you explicitly
  # define here (that's what you probably want).
  #$wgGroupPermissions = array();
$wgGroupPermissions['*'    ]['createaccount']   = false;
$wgGroupPermissions['*'    ]['read']            = true;
$wgGroupPermissions['*'    ]['edit']            = false;