Mediawiki

From Bitpost wiki
Revision as of 01:46, 9 December 2019 by M (talk | contribs)
Updating mediawiki installation
cd /var/www/localhost/htdocs/mediawiki
emacs LocalSettings_redirector.php (to hardcode each site)
php maintenance/update.php
(repeat for each site)
emacs LocalSettings_redirector.php (to reset dynamic behavior)

META FTW! Mediawiki how do i love thee, let me count the ways... Here are some tricks to keep things humming.

Stick with flat lists whenever you can

  • TRUST ME you don't want to deal with numbered lists (see below if you have to)
  • Also use === Section Headers === for any page that needs scrolling - after 3 you autoget a table of contents
  • Collapsible sections like the one above are often very useful for pages with lots of small bits of info

Embed comments in a numbered list

  1. one
    some stuff
    some more stuff
  2. two

htmlets extention

These have served me well in the past for all kinds of goodies. Haven't researched the latest lately, though. When checking also check if tree formats are available.

MobileFrontend extention

This is the official one used by wikipedia. See end of LocalSettings_redirector.php for details.