MediaWiki: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(numberheadings) |
K (cat) |
||
Zeile 45: | Zeile 45: | ||
in LocalSettings.php: | in LocalSettings.php: | ||
$wgDefaultUserOptions['numberheadings'] = 1; | $wgDefaultUserOptions['numberheadings'] = 1; | ||
[[Category:WWW]] |
Version vom 9. Januar 2007, 20:53 Uhr
Restricted Page Patch
http://conseil-recherche-innovation.net/index.php/1974/04
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;
Überschriften nummerieren/numberheadings
in LocalSettings.php:
$wgDefaultUserOptions['numberheadings'] = 1;