Last modified: 2009-03-09 19:57:37 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 T19890, the corresponding Phabricator task for complete and up-to-date bug report information.
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...
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All Linux
: Normal major (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  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: ---


Attachments

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

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:

</noinclude><includeonly>
{{{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]]
</includeonly>

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

I hope I made me clear enough :).

Kind regards,
Josep
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.


Navigation
Links