Last modified: 2013-08-30 23:13:24 UTC
Currently there is no way to use {{subst:DATE}} in a template invocation in VisualEditor. If you try to paste it into the value of a date field, it won't work because you get |date = date=August 2013 which won't parse. VisualEditor should actually set the date automatically, always, for such templates (e.g. refimprove).
Yes(In reply to comment #0) > Currently there is no way to use {{subst:DATE}} in a template invocation in > VisualEditor. If you try to paste it into the value of a date field, it won't > work because you get > > |date = date=August 2013 > > which won't parse. Yes. This is by design; templates that are designed around wikitext's structure won't work in general for editing. Note that "{{subst:CURRENTDAY}} {{subst:CURRENTMONTHNAME}}" works fine; auto-inserting this would solve the problem. > VisualEditor should actually set the date automatically, always, for such > templates (e.g. refimprove). I agree; that is bug 51428 (and its corresponding implementation in VisualEditor).