Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template talk:Allopentasks: Difference between revisions

Discussion page of Template:Allopentasks
Gougef (talk | contribs)
Shane (talk | contribs)
No edit summary
Line 9: Line 9:
</pre> It's been rather a while since I used Perl, and I don't know what structure you're using to hold items, but you get the idea. Having it omit empty categories would be nice, too. Anyway, having every category of open task gathered in one place is great. --[[User:CalculatinAvatar|CalculatinAvatar]]<sup>([[Special:Contributions/CalculatinAvatar|C]]-[[User talk:CalculatinAvatar|T]])</sup> 12:32, 5 August 2006 (CDT)
</pre> It's been rather a while since I used Perl, and I don't know what structure you're using to hold items, but you get the idea. Having it omit empty categories would be nice, too. Anyway, having every category of open task gathered in one place is great. --[[User:CalculatinAvatar|CalculatinAvatar]]<sup>([[Special:Contributions/CalculatinAvatar|C]]-[[User talk:CalculatinAvatar|T]])</sup> 12:32, 5 August 2006 (CDT)
:This is great! --[[User:Gougef|FrankieG]] 12:40, 5 August 2006 (CDT)
:This is great! --[[User:Gougef|FrankieG]] 12:40, 5 August 2006 (CDT)
::CA, I'll post the code... up on the bot's page as a subpage as it stands right now so you can see it. I don't think there is a way to hide the empty ones though. If so, I would have done that a while ago. :) --[[User:Shane|Shane]] <sup>([[User_Talk:Shane|T]] - [[Special:Contributions/Shane|C]] - [[Special:Editcount/Shane|E]])</sup> 13:06, 5 August 2006 (CDT)

Revision as of 18:06, 5 August 2006

Nifty

This is pretty cool. To nitpick (since that's what I do), you can get commas only between items and not after each one with something like:

if( size of A )
  print A[0];
for( i=1; i <  size of A; ++i )
  print ", " A[i];

It's been rather a while since I used Perl, and I don't know what structure you're using to hold items, but you get the idea. Having it omit empty categories would be nice, too. Anyway, having every category of open task gathered in one place is great. --CalculatinAvatar(C-T) 12:32, 5 August 2006 (CDT)

This is great! --FrankieG 12:40, 5 August 2006 (CDT)
CA, I'll post the code... up on the bot's page as a subpage as it stands right now so you can see it. I don't think there is a way to hide the empty ones though. If so, I would have done that a while ago. :) --Shane (T - C - E) 13:06, 5 August 2006 (CDT)
Contents