Infosphere:Modifications extension

The Infosphere Modifications MediaWiki extension is a special designed extension for the additional requirements of modifications of the Infosphere to avoid modifying actual MediaWiki code.

Affiliates bar
Added per version 1.0. The "affiliates" list on the Sidebar. It uses the message, MediaWiki:Affiliatesbar to construct a list of titles, links and images to associate with the affiliate in question.

As per Table:Affiliates icons, the very workings of this feature is subject to change in the future.

Natural language list parser function
Added per version 1.1. Added a   parser function, it's intention is to create lists intended natural language version of a list of items, e.g. 1, 2, 3, ... n-1 and n.

Use

 * First parameter
 * The first parameter is special and is a configuration variable, therefore, two parameters must always be supplied. The first parameter defines whether the list should ignore duplicates or not.  Per default it won't.  1 and true are accepted for yes and all others will be assumed to be false.


 * Ignoring duplicates:


 * Not ignoring duplicates:


 * 1 element
 * The system allows for a single element, in which case, it is simply just return the element.


 * 2 elements
 * In this case, the short ' and ' is applied between them, but no commas.


 * 3 and more elements
 * As seen in the examples above. Blank elements are also ignored.