Talk:Community Tech/Template wizard

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Social concern[edit]

This problem pertains specifically to english Wikipedia, but we've had a number of disputes in the past and still have in the present about which articles receive an infobox and which ones don't. There are very vocal people on both sides of the discussion and we've had long edit wars and disputes about infoboxes. I am concerned that enabling such a wizard on enwiki will aggravate the problem by facilitating unilateral insertions of infoboxes in places or amounts that will be controversial. Jo-Jo Eumerus (talk, contributions) 10:28, 7 January 2018 (UTC)

One vision for this feature is that it'll be pretty much like the existing template-insertion feature of Visual Editor, and so shouldn't really introduce any extra infobox spam (this won't make it any easier than it already is). I guess that depends on whether people inserting unwanted infoboxes are using VE or the standard editor. Sam Wilson 02:27, 9 January 2018 (UTC)
Based on the edit histories, most of them don't use VE so yes it would introduce extra potentially problematic infoboxes. Jo-Jo Eumerus (talk, contributions) 10:08, 9 January 2018 (UTC)

Search feature[edit]

The proposed solution in wishlist survey says "This search will allow you to browse the infoboxes (search by title or category) ...". The search feature in Visual Editor ("Insert Template" function) allows only the search by title. Many users doesn't know the exact name of the template to insert (possible synonyms, abbreviations, etc...) so, in my opinion, a search by category feature is very useful. For example possibly categories can be style‎, task or topic; after the first choise the user can be navigate in subcategories, in a tree model, until he find the wanted template. The main problem, I think, is how every wiki can be defines the own top categories. I hope I was clear enough, otherwise ping me :) --β16 - (talk) 09:10, 25 January 2018 (UTC)

Perhaps we can find common ground for these categories, e.g. 'style' is d:Q8095468 and is present on quite a few Wikipedias (and some other projects, which sounds a bit peculiar!). I'm not sure what the best 'general' solution for this is though; or is it enough to have pre-defined categories? Sam Wilson 06:05, 26 January 2018 (UTC)
What would also help, is if it searched not only by title, but also by TemplateData description. —TheDJ (talkcontribs) 09:10, 10 April 2018 (UTC)
At least there would have to be a link to w:Category:Wikipedia templates below the "Select a template" line (in the englisch wikipedia, in other wikipedias the link would have to be adapted to the equivalent page of the wiki). --X black X (talk) 23:42, 29 April 2018 (UTC)

Comment[edit]

You might want to note somewhere on the page that the script works in the visual editor, but not in the wikicode editor. But after I realised that, I tested it with a Wikidata-driven infobox, and it seemed to work well. Thanks. Mike Peel (talk) 02:17, 17 March 2018 (UTC)

I think you are mistaken. This specific templatewizard works with WikiEditor, not VE. VE has its own inbuilt TemplateWizard. The wish on the survey was to bring that functionality to WikiEditor.
It's a user-script currently so you'd have to follow the instruction here to enable it. Once you do that, you will see an icon in the toolbar which will open the wizard. Let me know if it doesn't work. Thanks. -- NKohli (WMF) (talk) 20:09, 17 March 2018 (UTC)
@NKohli (WMF): Aah, I see, thanks! Sorry for misunderstanding. I've now found it in the wikitext editor. It might be useful to have a screenshot here pointing to where the icon is located. Trying my test again, I see that it adds a new line before the closing }}'s, it would be good if that could be avoided if there are no required parameters for the template. Thanks. Mike Peel (talk) 22:50, 18 March 2018 (UTC)
@Mike Peel: What template did you test with? The formatting of the inserted template text is left up to individual templates to define in their TemplateData: they can either be 'inline' (no new lines), 'block' (all parameters on their own lines), or a custom format. The one you're testing may well be adding its own new line at the end. Sam Wilson 22:46, 19 March 2018 (UTC)
@Samwilson: That may well be it. I don't use TemplateData since it doesn't support Wikidata mapping. The template I tried it with is en:Template:Infobox telescope, where the formatting is 'unspecified'. Thanks. Mike Peel (talk) 22:56, 19 March 2018 (UTC)
@Mike Peel: It looks like wikipedia:Template:Infobox_telescope/doc#Template_Data uses 'block' formatting, which adds a newline after every parameter value and puts the closing }} on its own line, even if there are no parameters. This is also how the template inserter in VisualEditor does it. I reckon it'd make sense for TemplateWizard to revert to 'inline' formatting when there are no parameters; @NKohli (WMF): what do you think? Sam Wilson 00:20, 20 March 2018 (UTC)

Enabled or disabled by default?[edit]

Can the wizard feature be enabled or disabled by default? I've been wiki-coding instead for anything, like template transcluding (if not writing). I don't know how many people would enable or disable the feature, but I would predict 5,000+ or 10,000+ enabling the feature, compared to other gadgets/features. The change from "Infobox wizard" to "Template wizard" seems to make itself more like a successor to ProveIt, isn't it? --George Ho (talk) 19:30, 17 March 2018 (UTC)

I don't have a lot of experience with ProveIt but that's for reference templates only, correct? This will work for all templates which have TemplateData tags, which most templates on major projects do. We were planning to enable it by default for everyone because there's not much of a cost to doing that, in terms of JavaScript being added. It will live as an icon on WikiEditor toolbar. How does that sound? Is there a case for not making it enabled by default? Note that VE has its own inbuilt version of this which you might have seen under the "Insert" menu. -- NKohli (WMF) (talk) 20:17, 17 March 2018 (UTC)
Not related to the Template wizard, but I have disabled Enhanced Toolbox for months because I've never used any buttons other than the signature button. Since I disabled Enhanced Toolbox in many wiki projects, I have instead used the other signature button containing ~~~~ (tildes). Back to the subject, I've never experienced Infobox/Template wizard; I've never used VisualEditor for it's too buggy and in still the beta/experiment version. Even when the consensus favors adding the feature, they didn't say enable it by default. However, being technically and/or financially inexpensive is an inadequate reason for enabling it by default.

I have a case for not enabling it by default. Doing so without knowing how many would enable the wizard is too soon and contrary to what the community wants and/or needs. Does the consensus/community want the wizard enabled by default? That's something that you should ask the communities first, including English Wikipedia community, before enabling it by default. Otherwise, first, once implemented, we should figure out the statistics of enabling it if disabled by default. If the numbers are good enough, then enabling the wizard by default can be considered.

Furthermore, the infobox debates have been subject to ArbCom cases, like one ongoing. This proves that communities are divided over infoboxes for years.

As for ProveIt, 15,000+ currently enable the gadget; in addition, 1000+ users enable the classic version of ProveIt. On the contrary, there are 1.4 million+ autoconfirmed users and almost 40,000+ extended-confirmed users, including active and very active editors. Well, ProveIt gadget is undoubtedly useful, but not everyone else uses and/or enables it. Same could be said for the wizard, especially if it can include other templates, like reference templates.

By the way, the change from "Infobox wizard" to "Template wizard" was a surprise (to me). I'm unsure whether the community approves the recent change, but I don't mind the scope expansion. --George Ho (talk) 21:11, 17 March 2018 (UTC)

Almost forgot another case to not enabling the wizard by default: the wizard can be prone to vandalism and other unproductive edits, especially by IP users. Even reverts won't disregard this case; rather they enhance this reason to not enable it. --George Ho (talk) 21:34, 17 March 2018 (UTC)

Thanks for your input, George Ho. We will put out a call for feedback next week on village pumps for major projects and I can include a question about whether the feature should be default. If we don't get a lot of feedback, we can consider making it a preference or a beta feature. The feature is an extension (not a gadget), hence it's possible to do that. The gadget version is just to let people try it out. Technically speaking, it did not take any extra work to expand scope to all templates instead of just infoboxes. If people don't want to use it for other templates, they can choose not to. I will make sure to clarify that and invite feedback on that as well. Did you get a chance to try it out yet? I'd like your feedback on the feature too, if possible. Thanks! -- NKohli (WMF) (talk) 22:06, 17 March 2018 (UTC)
I haven't tried the feature yet; to enable the feature, I must enable the Toolbar first because it's a technical requirement to use the feature. Because I disabled the Toolbars, id est switching back to 2003 WikiEditor, I may not be able to use the wizard or ProveIt. Nevertheless, I saw the screenshots and would conclude that the wizard has a decent graphical user interface and may have usefulness but (to me) is no substitute to improve human skill of source wiki-writing. In my opinion, having some experience with ProveIt, filling in the bars in the ProveIt gadget to complete one reference consumes more time (i.e. seconds or minutes) than writing a source code of references. Id est writing a code is faster than a wizard. --George Ho (talk) 22:37, 17 March 2018 (UTC); unstruck, 23:20, 18 March 2018 (UTC); self-corrected, 02:49, 19 March 2018 (UTC)
Oh, wait. That's when it would be used as part of (non-Beta) Preferences. User script I haven't used yet. I think screenshots are adequate enough for me to judge. But forgot to say "you're welcome" for thanking me :). And thanks for planning a feedback. --George Ho (talk) 22:47, 17 March 2018 (UTC); edited, 22:51, 17 March 2018 (UTC)
Now I'm unsure whether it'll work in the 2003 WikiEditor. --George Ho (talk) 23:20, 18 March 2018 (UTC) As confirmed, it doesn't work in the 2003 WikiEditor. This is my proof (I hope). --George Ho (talk) 23:43, 18 March 2018 (UTC)
I re-enabled the Toolbar, reinserted the javascript code, and tested the gadget out with the 2010 WikiEditor. Here's my experience with the gadget: Whenever I hover around the "info" ("i") icon, the content blinks; whenever I move the cursor out of the icon, the content blinks again. That could be a bug issue. Moreover, the wizard says that it doesn't collect information of templates that lack TemplateData, like w:Template:Infobox character; therefore, a user would have to add a template manually. Oh, by the way, any version of ProveIt still works in the 2003 WikiEditor without needing the toolbar. --George Ho (talk) 02:49, 19 March 2018 (UTC)
Thanks for giving it a try, George Ho. I appreciate you taking out the time to do that. About the content blinking - can you tell me which browser are you using (with the browser version, if possible)? TemplateData is absolutely essentially for the software to understand the template. It is very simple to add the templatedata tags to an existing template. I see this feature as an opportunity to let people know about it so they can help add those tags.
About using it without the toolbar - can you explain a bit more about how you think it will work without the icon to bring it up? The icon in the toolbar is used for "activating" the wizard. Thanks -- NKohli (WMF) (talk) 20:22, 19 March 2018 (UTC)
For the content blinking, the icons I mentioned are the ones seen at File:TemplateWizard extension 02.png. I used Google Chrome v65 on Windows 7 and experienced blinking (haven't tried Opera and Firefox yet). However, I didn't have similar experience when using Windows 10 in both Google Chrome v65 and Firefox v59, both latest versions. Indeed, no blinking (yet). I'll try this at Windows 8 soon. --George Ho (talk) 20:39, 19 March 2018 (UTC)
Update: I tested the feature out at Windows 8, and I've not seen content blinking in Google Chrome 65, Firefox 59, and IE11. Nevertheless, at IE11, when I tried to insert the template, the response is too slow, but the wizard works at Chrome and Firefox. Unsure about Microsoft Edge as the public computers still have the older versions and as I don't have Windows 10 yet. --George Ho (talk) 21:00, 19 March 2018 (UTC)
Hmm... I don't know whether using it w/o a toolbar is possible. However, putting it in the toolbar would mean letting the wizard be possibly misused and/or abused. Moreover, that would mean enabling the toolbar to enable the feature before disabling the toolbar without disabling the feature. Moreover, the 2006 editor doesn't have that "template wizard" button because probably technically its toolbar is less advanced than the 2010 editor. --George Ho (talk) 20:39, 19 March 2018 (UTC); partially struck, 23:50, 19 March 2018 (UTC)
Further comment: Enabling the feature without the toolbar would be possible; however, if so, the feature would be visually distracting when enabled, like the ProveIt gadget has been when seen at the lower-right corner. --George Ho (talk) 21:00, 19 March 2018 (UTC)
On second thought, even with or without the toolbar, the feature would be potentially misused, especially if given to IP users by default. --George Ho (talk) 23:50, 19 March 2018 (UTC)

┌────────────────┘
I was curious about 2017 WikiEditor and then gave it a shot. I think I was either amazed or amused by it; indeed, I didn't need to enable a Toolbar to switch between the 2003 WikiEditor and the 2017 WikiEditor. By the way, I retried the Template wizard on 2017 WikiEditor at both Google Chrome and IE11 on Windows 7. The wizard works at both browsers when using 2017 WikiEditor. I may not say the same for the wizard at 2010 WikiEditor; I figured it could be buggy at 2010 WE in IE11, but I'm not yet 100% sure. --George Ho (talk) 05:30, 22 March 2018 (UTC)

I got a message on my talk page "The Wishlist Team would love it if you could take a few minutes to try the Template Wizard prototype script out and give us feedback on whether it lives up to your expectations. This feedback will help build the script into an extension. To get started, add the following to your Special:MyPage/common.js -" I don't know where my Special:MyPage is and don't want to even try. I think I represent a high-level, native English user who is not an IT specialist. I wouldn't know where to start with the Template Wizard. I think only people who know what they are doing should have access to it. So many people can't even categorize their images correctly. Downtowngal (talk) 21:01, 2 April 2018 (UTC)
@Downtowngal: The message on your talk page linked to your common.js page. You'll find it here: Special:MyPage/common.js. But that is alright. This is only a prototype. The final version will be much more easily accessible. -- NKohli (WMF) (talk) 21:47, 4 April 2018 (UTC)
  • @George Ho: the 2003 editor is being phased out anyway, so I don’t really understand why are you seem to be so interested in getting developers to support it. It is not developed anymore, it is not supported anymore, so it is not a blocker for potentially useful tool to be enabled by default without it working in a legacy editor that is planned to be removed sooner or later. If this gadget can replace ProveIt and provide VE-like experience in adding filled references in the future, then more power to the developers of this feature. stjn[ru] 19:42, 4 April 2018 (UTC)
I didn't use the Toolbar very much except for signing my posts and all that. Moreover, I hadn't used toolbar buttons to add tables, bold text, or anything else. Therefore, I disabled it for months. Personally, I found the toolbar to be visually distracting, but... I guess it's commonly used. --George Ho (talk) 19:47, 4 April 2018 (UTC)
I really hope that the 2003 editor will never be phased out. It’s the only editor which works without JavaScript; in fact, this editor loads instead of WikiEditor when no JavaScript is available. You’re speaking about the 2006 editor. I think, however, that this gadget (or whatever it is) doesn’t have to support the 2003 editor. I only use the search & replace feature of the WikiEditor toolbar—should I complain about that not being available without the toolbar enabled? No, I think if someone wants an editing feature button to be available, they should enable a toolbar. I did so. If you really hate it, I believe that you belong to a minority, and you need a user script that places the button wherever you want. —Tacsipacsi (talk) 18:08, 5 April 2018 (UTC)

Weeks later, I have decided to re-blank my Common.js page. IMHO, it should be disabled by default, especially to IP users. I either don't use it very often or seldom use it. Personally, I am more efficient on manually adding templates by wikicoding and prefer it that way; I find myself consuming less time on correct wikicoding than TemplateWizard. Also, I still hold a view that the Wizard is prone to misuse. Nevertheless, I would like it featured for older, pre-2010 wikitext editors (but disabled by default) because either I don't find the toolbar necessary or the button is currently not working well in IE11 (phab:T191194). --George Ho (talk) 20:18, 19 April 2018 (UTC)

@Ms. Kohli: What happened to the planned discussion as you planned two months ago? --George Ho (talk) 19:26, 15 May 2018 (UTC)

Hi George Ho. We reached out to everyone who participated in the wishlist survey and invited them to provide their thoughts on this feature. We haven't heard anyone's opinion about whether this should be enabled or disabled by default, however. We got some responses as a result of that outreach (as you can see further down on this page). We will ask for another round of feedback once the redesign is complete and available for people to see on the test wikis. Is there something I missed? Thanks. -- NKohli (WMF) (talk) 21:48, 15 May 2018 (UTC)

Infoboxes[edit]

I have just tested the “Template wizard” on the Polish Wikipedia, and it seems to be working fine (and it is really useful!). The only (minor) problem is that it is customary in the Polish Wikipedia to insert the full infobox, including all parameters even those which remain unfilled (this way they can be filled during later editions, and everyone can see which parameters are still to be filled). Now, when I use the “Template wizard”, only the filled parameters are inserted into the article, which shortens considerably the infobox. I have realised that putting a space into every parameter of the infobox will give the expected result (the whole infobox is inserted into the article), but this is somewhat wearisome. Can this be solved easily? Maitake (talk) 05:23, 29 March 2018 (UTC)

Hi, Maitake. You can also try to report errors or bugs at the Phabricator. --George Ho (talk) 15:03, 29 March 2018 (UTC)
  • @George Ho: Thank you for your advice, but I am afraid this is neither an error nor a bug, but the intended behaviour. That is why I preferred to report it here. (Not to mention that I have absolutely no idea how the Phabricator works and how to report anything there, and I don’t think I would like to know, I’m too lazy for that.) Maitake (talk) 15:23, 29 March 2018 (UTC)
Oh... I re-read the whole OP and realized that I must have misread it. I believe that inserting short template codes may be intended as filling in empty parameters without intending to fill them in would be annoying... methinks? I sometimes put some empty parameters in... just relevant ones. The rest of parameters I think may be unnecessary for any certain topic. But the wizard is no substitute for advanced human skill. I prefer writing codes. :) --George Ho (talk) 15:42, 29 March 2018 (UTC) Oh, and I neither work for nor am affiliated with WMF. --George Ho (talk) 15:43, 29 March 2018 (UTC)
@Maitake: you're right, this is the intended functionality so far. Firstly, that is a great custom (to insert the entire infobox). We have had a similar concern from Wikisource and are thinking about a good way to do this. We can potentially have a checkbox in front of fields to let user pick the fields they want insert along with a checkbox to select all fields. Does that sound like something that will work? Do you have any other ideas? -- NKohli (WMF) (talk) 17:34, 29 March 2018 (UTC)
  • @NKohli (WMF): thank you very much for your answer. Yes, I think a checkbox, especially one for selecting all fields, would solve the question. Of course, a checkbox that would remember the previous selection (i.e. a checkbox that would stay checked or unchecked permanently) would be even better. Or, if this is supposed to be a gadget turned on and off in the Preferences, then perhaps an extra checkbox there, with the same functioning. I hope I explained it clearly enough. Maitake (talk) 22:14, 29 March 2018 (UTC)
    • I was wondering about this too. I think an extra checkbox and then a select-all one at the top might make the form a bit crowded and hard for people to follow who don't know what that's about. But it totally makes sense, and would be great to have a way to insert blank parameter values. I did wonder about maybe using the common /preload> subpage that lots of templates have (although it's not a standard, it is pretty widely used I think, and could easily be localized), and having a button in TemplateWizard that lets you insert just the template preload without filling any of its parameters. Sam Wilson 22:22, 29 March 2018 (UTC)
Maitake, Samwilson, what about this -

TemplateWizard with checkboxes to pick and choose fields wanted -- NKohli (WMF) (talk) 00:16, 3 April 2018 (UTC)

  • I don’t know about the conditions in Polish Wikipedia, but the simpler solution would be to insert full template with parameters with block model and insert only used parameters with inline model. That would be more than enough to cover absolute majority of cases for most projects without bringing additional complexity to the interface. stjn[ru] 19:42, 4 April 2018 (UTC)
@Saint Johann: while that seems to be true for all cases I have seen, I don't want to assume that it holds true for all projects. It's possible that certain language wikis follow a different model and doing this might not work for them. -- NKohli (WMF) (talk) 18:21, 11 April 2018 (UTC)
I very much like NKohlis idea to make it possible to insert empty parameters by clicking a checkbox beneath the parameter. It wold be great if something like this could be realized. One would be able to select those parameters one can't fill, but one would like to be filled, and could leave out those parameters which are irrelevant or would be false in the particular case. --X black X (talk) 23:42, 29 April 2018 (UTC)

Confused[edit]

I added the appropriate to code to me en.wiki common.js, however, the visual editor looks and operates the exact same. Teh puzzle icon with the search for templates still exists and doesn't appear to be different. Thanks, enL3X1 ¡‹delayed reaction›¡ 13:14, 29 March 2018 (UTC)

@L3X1: the Template Wizard script is built for the 2010 Wikitext editor. To use it on the English Wikipedia, you'll need to disable the 2017 Wikitext editor if you have it enabled, and use source editing. Keegan (WMF) (talk) 16:46, 29 March 2018 (UTC)
Keegan (WMF) Ah, I found it now, silly me. It works ok and will make source editing a bit easier for me. Thanks, enL3X1 ¡‹delayed reaction›¡ 17:13, 29 March 2018 (UTC)
Thanks for the feedback, L3X1. -- NKohli (WMF) (talk) 17:35, 29 March 2018 (UTC)

Malformed parameters and editing already-inserted templates[edit]

I just gave the gadget a quick try, and I have two comments:

  • Malformed parameters are discarded. No question, no chance to fix them, just a little red border around the input field while editing. I actually found this (IMO) bug because a reference template’s ISBN parameter was marked as a number. To worsen the case, the book had an ISBN-10 with an X check digit, so there was no way to format it as a number. So I left it as it was, clicked “Insert” – and it disappeared! VisualEditor silently inserts the bad parameter (no surprise for the number, because it doesn’t check number format, but also for example a URL). That is not ideal either, I think there should be a popup asking if I want to fix it or insert as it is.
  • Templates cannot be edited once inserted. If I forgot a parameter, I can rewrite the whole template or look up the template documentation and find the parameter’s name, format etc., as if there were no gadget. TemplateMaster can handle this situation.

Tacsipacsi (talk) 15:05, 30 March 2018 (UTC)

Hi Tacsipacsi. Thanks for your feedback. For the first issue you mention, I have filed task T191264 for it. For the second one, I don't think there's a straightforward way for us to handle that, unfortunately. Parsing wikitext is a big problem and it gets maginified when things like wikEd and CodeMirror modify the DOM. I will look into TemplateMaster and see if we can replicate its solution. Thanks for bringing it up. -- NKohli (WMF) (talk) 23:52, 2 April 2018 (UTC)
Perhaps you could also find some ideas for editing already inserted templates in the w:de:Wikipedia_Diskussion:Technik/Skin/Gadgets/Vorlagenmeister. If you put the cursor into a inserted template and then click on the Vorlagenmeister button, it loads the values of this template (works only for one template per edit). (If one uses the w:User:Cacycle/wikEd, only the first template in the text can be worked on.) --X black X (talk) 23:42, 29 April 2018 (UTC)

Possibility edit for template already inserted[edit]

Hello,

Primary, very thanks for this functionality.

I tested the script on frwiki, is correct functionally.

3 improvements :

  • Possibility for edit template already inserted, very important.
  • This data "example" provided in TemplateData are not displayed (tested with template fr:Modèle:Infobox Aéroport).
  • Unfilled parameters, but marked as "suggested" are not automatically inserted into the code, unlike the Visual Editor. It would be nice to insert them automatically for later completion.

Thanks for this work.

(sorry for my bad english)

--Tractopelle-jaune (talk) 20:22, 2 April 2018 (UTC)

Thanks for your feedback, Tractopelle-jaune. About the three improvements you suggest:
  • For editing already inserted template - it is a little difficult. We will try to implement this.
  • For showing example, great point! I filed ticket for doing this - task T191968.
  • For inserting parameters which may not be filled, see discussion above. I will be happy to hear your thoughts on the solution proposed there. Thank you. -- NKohli (WMF) (talk) 00:43, 3 April 2018 (UTC)

Vorlagenmeister[edit]

Seems very similar to Vorlagenmeister, just wondering whether those efforts are coordinated. --Tgr (talk) 11:46, 3 April 2018 (UTC)

I was not aware of the existence of TemplateMaster until Tacsipacsi pointed it out above. Looking at the code, it seems like most of it is from 2009. We'll be looking at it some more to see if we can incorporate some of the features it has in TemplateWizard. -- NKohli (WMF) (talk) 20:28, 3 April 2018 (UTC)

Inserting dates[edit]

Should the calendar system/method/tool be the only method to insert dates? Why not allow users to manually insert dates with a "pencil" icon selected? It's been used for Commons's c:Special:UploadWizard as alternative to the calendar tool. Also, a nonexistent undefined=YYYY-MM-DD is inserted while using the calendar tool. --George Ho (talk) 05:46, 16 April 2018 (UTC)

@George Ho: I think this bug has been fixed in the extension version of TemplateWizard. Could you please try to reproduce it on the CommTech wiki? That's got the most up to date code. As for date-formatting, I think you're right and it should allow freeform date entry as well. I can't find anything saying that the date type should always and only be in the system format (don't know if I'm looking wrongly though). I guess templates who want other sorts of dates just don't define those parameters as dates, but perhaps they could. Sam Wilson 10:00, 16 April 2018 (UTC)
Isn't the website for just WMF CommTech team? Also, it's not been edited within the last seven days. But thanks for letting me know about the extension version. --George Ho (talk) 18:23, 16 April 2018 (UTC)
It seems to work for me. (Registration is not needed for editing, so I could test it with the preview.) The TemplateData documentation states, though, that date values should use the ISO date/time format, so if the templates needs another format, it should not use the date data type. —Tacsipacsi (talk) 18:27, 16 April 2018 (UTC)


Design update[edit]

Hi all. We decided to update the design to allow for users to pick and choose which fields they want to add. This came up in the feedback we got above by Tractopelle-jaune and Maitake. You can read about it and see some mocks we made: on the project page. Keen to hear what you all think Tacsipacsi, Mike Peel, George Ho, L3X1, Saint Johann, TheDJ. Does it make the UI more intuitive? Anything you'd like to see changed? Thanks so much. -- NKohli (WMF) (talk) 22:44, 23 April 2018 (UTC)

Here's an Invision mockup for what the feature will look like. You can cycle through it by using the left and right arrow keys on your keyboard or click on the objects it prompts you to click on. It's been made to show what clicking on different actions will result into but it's not a fully functioning mockup so you won't be able to search for new templates or click on everything. I hope you'll take a look and give your feedback. Thanks! -- NKohli (WMF) (talk) 20:00, 26 April 2018 (UTC)
  • Yes, that’s better than initial mockup that was on this talk page. I would probably guess though that template wizard on the mockups looks a little too small. stjn[ru] 16:21, 27 April 2018 (UTC)
  • It looks nice, although there are quite a few icons there now, maybe try to minimise those if possible as they add to the clutter. In particular, consider only having one dustbin icon per value, and consider using a minus symbol instead to match the plus symbol, and maybe have the info display when hovering over the name rather than with a separate (i). Thanks. Mike Peel (talk) 23:40, 27 April 2018 (UTC)
Good points. We did reduce the icons and changed the plus to minus symbols (see the interactive mockups). I didn't get time to update the screenshots yet. Having the info icon appear on hover is problematic for mobile phone users where there's no gesture for hovering. That's why we try to avoid actions on hover as much as possible. The information will appear in a popup when the info icon is clicked on. Like it does with the user script prototype we put out earlier. Thanks for your feedback. Much appreciated. -- NKohli (WMF) (talk) 03:40, 28 April 2018 (UTC)

Integration with Wikidata?[edit]

The Wikidata team has been working on d:Wikidata:Client editing prototype (pinging @Lea Lacroix (WMDE) and Charlie Kritschmar (WMDE)). There's a lot of overlap between these two tools, how will they interact? Thanks. Mike Peel (talk) 23:44, 27 April 2018 (UTC)

Wow, they do indeed look similar. I wonder if we can integrate them into one. I will ping Lea and Charlie over email to see where they are at development-wise and if there's scope to combine the two tools. Thanks for bringing it up, Mike Peel. -- NKohli (WMF) (talk)

In combination with the Beta feature "syntax highlighting", using Template wizard breaks the preview and the show-changes-feature[edit]

If I have activated the Beta feature "syntax highlighting" (metawiki:Community Tech/Wikitext editor syntax highlighting, phab:T101246, mediawikiwiki:Extension talk:CodeMirror) and use w:User:Samwilson/TemplateWizard.js to insert a template, afterwards a click on the button "preview" or the button "show changes" has no effect, so the preview and the show-changes-feature don't work any more. --X black X (talk) 00:30, 30 April 2018 (UTC)

I was using both Meta and en.WP at Google Chrome v66 on Windows 7. Both features work fine together for me, X black X. Which browser, OS, and wiki please? What are other specifics? IE11 has issues with the newer CodeMirror feature (phab:T190983); I wonder whether you were using IE11. Thanks. George Ho (talk) 05:58, 30 April 2018 (UTC); edited, 06:00, 30 April 2018 (UTC)
The problem doesn't appear any more. Last night it was replicable, today it is not. Perhaps it was due to some maintenance operations. If I notice the problem again, I'll write again. --X black X (talk) 09:57, 30 April 2018 (UTC), updated 13:06, 30 April 2018 (UTC)