Mediawiki: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 15: Line 15:
* TRUST ME you don't want to deal with numbered lists (see below if you have to)
* 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
* 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 ===
=== Embed comments in a numbered list ===

Revision as of 21:23, 6 July 2017

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