Template talk:Asbox/Archive 2

Latest comment: 14 years ago by MSGJ in topic Navbar
Archive 1Archive 2Archive 3Archive 4

mbox

The CSS I propose for asbox (currently hardcoded into the sandbox template

table.asbox {    clear: left;    background: transparent;}.asbox th.mbox-text, .asbox td.mbox-text {            /* The message body cell(s) */    font-style: italic;          /* Text is italic */    padding: 0em;           /* We don't need padding to the left */    width: auto;                 /* Use normal width */}.asbox td.mbox-image {           /* The left image cell */    padding: 0em;                /* no padding */}

possibly add also.

table.navbox + table.asbox,p + table.asbox,table + table.asbox,div + table.asbox,ol + table.asbox,ul + table.asbox {   margin-top: 1em;   /* Margin at top of stack */}

Your thoughts please ? —TheDJ (talkcontribs) 14:21, 4 May 2009 (UTC)

Didn't test it, but for stub templates I'd also add a "p + table.asbox { margin-top: 1em; }". Or 0.5em. I didn't find it important with the navboxes since paragraphs already have a .5 margin-bottom, but stubs offer a less clear separation from the text, and are much more likely to be placed directly beneath a paragraph. Amalthea 15:31, 4 May 2009 (UTC)
Good point. added. —TheDJ (talkcontribs) 15:36, 4 May 2009 (UTC)
Was this implemented or am I missing in in the CSS? ---— Gadget850 (Ed) talk 14:27, 19 August 2009 (UTC)
It was all reverted because at the time there was no consensus to implement changes to asbox —TheDJ (talkcontribs) 14:58, 19 August 2009 (UTC)
last mbox test. Would probably require quite some work again to bring it up to date with the current asbox template. —TheDJ (talkcontribs) 15:01, 19 August 2009 (UTC)
It would be nice to have the same top margin as the navboxes; this woul eliminate the current requirement for two blank lines before the asbox. ---— Gadget850 (Ed) talk 16:15, 19 August 2009 (UTC)

Broken page

I believe the recent conversion of the stub templates has left Wikipedia:WikiProject Roads in Maryland/Editing guide broken. Can this be fixed? --Rschen7754 (T C) 18:24, 17 August 2009 (UTC)

I admit that I am confused by that behaviour. But I think I have fixed it well enough for now. — Martin (MSGJ · talk) 09:54, 18 August 2009 (UTC)
Okay, thanks. --Rschen7754 (T C) 22:37, 20 August 2009 (UTC)

Stub template documentation

Per the discussion at Wikipedia talk:WikiProject Stub sorting#/docs I am planning to transclude some common documentation for stub templates on the template page itself (i.e. when {{{name}}}={{FULLPAGENAME}}. I've started a possible version at Template:Stub documentation. It's basically an abridged version of WP:Stub, although it needs further work. Are there any comments or concerns about this? I will of course put the proposed code on the sandbox so that people can look over it before implementing. — Martin (MSGJ · talk) 22:17, 20 August 2009 (UTC)

You should also only show it when {{{name}}}/doc doesn't exist. -- WOSlinker (talk) 22:23, 20 August 2009 (UTC)
I thought the plan was to allow the /doc subpages to function as a "sub-doc" of the "main" , containing template-specific instructions and interwikis? –xenotalk 22:26, 20 August 2009 (UTC)
Yes, this is what I was thinking. — Martin (MSGJ · talk) 22:44, 20 August 2009 (UTC)
Ah wait, we will at least need a tracking category to find which templates have documentation subpages. Otherwise we will probably end up transcluding them twice. — Martin (MSGJ · talk) 07:34, 21 August 2009 (UTC)
What I think is best here, is to propose a change to {{documentation}}. The idea will be that it allows for a new parameter "super=pagename". We then use the asbox template to include {{documentation}} with the option "super=Template:Stub documentation". And documentation includes this first, followed, if present, by the local /doc page. Then we only have to remove the doc template from any templates that already have documentation. Does this sound realistic ? —TheDJ (talkcontribs) 11:45, 21 August 2009 (UTC)
It's an interesting idea. But wouldn't that be significantly complicating the Template:documentation unduly? This is likely to be the only such use of that parameter and it can easily be implemented locally rather than on that template. I've started /templatepage which would do this. — Martin (MSGJ · talk) 11:51, 21 August 2009 (UTC)
As well as name, you should also pass over the category, category1 & category2 parameters so that those categories can be mentioned in the docs. -- WOSlinker (talk) 12:13, 21 August 2009 (UTC)
Oh good idea. Please go ahead. We can also put warnings on the templatepage if those categories don't exist. — Martin (MSGJ · talk) 12:17, 21 August 2009 (UTC)
Oh, that is a nice idea indeed. —TheDJ (talkcontribs) 13:21, 21 August 2009 (UTC)
I've added it. -- WOSlinker (talk) 17:39, 21 August 2009 (UTC)

In order to keep {{stub documentation}} free of parser functions and editable by members of WP:WSS without needing any template knowledge I propose to move the template-specific documentation (which is using more and more parameters and parser functions) to /templatepage and keep Template:stub documentation for general (brief) information about stubs. Sound okay? — Martin (MSGJ · talk) 14:31, 22 August 2009 (UTC)

Stub Documentation

Using some large clunky template code it is possible to show related templates in the documentation, so for example with {{England-footy-bio-stub}} we could include:

Related Stubs

The code to do this is

===Related Stubs===*{{#ifexist:Template:{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-18}}|18}}|{{tl|{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-18}}|18}}}}}}*{{#ifexist:Template:{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-17}}|17}}|{{tl|{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-17}}|17}}}}}}*{{#ifexist:Template:{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-16}}|16}}|{{tl|{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-16}}|16}}}}}}*{{#ifexist:Template:{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-15}}|15}}|{{tl|{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-15}}|15}}}}}}*{{#ifexist:Template:{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-14}}|14}}|{{tl|{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-14}}|14}}}}}}*{{#ifexist:Template:{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-13}}|13}}|{{tl|{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-13}}|13}}}}}}*{{#ifexist:Template:{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-12}}|12}}|{{tl|{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-12}}|12}}}}}}*{{#ifexist:Template:{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-11}}|11}}|{{tl|{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-11}}|11}}}}}}*{{#ifexist:Template:{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-10}}|10}}|{{tl|{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-10}}|10}}}}}}*{{#ifexist:Template:{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-9}}|9}}|{{tl|{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-9}}|9}}}}}}*{{#ifexist:Template:{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-8}}|8}}|{{tl|{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-8}}|8}}}}}}*{{#ifexist:Template:{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-7}}|7}}|{{tl|{{Str sub|{{PAGENAME}}|{{#expr:{{Str len|{{PAGENAME}}}}-7}}|7}}}}}}

(although it could be simplified a bit if put into sub-templates)

Is this worth adding? -- WOSlinker (talk) 22:09, 25 August 2009 (UTC)

Looks expensive... –xenotalk 22:11, 25 August 2009 (UTC)
It's a little slow but with sub-templates, would only need to call {{Str len}} once but would still need to call {{Str sub}} multiple times. This is the reason why I was asking though, wether it was worth adding. -- WOSlinker (talk) 22:13, 25 August 2009 (UTC)
I'm no expert but I think the expense might outweigh any benefits. It's also not that hard to just chop off the prefix words if one were looking for a parent template... –xenotalk 22:17, 25 August 2009 (UTC)
I'm still tring to work out what that code does. Could you explain a bit more WOSlinker? — Martin (MSGJ · talk) 22:47, 25 August 2009 (UTC)
I believe it chops off pieces of the template name until it finds a parent. It's a nifty bit of code (still trying to figure out what makes it work), but (in my completely armchairish, speaking-out-of-my-ass opinion) deploying it on such a wide scale (13000+ templates) would probably blow up a server farm or two. –xenotalk 22:49, 25 August 2009 (UTC)
Don't worry, we can have 500 expensive parser functions on a page :) — Martin (MSGJ · talk) 22:53, 25 August 2009 (UTC)
My implementation only adds one expensive parser function per dash in the title. -- WOSlinker (talk) 18:11, 26 August 2009 (UTC)
Add it! Expensive templates on template documentation pages don't worry me, I'd find it very useful to generate those parent stub links, and it's one more reason to get proper built-in string parsing functions. :)
Some thoughts:
  • What's the stub template with the longest name? It should be tested whether that brings us (close) to any parser limit.
  • I'd we don't want to list {{b}}. It shouldn't go below {{stub}}
  • Maybe we only want to split it at the hyphens anyway, so that we don't show {{ad-stub}} on {{Africa-road-stub}}
Amalthea 00:37, 26 August 2009 (UTC)
I've got a slighly less expensive way, which is to pass over each character separately to a subtemplate (using {{Str index}} to get a single character) and then join them back in the template. Would also make it easier to check where the - splits are.
{{subtemplate|{{Str index|{{PAGENAME}}|1}}             |{{Str index|{{PAGENAME}}|2}}             |{{Str index|{{PAGENAME}}|3}}             |...etc...}}
I'll work something out for a test later on today. -- WOSlinker (talk) 06:39, 26 August 2009 (UTC)
The longest stub name is currnetly 46, {{DominicanRepublic-baseball-second-baseman-stub}}, but the longest length ignoring the part before the first dash is only 33, {{UK-fieldhockey-Olympic-medalist-stub}}, so I'll just need to take the last 35 chars for the template. -- WOSlinker (talk) 06:48, 26 August 2009 (UTC)
It's now implemented. Let me know what you think. It could probably do with a sentence to describe what's it's all about. -- WOSlinker (talk) 18:12, 26 August 2009 (UTC)

Options of this template

I have been thinking about how best to continue with this template. I have the following ideas, and I would like it people would comment.

  1. Get rid of 1-4 params in the documentation. Too confusing, any introduction of new params, might as well be done with AWB or something.
  2. I want to deprecate the subject and qualifier options, in favor of a new "article" option. The reason would be to bring it in line with metastub and metapicstub, as well as "simplifying" the usage of this template.
  3. I'm in doubt about the image options. On one hand, the image + pix options allow for greater control of imageusage, but the icon option might be simpler and is the same method is used for ambox and friends.
  4. I have removed the "date" option. It didn't seem like this was a convention being used, and can easily be reintroduced when needed.
  5. How do you recruit an army to convert all the stubs ? :D

TheDJ (talkcontribs) 18:38, 9 May 2009 (UTC)

I've initially wanted to read up on all the issues that were brought forward before replying here, but from what I can tell already:
  1. Yep, per above.
  2. Alright with me. Qualifier and Subject would make sense if there were no article, to enforce a common style, but since there is we don't win anything with both options
  3. I'd propose using {{image|{{{image}}}|40x30px}}, which accepts both full image syntax as well as only the name of the image (with namespace or without).
  4. no opinion
  5. /me steps forward. I'd image that, since most stubs have been based on one substed template, most could be converted (semi-)automatically.
Since, as it looks, the signature changes are not backwards compatible, it might be easiest to create a new template {{smbox}} and set it up from scratch there. Amalthea 15:03, 20 May 2009 (UTC)
Agree with all this. And I'll sign on for the crusade: as Amalthea says, much of the conversion could probably be done with a bot.
The category syntax on this template looks a bit wierd; maybe it's just the way it's laid out, though. Happymelon 15:24, 20 May 2009 (UTC)
It seems the intent is multiple categories (up to 4), with a catkey of Pagename, except when it is transcluded from a template, in which case defaultsort to ' ' (so the stub template itself is at the top of the stub category), or tempsort# in cases where specified (in case multiple stubs sort into the same category). —TheDJ (talkcontribs) 17:30, 20 May 2009 (UTC)
We need some namespace detection or other means of category suppression so that we can refer to a stub template without adding the categories. ---— Gadget850 (Ed) talk 22:52, 20 May 2009 (UTC)
So that when we have
, the category is not added to this page? As you can see, this is already implemented as well :D —TheDJ (talkcontribs) 22:56, 20 May 2009 (UTC)
That is what I get for looking at the documentation and not at the markup. Good— this was one of my previous beefs with this template. Next time you are in the code, please fix the invalid <br />. I give up: what is <s />? ---— Gadget850 (Ed) talk 01:23, 21 May 2009 (UTC)
Both taken care of. —TheDJ (talkcontribs) 14:00, 21 May 2009 (UTC)
Was <s /> an error or a valid? ---— Gadget850 (Ed) talk 15:55, 21 May 2009 (UTC)
I couldn't figure it out, but since it was used for a "whatlinkshere" trick that is no longer required, I decided to remove it. —TheDJ (talkcontribs) 16:03, 21 May 2009 (UTC)
I am looking at writing documentation for stub templates and I would like a more rigorous method of category supression than just using namespace detection. Would there be any problem to using category=no to achieve this? This would allow examples to be shown without inappropriate categorisation. — Martin (MSGJ · talk) 22:02, 20 August 2009 (UTC)

Override category

Is there a way to over-ride the category, e.g. for sample display? –xenotalk 12:48, 27 August 2009 (UTC)

Not at this time. See martin's last remark at Template_talk:Asbox#Options_of_this_template. —TheDJ (talkcontribs) 13:07, 27 August 2009 (UTC)
Thanks. Sections combined. –xenotalk 13:16, 27 August 2009 (UTC)

The namespace detection is great, except when templates are being shown as examples on template pages... i.e.

  • Template:Coord missing/sample 1 I would like to subst the asbox to take it out of Category:Stub message boxes needing attention but then I would need to add a category otherwise it would just move from "E" to "C". –xenotalk 13:16, 27 August 2009 (UTC)
I suggest using category=no as proposed above. Of course, any templates where this is needed will need to pass this parameter in a different way, for example
category=History stubs

would need to become

category={{{category|History stubs}}}

On pages such as Template:Coord missing/sample 1, these are a little tricky, but I think we could use something like

{{Arizona-geo-stub<noinclude>|category=no</noinclude>}}

Any better solutions? — Martin (MSGJ · talk) 16:12, 2 September 2009 (UTC)

Actually yes, I think I have a better solution:
  • Move the template categorisation to /templatepage. Therefore templates will only be categorised if name=FULLPAGENAME.
  • Remove the warning for "erroneous name", and just leave the check for "undefined name".
— Martin (MSGJ · talk) 08:29, 3 September 2009 (UTC)
Proposed code is on Template:Asbox/sandbox. I had a slight rethink because the erroneous name check seems to be useful so it would be a shame to lose it. Therefore I've added a new parameter |demo= which can be set to suppress any categories and warnings. Anyone care to check the code for me? — Martin (MSGJ · talk) 15:31, 3 September 2009 (UTC)

Issues with the asbox documentation

It's late (for me) and I'd certainly cock things up if I started fiddling. here are things I;ve noticed in the documentation:

  • Under Parameters we discuss icon and image, but in Full usage just above, icon is not listed.
  • Under the discussion of pix, we do not specify the anticipated input format for pix. We talk about its default value of 40x30, which might lead a user to expect that this format of input is required. Lower down the page in the Using image an example shows a single input value of 30. Other templates (iirc) user 30px. Specifying the format anticipated by pix is recommended
  • Per my End misaligned left justification with asbox? thread, above, might I suggest we include firm injunctions to users to keep to the 40x30 size, explaining that failure to do so will lead to the possibility of ragged justification and/or odd line spacing, both of which we'd prefer to avoid.

thanks --Tagishsimon (talk) 07:14, 26 August 2009 (UTC)

1, well the options are somewhat mutual exclusive. I guess that's why we don't list BOTH in full usage. A full usage should always use either one, or the other.
2, updated
3, that would need a significant discussion first.
TheDJ (talkcontribs) 18:32, 26 August 2009 (UTC)

Yes, I was hoping that eventually icon would be phased out. As far as the pix goes there is a default value, and again it would be "best" if all templates used the default value, and the pix parameter could be obsoleted. Certainly updating the docs with strong advice to use 40x30 would be useful. Both these compromises came from my initial plan to cause minimum impact when implementing {Asbox}. Rich Farmbrough, 21:18, 31 August 2009 (UTC).

I have added to the pix parameter documentation a sentence: "(Note that in the interests of standardising the formats of stub messages, images of size 40x30 are much preferred.)". Trust that you'll all be happy with this. --Tagishsimon (talk) 22:41, 31 August 2009 (UTC)

Navbar

I think it would be useful for the maintainers of stub templates to have a navbar somewhere on it. Obviously this is not needed for the general reader and should be hidden by default. On {{WPBM}} this was achieved by using style=display:none; and then allowing individual editors to override this in their monobooks. I'm not an expert, but I'll look into it if anyone thinks this is a nice idea. — Martin (MSGJ · talk) 11:20, 24 July 2009 (UTC)

I'm not quite sure I follow. How would having this template help with navbar functionality? And wouldn't {{PAGENAME}} work just as well (if not better)? Perhaps tell me how to view the navbar on WPBM and that might explain it. –xenotalk 17:11, 31 July 2009 (UTC)
No, since {{PAGENAME}} always evaluates to the current page (i.e. the page the stub template is on) instead of to the name of the stub template. That's why navboxes, e.g. {{Britney Spears singles}} pass the template name explicitly in |name= to allow building the v·e·d links, like with {{v|d|e|template={{{name}}}}}.
Amalthea 17:41, 31 July 2009 (UTC)
So if I understand correctly people (who unhide it) will see a v*d*e on the stub templates? The problem that I see with this is that it's hidden with javascript (right?) that not all users may have enabled. I also am not a fan of the re-drawing delay. But if others agree it will be useful I can certainly have the bot add this parameter during the conversions. imo, the stubs won't change that much so I don't think it's particular necessary. –xenotalk 17:52, 31 July 2009 (UTC)
No it is hidden with CSS. I'm not sure it's useful. But it sure can be done. That's not hard. Just a lot of bot work to add the name to all templates. —TheDJ (talkcontribs) 18:22, 31 July 2009 (UTC)
The bot's already going to be there (at least for the ones that haven't been converted yet), so if it's useful, it's not a problem for me to add it (just subst:pagename in the name= field). I just don't think it's necessary, at least not for stub types. I suppose we could do it for future proofing. –xenotalk 18:25, 31 July 2009 (UTC)
I'm adding the parameter as I convert them. I see the benefits, even if we don't use it for v*d*e at present, the parameter may be useful in the future. –xenotalk 23:06, 31 July 2009 (UTC)

I did play around with some options for a navbar in the sandbox (but I think TheDJ's latest version has erased it). I think it would be look best and be least intrusive on the far right. Alas I was unable to achieve this. If anyone can help, it would be appreciated. — Martin (MSGJ · talk) 22:06, 20 August 2009 (UTC)

Could someone check my code on the sandbox (this version) please? In order to see it you have to add
.stub .navbar {display:inline !important;}

to your monobook.css file. An example template using it is Template:Arizona-geo-stub/sandbox which produces:

Thanks in advance — Martin (MSGJ · talk) 19:07, 9 September 2009 (UTC)

Font is a little large for me; I think font-size:smaller; would be better. Technically the implementation is fine. Happymelon 22:33, 9 September 2009 (UTC)
Made it smaller. — Martin (MSGJ · talk) 07:13, 10 September 2009 (UTC)
Lovely. Happymelon 08:54, 10 September 2009 (UTC)
Okay, I'll implement this soon. — Martin (MSGJ · talk) 11:48, 10 September 2009 (UTC)

It's been pointed out to me that positioning the navbar absolutely on the right side is not always ideal, (for example see Wairoa River, Tasman). Can this be improved at all? — Martin (MSGJ · talk) 09:25, 11 September 2009 (UTC)

The way to fix this is to clear:right as well. Alternatively, a conversion to mbox structure might fix this. —TheDJ (talkcontribs) 11:21, 11 September 2009 (UTC)
Thanks. The former suggestion seems to work well. I bring it up at WP:WSS in case anyone has any concerns. I have no idea what an "mbox structure" might be though ... — Martin (MSGJ · talk) 13:36, 11 September 2009 (UTC)
It's what all are template messages are using. The problem with clear, is that it will always move the content to the bottom, if there is not enough room on the right side of the page. Mbox on the other hand will reduce the width of the element. —TheDJ (talkcontribs) 15:35, 13 September 2009 (UTC)
Okay, shall we do it that way then? — Martin (MSGJ · talk) 11:50, 22 September 2009 (UTC)

Maintenance categories

Can we add maintenance categories... split asbox'en into

  1. Using icon=
  2. Using image=
  3. Using imagealt=
  4. Using neither icon nor image
  5. Lacking category=
  6. Lacking name=
  7. Erroneous name= (does not match fullpagename)
  8. Lacking subject=/qualifier=/article=?

? –xenotalk 18:11, 9 August 2009 (UTC)

I went ahead and did this. Feel free to prettify the code, etc. –xenotalk 16:24, 12 August 2009 (UTC)
I took up your invitation to improve the code :) By the way, I can understand why we need categories to track missing things, but what is the purpose of categories such as Category:Stub message boxes using image parameter? — Martin (MSGJ · talk) 10:10, 18 August 2009 (UTC)
The last edit broke the maintenance categories, they are now appearing on all articles instead of just templates. Borgarde (talk) 10:36, 18 August 2009 (UTC)
I've undone it for now, since with a glance I saw no trivial way to fix it and keep the prettification. :) Amalthea 10:56, 18 August 2009 (UTC)
Sorry about that. I feel very stupid now. — Martin (MSGJ · talk) 11:00, 18 August 2009 (UTC)
Don't worry about it, and feel of course free to try again (in the sandbox;)). The job queue is amazingly short right now anyway, so ... :) Amalthea 11:06, 18 August 2009 (UTC)
The reason this happened was because the code I added for maintenance categories is nested in this if statement: {{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Stub message boxes|{{PAGENAME}}]]. –xenotalk 13:44, 19 August 2009 (UTC)
@Martin: I guess more for completeness sake... FYI I just added a maintenance category for asbox without the name= paramater. These will need to be fixed if the #Navbar functionality is added. –xenotalk 13:40, 19 August 2009 (UTC)
  • I guess we only need maintenance categories if they have some use, i.e. if there is something which needs to be done to the templates in those categories ...
  • I'm just trying to work out why Category:Stub message boxes without name parameter is showing on its members even though it's supposed to be a hidden category. — Martin (MSGJ · talk) 22:10, 20 August 2009 (UTC)
  • I don't mind to delete the "...using images" one. It basically contains almost every stub, so it's not helpful. (  Done)
  • Boggle? Being that the lack of a name= paramater is arguably a serious omission, it may make sense to keep this category unhidden anyway. –xenotalk 22:11, 20 August 2009 (UTC)

As soon as name has been added to all the templates, we can move all these maintenance categories (apart from "erroneous name" I guess) to /templatepage to keep the code nicer. — Martin (MSGJ · talk) 13:28, 24 August 2009 (UTC)

This is  Done, so feel free to go ahead with this. (Could you add #8 while there?) –xenotalk 12:32, 25 August 2009 (UTC)
Certainly. I am thinking about creating a general category Category:Stub message boxes needing attention, and the individual problems can be identified using sortkeys. This saves creating new categories for everything we want to track. (See here for one I made earlier.) — Martin (MSGJ · talk) 14:05, 25 August 2009 (UTC)
Hm... That would be elegant... But does AWB have a way to build a list in a category based on sortkey? (It should!). I'd like to comb the 'using icon' boxen regularly to add alt-text where necessary and convert to use image when possible. –xenotalk 14:08, 25 August 2009 (UTC)
No, it probably doesn't. But I wasn't planning to change that category anyway, just the broken things which need fixing, e.g. no category, wrong name, etc. — Martin (MSGJ · talk) 14:22, 25 August 2009 (UTC)
Sounds good. "Using imagealt" should probably go into "broken" since, presently, it's unused, and likely won't be, but I'd like to review it if it ever is. –xenotalk 15:11, 25 August 2009 (UTC)

Would you care to check Template:Asbox/sandbox for me? — Martin (MSGJ · talk) 15:22, 25 August 2009 (UTC)

Looks good to me... Unfortunately only 1 entry is made even if multiple errors exist. Looks like "using imagealt" is on the bottom of the list which is appropriate. –xenotalk 15:29, 25 August 2009 (UTC)

asbox that are categorizing into non-stub categories?

Is it possible with the str len magic that WOSlinker used for the heirarchy? And is it desirable? I know that Xenobot made a couple goofs (forgetting the word "stubs" at the end of the category) which I think I've fixed all, but a maintenance category to make sure would help me to be at ease, and it would also identify asbox that category into non-stub categories, which is and all-around bad idea. –xenotalk 20:06, 4 September 2009 (UTC)

I've just added something that should hopefully do that. -- WOSlinker (talk) 22:24, 4 September 2009 (UTC)
There's a couple of false alerts so far since the {{str sub}} template only works for upto 50 characters. Could always change the code to not check those longer than 50. -- WOSlinker (talk) 22:34, 4 September 2009 (UTC)
🔥 Top keywords: Main PageSpecial:SearchIndian Premier LeagueWikipedia:Featured picturesPornhubUEFA Champions League2024 Indian Premier LeagueFallout (American TV series)Jontay PorterXXXTentacionAmar Singh ChamkilaFallout (series)Cloud seedingReal Madrid CFCleopatraRama NavamiRichard GaddDeaths in 2024Civil War (film)Shōgun (2024 miniseries)2024 Indian general electionJennifer PanO. J. SimpsonElla PurnellBaby ReindeerCaitlin ClarkLaverne CoxXXX (film series)Facebook2023–24 UEFA Champions LeagueYouTubeCandidates Tournament 2024InstagramList of European Cup and UEFA Champions League finalsJude BellinghamMichael Porter Jr.Andriy LuninCarlo AncelottiBade Miyan Chote Miyan (2024 film)