Sign inSign up

tartavull/mediawiki

By tartavull

•Updated almost 11 years ago

Contains mediawiki with many extensions pre-installed like infobox

Image
0

390

tartavull/mediawiki repository overview

Create a directory structure as follows: . ├── run.sh ├── settings │   └── LocalSettings.php └── uploads

run.sh should look something like:

docker run -v ~/code/wiki/settings/LocalSettings.php:/usr/share/nginx/html/LocalSettings.php:ro -v ~/code/wiki/uploads:/usr/share/nginx/html/images --link mysql-wiki:db -p 80:80 -p 443:443 --name mediawiki -d tartavull/mediawiki

LocalSettings.php : pastebin.com/raw.php?i=H4j31RDt

uploads is a mounted folder to hold the wiki uploads

to add new templates from wikipedia"

  1. https://en.wikipedia.org/wiki/Special:Export⁠ and write the wanted template like "Template:Infobox" check all three checkboxes
  2. Go to your local wiki http://localhost/index.php?title=Special:Import⁠ choose the downloaded file, and upload file

Tag summary

Content type

Image

Digest

sha256:4093b1a88…

Size

285.5 MB

Last updated

almost 11 years ago

docker pull tartavull/mediawiki