Extension:Cargo/ja

Cargo は MediaWiki 拡張機能であり、テンプレート呼び出しに含まれるデータを格納したり、データのクエリを実行したりできる軽量な方法を提供します. 概念は 拡張機能に似ていますが、インストールの容易さや使いやすさなど、多くの利点があります.

Cargo stores all its data in database tables, which can be placed in either MediaWiki's own database (the default) or a separate database. For the most part, each stored template gets its data stored in a single DB table, with a column for each relevant template parameter. There are a few exceptions to this: the handling of template fields that hold arrays/lists of values, and of fields that hold geographical coordinates, is more complex, due to poor native handling of those data types in most DB systems. And multiple templates can be set to all store their data in one DB table.

The extension defines a number of parser functions; these three are the most important:


 * - placed within the part of a template; it defines the schema for a table.
 * - stores one row to a Cargo table; usually placed within the part of a template.
 * - queries one or more Cargo data tables, using SQL components.

The other defined parser functions are:


 * - 他の場所で宣言されたテーブルに行を追加するようにテンプレートを定義します.
 * - displays the results of multiple queries in one place.
 * - displays a map showing a single point.
 * - prints out the dates for a recurring event; for use by #cargo_store.

Cargo also defines various interfaces for viewing and drilling down through this stored data.

Cargo has been tested, and works, with the MySQL and PostgreSQL database systems. In theory, it also supports SQLite, but it has not been well-tested with SQLite and may not work.

This version of the Cargo extension requires MediaWiki 1.33+.

Click through the pages in the navigation bar above to learn more about Cargo, how it works, how to use it, and how to install it.

を参照してください



関連項目

 * – An overview and comparison.
 * – Allows to extract data from pages.
 * – Allows for the storage and querying of data within pages.
 * – Provides database features, somewhat similar to semantic properties.
 * – Allows to represent and manipulate structured data as part of the Wikidata project.