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

Content deleted Content added
MiszaBot II (talk | contribs)
m Robot: Archiving 2 threads from Template talk:WPBannerMeta.
MiszaBot II (talk | contribs)
m Robot: Archiving 2 threads from Template talk:WPBannerMeta.
Line 725:
:::If a taskforce was needed for each parliamentary constituency then something custom could be written rather than using the standard taskforce hook template. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 21:34, 8 September 2012 (UTC)
::::Thank you both for the replies. Just brainstorming a list of potential sub-topics for the project I can only come up with 30 distinct areas, so it sounds like we have plenty of capacity. However I expect most of those sub-topics will never get to stage of having their own task force. I'll take a closer look at those suggested banners if I need to add the hook code. [[User:Road Wizard|Road Wizard]] ([[User talk:Road Wizard|talk]]) 21:42, 8 September 2012 (UTC)
== Taskforce parameter syntax ==
 
At present the syntax for a taskforce is:
: <code>[taskforce name] = yes</code>
 
I would like to see it changed to:
: <code>taskforce = [taskforce name] </code>
 
The latter is more intuitive for new editors.
 
The old syntax may have to be retained? Is all this feasible? -- [[User:Alan Liefting|Alan Liefting]] ([[User_talk:Alan_Liefting|talk]] - [[Special:Contributions/Alan_Liefting|contribs]]) 21:14, 8 September 2012 (UTC)
 
:There are banners that have more than one taskforce enabled at once, so would also need
:: <code>taskforce2 = [taskforce name] </code>
:: <code>taskforce3 = [taskforce name] </code>
:: <code>taskforce4 = [taskforce name] </code>
:: <code>taskforce5 = [taskforce name] </code>
:The old syntax would have to be retained, not may. It's all possible to implement but would probably need discussing somewhere more visible first if it were to be configured on all banners. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 21:27, 8 September 2012 (UTC)
 
:::Would also need corresponding params for importance for those taskforces that assess importance independantly. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 21:30, 8 September 2012 (UTC)
::: <code>taskforce-importance = value </code>
::: <code>taskforce2-importance = value </code>
::: <code>taskforce3-importance = value </code>
::: <code>taskforce4-importance = value </code>
::: <code>taskforce5-importance = value </code>
 
::So it is feasible? Also, if the new method is adopted I would like the current syntax to eventually be deprecated. -- [[User:Alan Liefting|Alan Liefting]] ([[User_talk:Alan_Liefting|talk]] - [[Special:Contributions/Alan_Liefting|contribs]]) 21:56, 8 September 2012 (UTC)
 
::I think the current syntax is probably clearer than what is proposed. It may make sense for projects with mutually exclusive task forces, but this is not usually the case. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 16:46, 10 September 2012 (UTC)
 
:::Please don't do this. WikiProject US has like 90+ subprojects all using the same banner and this new code would make that impossible and or a complete nightmare to update. A lot of other projects are similar like Canada, Milhist and others all have a lot of taskforces. [[User:Kumioko|Kumioko]] ([[User talk:Kumioko|talk]]) 16:52, 10 September 2012 (UTC)
 
::::Martin, whta prompted me to propose this change is that creating <code><nowiki>{{WikiProject Africa|Nigeria=yes}}</nowiki></code> is completely counter-intuitive. <code><nowiki>{{WikiProject Africa|taskforce=Nigeria}}</nowiki></code> seems better to me. -- [[User:Alan Liefting|Alan Liefting]] ([[User_talk:Alan_Liefting|talk]] - [[Special:Contributions/Alan_Liefting|contribs]]) 20:49, 17 September 2012 (UTC)
 
::::Kumioko, if both formats are used it is not an issue. Also if the current format could be deprecated and a bot could make the tedious and extensive changes to the proposed format. -- [[User:Alan Liefting|Alan Liefting]] ([[User_talk:Alan_Liefting|talk]] - [[Special:Contributions/Alan_Liefting|contribs]]) 20:49, 17 September 2012 (UTC)
:::::Why is <code><nowiki>{{WikiProject Africa|Nigeria=yes}}</nowiki></code> completely counter-intuitive? To me, this is saying "yes, this is related to Nigeria". Besides, it's the same technique as is used for virtually every other taskforce or subproject in virtually all WikiProject banners (I say "virtually", because I can't prove 100%: but I don't recall seeing it done any other way). For example, {{tlx|WikiProject Trains}} allows {{para|stations|yes}}, {{para|locos|yes}}, and many others, meaning "yes, this is related to stations", "... to locomotives", etc. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 21:26, 17 September 2012 (UTC)
 
::::::IMHO {{para|taskforce|Trains}} and {{para|taskforce|Stations}} would be better for newbies. -- [[User:Alan Liefting|Alan Liefting]] ([[User_talk:Alan_Liefting|talk]] - [[Special:Contributions/Alan_Liefting|contribs]]) 00:46, 19 September 2012 (UTC)
I think it is worth reiterating the point made by WOSlinker above, that would make this system less intuitive than you might think. Suppose we had an article related to Nigeria and Cameroon, of high importance to the former, but low importance to the latter. Under the current system, you would enter the following:
<pre>{{WikiProject Africa|Nigeria=yes|Nigeria-importance=high|Cameroon=yes|Cameroon-importance=low}}</pre>
which is fairly clear. However, under the proposed system, this would become:
<pre>{{WikiProject Africa|taskforce=Nigeria|taskforce-importance=high|taskforce2=Cameroon|taskforce2-importance=low}}</pre>
It is now not as clear that the "high" is related to Nigeria, and the "low" is related to Cameroon. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 09:05, 19 September 2012 (UTC)
 
== Taskforce portals ==
 
I notice that the recognised parameters for the five "main" taskforces are not the same as those for those provided via {{tlx|WPBannerMeta/hooks/taskforces}}. Ignoring the permitted number of taskforces (5 vs 10), I've found that {{tlx|WPBannerMeta}} doesn't recognise {{para|TF_1_PORTAL}}. This has come to light because {{diff|Template:WikiProject Novels|prev|517453725|this edit}} only added two portal boxes, not the expected three. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 19:50, 12 October 2012 (UTC)
:The TF PORTAL params are only support through the hook mechnism. As to reason why, I'm not sure. But I've fixed it by stopping to use the 5 builtin ones and adding more hooks. See [//en.wikipedia.org/w/index.php?title=Template:WikiProject_Novels&diff=517459238&oldid=517453725 this edit]. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 20:16, 12 October 2012 (UTC)