Project Canasta/Infrastructure development
The first section (How to manage what and why) is automatically injected into a new MediaWiki instance as page "Manage this MediaWiki instance" by means of https://github.com/dataspects/mediawiki-manager/blob/main/inject-manage-page-from-mediawiki.org.sh. Concepts shown here are tentative and subject to scrutiny by pertinent specialists for security, performance and scalability.
How to manage what and why edit
All aspects of your MediaWiki instance are managed (scripted if possible, manually if necessary) at one or multiple of these locations:
(assuming git clone https://github.com/dataspects/mediawiki-manager.git myMediaWikiInstance
)
- Dockerfile(s)
myMediaWikiInstance/docker-compose.yml
- environment:
- volumes:
.env
filesmyMediaWikiInstance/mediawiki_root/w/AfterSettings.php
myMediaWikiInstance/mediawiki_root/w/composer.json
Aspect | Category | Location | Reasons | Steps |
---|---|---|---|---|
Increase upload limit edit |
Infrastructure | AfterSettings.php |
Add the following lines to ini_set( 'post_max_size', '50M' ); ini_set( 'upload_max_filesize', '50M' ); |
Help: general edit instructions (transcluded into instructions) edit
Edit Aftersettings.php edit
Add the following lines to mediawiki_root/w/AfterSettings.php
: