Open main menu

MINE Wiki β

Changes

MediaWiki

2,816 bytes added, 15:17, 26 February 2018
Why i should run my own MediaWiki
* If you follow this step by step instruction, it will take you 10-15min to have your own MediaWiki up and running
== Why i should run my own MediaWiki ==
* You are independent
* You can add plugins and extensions that you need and want
* You decide where the data is stored
* You can adapt it to your needs
 
== Used tools ==
* Webbrowser
* FTP-Client
* Texteditor
== Downloads ==
* Mediawiki
* replacement of the TempFSFile.php when you use bplaced.net[https://drive.google.com/file/d/1o4Fn71CpHh5cmFKvggdrEBbBhLVtJyBG/view?usp=sharing TempFSFile.php] = HowTo =# Create a free account at bplaced.net (choose a short username, otherwise you might have some troubles later with the database)# Create a mysql database for the mediawiki in the bplaced webinterface. - remember about the database name and the username# Create a ftp account at the bplaced webinterface# Download the latest stable MediaWiki from here: [https://www.mediawiki.org/wiki/MediaWiki/ Mediawiki]# Unpack the files you just downloaded# Start the FTP client, set it up with your bplaced.net credentials and connect your FTP client with the bplaced.net server# Create a directory wiki (or something similar) for the wiki# Enter the new created directory# Create in the wiki directory the directory called: temp# Upload the unpacked MediaWiki files in the directory# Navigate to "includes/libs/filebackend/fsfile/" and replace the TempFSFile.php with this file: [http://%5Bhttps://drive.google.com/file/d/1o4Fn71CpHh5cmFKvggdrEBbBhLVtJyBG/view?usp=sharing TempFSFile.php] '''You have to do that BEFORE you start the Setup at the server!!!!!'''# Open in your webbrowser YOUR bplaced.net address, followed by /wiki (or whatever you have choosen before)# Follow the setup navigation# Download the LocalSettings.php file and open it with a text editor# Add this at the end of the LocalSettings.php file: $wgTmpDirectory = "tmp";# Upload the LocalSettings.php file with your FTP Client to the root directory of the Wiki# Check your installation, if all is working as expected<br><br> = Make it shiny and nice === Change the default editor ==# By default, the mediawiki comes with a very puristic editor. To enable the little more modern one, add this to your LocalSettings.php:<br>{| class="wikitable"|-| wfLoadExtension( 'WikiEditor' );<br>$wgDefaultUserOptions['usebetatoolbar'] = 1;|} == Mobile Frontend ==Mediawiki has a great frontend for mobile devices, which is NOT in the default setup. To make a better mobile frontend working, follow this steps:<br># [https://www.mediawiki.org/wiki/Special:SkinDistributor/MinervaNeue Download] (unpack) and place the file(s) in a directory called MinervaNeue in your skins/ folder.# [https://www.mediawiki.org/wiki/Special:ExtensionDistributor/MobileFrontend Download] (unpack) the Mobile Extention files and upload them to the folder MobileFrontend in your folder extensions/# Add this to your LocalSettings.php:<br>{| class="wikitable"|-| wfLoadExtension( 'MobileFrontend' );<br>$wgMFAutodetectMobileView = true;<br>wfLoadSkin( 'MinervaNeue' );<br>$wgMFDefaultSkinClass = 'SkinMinerva'; // use Minerva skin|}