Setup of a MediaWiki

From bnw.bnwiki.org
Revision as of 13:58, 26 January 2024 by Timborg (talk | contribs)
Jump to navigation Jump to search

Each done for:

And before that:

First steps

MediaWiki wurde installiert.

Hilfe zur Verwendung und Konfiguration der Wiki-Software findest du im Benutzerhandbuch.

Templates

Templates need to be copied from Wikipedia.

https://en.wikipedia.org/wiki/Category:Wikipedia_templates_by_task

Documentation

https://en.wikipedia.org/wiki/Template:Documentation

Not quite working.

Strikethrough

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",
	'1x' => "$wgResourceBasePath/resources/assets/WikiLogo.png",
	'icon' => "$wgResourceBasePath/resources/assets/change-your-logo.svg",
	'icon' => "$wgResourceBasePath/resources/assets/WikiLogo.png",
];
  • This changed from an svg to a png - might be worth getting a WikiLogo.png Not quite working.

Images

## To enable image uploads, make sure the 'images' directory
## is writable, then set this to true:
$wgEnableUploads = true;
$wgEnableUploads = false;
  • Allow the usage of images: Set file attributes for the 'images' directory from '750' to '755'. Use FTP, potentially FileZilla, to access the files.

Language

# Site language code, should be one of the list in ./includes/languages/data/Names.php
$wgLanguageCode = "de";
$wgLanguageCode = "en";