Module talk:WikiProject banner/Archive 9: 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 2 thread(s) from Template talk:WPBannerMeta.
Line 70:
*Hmm, we seem to have an error on [[Template:WP conlangs]]. Not sure what's going on there. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 07:28, 24 June 2010 (UTC)
*:{{fixed}}. I had forgotten to pass the new parameter from /templatepage. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 12:34, 24 June 2010 (UTC)
== Help wanted to try a new article rating method ==
 
WikiProject United States Public Policy is testing out a rating system where ratings can be assigned using a more detailed numerical scale, which then can be translated into the standard 1.0 assessment classes. The system is described [[Wikipedia_talk:WikiProject_United_States_Public_Policy/Article_Quality_Rating_Metric#Hybrid_metric_proposal|here]]. I want to make version of the project's banner that can work like a normal banner, taking the normal class parameters, but can also be used with the detailed rating as parameters, and then template automatically calculates what the corresponding class is and displays that. I'm not sure how to get started with it, so any help from a template guru would be great.--[[User:Sross (Public Policy)|Sross (Public Policy)]] ([[User talk:Sross (Public Policy)|talk]]) 14:16, 2 July 2010 (UTC)
:Certainly possible, but may be complicated to set up. It would be much easier if the class depended only on the total score, rather than having to keep track of numerous separate factors. How would you anticipate using the template - something like the following? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 14:31, 2 July 2010 (UTC)
{{tlx|WikiProject United States Public Policy|2=sourcing=3|3=npov=2|4=comprehensiveness=2|5=...}}
::Yes, exactly. Unfortunately, I don't think it's feasible to translate between class and total score, because a bad score in one area can pretty much prevent an article from being above a certain class. Like no matter how good the rest of the scores are, if an article doesn't cite any sources, it's not going above Start-class.--[[User:Sross (Public Policy)|Sross (Public Policy)]] ([[User talk:Sross (Public Policy)|talk]]) 14:36, 2 July 2010 (UTC)
:::It sounds like you are asking for something like a modified version of the [[Template:WPBannerMeta/hooks/bchecklist|B-class checklist]] except that, (1) it determines every class not just B-class and (2) it uses grades rather than just pass/fail. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 14:41, 2 July 2010 (UTC)
::::Yeah, something like that seems about right. And then manually specified classes would preempt the results of the detailed scoring.--[[User:Sross (Public Policy)|Sross (Public Policy)]] ([[User talk:Sross (Public Policy)|talk]]) 14:49, 2 July 2010 (UTC)
:::::Okay then. I suggest you carry on discussing it and then come back when you know exactly what you want. One thing: you cannot do GA and FA-class in this way since these are Wikipedia-wide assessments and WikiProjects can't impose their own criteria on these. You are free to use stub/start/c/b/a however you wish though. 14:54, 2 July 2010 (UTC)
::::::About GA and FA, of course. What I had in mind was that if the score what corresponds to the GA and FA criteria, the template would still assign a rating of B, but also display a note that the article may make a good candidate for GA or FA. If you implement the current logic [[Wikipedia:WikiProject_United_States_Public_Policy/Article_Quality_Rating_Metric#Translating_scores|here]], I'm sure I could make whatever adjustment might be necessary as the scheme changes. Thanks for you help, by the way! I really appreciate it.--[[User:Sross (Public Policy)|Sross (Public Policy)]] ([[User talk:Sross (Public Policy)|talk]]) 15:07, 2 July 2010 (UTC)
::::::I think I'm making progress; I created [[User:Sross (Public Policy)/USPP template class/logic|a parser expression]] for translating all the scores into standard ratings. Now I need to figure out how to integrate it into the WPBannerMeta framework.--[[User:Sross (Public Policy)|Sross (Public Policy)]] ([[User talk:Sross (Public Policy)|talk]]) 19:33, 2 July 2010 (UTC)
:::::::Looks good. I've moved your code to [[Template:WikiProject United States Public Policy/class]]. You can use [[Template:WikiProject United States Public Policy/sandbox]] to experiment with the code until it's working properly. If you look at my recent edits you should get an idea of what you need to do next. I'll be busy most of the weekend but will help out when I can. Have fun &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 09:06, 3 July 2010 (UTC)
::::::::A little more progress now... I took the next steps from your edits, and now the sandbox will display the proper class when the new parameters are put in (and inputting class directly takes precedence if it's there, so that's great). I'm flummoxed by how the bchecklist hook works. I've been playing around starting from the bchecklist code at [[Template:WPBannerMeta/hooks/numericalratings]], but I haven't figured out how to make it display the checklist details (which it ought to do any time there are any of the b1-b6 parameters present).--[[User:Sross (Public Policy)|Sross (Public Policy)]] ([[User talk:Sross (Public Policy)|talk]]) 13:41, 3 July 2010 (UTC)
:::::::::How's it looking now? There are a couple of examples on [[Template:WikiProject United States Public Policy/testcases|/testcases]]. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 22:06, 4 July 2010 (UTC)
 
== Strange category ==
 
{{tlx|WikiProject Chess}} is in redlinked [[:Category:Unassessed chess articles of ¬-importance]]. Most, if not all, the talk pages that transclude that template are in something similar - see [[:Category:FA-Class chess articles of ¬-importance]], [[:Category:GA-Class chess articles of ¬-importance]], [[:Category:B-Class chess articles of ¬-importance]], etc. I'm ''guessing'' that they should be in [[:Category:B-Class chess articles of Mid-importance]], or similar. What causes this, what should be done to fix it? --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 20:46, 29 July 2010 (UTC)
 
:I've fixed it with [http://en.wikipedia.org/w/index.php?title=Template:WikiProject_Chess&diff=prev&oldid=376152249 this edit] -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 20:53, 29 July 2010 (UTC)