Topic on VisualEditor/Feedback

Problem with parameters of zh template

7
Mx. Granger (talkcontribs)

I recently used VisualEditor to add a zh template to w:en:Confucius Institute in this edit. I selected the "s" and "p" parameters, but for some reason VisualEditor added the parameters "simplified Chinese" and "pinyin" instead. These parameters are evidently not supported by the template, so it didn't display correctly until I used the source editor to change the parameters to "s" and "p". I would appreciate some help understanding what went wrong. Thank you!

Lyuflamb (talkcontribs)

It should be a bug in Visual Editor that puts the explanatory full names of the parameters instead of the usable names. Two ways to fix this: either VE changes to use the short names only or the template itself changes to support full names.

Whatamidoing (WMF) (talkcontribs)

It appears that the TemplateData is backwards on that template. (I hope that's not a common problem.)

Lyuflamb (talkcontribs)

Ouch. I see. Any fast lane for fixing it?

Jdforrester (WMF) (talkcontribs)

WhatamIdoing fixed it with this edit; it should now work fine. I hope!

Whatamidoing (WMF) (talkcontribs)

It will only work if an admin has made a null edit, or the system has caught up on its own. If it's still not working, then please let me know, and I'll go beg a favor from an admin.

Mx. Granger (talkcontribs)

Ah, I see. Thanks for fixing it!

Reply to "Problem with parameters of zh template"