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

Content deleted Content added
MiszaBot II (talk | contribs)
m Archiving 1 thread(s) from Template talk:WPBannerMeta.
 
MiszaBot II (talk | contribs)
m Archiving 2 thread(s) from Template talk:WPBannerMeta.
Line 19:
 
Never mind. It's because it transcludes [[Wikipedia:WikiProject Amateur radio/To Do List]]. —[[User:Paul A|Paul A]] ([[User talk:Paul A|talk]]) 09:03, 9 July 2009 (UTC)
== SHOW? ==
 
The hook {{tl|WPBannerMeta/hooks/priorityscale}} has a SHOW option, but I don't see what it does. I've set it to No, but I didn't see a change. Due to confusion regarding "importance", we're trying to transition to "priority", but would also like to hide the priority if no priority is defined. [[User:Morphh|<span style="color:green">Morphh</span>]] <sup>[[user talk:Morphh|<span style="color:chocolate">(talk)</span>]]</sup> <small><i>12:19, 09 July 2009 (UTC)</i></small>
:It's an internal parameter, which shouldn't have been exposed. I'm not sure why you'd want to hide the scale if it's not been set (it automatically hides itself on non-articles, but surely if no priority has been assigned, that's an issue that needs to be resolved?); but you can achieve it with something like this:
<pre>
|HOOK_ASSESS = {{#if: {{WPBannerMeta/importance|{{{priority|}}}|{{{class|}}}}}
|{{WPBannerMeta/hooks/priorityscale
...
}}
|{{WPBannerMeta/hooks/cats
|category={{{category|¬}}}
|cat 1 = yes
|CAT_1 = Unknown-priority Tulips articles
}}
}}
</pre>
:That will display the priority rating if one is set, or just add the category otherwise. Hope this helps, <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 12:36, 9 July 2009 (UTC)
 
:Thanks. I'm going to get clarification on what the project wants to do with the hiding as you make a very good point. Perhaps they want to hide it after it is assigned. Editors are getting into too many disputes over the "importance" of an article, so we're trying to make it more apparent that this is only a project priority. [[User:Morphh|<span style="color:green">Morphh</span>]] <sup>[[user talk:Morphh|<span style="color:chocolate">(talk)</span>]]</sup> <small><i>12:58, 09 July 2009 (UTC)</i></small>
== qualimpintersect ==
 
This quality / importance intersect template {{tl|WPBannerMeta/hooks/qualimpintersect}} does not have the ability to configure it for "Priority". Perhaps someone could fix. Thanks, [[User:Morphh|<span style="color:green">Morphh</span>]] <sup>[[user talk:Morphh|<span style="color:chocolate">(talk)</span>]]</sup> <small><i>1:56, 10 July 2009 (UTC)</i></small>
 
:It does, although the docs don't quite show it. Just set {{para|IMPN|priority}} -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 05:36, 10 July 2009 (UTC)
 
::Ok, this worked on the article itself, but for some reason none of the articles are updating the categories. For example, if you go to [[Talk:Economics]], which shows [[:Category:B-Class, Top-priority Economics articles]] at the bottom, but when you click it, it is not in that category. It's still in the [[:Category:B-Class, Top-importance Economics articles]]. I've waited approx 24 hours, thinking maybe a bot would move it, but nothing has changed. They only seem to move if someone edits the talk page of the article. [[User:Morphh|<span style="color:green">Morphh</span>]] <sup>[[user talk:Morphh|<span style="color:chocolate">(talk)</span>]]</sup> <small><i>11:58, 11 July 2009 (UTC)</i></small>
:::You'll just have to wait for the [[help:job queue|job queue]] to catch up. Yes, any edit to the page (including a [[wp:null edit|null edit]]) will force recategorisation. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 13:30, 11 July 2009 (UTC)