You were right. I thought I didn't need to create/recreate the table
because the pages were displaying fine. Just the query didn't work. Anyway,
thank you for your patience. Everything is working fine now.

On Thu, Sep 2, 2021 at 7:28 PM Yaron Koren <yaro...@gmail.com> wrote:

> 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 <david...@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
> _______________________________________________
> MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org
> List information:
> https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
>
_______________________________________________
MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org
List information: 
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/

Reply via email to