MediaWiki: Unterschied zwischen den Versionen

Aus crazylinux.de
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
(numberheadings)
Zeile 41: Zeile 41:
$wgGroupPermissions['*'    ]['edit']            = false;
$wgGroupPermissions['*'    ]['edit']            = false;
</pre>
</pre>
==Überschriften nummerieren/numberheadings==
in LocalSettings.php:
$wgDefaultUserOptions['numberheadings'] = 1;

Version vom 16. November 2006, 23:49 Uhr

Restricted Page Patch

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

Navigation

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

MediaWiki:Sidebar

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;

Überschriften nummerieren/numberheadings

in LocalSettings.php:

$wgDefaultUserOptions['numberheadings'] = 1;