aboutsummaryrefslogtreecommitdiffstats

mediawiki-container

A minimalistic container setup for mediawiki using php-fpm and caddy (and unless built to a specific step, Skin:Citizen). Uses openrc in the container. Defaults to using postgres as a backend.

Helpful Things

Useful Pages to Copy

You can use Special:Import (on your wiki) and Special:Export (on external wikis) to copy templates (although this does require a lot of effort sometimes).

Some useful ones have been added below:

Additionally, all of the below from Wikipedia:Special:Export:

Module:Citation
Module:Hatnote
Module:Unsubst
Module:Sidebar
Module:Message_box
Module:Navbox
Module:Arguments
Module:Yesno
Module:Authority_control
Module:Infobox
Module:Navbar
Module:InfoboxImage
Module:Check_for_unknown_parameters
Module:If_empty

The Wikipedia Shenanigans

If all of this sounds fun, here's a complete list for the Wikipedia stuff:

Template:Stub
Module:Citation
Module:Hatnote
Module:Unsubst
Module:Sidebar
Module:Message_box
Module:Navbox
Module:Arguments
Module:Yesno
Module:Authority_control
Module:Infobox
Module:Navbar
Module:InfoboxImage
Module:Check_for_unknown_parameters
Module:If_empty
Template:Infobox_Information
Template:Infobox
Module:Article_stub_box
Template:Stub

(TODO: maybe also include all pages in the Wikipedia:Category:Wikipedia_metatemplates category?)

Credits

Minimally based on https://github.com/Wildsong/docker-caddy-mediawiki.