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 <[email protected]> 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 <[email protected]> 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 -- [email protected] >> List information: >> https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/ >> > > > -- > WikiWorks · MediaWiki Consulting · http://wikiworks.com > _______________________________________________ > MediaWiki-l mailing list -- [email protected] > List information: > https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/ >
_______________________________________________ MediaWiki-l mailing list -- [email protected] List information: https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
