Cargo |
This is preliminary documentation and is subject to change.
[Missing <summary> documentation for "T:WikiClientLibrary.Cargo.Schema.CargoTableFieldType"]
Member name | Value | Description |
---|---|---|
Page | 0 | Holds the name of a page in the wiki (default max size: 300 characters) |
String | 1 | Holds standard, non-wikitext text (default max size: 300 characters) |
Text | 2 | Holds standard, non-wikitext text; intended for longer values (Not indexed) |
Integer | 3 | Holds an integer |
Float | 4 | Holds a real, i.e. non-integer, number |
Date | 5 | Holds a date without time |
StartDate | 6 | |
EndDate | 7 | Similar to Date, but are meant to Hold the beginning and end of some duration. A table can hold either no Start date and no End date field, or exactly one of both. |
Datetime | 8 | Holds a date and time |
StartDatetime | 9 | |
EndDatetime | 10 | Work like Start date or End date, but include a time. |
Boolean | 11 | Holds a Boolean value, whose value should be 1 or 0, or 'yes' or 'no' (see this section for Cargo-specific information on querying Boolean values) |
Coordinates | 12 | Holds geographical coordinates |
WikitextString | 13 | Holds a short text that is meant to be parsed by the MediaWiki parser (default max size: 300 characters) |
Wikitext | 14 | Holds longer text that is meant to be parsed by the MediaWiki parser (Not indexed) |
Searchtext | 15 | Holds text that can be searched on, using the MATCHES command (requires MySQL 5.6+ or MariaDB 5.6+) |
File | 16 | Holds the name of an uploaded file or image in the wiki (similar to Page, but does not require specifying the "File:" namespace) (default max size: 300 characters) |
URL | 17 | Holds a URL (default max size: 300 characters) |
18 | Holds an email address (default max size: 300 characters) | |
Rating | 19 | Holds a "rating" value, i.e. usually an integer from 1 to 5 |