Last modified: 2010-11-23 19:04:28 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 T28086, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26086 - autocompletion limited to existing values
autocompletion limited to existing values
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-23 17:07 UTC by skew
Modified: 2010-11-23 19:04 UTC (History)
2 users (show)

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


Attachments

Description skew 2010-11-23 17:07:50 UTC
Add a flag to a field that uses autocompletion that causes the final value to be checked for page existence.  

On Submit, when the flag is excluded, the field potentially holds a page that does not exist.  When the flag is included, if the field holds a page that does not exist, an error message is displayed on the screen, and the Submit fails, waiting for further edits.
Comment 1 skew 2010-11-23 18:24:52 UTC
Clarification: Consider a field that lets a user set their homepage:

   {{{field|Homepage|autocomplete on category=Wiki Page}}}

where all valid home pages are in category Wiki Page.  Today, this field specification will allow the user to save the name of a page that does not exist.  For example, 

   {{{field|Homepage|autocomplete on category=Wiki Page|mustexist}}}

The user could still type in a non-existing page.  Existence is verified after the user hits "Save page".  If the page does not exist, an error message displays and the form stays open, similarly to how it functions on a missing mandatory field.
Comment 2 skew 2010-11-23 18:47:54 UTC
Fixed the title to be more general
Comment 3 skew 2010-11-23 19:04:28 UTC
Resolving this issue so it can be deleted and better stated.

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


Navigation
Links