[cargo] autocomplete on pages displayed as links
David Epstein <[email protected]>
| Newsgroups | gmane.org.wikimedia.mediawiki |
|---|---|
| Message-ID | <CAK0sU7FZDDkP3xYKiNc1CLib4BWrDz9v8w8ANaQzUrwBZD44Tg@mail.gmail.com> |
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 -- [email protected] List information: https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/