Here we will describe notes regarding setting up MediaWiki like this one.
How to enable image upload in custom installations of MediaWiki in Debian 9 with Nginx as webserver.
You must set owner and group for MediaWiki instance as www-data:www-data, and set permission to 755 for /images dir.
If you want to enable toolbar in editor add:
wfLoadExtension( 'WikiEditor' );