Library/MediaWiki/MediaWiki Customizations

This page contains a rough list of the (documented) customizations made to this athile.net MediaWiki installation used here.

Enable Subpages in the Main Namespace
In short, cut and paste the following to the bottom of your LocalSettings.php:

Info from this page at mediawiki.org. See the additional customizations on this page regarding the subpages feature to improve their usability and formatting.

Update the Sidebar
Modified MediaWiki:Sidebar. The sidebar can be modified as an (almost) standard MediaWiki page, but it is not immediately obvious how to do so. The aforementioned page on MediaWiki installations contains the contents of the sidebar.

Use of MediaWiki Templates for formatting
This built-in feature can add much improved formatting with little technical work. See http://www.mediawiki.org/wiki/Help:Templates.

Combined with JQuery scripts, templates can provide an excellent short-hand for common patterns on a wiki.

Use of MediaWiki Categories
Another useful, built-in feature. Used in conjunction with templates, this can be useful.

As examples, see the Template:Stub, Template:Draft, and Template:Published templates used to automatically categorize pages by their status of completeness.

MathJax

 * http://www.mathjax.org/

Improve the Subpage formating in the Vector Skin
See $Library/MediaWiki$.

Remove redirects from the "All Pages" special page
In short, simply add a new DB search condition ('page_is_redirect' => 0) to the includes/specials/SpecialAllPages.php file on the installation. The same can be done for includes/specials/SpecialPrefixindex.php (or any other page listing).

See http://www.mwusers.com/forums/showthread.php?14438-How-can-I-modify-Special-Allpages-to-exclude-redirects

Better image uploading

 * Drag'n'drop
 * Upload and insert into page as a single operation
 * Templates for displaying all images of a sub-page

Add Section
A "add" link next to each "edit" link to append a new section of the same heading level after the current heading

See other suggestions below: in fact a drop-down arrow next to edit (i.e. [edit v]) would be ideal to allow for other operations like "add", "move up", "move down", "promote", "demote", etc.

Page Ordering
Subpage ordering to build ordered hierarchies of pages for a book-like layout.

Sections as Pages
This is a complex request:
 * Treat the content of each h1 - h5 section similar to a page.
 * Then each section to be pushed in / out (e.g, in = h3 becomes an h2, out = h3 becomes an h4) as well as up / down (move before the prior section, after the next)
 * Pushing an h1 topic in promotes it to a page; pushing a page out requires another page to be specified to which the content will be appended as a h1 section

This would allow a "global" hierarchy of pages where sections can be pushed out, pulled in, moved up or moved down. This would not affect the "unordered" nature of a traditional wiki (a page is still a page), but would allow ordered, linear content to be built up more quickly.

Better integration with JQuery
This may be an out-dated, incorrect Wishlist item. JQuery integration with Mediawiki is not difficult.

Buttons Stylization
Replace the default form buttons with more stylish versions (and make "Cancel" a button the same as Save and Preview) /