Mediawiki: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 12: Line 12:
META FTW!  Mediawiki how do i love thee, let me count the ways...  Here are some tricks to keep things humming.
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 ===
==== Stick with flat lists whenever you can ====
* 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
* 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 ====


# one
# one
Line 25: Line 25:
# two
# two


=== htmlets ===
==== htmlets ====
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.
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.

Revision as of 00:43, 9 December 2019

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

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.