Last modified: 2009-03-09 19:57:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 17890 - Problem using different {{{standard input|free text|preload=PAGE}}} in the same form
Problem using different {{{standard input|free text|preload=PAGE}}} in the sa...
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
All Linux
: Normal major (vote)
: ---
Assigned To: Yaron Koren
Depends on:
  Show dependency treegraph
Reported: 2009-03-09 19:21 UTC by Josep Salom
Modified: 2009-03-09 19:57 UTC (History)
0 users

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


Description Josep Salom 2009-03-09 19:21:09 UTC

When I try to use different {{{standard input|free text|preload=PAGE}}} in the same form, because I want to insert some preloaded pages between templates, I get always the same preloaded page from the last {{{standard input|free text}}} instance. To be more clear, the form is the following:

{{{for template|Proyecto:Caja|label=Información general}}}
<!-- Some code inside here -->
{{{end template}}}

{{{for template|Proyecto:Fechas|label=Fechas}}}
<!-- Some code inside here -->
{{{end template}}}

{{{standard input|free text|default=PAGE 1}}}

{{{for template|Contacto|label=Contactos del cliente|multiple}}}
<!-- Some code inside here -->
{{{end template}}}

{{{for template|Proyecto:Requerimientos del proyecto|label=Requerimientos del proyecto}}}
<!-- Some code inside here -->
{{{end template}}}

{{{standard input|free text|preload=PAGE 2}}}

{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
[[Category:Proyecto especial]]

And I get the same preloaded PAGE 2 for both {{{standard input|free text}}}.

I hope I made me clear enough :).

Kind regards,
Comment 1 Yaron Koren 2009-03-09 19:57:37 UTC
I'm not surprised that this is failing - you can't have more than one free text field in a single form.

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