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

Content deleted Content added
MiszaBot II (talk | contribs)
m Archiving 4 thread(s) from Template talk:WPBannerMeta.
MiszaBot II (talk | contribs)
m Archiving 2 thread(s) from Template talk:WPBannerMeta.
Line 379:
On [[Talk:Pink Floyd]], look at the Pink Floyd banner and check the comments. A table of contents for the whole talk page (not the comment page) is appearing in there. Has something gone wrong? [[User talk:Msgj|Martin]] 10:36, 17 December 2008 (UTC)
:It was due to a header in the comments sub page. —[[User talk:Borgarde|Borgarde]] 12:59, 17 December 2008 (UTC)
== 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 (<tt>:D</tt>), 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. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 21:39, 14 December 2008 (UTC)<p>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. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 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)
::[[:Category:Project-Class articles|85]]. -[[User:Drilnoth|Drilnoth]] ([[User talk:Drilnoth|talk]]) 14:11, 15 December 2008 (UTC)
:::Quite a few. What are the advantages of removing default support for this class? [[User talk:Msgj|Martin]] 14:44, 15 December 2008 (UTC)
::::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. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 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 <tt>:D</tt> <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 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)
::::::That's a good point, it's true; it does set "Project" apart from the others. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 20:43, 15 December 2008 (UTC)
Ok, I have now removed Future, Merge and Needed from the default quality scale; these should be stripped from documentation, etc. Project-Class remains, and I'm convinced to leave it. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 19:14, 21 December 2008 (UTC)
 
== Image right size ==
 
|IMAGE_<strong>RIGHT</strong>_SIZE = <nowiki>{{#ifeq:{{lc:{{{small|}}}}} | yes
|{{#if:{{{IMAGE_</nowiki><strong>LEFT</strong><nowiki>_SMALL|}}}|{{{IMAGE_</nowiki><strong>LEFT</strong><nowiki>_SMALL}}}|40px}}
|{{#if:{{{IMAGE_</nowiki><strong>LEFT</strong><nowiki>_LARGE|}}}|{{{IMAGE_</nowiki><strong>LEFT</strong><nowiki>_LARGE}}}|80px}}
}}</nowiki>
Is this ([{{fullurl:Template:WPBannerMeta|diff=next&oldid=255694165}} diff]) really what we want? —[[User:Ms2ger|Ms2ger]] ([[User talk:Ms2ger|talk]]) 21:08, 20 December 2008 (UTC)
 
:Well, it doesn't match the docs. --[[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 22:55, 20 December 2008 (UTC)
 
You are right. Left should be right! [[User talk:Msgj|Martin]] 00:23, 21 December 2008 (UTC)
 
:ROFL!! I don't want to know what I was thinking when I wrote that (copy and paste, I hope!). {{fixed}} <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 15:51, 21 December 2008 (UTC)
::Thanks. —[[User:Ms2ger|Ms2ger]] ([[User talk:Ms2ger|talk]]) 18:34, 21 December 2008 (UTC)