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 165:
:{{fixed}} <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 16:03, 17 November 2008 (UTC)
::Thanks, looks much better. ([[User:TimothyRias|TimothyRias]] ([[User talk:TimothyRias|talk]]) 07:27, 18 November 2008 (UTC))
== Default class ==
Hi, I am quite new to the banner meta and have a couple of questions. The first is: if the '''class''' parameter is undefined or nonsense, how is the article categorised? (It seems to be depend on the namespace.)
Secondly, there are a lot of unneeded classes. (Ones like "Merge-Class" don't seem to be in widespread use yet.) I created them all as suggested but am now slightly regretting it, as the categories have become somewhat cluttered. So the question is: is it possible to opt-out of some of these classes? Opting-out would mean that the classes would act as if they were undefined and the banner would not prompt you to create the categories.
A suggestion for the future: create a template for the documentation page of the project template?
I hope all this makes sense. Thanks and keep up the good work. [[User talk:Msgj|MSGJ]] 09:40, 16 November 2008 (UTC)
:Not using all the 'extended' classes is certainly something I'm working on implementing. It's kind of hard due to the way the code is structured: the most obvious solution would introduce a terrifying number of expensive parser functions. It's on the todo list! <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 16:43, 16 November 2008 (UTC)
Can WPBannerMeta categorise articles by '''priority''' rather than '''importance'''? If not, are there some good reasons why the latter is better than the former because I am trying to persuade [[WP:WikiProject Mathematics|WikiProject Mathematics]] to convert to the meta banner. [[User talk:Msgj|MSGJ]] 09:43, 18 November 2008 (UTC)
:I've meant to write a hook for this for ages; perhaps someone wants to have a go? "Importance" is, like most of these semantics, the standard purely because it achieved the 'snowball' effect and became by far the most popular syntax in use, thereby perpetuating itself. The difference between "priority" and "importance" is, to my mind, utterly trivial; who honestly ''cares''?? It's what the categories ''contain'' that's important, not what they're called. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 12:55, 18 November 2008 (UTC)
::Well I wrote the hook, just by copying the ''importancescale'' page and replacing instances of ''importance'' with ''priority''. It's at [[Template:WikiProject Mathematics/priorityscale]]. But it might be better just to pass another parameter to the importancescale page though, the default of which would be ''importance''. [[User talk:Msgj|MSGJ]] 13:04, 18 November 2008 (UTC)
:::Quick and easy! It should probably be a subpage of [[Template:WPBannerMeta/hooks]], but it will need to be protected in that case. I'll have a look at integrating the conversion more closely into the main code. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 13:08, 18 November 2008 (UTC)
::::I'll write some code. Then you could check it and, if you think it's okay, make the edit? [[User talk:Msgj|MSGJ]] 13:19, 18 November 2008 (UTC)
::::[[Template:WPBannerMeta/importancescale]] could be replaced with the contents of [[User:Msgj/importancescale]]. The [[Template:WPBannerMeta] template would then have to pass the additional parameter
<pre>IMPORTANCE_NAME={{{IMPORTANCE_NAME|importance}}}</pre>
::::to the subtemplate. [[User talk:Msgj|MSGJ]] 13:47, 18 November 2008 (UTC)
:::::I've implemented this, with a few changes; lc: and ucfirst: are not parserfunctions, so don't need a leading # character, and since it's an internal template I used a shortened parameter name and put the defaults inline. I'm not going to pass the parameter from the main template; I don't think it's popular enough to warrant that extra code (and it would have to be passed in a several different places). Rather, the hook can now become just the /importancescale call taken from the main banner with the extra parameter. Nice work though! <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 14:48, 18 November 2008 (UTC)
I can't work out why the [[Template:WPBannerMeta/templatepage]] doesn't appear on [[Template:WikiProject Mathematics]]. Can anyone help, thanks. [[User talk:Msgj|MSGJ]] 07:16, 19 November 2008 (UTC)
:It is to do with the "μ" in the code. Someone changed the symbol in a documentation edit which caused problems to banners being converted on those days. —[[User:Borgarde|Borgarde]]<sup>[[User Talk:Borgarde|talk]]</sup> 08:03, 19 November 2008 (UTC)
::Thank you! Although I really can't see what you [http://en.wikipedia.org/w/index.php?title=Template:WikiProject_Mathematics&diff=252742524&oldid=252590958 did] there. [[User talk:Msgj|MSGJ]] 09:38, 19 November 2008 (UTC)
:::This is happening often... I need to code up some kind of warning. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 17:00, 19 November 2008 (UTC)
== missing Sortkey? ==
I think there is a sortkey missing from the template. I noticed that since the change to WPbannermeta the category [[:Category:Top-importance physics articles]] is sorting almost all entries under T (for talk). This behavior is usually caused by not piping <nowiki>{{PAGENAME}}</nowiki> to the category links in templates. Having done some snooping, it does in fact seem that [[Template:WPBannerMeta/importancescale]] is not piping the magic word in the category declarations. This seems like a bug. ([[User:TimothyRias|TimothyRias]] ([[User talk:TimothyRias|talk]]) 15:38, 20 November 2008 (UTC))
:{{fixed}}, although I suspect that this conceals a deeper issue with the functioning of the {{para|listas}} parameter. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 23:52, 20 November 2008 (UTC)
|