WikiDB/Index
From TestWiki
For each category of item, this page contains an exhaustive list of available WikiDB features. Not all of these are documented elsewhere yet. I aim to ensure this page is always up-to-date with the latest features, even if the proper documentation doesn't appear until some time later.
Contents |
[edit] Configuration settings
Used to configure how WikiDB works.
[edit] Maintenance scripts
Command-line scripts for creating, upgrading or maintaining the WikiDB database.
- RebuildWikiDB.php
- RefreshStaleData.php
- SetupTables.php
- UpdateTableNS.php
[edit] Special pages
Additional pages provided by WikiDB.
- Special:AllTables
- Special:EmptyTables
- Special:UndefinedTables
- 'data' tab
[edit] New wiki syntax
New wiki markup that WikiDB provides.
- <data> tag
- <repeat> tag
- <guesstypes> tag
- Table definition syntax
[edit] Built-in data types
Data types provided by WikiDB for use when defining tables. It is also possible for you to create custom data types, if necessary.
[edit] Meta-data fields
Extra fields that are included in each row of data, that may be referenced within the <repeat> tag.
- _SourceArticle
- _Row
[edit] Criteria operators
The following operators are available for use within the criteria attribute of the <repeat> tag. Note that, due to the restrictions on attribute values, you currently need to write > as > but I am working on a solution to this (which will probably result in a different way of defining criteria - see WikiDB/Repeat tag syntax).
- <> or !=
- >
- <
- =
- >=
- <=
[edit] Public constants
The following constants have been provided for use in configuring/customisting WikiDB.
[edit] For setting $wgWikiDBMaxRefreshRate
- WIKIDB_DisableAutoRefresh
- WIKIDB_RefreshAll
[edit] For custom type handlers
The following constants have been provided for use when creating a custom type handler, in order to understand what operation is being requested.
- WIKIDB_Validate
- WIKIDB_FormatForDisplay
- WIKIDB_FormatForSorting
- WIKIDB_GetSimilarity