Setup of a MediaWiki: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→Logo) |
||
Line 50: | Line 50: | ||
'icon' => "$wgResourceBasePath/resources/assets/WikiLogo.png", | 'icon' => "$wgResourceBasePath/resources/assets/WikiLogo.png", | ||
]; | ]; | ||
* Upload under /resources/assets/WikiLogo.png for each Wiki | |||
** Idea: Can all of them link to the same file? | |||
* This changed from an svg to a png - might be worth getting a WikiLogo.png Not quite working.[[Category:ToDo (Could)]] | * This changed from an svg to a png - might be worth getting a WikiLogo.png Not quite working.[[Category:ToDo (Could)]] | ||
Revision as of 14:59, 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", ];
- Upload under /resources/assets/WikiLogo.png for each Wiki
- Idea: Can all of them link to the same file?
- 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";