Setup of a MediaWiki: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 24: | Line 24: | ||
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Übersetze MediaWiki für deine Sprache] | * [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Übersetze MediaWiki für deine Sprache] | ||
* [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] | ||
== 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.[[Category:ToDo (Should)]] | |||
=== Strikethrough === | |||
* https://en.wikipedia.org/wiki/Template:Strikethrough | |||
* https://en.wikipedia.org/w/index.php?title=Template:Strikethrough/doc | |||
== Changes to LocalSettings.php == | == Changes to LocalSettings.php == | ||
==== Logo ==== | ==== Logo ==== | ||
## The URL paths to the logo. Make sure you change this from the default, | |||
## The URL paths to the logo. Make sure you change this from the default, | ## or else you'll overwrite your logo when you upgrade! | ||
## or else you'll overwrite your logo when you upgrade! | $wgLogos = [ | ||
$wgLogos = [ | {{strikethrough|1 = '1x' => "$wgResourceBasePath/resources/assets/change-your-logo.svg",}} | ||
'1x' => "$wgResourceBasePath/resources/assets/WikiLogo.png", | |||
{{strikethrough|1 = '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.[[Category:ToDo (Could)]] | |||
==== Images ==== | ==== Images ==== | ||
## To enable image uploads, make sure the 'images' directory | |||
## To enable image uploads, make sure the 'images' directory | ## is writable, then set this to true: | ||
## is writable, then set this to true: | {{strikethrough|1 = $wgEnableUploads = true;}} | ||
$wgEnableUploads = false; | $wgEnableUploads = false; | ||
* 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'. Use FTP, potentially [[FileZilla]], to access the files. | ||
==== Language ==== | ==== Language ==== | ||
# Site language code, should be one of the list in ./includes/languages/data/Names.php | |||
# Site language code, should be one of the list in ./includes/languages/data/Names.php | {{strikethrough|1 = $wgLanguageCode = "de";}} | ||
$wgLanguageCode ="de"; | $wgLanguageCode = "en"; | ||
Revision as of 13:58, 26 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
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
- https://en.wikipedia.org/wiki/Template:Strikethrough
- https://en.wikipedia.org/w/index.php?title=Template:Strikethrough/doc
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",'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";