Module talk:WikiProject banner/Archive 13: Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) from Template talk:WPBannerMeta) (bot
PrimeBOT (talk | contribs)
Task 24: preparation for a task force merger following a TFD
Line 11:
:{{ping|Evolution and evolvability}} just wondering if my answer made any sense? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 08:10, 5 May 2020 (UTC)
::{{re|MSGJ}}. Woops, I meant to use {{para|TF_n_IMP}} rather than {{para|TF_n_QUALITY}} as the example. Because currently, if {{para|TF_n}} isn't filled in, the template will ignore {{para|TF_n_IMP}}. The template I'm working on is {{tlx|WikiProject_Molecular_Biology}}.
::Example: <code><nowiki>{{WikiProject Molecular Biology |class=Stub |importance=Low |RNA-imp=high |MCB-impimportance=low}}</nowiki></code> returns:
{{WikiProject Molecular Biology|category=no |class=Stub |importance=Low |biophysics-imp=high |genetics-impimportance=low}}
::but should really return:
{{WikiProject Molecular Biology|category=no |class=Stub |importance=Low |biophysics= foo|biophysics-imp=high |genetics=bar|genetics-impimportance=low}}
::So the query is more about whether we can automatically assume {{para|TF_n}} is yes if any of the {{para|TF_n_XYZ}} parameters are filled. [[User:Evolution and evolvability|T.Shafee(Evo<small>&#38;</small>Evo)]]<sup>[[User talk:Evolution and evolvability|talk]]</sup> 12:26, 5 May 2020 (UTC)
:::Ah, I understand your point now. Typically the only taskforce parameter that is set at the article level is the importance. So you are saying that if {{para|biophysics-imp}} is set to any value, then we should assume that {{para|biophysics|yes}}? That would be fairly simple to implement. Are there any possible side effects of doing this? What if {{para|biophysics-imp|cheesecake}}, i.e. an unrecognised value - should that trigger the taskforce as well? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 13:38, 5 May 2020 (UTC)
Line 405:
== Argh ==
 
One of my long term projects has been to turn {{tl|WikiProject Politics}} into '''[[Special:Permalink/995474531|this]]''' while preserving all the pre-existing categories. {{re|MSGJ}} Can you please help me and fix my spaghetti code? &#8211ndash;<span style="font-family:CG Times, times">[[User:MJL|<span style="color:black">MJL</span>]]&thinsp;[[User talk:MJL|‐'''Talk'''‐]]<sup>[[WP:WikiProject Connecticut|☖]]</sup></span> 06:20, 21 December 2020 (UTC)
:If I knew what you were trying to achieve then I might be able to help! &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 09:11, 21 December 2020 (UTC)
:{{ping|MJL}} what is your intention in creating [[Template:WPBannerMeta/notes/category]]? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 06:38, 3 January 2021 (UTC)
Line 429:
#:<code><nowiki>|PROJECT_STATUS = {{{PROJECT_STATUS|{{#if:{{{status|}}}|{{{status}}}|inactive}}}}}</nowiki></code>
 
This has been tested at [[Template:Inactive WikiProject banner/testcases]]. The change adds a new class to the banner which would allow users to hide inactive WikiProject at their own discretion. &#8211ndash;<span style="font-family:CG Times, times">[[User:MJL|<span style="color:black">MJL</span>]]&thinsp;[[User talk:MJL|‐'''Talk'''‐]]<sup>[[WP:WikiProject Connecticut|☖]]</sup></span> 21:03, 8 February 2021 (UTC)
 
:{{done}}, but I've added a class also for the actives also. --[[User:Izno|Izno]] ([[User talk:Izno|talk]]) 04:33, 9 February 2021 (UTC)