Setup of a MediaWiki: Difference between revisions

From bnw.bnwiki.org
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>


=== Functionality ===
* 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.

Changes to LocalSettings.php

## 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";