https://bugzilla.wikimedia.org/show_bug.cgi?id=35500
Web browser: ---
Bug #: 35500
Summary: hat symbol in templatename (embed in field)
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: SemanticForms
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
In a template (escaping all), I have
<pre>{{{for
template|^page}}}{{{field|header|holds
template}}}{{{end template}}}
and later
{{{for template|^header|embed in
field=^page[header]|multiple}}}
</pre>
No button is shown for adding instances of the ^header template; before I added
this code into the form the button was showing and operating fine. Instead I
now see displayed: <code>@insertHTML_^page___header@</code> Any ideas? I have
2.4 SF + 1.6 SMW + 1.17 MW.
I tried this feature because I want to specify default templates for the
"header" field by something like
<nowiki>{{{</nowiki>field|header|holds
template|default=<nowiki>{{</nowiki>^header<nowiki>}}</nowiki><nowiki>}}}</nowiki>
Will I be able to get this to work or is there a another way.
--[[User:Hypergrove|Hypergrove]] ([[User talk:Hypergrove|talk]]) 08:43, 26
March 2012 (UTC)
:My guess is that this is failing due to the "^" in the template name (which
would be a bug). Is this happening on a public wiki? If not, is there any way
you could reproduce the problem on a public wiki, like scratchpad.referata.com?
[[User:Yaron Koren|Yaron Koren]] ([[User talk:Yaron Koren|talk]]) 13:28, 26
March 2012 (UTC)
:removed the 'hat' symbol and the code is behaving differently, not correctly
yet. It is placing the add-another-button at the position of the template that
embeds the repeating template, not within the scope of the repeating template
as it did prior to my inserting this code.
So I've opened a bug for the hat symbol in the templatename.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l