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

Content deleted Content added
MiszaBot II (talk | contribs)
m Archiving 2 thread(s) from Template talk:WPBannerMeta.
MiszaBot II (talk | contribs)
m Archiving 4 thread(s) from Template talk:WPBannerMeta.
Line 136:
MILHIST does not have an A-class checklist for its template, but we ''do'' have [[WP:MH/A]]. Articles passing an A-class nomination must pass those 5 criteria. (FAQ page is [[WP:MH/A?|here]] for the interested) —'''<font face="Script MT Bold">[[User:the_ed17|<font color="800000">Ed <font color="00008B">17]] <sup><small>[[User talk:the_ed17|<font color="800000">(Talk]] / [[Special:Contributions/the_ed17|<font color="800000">Contribs)]]</small></sup></font></font face>''' 22:21, 3 March 2009 (UTC)
*Hmm. I copied it from someone's template, so maybe it is in India's, Australia's, Film's or Africa's. I think those are the ones I've <s>stolen</s> borrowed from. [[User:Hiding|Hiding]] <small>[[User talk:Hiding|T]] </small> 10:59, 5 March 2009 (UTC)
== Category parameter = "none" ==
 
I've been thinking about allowing the parameter "none" for various category parameters to specify that no category be used. For example, COMMENTS_CAT currently allows this but AUTO_ASSESS_CAT, ATTENTION_CAT, and INFOBOX_CAT do not. I suppose it is unlikely that some of these would want to be set to "none", but I think it would be helpful to do this for consistency.
 
