User talk:Joe Beaudoin Jr.

Discussion page of User:Joe Beaudoin Jr.



Nested collapsible tables fix

Nested collapsible tables don't seem to work very well (example). I've written a fix which makes nested coll. tables possible at User:Catrope/bsgbook.js. To implement this site-wide, you need to find the collapseTable() function (it's somewhere in a .js file, although I have no idea where exactly) and replace:

 function collapseTable( tableIndex )
 {
     var Button = document.getElementById( "collapseButton" + tableIndex );
     var Table = document.getElementById( "collapsibleTable" + tableIndex );
 
     if ( !Table || !Button ) {
         return false;
     }
 
     var Rows = Table.getElementsByTagName( "tr" ); 
 
     if ( Button.firstChild.data == collapseCaption ) {
         for ( var i = 1; i < Rows.length; i++ ) {
             Rows[i].style.display = "none";
         }
         Button.firstChild.data = expandCaption;
     } else {
         for ( var i = 1; i < Rows.length; i++ ) {
             Rows[i].style.display = Rows[0].style.display;
         }
         Button.firstChild.data = collapseCaption;
     }
 }

with:

 function collapseTable( tableIndex )
 {
     var Button = document.getElementById( "collapseButton" + tableIndex );
     var Table = document.getElementById( "collapsibleTable" + tableIndex );
 
     if ( !Table || !Button ) {
         return false;
     }
 
     var Rows = Table.getElementsByTagName( "tr" ); 
 
     if ( Button.firstChild.data == collapseCaption ) {
         for ( var i = 1; i < Rows.length; i++ ) {
             if(Rows[i].parentNode.parentNode.id == ("collapsibleTable" + tableIndex))
             {
                 Rows[i].style.display = "none";
             }
         }
         Button.firstChild.data = expandCaption;
     } else {
         for ( var i = 1; i < Rows.length; i++ ) {
             if(Rows[i].parentNode.parentNode.id == ("collapsibleTable" + tableIndex))
             {
                 Rows[i].style.display = Rows[0].style.display;
             }
         }
         Button.firstChild.data = collapseCaption;
     }
 }

If you think this code may break anything, add

import_external('User:Catrope/bsgbook.js');

to User:Joe Beaudoin Jr./bsgbook.js and try it out. --Catrope(Talk to me or e-mail me) 11:15, 7 June 2007 (CDT)

Cool, I'll get it implemented sometime later tonight, after I get off work. -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 11:20, 7 June 2007 (CDT)
When you've done that, would you please delete User:Catrope/bsgbook.js? TIA --Catrope(Talk to me or e-mail me) 12:34, 7 June 2007 (CDT)
Apparently someone beat me to deleting your bsgbook.js. Anyway, the file in question is "common.js", and the site-wide one can be found at MediaWiki:common.js. (As one would anticipate, it is protected.) I did update it, but there seems to be an issue with it, at least on my end... See the talk page of the Think Tank in question. -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 23:46, 7 June 2007 (CDT)
Yeah, Spence deleted my page before you got the chance. I think your problem is that you have to do a hard refresh on the talk page: Shift+Reload button in Firefox 2.0. I did that and it works for me now. BTW, I also informed the official maintainer of the collapsible tables JS of my fix (coincidentally, he's Dutch too), and he said he'd verify it and merge it into the main branch when he gets back from his vacation. --Catrope(Talk to me or e-mail me) 02:35, 8 June 2007 (CDT)

Gtalk for a min

Update. :) Shane (T - C - E) 21:10, 10 June 2007 (CDT)

Answered. :-) -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 21:18, 10 June 2007 (CDT)

Deleted redirects

I noticed you deleted 401 and 4.01, while I intended for 403 and 4.03 to be deleted. The nastyness here is that when you click the "Article" button on a redirect's talk page, it'll go to the redirect target (rather than the redirect itself). So please delete 401 and 4.01 and restore 403 and 4.03. --Catrope(Talk to me or e-mail me) 15:49, 11 June 2007 (CDT)

Where should 403 go then? He That Believath in Me? -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 16:02, 11 June 2007 (CDT)
Ok, so I've redirected 403 and 4.03 to He That Believath In Me... The issue is, however, we don't seem to have an official production number for that episode. (From the comments I've read so far, it seems that the Razor is considered a part of Season 4 and may just be episodes "401" and "402". -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 16:08, 11 June 2007 (CDT)
Yeah, I just noted that on the Razor talk page. The movie is 4.01 and 4.02. But that's production numbers. When people say "first episode of Season 4" they probably mean "He That Believeth In Me". Anyways, this also needs to be corrected in the episode data templates, unless those aren't meant for production numbers. ARG! Confusion --Serenity 16:11, 11 June 2007 (CDT)
Don't the TV magazines list the episode number? If that is the case, we'd better just delete the 4?? and 4.?? redirects and wait until January for HTBIM's episode number. --Catrope(Talk to me or e-mail me) 06:31, 12 June 2007 (CDT)

A "Welcome Bot"

I was looking around, and I found this: http://botwiki.sno.cc/wiki/Python:Welcome.py Should we create? Shane (T - C - E) 07:08, 13 June 2007 (CDT)

While I'm usually all about saving time, it seems to me that there's some value to a personal greeting. When someone went to thank the bot for their welcome, the feeling of camaraderie may be... reduced. --Steelviper 08:36, 13 June 2007 (CDT)
A welcome bot doesn't seem very useful for me: we usually manage to welcome new users quite fast (sometimes even within 5 minutes of registration). The upside of the welcome bot is that it can automatically block disallowed usernames, which is quite useful. --Catrope(Talk to me or e-mail me) 09:55, 13 June 2007 (CDT)
I'm going to echo SV's statement here: I feel that users should be proactive in welcoming users, since it's an "icebreaker" of sorts. Also, we don't have a problem with welcoming users; as Catrope indicated, we welcome users fairly quickly, which is nothing short of awesome, in my book. -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 16:13, 13 June 2007 (CDT)
Ditto. I'm happy how the process has matured over the years when I got into the swing of doing them...it's nice and personal, unlike a Cylon. :) --Spencerian 16:35, 13 June 2007 (CDT)
Aye. You mentioned it once... Just wanted you to know :) Shane (T - C - E) 07:22, 14 June 2007 (CDT)

You should..

Restore all your old chats and have the bot archive'em. :D Shane (T - C - E) 21:35, 16 June 2007 (CDT)

Should I do them as subpages or merely copy and paste all of them into my talk page? -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 21:41, 16 June 2007 (CDT)
Copy them in order on this page and the bot will do it automatically. Sub-pages would be bad. :) Shane (T - C - E) 21:52, 16 June 2007 (CDT)
That figures. LOL -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 21:54, 16 June 2007 (CDT)
Fire the "laser", Dr. Evil. :-) -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 22:01, 16 June 2007 (CDT)