MediaWiki/Editing
The Bibliotheca Anonoma Wiki has special features and extensions that editors can make use of.
Cargo (Semantic Infoboxes)
The infoboxes on the Bibliotheca Anonoma are augmented with Cargo, a Semantic Web extension (designed to replace Semantic MediaWiki). This gives the infobox elements the power to be indexed in a semantic metadata database. That way, queries and reports can be made to sort out the data for easier searching.
Creating a Cargo Template, Table, and Form
A single Cargo subject is made up of a three basic elements:
- Template - Defines the columns and infobox.
- Table - Indexes the data for queries.
- Form - Helps users create a new page with fields for metadata.
Creating Templates
When creating a template meant for users to utilize, you should place a {{Template}}
header into it.
This template should be added at the very beginning of all template pages between 'noinclude' tags:
<noinclude> {{Template}} </noinclude>
A brief description of the template, usage instructions, and output example should also be added between the 'noinclude' tags (as in this template).
The template wikitext must be written between 'includeonly' tags:
<includeonly>...</includeonly>
Design Models
The Bibliotheca Anonoma is descended from various model wikis that templates were directly copied from, or otherwise inspired the MediaWiki instance.
- Arch Wiki - The code templates and Note boxes are inherited from here.
- Chakra Wiki - The i18n templates are inherited from here. We would prefer to use the Translate extension instead, but it has no support for PostgreSQL. Maybe when we need it we will switch to MariaDB.
- Tanasinn.info - Their VIP quality templates are just plain hilarious.