Last modified: 2014-02-12 23:38:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34375, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32375 - Including subpages in autocompletion should be settable by namespace
Including subpages in autocompletion should be settable by namespace
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-12 09:27 UTC by Van de Bugger
Modified: 2014-02-12 23:38 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Van de Bugger 2011-11-12 09:27:26 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".
Comment 1 Yaron Koren 2011-11-14 04:06:01 UTC
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?
Comment 2 Van de Bugger 2011-11-14 17:20:07 UTC
> …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.
Comment 3 Yaron Koren 2013-12-31 16:15:06 UTC
Renaming, for clarity.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links