Last modified: 2014-02-12 23:38:27 UTC
I have a field in a form to enter user name: {{{ field | User | property=User | input type=text with autocomplete | values from namespace=User | existing values only | remote autocompletion | default={{REVISIONUSER}} }}} The minor issue is that if user page has subpages, they are shown in autocompletion list. In this particular case it is not good, because I want to have user entered, not it's subpage. At the same time, sometimes it is desired (for example, I organized hierarchy of regions using subpages). This, my feature request is: It would be nice to have a control over it. Something like "subpages = yes" or "subpages = off".
Hm - thinking about it more, maybe it should just be that subpages get handled for the main namespace, and ignored for all other namespaces? Would that work in your case?
> …subpages get handled for the main namespace, and ignored for all other > namespaces? Would that work in your case? No. At my site, main namespace is used for articles (text). Entities are represented by pages from namespaces: User, Region, Attribute, Object, etc. In some cases (Region, Attribute) subpages represent natural hierarchy of entities, in other cases (Objects) subpages are not enabled, in other cases (Users) subpages are enabled, but subpages does not represent entities at all. Thus, I would like to specify whether subpages should be used for autocompletion explicitly. Thanks for attention.
Renaming, for clarity.