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

Content deleted Content added
MalnadachBot (talk | contribs)
m Fixed Lint errors in signatures. (Task 2)
per tfd
 
(7 intermediate revisions by 5 users not shown)
Line 6:
== Template:WikiProject Food and drink ==
 
[[:Template:WikiProject Food and drink]] is expanding oddly at [[Talk:Candy pumpkin]] in that it takes up about six inches, most of which lacks text. If you have some free time, please take a look. Thanks. -- [[User:Suntag|Suntag]] [[User talk:Suntag|<b><big><fontspan colorstyle="color: #FF8C00">☼</fontspan></big></b>]] 21:00, 30 October 2008 (UTC)
 
:What browser, etc etc etc etc? [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 08:50, 31 October 2008 (UTC)
Line 45:
== Can the colour of the banner be altered? ==
 
Is it possible for me to change the vanilla-like colour of the banner for the purposes of 'my' Wikiproject, or do they all have to be the same? And if I can, what code etc do I use to do it? [[User:Sticky Parkin|<b><font colorstyle="color:#FF8C00;">Sticky</font></b>]] [[User talk:Sticky Parkin|<b><font colorstyle="color:#FF8C00;">Parkin</font></b>]] 20:49, 9 November 2008 (UTC)
 
:Well, the talk page message box styles were standardised in 2005. See the guideline [[Wikipedia:Talk page templates]]. And that style has several times since then been re-confirmed in several big discussions. So, since it makes me curios: Why do you want to deviate from the standard colours?
Line 51:
== Embedded alert template isn't showing its show/hide link ==
 
See {{tl|WikiProject Louisville}} template (using WPBannerMeta) where I set BOTTOM_TEXT to {{tl|WikiProject Louisville alerts}}, which uses {{tl|hidden}} for showing/hiding the alerts. The alert box's show/hide link won't show with normal usage of {{tl|WikiProject Louisville}}, except when it's nested. Is this a bug in WPBannerMeta or a bug in {{tl|WikiProject Louisville alerts}} or a bug in {{tl|hidden}}? [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] • [[Special:Contributions/Stevietheman|Work]]</sup> 16:27, 1 November 2008 (UTC)
:It works for me, both nested and unnested. What browser are you using? [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 00:19, 2 November 2008 (UTC)
::I am using Firefox 3, and I just tested it against IE 7. It looks like it's not a matter of browser, but of skin. I'm using Cologne Blue, where the bug is appearing, but with the default skin, it works fine. [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 00:25, 2 November 2008 (UTC)
::Does anyone know what is causing this problem? Is it a skin issue or an issue with this template (or other templates I refer to)? [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 22:18, 3 November 2008 (UTC)
:::I'm afraid I'm not sure; I can replicate the problem by changing to cologneblue skin, so it's clearly skin-related. [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 23:54, 3 November 2008 (UTC)
 
:There has been a change to our alert that doesn't really fix the problem but instead just spills out the alert text when the banner isn't nested. The alert text needs to be hidden with a show link whether the banner is nested or not. [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 15:21, 6 November 2008 (UTC)
::That edit was to make the text visible to users without javascript (previously it was inaccessible). I'm honestly not sure why it doesn't work in cologneblue; I have asked at the village pump, maybe someone will have an answer there. [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 23:44, 6 November 2008 (UTC)
:::I appreciate your work on this! There's a problem with this latest approach though. I have JavaScript enabled, and the alert text in an unnested project template is all showing, when it should be rolled up with a Show link. I understand the need to show all the text to those with JavaScript disabled, but that shouldn't be the standard behavior. [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 00:05, 7 November 2008 (UTC)
::::I have Javascript enabled too, and it looks fine. Another skin issue? [[User:Stepshep|<span style="color:green; font-family:Comic Sans MS;">§hep</span>]] • [[User talk:Stepshep|<span style="color:green; font-family:Comic Sans MS;">¡Talk to me!</span>]] 00:10, 7 November 2008 (UTC)
:Yes, Stevie, I know, this is the problem I'm trying to get my head around. The issue is entirely ''un''related to the recent edit to {{tlx|hidden}}, as evidenced by the way it still recurs after I converted it to use CollapsibleTables instead. If you try viewing any other page using any other skin, you can see that the uncollapsed-by-default appearance is ''not'' the standard behavior. I'm doing my best to resolve this issue; just be patient (but keep prodding me if it seems I've forgotten!). [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 00:15, 7 November 2008 (UTC)
 
:If there's no requirement for the project banner to be based off WPBannerMeta, I may move it back to its prior design, until this issue can be resolved. It was doing all right before being standardized anyway. [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 16:07, 9 November 2008 (UTC)
::This should now be fixed. Does it work for you? [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 17:38, 10 November 2008 (UTC)
:::Yes, it's working now. Thanks! What was changed to make it work? [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 18:34, 10 November 2008 (UTC)
::::The CollapsibleTables code itself had a subtle error which affected the cologneblue skin only (it was looking for an id that doesn't exist in the cologneblue skin metadata). It wasn't spotted before because, TBH, no one uses cologneblue! <ttsamp>:D</ttsamp> That doesn't mean we can allow such random problems to persist, however, so thanks for bringing this to our attention. [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 22:49, 10 November 2008 (UTC)
 
== Shorten banner that clutters talk-pages ==
Line 78:
|image=[[Image:E-Guitare-horiz.png|80px|For WikiProject Music]]|text=This article is within the scope of [[Zzz|WikiProject Wxxxyyyzzz]], a collaborative effort to improve the coverage of [[Zzz|wxxxyyyzzz stuff]] on Wikipedia. If you would like to participate, please visit the project page, where you can join the project and see a list of open tasks.
}}
::::<div style="text-align: center;"><small>[ Guitar images added at 19:19, 14 Nov 2008. -[[User:Wikid77|Wikid77]] ]</small></div>
The shorter box is still tall enough to allow a side image. Also, the shorter box says "or" as in ''"or see a list of open tasks"'' indicating a reader doesn't have to join to see the tasks.
 
Line 93:
== Nested title not centered like in other project banners ==
 
This is a very minor issue, but still a little nit I noticed. Project banners based off of WPBannerMeta have their titles left-aligned when nested instead of being centered like the titles of other project banners. Could this title be centered, or can we be given an option to align the title? Thanks! [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] • [[Special:Contributions/Stevietheman|Work]]</sup> 15:36, 11 November 2008 (UTC)
:Browser/OS please? [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 16:41, 11 November 2008 (UTC)
::I'm not sure how that matters, but it's Firefox 3.0.3 and Windows Vista (all updates applied). [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 17:11, 11 November 2008 (UTC)
:::Oh believe me, all rendering/display problems are browser-related <ttsamp>:D</ttsamp>. Even though it's the banner that needs to be altered, it's the browser that's revealing the problem, and if I can't see it on my browser (obviously if I could I'd already have tried to fix it <ttsamp>:D</ttsamp>) it makes it much harder to reproduce and hence fix. Can you tell me, please, what you see at [[User:Happy-melon/sandbox5]]?? [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 17:42, 11 November 2008 (UTC)
::::The first two nested project titles are centered, and the third appears left-aligned. Beyond browser rendering differences, I wonder if this could be a skin issue again (arghh, I love Cologne Blue!). :) [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 19:00, 11 November 2008 (UTC)
::::In IE7, the first project title appears more centered than when viewing with Firefox, but it still sits significantly to the left of the first two. [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 19:03, 11 November 2008 (UTC)
:::::Hi. [[Template_talk:OH-Project#Aligning_to_the_left|This]] discussion also seems related. If you have the '''Justify Paragraphs''' option ticked, it aligns the banner name to the left.--[[User:Rockfang|Rockfang]] ([[User talk:Rockfang|talk]]) 17:47, 12 November 2008 (UTC)
::::::When I unchecked "Justify Paragraphs", the nested title centered itself. Of course, I want to leave this checked, as that's how I like to read the pages. So, I continue to consider this a very minor bug. [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 00:29, 13 November 2008 (UTC)
:::::::Indeed, it is minor. I still hope someone is able to fix it though. :) [[User:Rockfang|Rockfang]] ([[User talk:Rockfang|talk]]) 02:54, 13 November 2008 (UTC)
::::::::I didn't mean to suggest it wasn't worth fixing. The left alignment is kind of an eyesore. :) [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 03:06, 13 November 2008 (UTC)
:Bizzarre though it sounds, I intend to be able to fix this when I get a response [[MediaWiki_talk:Common.js#CollapsibleTables_show.2Fhide_button|here]]. In the meantime can I just check that everyone sees the header below centered, even if it does linewrap unexpectedly? [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 08:44, 13 November 2008 (UTC)
{{WikiProjectBannerShell|1=
Line 108:
<tr class="wpb-header">
<td style="width:1px;"></td>
<th class="mbox-text"> <span style="float:left;">{{showbuttonspaces| 10 }}</span>
<table style="background:transparent; margin:-3px; width:100%;" align=center>
<tr><td style="text-align:right; width:50%;">[[Wikipedia:WikiProject_Musical Instruments|WikiProject Musical Instruments]]</td>
Line 123:
<tr class="wpb-header">
<td style="width:1px;"></td>
<th class="mbox-text"> <span style="float:left;">{{showbuttonspaces| 10 }}</span>
<table style="background:transparent; margin:-3px; width:100%;" align=center>
<tr><td style="text-align:right; width:50%;">[[Wikipedia:WikiProject_Musical Instruments|WikiProject Musical Instruments]]</td>
Line 135:
}}
 
::It's a lot more centered than before, but it still leans to the left just a tad. [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 16:56, 13 November 2008 (UTC)
 
:::Same here.--[[User:Rockfang|Rockfang]] ([[User talk:Rockfang|talk]]) 17:36, 13 November 2008 (UTC)
Line 142:
 
:::::Here's a screenshot from me [[:Image:WPOH Banner.png]] (yep bad name). The top of the banners are way to big. [[User:Stepshep|<span style="color:green; font-family:Comic Sans MS;">§hep</span>]] • [[User talk:Stepshep|<span style="color:green; font-family:Comic Sans MS;">¡Talk to me!</span>]] 17:37, 14 November 2008 (UTC)
:::::The first and second look identical. I'm a little too busy to post a screenshot right now, but should have time over the weekend. [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 19:59, 14 November 2008 (UTC)
::::::Here's a screenshot of the above that I just took: [[:Image:NestedBannerMetaExample.jpg]]. [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 18:50, 17 November 2008 (UTC)
 
:Aha! I see what you're concerned about. The space between the WikiProject link and the "rated X class" bracket ''is'' in the centre of the banner. It's only because the text on the left "WikiProject Musical Instruments" is longer than the text on the right "Rated Start-Class") that it appears to be off-centre. If I lined up a number of different banners with different texts, the 'centreline' of the headers would become more obvious. Now, if we can work out why the show/hide button and the actual header text appear on separate lines, we'll be in business. I suspect I know what's going on there, but not how to fix it; no combination of attributes I've managed to apply can make the subtable centre in the cell without using width=100%; those two floating spans screw everything up. Does anyone have any bright ideas? Because at the moment I'm reduced to saying that the only way to both centre the titles and align their midpoints (which will beautify pages like [[Talk:Duduk]] no end) is to get yet another modification to the CollapsibleTables code for a way to manually position the show/hide button. Again, it's functionality that could be useful elsewhere, but it seems a very brute-force solution. Then again, the set of nested tables and cross-styled divs that this template currently uses isn't particularly elegant itself.... Any clever ideas? [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 20:57, 17 November 2008 (UTC)
Line 149:
== Padding at the bottom of banner ==
 
{{#invoke:WikiProject banner|main
{{WPBannerMeta
|PROJECT = Tulips
|small = {{{small|}}}
Line 205:
:::Nonetheless some projects use it, so it has to be supported. I'm not saying it makes sense! I can see the logic behind saying that template examples genuinely are "not applicable", although with the category exemption it's easier just to classify it as FA-Class and stick {{para|category|no}}. [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 14:55, 20 November 2008 (UTC)
::::You could always create a page similar to [[Template:OH-Project/hide]]. (I don't think this one's documented anywhere though) [[User:Stepshep|<span style="color:green; font-family:Comic Sans MS;">§hep</span>]] • [[User talk:Stepshep|<span style="color:green; font-family:Comic Sans MS;">¡Talk to me!</span>]] 02:02, 29 November 2008 (UTC)
:::::Mysterious things may be in the works... watch this space (and poke me if it doesn't seem to be being filled <ttsamp>:D</ttsamp>)... [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 11:51, 29 November 2008 (UTC)
 
== Problem with image right ==
Line 228:
::::Thank you for looking into the matter. I hope the problem can be fixed. – [[User:Ilse@|Ilse]][[User talk:Ilse@|@]] 13:42, 30 November 2008 (UTC)
:::::Well we'll just wait for the boss to come and fix it. I guess it's related to the [http://en.wikipedia.org/w/index.php?title=Template:WPBannerMeta/bchecklist&diff=254230551&oldid=241627416 edit] of four days ago. [[User talk:Msgj|MSGJ]] 13:52, 30 November 2008 (UTC)
::::::So revert it <ttsamp>:D</ttsamp>. It's not my template, I just happen to be the only one who understands it entirely, and that's only because I built it so didn't have to take the time to pick it apart. If you think you know why an error is occuring, please do go ahead and fix it. You're really no more likely than I am to break something else in the process <ttsamp>:D</ttsamp>. That said, I'll have a look... [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 21:15, 30 November 2008 (UTC)
:::::::Well not all of us are able to edit protected pages ... I've been waiting 10 days for a protected edit on another page which still hasn't been done. Seriously though I don't think I would dare touch this template :) [[User talk:Msgj|Martin]] 21:22, 30 November 2008 (UTC)
::::::::Eh? I could have ''sworn'' you were an admin... <ttsamp>:S</ttsamp> Did you get ArbCommed when I wasn't looking? <ttsamp>:D</ttsamp> [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 22:31, 30 November 2008 (UTC)
::::::::Lol, sounds painful. [[User talk:Msgj|Martin]] 13:05, 1 December 2008 (UTC)
:{{fixed}} [http://en.wikipedia.org/w/index.php?title=Template%3AWPBannerMeta%2Fbchecklist&diff=255061825&oldid=254230551] [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 21:19, 30 November 2008 (UTC)
Line 286:
 
So I think I understand how to use the peer review hook. But the project is now looking to be able to add notices about A-Class reviews, with discussions and categories similar to a PR. What do I need to do to be able to have peer-review and an A-Class review added to the [[Template:OH-Project|template]]? Would I use NOTE_1 for the A-Class review? Thanks. [[User:Stepshep|<span style="color:green; font-family:Comic Sans MS;">§hep</span>]] • [[User talk:Stepshep|<span style="color:green; font-family:Comic Sans MS;">¡Talk to me!</span>]] 02:18, 3 December 2008 (UTC)
:Have a look at {{tlx|WPBannerMeta/hooks/aclass}}. Let me know if anything doesn't make sense. And remind me to document that somewhere <Ttsamp>:D</ttsamp> [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 08:51, 3 December 2008 (UTC)
::Would someone mind checking my [http://en.wikipedia.org/w/index.php?title=Template%3AOH-Project%2FSandbox&diff=257552321&oldid=257524274 addition] to make sure I didn't screw anything up? Thanks! [[User:Stepshep|<span style="color:green; font-family:Comic Sans MS;">§hep</span>]] • [[User talk:Stepshep|<span style="color:green; font-family:Comic Sans MS;">¡Talk to me!</span>]] 17:37, 12 December 2008 (UTC)
:::Looks pretty good to me.
Line 295:
:::#And some of the peer review parameters were wrong.
:::[[User talk:Msgj|Martin]] 20:54, 12 December 2008 (UTC)
::::Thank you for the help. The only reason I removed <ttsamp>category={{{category|μ}}}</ttsamp> was because it is already used at the top of the banner and appeared to me to be redundant/unneeded. Thanks for fixing it, I guess I need to read more carefully. [[User:Stepshep|<span style="color:green; font-family:Comic Sans MS;">§hep</span>]] • [[User talk:Stepshep|<span style="color:green; font-family:Comic Sans MS;">¡Talk to me!</span>]] 21:19, 12 December 2008 (UTC)
:::::No, it needs to be passed to the A-class hook as well. You're welcome. [[User talk:Msgj|Martin]] 21:26, 12 December 2008 (UTC)
Must have done something wrong? I tested passing the A-Class parameter and nothing happened. Any ideas, the code's still in the sandbox. [[User:Stepshep|<span style="color:green; font-family:Comic Sans MS;">§hep</span>]] • [[User talk:Stepshep|<span style="color:green; font-family:Comic Sans MS;">¡Talk to me!</span>]] 22:59, 13 December 2008 (UTC)
:I don't see anything wrong. It's working on my [[User:Msgj/Sandbox1|sandbox]]. [[User talk:Msgj|Martin]] 00:50, 14 December 2008 (UTC)
::Maybe I still had the old version cached somehow? After clearing everything out it's working, thanks for all your help again. [[User:Stepshep|<span style="color:green; font-family:Comic Sans MS;">§hep</span>]] • [[User talk:Stepshep|<span style="color:green; font-family:Comic Sans MS;">¡Talk to me!</span>]] 01:28, 14 December 2008 (UTC)
:::I promise my brain usually isn't this small. <ttsamp>:D</ttsamp> When I pass oldpr=yes it doesn't add the page into ''Peer reviewed Ohio articles''. Ideas? Also, would it be possible to have the PR notice appears below the importance similar to the A-Class notice? [[User:Stepshep|<span style="color:green; font-family:Comic Sans MS;">§hep</span>]] • [[User talk:Stepshep|<span style="color:green; font-family:Comic Sans MS;">¡Talk to me!</span>]] 02:41, 14 December 2008 (UTC)
::::I'm going to break this functionality into a hook, it's just too bespoke. Then you can put it wherever you like. [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 11:44, 14 December 2008 (UTC)
:::::Sounds good, any idea about the category not appearing? [[User:Stepshep|<span style="color:green; font-family:Comic Sans MS;">§hep</span>]] • [[User talk:Stepshep|<span style="color:green; font-family:Comic Sans MS;">¡Talk to me!</span>]] 11:59, 14 December 2008 (UTC)
Line 313:
== Redesign needs testing ==
 
I have spent most of this evening refining a complete redesign of the template's code flow, to reduce duplication of processor-intensive code snippets and make the design more streamlined and hence more robust. It should also make it possible/easier to complete some of the tasks on the todo list and requests outstanding on this page, most notably a more refined implementation of the extended quality scale. The changes are very substantial and involve modifications to every code subpage; consequently, I'm anxious to test the new design thoroughly before deploying it on all 600,000-some pages where the live banner appears. I would very much appreciate the assistance of anyone floating around this page who has some spare time (<ttsamp>:D</ttsamp>) to test the innumerable features to make sure they all still function as expected. {{tlx|WPBannerMeta/sandbox}} is running the new code at the moment; there is a test banner at [[template:WPBannerMeta/test]] and some examples at [[Template:WPBannerMeta/testcases]]. Please feel free to edit either of those pages to test any new functions or construct your own tests, but note that the new code runs from unprotected templates, so should ''not'' be deployed on any live banners. Categories can be enabled by removing the {{para|category}} parameters in the examples at /testcases. Please post any bugs or comments here. Many thanks in advance, [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 00:03, 1 December 2008 (UTC)
:I am not sure what parts are meant to be working for this test and what aren't, so forgive me if I provide a redundant comment:
:*|COMMENTS=yes seems to be making a call to [[Template:WPBannerMeta/comments/sandbox]], which doesn't exist right now.
Line 327:
::Ouch! {{fixed}}. Many thanks, keep up the good work! [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 17:38, 1 December 2008 (UTC)
:Do you know you have two hook_notes on your video games test template? [[User talk:Msgj|Martin]] 13:11, 2 December 2008 (UTC)
::Wasn't me, guv', I just used whatever happened to be there at the time <ttsamp>:D</ttsamp>. Fixed it, although it doesn't really matter. Thanks for noticing tho. [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 14:56, 2 December 2008 (UTC)
 
Request: could you do a mask for [[Template:WPBannerMeta/importancescale]] as you have done with [[Template:WPBannerMeta/qualityscale]] and [[Template:WPBannerMeta/qualityscale/class]]? I think it would help in some ways. [[User talk:Msgj|Martin]] 19:16, 2 December 2008 (UTC)
Line 358:
:::Thanks for that fix, but just to let you know, there is still a problem when there has been no importance assigned, for example, at [[Talk:Alfonso_Soriano]], it displays as the same problem. —[[User talk:Borgarde|Borgarde]] 02:35, 17 December 2008 (UTC)
::::These ones are using the taskforce hook to display extra taskforces so I guess it's because the hook has not yet been updated. [[User talk:Msgj|Martin]] 07:50, 17 December 2008 (UTC)
:::::{{fixed}}, although that makes the /hooks/taskforces hook ''horribly'' inefficient... oh well, what can you do? <ttsamp>:D</ttsamp> [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 14:20, 17 December 2008 (UTC)
 
== FQS ==
Line 381:
== Custom quality scales now available ==
 
After implementing and reverting the new banner code three times this afternoon I finally found the two-character error that was single-handedly demolishing the 1.0 assessment scheme and breaking half a million pages (<ttsamp>:D</ttsamp>), so the new code is now live. The most exciting development as a result is the ability to define custom quality scales for individual banners. Check out [[Template:WPBannerMeta/class]] for an explanation, and if anyone fancies rewriting or extending that documentation, do feel free, it's not one of my better docs! An important todo from this is to rewrite the code that displays the "you need to create categories X Y and Z" boxes on the template pages so they only ask to create categories that are actually being used, if anyone wants to try their hand at that I'd be most grateful. [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 21:39, 14 December 2008 (UTC)<pbr />On a related note, I intend to remove "Future", "Merge", "Needed" and "Project" from the standard full quality scale, so any banners which use them will need to define their own scales. [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 21:46, 14 December 2008 (UTC)
:Also, in response to Happy-melon, I think that Project should be kept in the template on its own; I think that it's pretty useful (although please correct me if there's consensus somewhere else regarding this that I just don't know about). -[[User:Drilnoth|Drilnoth]] ([[User talk:Drilnoth|talk]]) 02:11, 15 December 2008 (UTC)
:Do we have any stats about how many projects are using Project-Class? It could be a lot of (unnecessary) work to convert banners if it is unsupported by default. [[User talk:Msgj|Martin]] 10:09, 15 December 2008 (UTC)
Line 388:
::::Remember that most of these do not use WPBannerMeta. A list of all pages transcluding WPBannerMeta banners set to those four quality types is at [[:Category:WPBannerMeta templates using obscure class values]]. I'm not sure how best to intersect those two lists to work out exactly how many WPBannerMeta banners are affected. It's certainly not that many. [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 14:49, 15 December 2008 (UTC)
:::::Fair enough, but even if there aren't many pages using it, what would be the point of removing the support for the classes? It's not like there's severly limited space, and it would just create more unnecessary work for the projects which do use them. -[[User:Drilnoth|Drilnoth]] ([[User talk:Drilnoth|talk]]) 15:25, 15 December 2008 (UTC)
::::::Because for the vast majority of projects that ''don't'' use them, it's cluttering up their assessment categories and they're getting nasty warnings instructing them to create the categories anyway. Effectively the banner is forcing ''everyone'' to support them whether they like it or not, which is not very nice <ttsamp>:D</ttsamp> [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 15:43, 15 December 2008 (UTC)
:::::::Gotcha. So how hard will it be then to create the category separetely for each project that wants it? I'm still not able to figure out the template coding for some of these more complicated ones. -[[User:Drilnoth|Drilnoth]] ([[User talk:Drilnoth|talk]]) 15:46, 15 December 2008 (UTC)
:::::It can be expected that more and more projects will convert their banners, so although there might not be many now it may well increase. I would still argue that the Project-class should be kept because it's one related to a specific namespace and so is one which will classify by default (namespace detection). [[User talk:Msgj|Martin]] 20:37, 15 December 2008 (UTC)
Line 475:
Just one question: why? —[[User:Ms2ger|Ms2ger]] ([[User talk:Ms2ger|talk]]) 18:34, 21 December 2008 (UTC)
:Something I've always wanted, and I only just got round to implementing. I'm not sure where's best to put them, tho; I thought about above the left image or in the bottom-right corner as well. Thoughts? [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 18:50, 21 December 2008 (UTC)
::I like it. An 'r' link (for refresh) would a good idea as well. [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 18:56, 21 December 2008 (UTC)
:::It's just inlining {{tlx|navbar}}, which is itself just a ripoff of {{tlx|tnavbar}}, so you should probably take that idea over there. I do think it's a good idea, tho. [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 19:01, 21 December 2008 (UTC)
Should it be v . d . e rather than v . e . h though? -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 19:15, 21 December 2008 (UTC)
Line 486:
 
Ok, it seems that there is mixed reaction to this. What I've done is to keep the vde links in, but make them hidden by default. If you want to make them visible, add the following line to your monobook.css:
<sourcesyntaxhighlight lang=css>
.wpb .navbar {display:inline !important;}
</syntaxhighlight>
</source>
I hope that should satisfy everyone. Merry Christmas! [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 11:57, 25 December 2008 (UTC)
:Thanks! [[User:Stepshep|<span style="color:green; font-family:Comic Sans MS;">§hep</span>]] • [[User talk:Stepshep|<span style="color:green; font-family:Comic Sans MS;">¡Talk to me!</span>]] 21:07, 25 December 2008 (UTC)
Line 503:
so that it doesn't matter which μ is used.
-- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 16:27, 22 December 2008 (UTC)
:Or do <code><nowiki>{{#switch:{{{category|µ}}}|µ|µ=[[Category:Foo]]}}</nowiki></code> wherever we currently use <code><nowiki>{{#ifeq:{{{category|µ}}}|µ|[[Category:Foo]]}}</nowiki></code> at the moment, which would be nicer. Incidentally I think both the µ characters in both our examples are the same <ttsamp>:D</ttsamp>. [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 17:11, 22 December 2008 (UTC)
 
Upon looking into it, I suspect that the problems here come from the fact that Unicode incorporates two characters here that look absolutley identical: the "lowercase letter mu" '''μ''' and the "micro prefix" '''µ'''. WPBM uses the mu character which is a start, but it seems to me that <s>we</s> I have dug us into a bit of a hole here by using a character that's open to such easy confusion. I'm inclined to pull the plug on the whole thing and change everything to use an obscure letter that actually appears on the keyboard somewhere to also make it easier to use. Any suggestions for characters to use? I'm leaning towards the "tilde" '''~''' or the mysterious "not sign" '''¬''', which also has the advantage of making some semantic sense. Thoughts? [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 18:04, 25 December 2008 (UTC)
:I might suggest to not use ~ due to its other uses. But ¬ seems a good option. I must admit I am still baffled by the role that this plays in the template. [[User talk:Msgj|Martin]] 15:26, 30 December 2008 (UTC)
By the way, I am assuming that ¬ will not have the same problems as μ?? [[User talk:Msgj|Martin]] 12:30, 31 December 2008 (UTC)
:I bloody well hope not! <ttsamp>:D</ttsamp> [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 14:56, 31 December 2008 (UTC)
 
== Importance vs Priority ==
Line 524:
So, the question is, should these projects be migrated over to use the importance scale or should the WPBannerMeta template be modified to have an option to use a priority scale instead? -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 20:44, 26 December 2008 (UTC)
 
:You forgot the biggest, WPBiography. Note that there is a hook, /priorityscale IIRC, that allows this. I think each project should be asked, explicitly, whether they think the perceived advantages of the semantic distinction outweigh the costs associated with being so radically different to the rest of the wiki community. If they think so, then we should give them the hook (in the nicest possible way <ttsamp>:D</ttsamp>). [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 21:21, 26 December 2008 (UTC)
 
::I was actually looking in the wrong place, there are a few more than seven projects. Anyway, do you have an example of how to use the hook? I had a look in [[Template:WPBannerMeta/importancescale|/importancescale]] and there's a parameter called '''IMPN''' but it doesn't seem to be passed through from /core -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 23:34, 26 December 2008 (UTC)
Line 536:
:It should be. Example? [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 16:58, 27 December 2008 (UTC)
::Sorry, my mistake again it seems. What I am really trying to do is to get hook_collapsed to work without using any collapsed_text or collapsed notes. Is this possible? [[User talk:Msgj|Martin]] 23:36, 27 December 2008 (UTC)
:::I see, although I don't entirely follow your thought processes from one to the other <ttsamp>:D</ttsamp>. That's definitely a bug, now hopefully {{fixed}} [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 11:15, 28 December 2008 (UTC)
::::No I don't think they were related really :) Next thing: I think there is a vertical line missing after {{CAT on [[Template:WPBannerMeta/hooks/peerreview]]}}. Thanks, [[User talk:Msgj|Martin]] 11:27, 28 December 2008 (UTC)
:::::There certainly is, well spotted. {{fixed}} [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 13:24, 28 December 2008 (UTC)
Thank you. I still think there is something wrong with the [[Template:WPBannerMeta/hooks/taskforces|taskforce hook]]. FQS and B_CHECKLIST are not passed to /class. For TF_2-6, FQS is passed (possibly unnecessarily) to /taskforce, but not for TF_1. [[User talk:Msgj|Martin]] 21:01, 28 December 2008 (UTC)
:{{fixed}} ?? Get someone to revert [http://en.wikipedia.org/w/index.php?title=Template:WPBannerMeta/hooks/taskforces&diff=prev&oldid=260569750] if things break; I have to go to bed <ttsamp>:D</ttsamp> [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 23:06, 28 December 2008 (UTC)
::Yes, I think it is fixed thanks. Next thing. When using custom quality classes (e.g. Bplus), the banner says it is not an article and does not require a rating. This is wrong in this case (e.g. [[Talk:Fourier series]]). Can something be done about it? [[User talk:Msgj|Martin]] 14:56, 30 December 2008 (UTC)
::I think it unlikely that a particular class would be regarded as an article by one project and not by another. Therefore I propose a yes/no switch on a separate page which tells /qualityscale whether it's an article or not. [[User talk:Msgj|Martin]] 15:23, 30 December 2008 (UTC)
Line 584:
:On which page did you see this? [[User talk:Msgj|Martin]] 19:13, 1 January 2009 (UTC)
:I see, it's from [[Template:WPBannerMeta/doc]]. This must be due to H-M's recent edit. [[User talk:Msgj|Martin]] 19:16, 1 January 2009 (UTC)
::I came to [[Template:WikiProject Awards|report this]] too. It was fine yesterday. [[User:Rambo's Revenge|<b><font colorstyle="color:#E32636;">Rambo's Revenge</font></b>]] [[User talk:Rambo's Revenge|<small><b><font colorstyle="color:#FFA500;">(talk)</font></b></small>]] 19:21, 1 January 2009 (UTC)
::This seems to be happening on a great number of pages...[[Template:WikiProject_Tennis]] -- [[User:Mjquin id|Mjquin_id]] ([[User talk:Mjquin id|talk]]) 19:38, 1 January 2009 (UTC)
Indeed, we're just waiting for Happy-Melon to revert his recent edit to [[Template:WPBannerMeta/qualityscale]]. If he's not online shortly I'll put an {{tl|editprotected}} on it. [[User talk:Msgj|Martin]] 19:42, 1 January 2009 (UTC)
:Editprotected request placed. [[User talk:Msgj|Martin]] 20:11, 1 January 2009 (UTC)
::I've reverted it myself—I hope he won't mind. [[User:Fvasconcellos|Fvasconcellos]]<small>&nbsp;([[User talk:Fvasconcellos|t]]·[[Special:Contributions/Fvasconcellos|c]])</small> 20:12, 1 January 2009 (UTC)
:::Thanks. As I've said before somewhere else; don't hesitate to revert me if I screw up, it happens often enough. You usually can't make the problem any ''worse'', even if it's impossible to go back to the previous behavior because they're a series of connected changes. Just go to my contribs and start clicking 'undo' until it looks ok <ttsamp>:D</ttsamp> [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 20:24, 1 January 2009 (UTC)
== category=no ==
 
Line 599:
:::#Update the root template to pass to /core if ''category'' is defined.
:::I think I prefer the second option. Thoughts? [[User talk:Msgj|Martin]] 08:44, 2 January 2009 (UTC)
::::Indeed not nice! I have done option 2 (good thinking!), which is now, I hope, nice... <ttsamp>:D</ttsamp> [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 11:14, 2 January 2009 (UTC)
:::::Great! Surprised this hasn't come up before ... [[User talk:Msgj|Martin]] 16:14, 2 January 2009 (UTC)