Page MenuHomePhabricator

Preloading into the info tag only works for the 'page name' parameter
Closed, DeclinedPublic

Description

Author: dan.bolser

Description:
Here is what I tried (layout adjusted for clarity):

{{{info

add title = Add a <Talk[type]>
edit title = Edit a <Talk[type]>
page name = <Talk[type]> <unique number; start=1>

}}}

The form is is called like this:

{{#formlink: ... | query string=Talk[type]=Tutorial }}

(The type field is mandatory).

However, the add title appears as "Add a &lt;Talk[type]&gt;", and not "Add a Tutorial" as expected.


Version: unspecified
Severity: enhancement

Details

Reference
bz23725

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:02 PM
bzimport set Reference to bz23725.

I'm marking this as "wontfix" - this would be inconsistent with the general approach of Semantic Forms, where the "class" of a page is set via its main template and not by user input; and could lead to strange displays, like if the relevant field is blank or contains a nonsense value.