Setup of a MediaWiki: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 25: | Line 25: | ||
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Erfahre, wie du Spam auf deinem Wiki bekämpfen kannst] | * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Erfahre, wie du Spam auf deinem Wiki bekämpfen kannst] | ||
== Changes to LocalSettings.php == | |||
==== Logo ==== | |||
<pre> | |||
## The URL paths to the logo. Make sure you change this from the default, | |||
## or else you'll overwrite your logo when you upgrade! | |||
$wgLogos = [ | |||
'1x' => "$wgResourceBasePath/resources/assets/change-your-logo.svg", | |||
'icon' => "$wgResourceBasePath/resources/assets/change-your-logo.svg", | |||
]; | |||
</pre> | |||
==== Images ==== | |||
<pre> | |||
## To enable image uploads, make sure the 'images' directory | |||
## is writable, then set this to true: | |||
$wgEnableUploads = false; | |||
</pre> | |||
* Allow the usage of images: Set file attributes for the 'images' directory from '750' to '755'. | * Allow the usage of images: Set file attributes for the 'images' directory from '750' to '755'. | ||
==== Language ==== | |||
<pre> | |||
# Site language code, should be one of the list in ./includes/languages/data/Names.php | |||
$wgLanguageCode ="de"; | |||
</pre> |
Revision as of 22:41, 24 January 2024
Each done for:
And before that:
First steps
MediaWiki wurde installiert.
Hilfe zur Verwendung und Konfiguration der Wiki-Software findest du im Benutzerhandbuch.
- Liste der Konfigurationsparameter
- Häufige Fragen zu MediaWiki
- Mailingliste zu neuen Versionen von MediaWiki
- Übersetze MediaWiki für deine Sprache
- Erfahre, wie du Spam auf deinem Wiki bekämpfen kannst
Changes to LocalSettings.php
Logo
## The URL paths to the logo. Make sure you change this from the default, ## or else you'll overwrite your logo when you upgrade! $wgLogos = [ '1x' => "$wgResourceBasePath/resources/assets/change-your-logo.svg", 'icon' => "$wgResourceBasePath/resources/assets/change-your-logo.svg", ];
Images
## To enable image uploads, make sure the 'images' directory ## is writable, then set this to true: $wgEnableUploads = false;
- Allow the usage of images: Set file attributes for the 'images' directory from '750' to '755'.
Language
# Site language code, should be one of the list in ./includes/languages/data/Names.php $wgLanguageCode ="de";