Installing MediaWiki
From Leechfinger
What is MediaWiki
MediaWiki is a free, open-source wiki software that allows users to create, edit, and organize wiki pages. It's used by Wikipedia, thousands of other wikis, and tens of thousands of other websites. MediaWiki is ideal for building online encyclopedias, documentation repositories, and knowledge bases. It offers multilingual support, extensions and plugins, robust permissions, and version tracking.
Installing MediaWiki
You can download MediaWiki here.
Basic setup
<VirtualHost *:80>
ServerName www.hellomoto.com
DocumentRoot /var/www/helomoto
Redirect permanent / https://www.hellomoto.com/
</VirtualHost>
<VirtualHost *:80>
ServerName hellomoto.com
DocumentRoot /var/www/hellomoto
Redirect permanent / https://hellomoto.com/
</VirtualHost>
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile /etc/apache2/certs/hellomoto.crt
SSLCertificateKeyFile /etc/apache2/certs/hellomoto.key
ServerName www.hellomoto.com:443
DocumentRoot /var/www/hellomoto
ErrorLog ${APACHE_LOG_DIR}/hellomoto.error.log
CustomLog ${APACHE_LOG_DIR}/hellomoto.access.log combined
</VirtualHost>
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile /etc/apache2/certs/hellomoto.crt
SSLCertificateKeyFile /etc/apache2/certs/hellomoto.key
ServerName hellomoto.com:443
DocumentRoot /var/www/hellomoto
ErrorLog ${APACHE_LOG_DIR}/hellomoto.error.log
CustomLog ${APACHE_LOG_DIR}/hellomoto.access.log combined
</VirtualHost>
<IfModule mod_rewrite.c>
RewriteEngine On
</IfModule>
<Directory /var/www/hellomoto>
RewriteEngine on
RewriteBase /
AllowOverride All
# Short URL for wiki pages
RewriteRule ^/?hm(/.*)?$ %{DOCUMENT_ROOT}/index.php [L]
# Redirect / to Main Page
RewriteRule ^/*$ %{DOCUMENT_ROOT}/index.php [L]
</Directory>
<Directory "/var/www/hellomoto/images">
# Ignore .htaccess files
AllowOverride None
# Serve HTML as plaintext, don't execute SHTML
AddType text/plain .html .htm .shtml .phtml
# Don't run arbitrary PHP code.
php_admin_flag engine off
# Tell browsers to not sniff files
Header set X-Content-Type-Options nosniff
# If you've other scripting languages, disable them too.
</Directory>
MediaWiki Support
IRC
Server: irc.libera.chat, Port 6697, Channel MediaWiki
MediaWiki on IRC
Post question
Mailing lists
Extensions
Extensions are plugins that can be added to MediaWiki to enhance the application. You can download extensions at here.