Last modified: 2010-11-08 03:40:36 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 T26251, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24251 - The 'default' parameter of the 'free text' 'standard input' form markup tag has no effect
The 'default' parameter of the 'free text' 'standard input' form markup tag h...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-04 00:19 UTC by Dan Bolser
Modified: 2010-11-08 03:40 UTC (History)
1 user (show)

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


Attachments
Patch to the issue 24251 (2.55 KB, patch)
2010-11-07 07:44 UTC, Jean-Philippe Muller
Details
Patch to the issue 24251 (981 bytes, patch)
2010-11-07 07:57 UTC, Jean-Philippe Muller
Details

Description Dan Bolser 2010-07-04 00:19:17 UTC
For example:

{{{standard input|free text|default=Test}}}


fails to add the text 'Test' into the resulting field. The same effect can be achieved using using the 'preload' parameter, however, if the behaviour of the 'default' parameter isn't going to be fixed, the docs should be updated.

Also, I think it would be nice if preload setting was activated if the form was edited and the free text field was empty (i.e. if the setting is added after several pages have already been created with the form).
Comment 1 Jean-Philippe Muller 2010-11-07 07:44:26 UTC
Created attachment 7795 [details]
Patch to the issue 24251

Tested with MW-1.15.0, SMW-1.5.0 and SF-2.0.3 (and SF-1.9)
Comment 2 Jean-Philippe Muller 2010-11-07 07:57:05 UTC
Created attachment 7797 [details]
Patch to the issue 24251

There was an editing problem in the "freetext.patch" file. As I checked out the SF project, the symbol "²" was replaced by "�", so the "svn diff" took this for a modification.
Comment 3 Yaron Koren 2010-11-08 03:40:36 UTC
Hi Jean-Philippe,

Thanks a lot for this patch - I just checked it in to SVN, and it'll be in the next official version of SF, 2.0.4.

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


Navigation
Links