Hi David,

My guess is that you haven't created the Cargo table yet - that needs to be done as a separate step. Here is how to do it, if you don't know how:

https://www.mediawiki.org/wiki/Extension:Cargo/Storing_data#Creating_or_recreating_a_table

-Yaron

On Thu, Sep 2, 2021 at 2:17 PM David Epstein <davideps@umich.edu> wrote:
I'm trying to query the cargo database. In PageSchemas, the table is called simply "Place". Here is the query:

{{#cargo_query:
table=Place
|fields=Place._pageName, Type
|where=Place.Type="Planet"
|format=dynamic table
}}

The code above produces "Error: Table Place not found." as does prepending the table name with "cargo__" or "cargo_". What am I doing wrong?

-david
_______________________________________________
MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org
List information: https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/


--
WikiWorks · MediaWiki Consulting · http://wikiworks.com