There is some code in the [[Template:WPBannerMeta/sandbox|sandbox]] ([http://en.wikipedia.org/w/index.php?title=Template:WPBannerMeta/sandbox&diff=275788934&oldid=275787387 diff]). Please tell me if this is a good idea and if this code will do the trick. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 12:16, 8 March 2009 (UTC)
 
:We'll need to go deeper than that, or it will just produce output like <tt>[[Category:|<nowiki>{{PAGENAME}}</nowiki>]]</tt>. But I agree it's a good idea; it's been on the todo list for aaaages. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 12:53, 8 March 2009 (UTC)
:Actually, most of these would have worked straight off. Only {{para|AUTO_ASSES_CAT}} requires any more groundwork, and that's [http://en.wikipedia.org/w/index.php?title=Template:WPBannerMeta/autoassess&diff=275801290&oldid=264270677 now done]. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 13:02, 8 March 2009 (UTC)
::Great. {{done}}. Seems to be working correctly. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 13:18, 8 March 2009 (UTC)
 
Question: would it be possible/desirable to depreciate the IMPORTANCE_SCALE parameter and just check whether the ''importance'' parameter is passed? (In the same way that AUTO_ASSESS is no longer used.) Ditto for QUALITY_SCALE. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 13:18, 8 March 2009 (UTC)
 
== Questions ==
 
A few questions, if I may:
# Is it possible to define custom text in place of "More information" when using {{para|HOOK_COLLAPSED}}?
# I thought that the meta forced a C-Class assessment if the B-Class checklist was not completed, or is this not correct? Why is this not working at [[User talk:PC78/Sandbox1]]?
# Regarding {{tl|WikiProject Korea}}, will it be possible to delete the custom mask for quality classes once all transclusions are using the standard values?
Cheers! [[User:PC78|PC78]] ([[User talk:PC78|talk]]) 18:37, 8 March 2009 (UTC)
:Answer to #1 is {{para|COLLAPSED_HEAD}} & answer to #2 is that the custom class at [[Template:WikiProject Korea/class]] does not have the code to handle the B-Class checklist included. See [[Template:WPBannerMeta/class]] for how to do it. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 18:42, 8 March 2009 (UTC)
::Ah, thanks. So presumably the answer to #3 would be no, because it will be needed to do #2. [[User:PC78|PC78]] ([[User talk:PC78|talk]]) 19:13, 8 March 2009 (UTC)
:::Actually, as long as the "Good", "D", "E", "Cate" and "Tool" classes are being removed, you should be fine; you can go back to using the standard mask, which will include the C-Class force (assuming that's what you want, of course). <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 19:28, 8 March 2009 (UTC)
::::How would I best add a tracking category for the forced assessments? By adding the same ifexpr at the end of the banner code? [[User:PC78|PC78]] ([[User talk:PC78|talk]]) 19:46, 8 March 2009 (UTC)
:Another question, in the "task force" instructions, it says that TF TEXT 1 is required, but it was left out in the original instructions. If TF NAME 1 is used, why would TF TEXT 1 be required and left blank? Thanks for the help! --[[User:Funandtrvl|Funandtrvl]] ([[User talk:Funandtrvl|talk]]) 19:39, 8 March 2009 (UTC)
::It's not really required, it's just a cunning plot to confuse you <tt>:D</tt> <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 19:45, 8 March 2009 (UTC)
:::Oh, I thought so. Thanks again for the help!! --[[User:Funandtrvl|Funandtrvl]] ([[User talk:Funandtrvl|talk]]) 19:47, 8 March 2009 (UTC)
:--Need some more help, refering to this paragraph, under "Other details": "Normal project banners, which are substituted rather than transcluded, usually show up in Category:WikiProject banners, allowing for a periodic cleanout. Banners using WPBannerMeta do not appear in this category when substituted, making it easier for them to get lost."
#What is a "normal" project banner refering to?
#If "it" gets lost, where do we find it??!!
#Shouldn't the phrase be re-worded somehow to say "Do not substitute this template"? Or am I reading this incorrectly? It is a rather vague paragraph, would like some help from someone technically-minded to re-word it. Thanks very much! --[[User:Funandtrvl|Funandtrvl]] ([[User talk:Funandtrvl|talk]]) 20:56, 8 March 2009 (UTC)
:Well, in this context I think a "normal" banner is one which does not use {{tl|WPBM}}. However WPBM-banners are rapidly becoming the norm! I suppose if it gets lost, you can't find it. Otherwise it wouldn't be lost :) I agree that this sentence is a bit confusing. I don't understand why substituted templates would normally appear in [[:Category:WikiProject banners]], because that category is generally enclosed in noinclude tags and so not included whether transcluded or substituted. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 13:07, 9 March 2009 (UTC)
 
::Waaay back in the very early versions of the documentation, it [http://en.wikipedia.org/w/index.php?title=Template:WPBannerMeta/doc&oldid=223895416 recommended] to use a template {{tlx|subst check}}, which I created for the purpose, so that accidentally-substituted templates would be neatly categorised into a cleanup category to be periodically desubsted. It took me a full three months to realise that I was actually talking complete and utter crap and that the method didn't work at all, for the obvious reason that the noincluded template wouldn't get substituted. Essentially the sentence is pretty much useless, as MSGJ notes, lost banners are just that, lost. It would be possible to get a list of substed banners by taking the list of all pages transcluding WPBM, then removing all pages transcluding each banner that's known to use WPBM; but that's quite an operation given how many pages this is used on. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 14:30, 9 March 2009 (UTC)
 
== Tracking cats ==
 
:A). On a related note, I did see the category show up about using comment parameters, so I looked at [[:Category:WPBannerMeta tracking categories]] and noticed that:
#These categories are (mostly) correctly populated: [[:Category:WPBannerMeta templates using custom classes]] and [[:Category:WPBannerMeta templates with missing assessment categories]].
#These categories are (still) not populating correctly: [[:Category:WPBannerMeta templates using obscure class values]], [[:Category:WPBannerMeta banners using comment parameters]] and [[:Category:WPBannerMeta banners using collapsed notes]].
#Would you be able to compare the differences in codes in the WPBM template that causes some tracking categories to work and others that don't? Thanks for your expert help! --[[User:Funandtrvl|Funandtrvl]] ([[User talk:Funandtrvl|talk]]) 17:01, 9 March 2009 (UTC)
::Could you explain why you think those categories are not populating correctly? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 17:03, 9 March 2009 (UTC)
:::Yes, the difference is in the namespace. The categories that are populating correctly only have templates in them, hence the cat name "WPBM banners (templates) with/using etc.", where the 3 other categories are populating every namespace, including the articles, hence the reason for 6000+ in the cats. Hope this helps... --[[User:Funandtrvl|Funandtrvl]] ([[User talk:Funandtrvl|talk]]) 17:13, 9 March 2009 (UTC)
::::The latter ones are true "tracking" categories: they are only supposed to exist for as long as it takes for us to resolve whichever issue they document. As such they deliberately cover all namespaces (hence the "banners" rather than "templates". If article pages are being tagged with WPBM banners, that is itself a Very Bad Thing and should be resolved ASAP. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 17:53, 9 March 2009 (UTC)
::Clarification, it's the "talk" pages that are populating the categories, not the article pages and one of those 3 categories in the not-populating-correctly group '''does''' use "templates" in their name, not just "banners" (eg: [[:Category:WPBannerMeta templates using obscure class values]]), so your explanation does not follow. If the tracking categories are supposed to cover all namespaces, then due to the extreme size of them, (8000+ talk pages), how could you possibly use those tracking categories to narrow down which of the WikiProject BannerMeta "templates" is causing a problem, if any? Wouldn't it be easier to just populate those categories with the templates only? Because, in their present form, they are really of no use other than to take up space. --[[User:Funandtrvl|Funandtrvl]] ([[User talk:Funandtrvl|talk]]) 18:52, 9 March 2009 (UTC)
:::Funandtrvl - these are hidden categories. If they are worrying you, you may switch of their display in your preferences ;) &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 18:55, 9 March 2009 (UTC)
:No problem, just trying to help. --[[User:Funandtrvl|Funandtrvl]] ([[User talk:Funandtrvl|talk]]) 18:58, 9 March 2009 (UTC)
 
:::''(ec)''Indeed, that's a mistake, but there's no point in renaming it given that it's only supposed to be temporary. The advantage of including all instances is that it means the categories are populated much faster; if a banner has 500 instances, then ''a'' page using that banner will appear in the category on average much faster than if only the template page would eventually appear (not least because the probability of one of those pages being edited, in which case it bypasses the job queue, is much higher). Once the template is fixed, of course, all its instances start to drain ''out'' of the category with equal speed. They do their job, which is the important thing. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 18:58, 9 March 2009 (UTC)
 
== Bug report ==
 
:Random driveby but - I don't suppose the fiddling about above has caused [[:Category:WPBannerMeta banners using comment parameters]] to be populated with thousands of pages that don't use comments and the stray "if" code seen on talk pages? [[User:Nanonic|Nanonic]] ([[User talk:Nanonic|talk]]) 15:07, 9 March 2009 (UTC)
::Yes it was one missing } I think. Reverted for now. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 15:12, 9 March 2009 (UTC)
 
Templates based on WPBannerMeta (e. g. [[:Template:WikiProject Pharmacology]]) show a weird artefact below: '''<nowiki>{{#if:|}}</nowiki>'''. Could this be due to some bug in this template? Cheers --[[User:Anypodetos|ἀνυπόδητος]] ([[User talk:Anypodetos|talk]]) 15:09, 9 March 2009 (UTC)
:Yes, see above. Should be fixed now. Thanks for reporting it, &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 15:13, 9 March 2009 (UTC)
::The problem is still present. –[[User:Holt|Holt]] <small>([[User talk:Holt|T]]•[[Special:Contributions/Holt|C]])</small> 15:24, 9 March 2009 (UTC)
:::Seems to be fixed. The templates just need purging. Thanks --[[User:Anypodetos|ἀνυπόδητος]] ([[User talk:Anypodetos|talk]]) 15:42, 9 March 2009 (UTC)
::::Right, thank you. I never thought of that. –[[User:Holt|Holt]] <small>([[User talk:Holt|T]]•[[Special:Contributions/Holt|C]])</small> 16:02, 9 March 2009 (UTC)