Hi folks,

I'm working with Cargo, PageForms, and PageSchemas. I'm trying to define a
hierarchy of places (all assigned to category "Place"). I'm probably doing
several things wrong. The hierarchy is roughly:

SolarSytem- -> Planet --> Continent --> Nation --> SubRegion --> City -->
Neighborhood

I used PageSchemas to generate a "Place" Cargo table, Form, and Template.
It has two fields right now. (1) The "Type" Cargo field is a Page with a
list of possible inputs from the hierarchy above. The "Type" Template is
text with autocomplete. (2) The "PartOf" field is identical except it has
no list of possible inputs since I was hoping it would draw from page
instances.

When I choose a Place "Type" from the list, the selection is displayed as
static text, not as a link (even if I manually create a page with the same
name). When I try to choose a Place "PartOf", autocomplete never finds the
places I've already generated.

What is the proper way to create such a hierarchy? My approach does not
generate real subcategories like Place:SolarSystem and Place:Planet. Is
that what I should be doing? Does that require each subcategory to have its
own schema, form, and template?

Thanks for your guidance,
-david
_______________________________________________
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