Main Page

From Aeon Garden Software Wiki
Revision as of 01:07, 29 September 2014 by Eyes (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Aeon Garden Software is the central location for software and accompanying documentation written and released by Shawn Bruckner.

Available software

Extensions for MediaWiki

BoilerRoom

BoilerRoom is a dynamic text preloading extension that has the ability to load text from boilerplate pages into the edit textbox of new pages. With AJAX enabled on the server and Javascript enabled on the user's browser, boilerplate text can even be loaded on existing pages. The extension provides a boilerplate selector on edit pages for this purpose. It also allows you to create input boxes on wiki pages that allow users to input a title and open a new page for edit with the boilerplate text preloaded into the edit box.

BoilerRoom is different in its approach from similar extensions in that it was designed to allow the creation of boilerplate text without any need for text escaping. It deliberately does not respect <includeonly>, <onlyinclude>, and <noinclude> tags, instead providing its own mechanism through the special behavior of the provided <boilerplate> tag. This behavior simplifies certain situations, such as creating boilerplates for templates, where unusual escape mechanisms like <include<includeonly>only> would be necessary to achieve the same effect. Even other <boilerplate> tags can be place inside without any need for an escape mechanism.

ParserPower

ParserPower is an extension that adds a number of useful tags and parser functions to MediaWiki. It is most powerful when combined with other useful and common extensions such as ParserFunctions and Variables.

There are two particular sets of helpful features in ParserPower: functions for processing lists of values and support for escape sequences.

The list-handling functions are useful whenever you need a template to deal with some subject that may involve some arbitrary number of values. Often, this is done by supplying multiple parameters, such as item1, item2, item3, and so on, but if anything even slightly complicated needs to be done with each value, you end up either copy and pasting a lot of code for each value, or you end up writing a separate template. Either way, you still have to guess how many values you'll need. With ParserPower's list-handling functions, you can just give multiple values to a single parameter, separating them with a specific character, such as a comma, and writing the code once for each value.

Escape sequences are short groups of characters that represent a different character that may have special meaning, behavior, or effects when used directly in particular contexts. A common example is trying to use the pipe character (|) in a parameter to a template, which doesn't work because that normally separates parameter values, and the classic Template:! used as a workaround, which is essentially a crude way of escaping the pipe characters. ParserPower functions use escape sequences to help in working around these issues, often more easily and more readably than other solutions would allow. Additionally, there is the #uesc function simply for processing escape sequences, which can be useful in using escape sequences in other tags and functions, and the <esc> tag that can do the escaping for you when needed.