Content deleted Content added
m Archiving 1 discussion(s) from Module talk:WikiProject banner) (bot |
m Archiving 1 discussion(s) from Module talk:WikiProject banner) (bot |
||
Line 803:
This is fine by me. My concern was articles being marked as unassessed when they were not. I think at redirect and disambig should be standard grades, but that a a debate for another place and time. [[User:Hawkeye7|<span style="color:#800082">Hawkeye7</span>]] [[User_talk:Hawkeye7|<span style="font-size:80%">(discuss)</span>]] 21:00, 1 March 2024 (UTC)
==Discussion about centralizing TemplateData for WikiProject banners==
[[File:Symbol watching blue lashes high contrast.svg|25px|link=|alt=]] You are invited to join the discussion at [[:User talk:Evad37/rater.js#Aliases|User talk:Evad37/rater.js § Aliases]]. <span style="border:3px outset;border-radius:8pt 0;padding:1px 5px;background:linear-gradient(6rad,#86c,#2b9)">[[User:Sdkb|<span style="color:#FFF;text-decoration:inherit;font:100% Lucida Sans">Sdkb</span>]]</span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 17:50, 14 February 2024 (UTC)<!-- [[Template:Please see]] -->
:Not sure why Izno said it was impossible. I have made central documentation for a different module (see [[Module:Wikidata_table#L-650]]) that includes TemplateData for all its wrappers, and that seems to work well. Don't see why it couldn't be done here too — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 20:08, 14 February 2024 (UTC)
::Please respond at the original discussion, per [[WP:TALKFORK]]. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 04:11, 16 February 2024 (UTC)
:::It's a user talk page. Fine for brainstorming ideas, but if you want to progress anything then this is the page for that discussion ): — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 14:51, 16 February 2024 (UTC)
::::A user talk page for a widely used gadget/script. I think that page is preferable for the purposes of continuing an ongoing discussion.
::::As for why I said it was impossible, I am always happy to be proven wrong. What is certainly impossible is doing it without parsing the wikitext of the template in Lua, or a separate JSON page (at which point you might as well just plug in the TemplateData directly), or any of a variety of other things which are functionally equivalent to "you can't transclude <nowiki><templatedata></nowiki> and then extend a transclusion with the things that differ meaningfully". But now that you've split the discussion willfully, guess Sdkb will never know. :) [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 21:51, 16 February 2024 (UTC)
:::::I'm not a fan of talk forks like this, but thanks to the miracles of [[mw:Talk pages project/Notifications|modern technology]] I'm plenty aware 🙂 <span style="border:3px outset;border-radius:8pt 0;padding:1px 5px;background:linear-gradient(6rad,#86c,#2b9)">[[User:Sdkb|<span style="color:#FFF;text-decoration:inherit;font:1em Lucida Sans">Sdkb</span>]]</span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 22:19, 16 February 2024 (UTC)
:::::If you see what I did at [[Module:Wikidata table]], I think it would be very feasible to do something similar in this module. But I'm struggling to understand the purpose, because I thought TemplateData is only used by Visual Editor which is only used in mainspace, whereas this template is used on talk pages. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 23:18, 23 February 2024 (UTC)
::::::Rater appears to use TemplateData based on Ctrl + F in the minified source at [[User:Evad37/rater/app.js]]. And no, it is not solely a tool for VE. Either way, centralized TemplateData ''doesn't'' work with the actual TemplateData editor. Which may or may not be fine, but is an additional hurdle for users who might wish to modify the descriptions of certain parameters further. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 00:18, 24 February 2024 (UTC)
:::::::Yeah, adding on to Izno's reply, my understanding is that TemplateData was originally created for the VisualEditor, but that it now has other applications like the Rater script. And I'd expect further applications in the future as we create new scripts/tools, so I think it's best to always create TemplateData so that there will be machine-readable standardized information for any script/tool that wants to use it. Cheers, <span style="border:3px outset;border-radius:8pt 0;padding:1px 5px;background:linear-gradient(6rad,#86c,#2b9)">[[User:Sdkb|<span style="color:#FFF;text-decoration:inherit;font:1em Lucida Sans">Sdkb</span>]]</span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 00:33, 25 February 2024 (UTC)
::::::::I personally find it very useful to have the parameters listed in the visual editor for WikiProject banner templates. I have added several TemplateDatas to several of the documentation pages and I would love to see it implemented universally. I have no clue how to go about doing it though. [[User:It is a wonderful world|It is a wonderful world]] ([[User talk:It is a wonderful world|talk]]) 21:19, 8 March 2024 (UTC)
:::::::::As discussed above, visual editor is of no use to this template/module because it only exists on talk pages. The only use so far described, is possibly the Rater script. If there were more uses, it might make adding this more of a priority — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 20:05, 10 March 2024 (UTC)
::::::::::Apologies, when I said "visual editor", what I really meant was the "Insert a template" puzzle piece button at the top of the visual and source editor. [[User:It is a wonderful world|It is a wonderful world]] ([[User talk:It is a wonderful world|talk]]) 21:51, 10 March 2024 (UTC)
:::::::::::Ooh, the [[mw:Help:Extension:TemplateWizard]]. I can't believe I've never noticed this or used it before. Okay, I will add this task to my to-do list or perhaps someone will get to it before me — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 22:28, 10 March 2024 (UTC)
::::::::::::Thank you very much. It's not a top priority obviously but it would be nice. [[User:It is a wonderful world|It is a wonderful world]] ([[User talk:It is a wonderful world|talk]]) 06:52, 11 March 2024 (UTC)
Proof of concept: try using {{tl|WikiProject Norway/sandbox}} on a random talk page with the TemplateWizard. Only the class parameter is supported yet — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 22:18, 11 March 2024 (UTC)
:Yes, this is exactly what I was envisioning. Thank you. [[User:It is a wonderful world|It is a wonderful world]] ([[User talk:It is a wonderful world|talk]]) 05:51, 12 March 2024 (UTC)
::First iteration of this is now live. It will only work when {{para|DOC|auto}}. It can be improved further but let me know what you think so far? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 11:12, 15 March 2024 (UTC)
:::Just been testing it on WikiProject Zimbabwe and WikiProject Water Sports, and it works very well for me on both. Though, on WikiProject Zimbabwe, it has an example and information dialogue for the <code>needs-infobox</code> parameter, but not for the <code>needs-photo</code> parameter. Thank you. [[User:It is a wonderful world|It is a wonderful world]] ([[User talk:It is a wonderful world|talk]]) 13:23, 15 March 2024 (UTC)
::::Yeah it's not finished yet. You can add a description in [[Module:WikiProject banner/templatepage/sandbox#L-669|line 669]] of the code if you wish — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 16:59, 15 March 2024 (UTC)
:::Looks good. Following [[Wikipedia:TemplateData/Tutorial#Completing_the_template_data_information]] I'd change the "string" types to "line" and maybe mark the class as "deprecated" instead of "suggested" as we're moving it to the banner? [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 18:34, 15 March 2024 (UTC)
::::Both good idea and {{done}} on the sandbox. The type:line doesn't seem to make any difference to the template wizard. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 22:10, 15 March 2024 (UTC)
|