| ||
---|---|---|
DO NOT EDIT OR POST REPLIES TO THIS PAGE. THIS PAGE IS AN ARCHIVE.
This page is an archive. Do not edit the contents of this page. Please direct any additional comments to the current talk page. |
{{bsgwiki term}}[edit]
8) Shane (T - C - E) 06:01, 16 May 2007 (CDT)
Sanfam contact thread[edit]
I posted a question over at tgm. I only left this here as it is likely that it'll trigger an email. --Steelviper 16:09, 19 May 2007 (CDT)
Pipe sign[edit]
You don't need to do <nowiki>|</nowiki>
, {{!}}
does the trick. --Catrope(Talk to me or e-mail me) 14:29, 21 May 2007 (CDT)
- Ah... Forgot about that. Thanks! -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 14:30, 21 May 2007 (CDT)
Lushina.com[edit]
An online friend of mine started a link directory at Lushina.com. Submission is free, so maybe Battlestar and Sanctuary Wiki can go there? --Catrope(Talk to me or e-mail me) 07:54, 24 May 2007 (CDT)
- Worth a try. Thanks! :-) -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 09:33, 24 May 2007 (CDT)
- Interesting site but do people still use link directories any more? --Mercifull (Talk/Contribs) 11:43, 24 May 2007 (CDT)
- No idea. Can't hurt, though. --Catrope(Talk to me or e-mail me) 13:37, 24 May 2007 (CDT)
- With Google around, not really. However, as Catrope said, it doesn't hurt to get listed. -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 20:58, 24 May 2007 (CDT)
- Interesting site but do people still use link directories any more? --Mercifull (Talk/Contribs) 11:43, 24 May 2007 (CDT)
Polish Wiki[edit]
Hello, I'm interested in set up the Polish version of BSG Wiki. Translating first article and gathering the crew is in progress. :) But I have several questions to you. 1. How it is with links in articles, that is being translating? For example if I have a link to "Water" episode, do I should change it to link to the "Water/pl: Woda", even if that article isn't existing yet? 2. Spoilers. I don't really know, how to solve this issue. To be honest, no BSG episode has been aired in Polish TV yet. We have been watching it in foreing channels. So how should I treat the spoilers? What informations are spoiler informations? All? None? This is all for now. Hope my Engilsh is good enough to be understood by you. :) --Glizda 04:22, 26 May 2007 (CDT)
- I can help with this.... right now in order to have the basic "things" (plus here) need for your own wiki to function. We can take the "pl" files here on the and important them into the pl namespace... pl.battlestarwiki.org. They way you would link a pl.battlestarwiki.org/wiki/Woda with en.battlestarwiki.org/wiki/Water is add
[[en:Water]]
to the bottom of the "Woda" page as explained in the BW:SAC and BW:INTER. Then the interwiki bot maintains the links on all the wikis so everything is cross-referenced. Spoiler information is then BASED off the English wiki if it doesn't "Air" per say in Poland. Any questions? Hope this helps. Shane (T - C - E) 05:50, 26 May 2007 (CDT)- Thank you for these informations. But, if you don't mind, I have one more question. If I want to create Polish article about "Water" episode I should name this article "Water/pl: Woda", yes? And when Polish Wiki will be created this article appear there automatically and it will be named "Woda"? Correct me, if I've understood wrong. --Glizda 10:50, 26 May 2007 (CDT)
Nested collapsible tables fix[edit]
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)
- 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)
- 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)
Deleted redirects[edit]
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 Believeth 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)
- 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)
A "Welcome Bot"[edit]
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)
You should..[edit]
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)
- Fire the "laser" is now working on your talk page. Lower case "k" is different from upper-case "K". 6 archives created. :) Shane (T - C - E) 12:33, 17 June 2007 (CDT)
- Heh. Go figure. Thanks Shane! -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 22:47, 17 June 2007 (CDT)
- Fire the "laser" is now working on your talk page. Lower case "k" is different from upper-case "K". 6 archives created. :) Shane (T - C - E) 12:33, 17 June 2007 (CDT)
- Fire the "laser", Dr. Evil. :-) -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 22:01, 16 June 2007 (CDT)
- That figures. LOL -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 21:54, 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)
Gtalk for a min[edit]
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)
I'm back![edit]
Back after a bit of a haitus for various reasons. Personal life issues and various other things. I just got back from Glastonbury so i'm a bit knackered atm but will get back to work this week here on the wiki etc. With the exception of my best friends wedding on the weekend of the 8th im now back and ready for action. If somsone could update me on whats going on and stuff by email I would be really grateful, cheers. Matt --Mercifull (Talk/Contribs) 07:24, 25 June 2007 (CDT)
Translating Templates[edit]
Hello, as you remember or not, I'm trying to do something to create polish version of BSGWiki. ;) And I've got a question about translating templates. In this Japan-translated template - Template:Episode Data (jp) - in the examples section we've got all in Japan langauage. I mean, all, inculding words like "Director", "Previous", etc. What I have to do to have all in Polish in examples on this template page: Template:Episode Data/pl:Szablon:Dane odcinka? I've translated all things from the top of the page, all this stuff describing this frame with data. But in examples section there is all in English still. I propably don't know about something obvious or do some stupid mistake, bu, please, help me with this. :) —The preceding unsigned comment was added by Glizda101 (talk • contribs).
- You'll have to edit the examples manually by changing out the English phrases with Polish ones. :-) -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 23:58, 28 June 2007 (CDT)
- In less technical terms, that means changing all occurrences of
{{{season
with{{{sezon
(or whatever the Polish word is, I thought it was sezon). BTW, I'm amazed at the speed with which you translate all that stuff. --Catrope(Talk to me or e-mail me) 05:25, 29 June 2007 (CDT)- Thanks for the praise. :) But I still don't know what I have to change... Maybe I'm stupid, but plese, try to explane me it in a very simply way. Do I have to change all this world in template, which are finished with "="
({{Episode Data | image= | title= etc...)?
- I see that in this japan-translated template there is still all in English...
- I change all those thing on the top of the page:
(|- style="text-align: center;" ! class="infoboxheader" colspan="3" |'''"{{{title|{{PAGENAME}}}}}"''' [[List of All Episodes|Odcinek]] ''{{#switch: {{{series|}}} etc...)
{{Episode Data | (Polish word for image)= | (Polish word for title)= etc.
- And translate all occurences of
{{{image
. --Catrope(Talk to me or e-mail me) 14:41, 29 June 2007 (CDT)- Argh... Look - I did all changes you were talking about (anyway, I think I did :)) and still nothing - Template:Episode Data/pl:Szablon:Dane odcinka.--Glizda 03:40, 30 June 2007 (CDT)
- The demo thing on the bottom of the page still used the English version. I set that to Polish (see also page history), and it works now. --Catrope(Talk to me or e-mail me) 04:54, 30 June 2007 (CDT)
- O, thank you very much. :) I would never think it up. Thanks once again. :) --Glizda 05:18, 30 June 2007 (CDT)
- The demo thing on the bottom of the page still used the English version. I set that to Polish (see also page history), and it works now. --Catrope(Talk to me or e-mail me) 04:54, 30 June 2007 (CDT)
- Argh... Look - I did all changes you were talking about (anyway, I think I did :)) and still nothing - Template:Episode Data/pl:Szablon:Dane odcinka.--Glizda 03:40, 30 June 2007 (CDT)
- And translate all occurences of
Are you sure you didn't mean for User:Veepz to become a trusted rather than Veeps? --Catrope(Talk to me or e-mail me) 06:41, 16 August 2007 (CDT)
- I think Catrope is right, I wondered why I couldn't see 'move' a top the page. Thought it took time for it to activate or something. -- Veepz 09:59, 16 August 2007 (CDT)
- I've corrected it. Veepz now can move pages and Veeps cannot. --Spencerian 10:34, 16 August 2007 (CDT)
- Thanks Spence. BTW, I may have been the person who created User:Veeps a long time ago. I don't know for sure. I created Veepz because I couldn't remember my old one, whatever it was, and Veeps was taken. I do wonder... -- Veepz 10:44, 16 August 2007 (CDT)
- Someone with checkuser rights could probably check that. --Catrope(Talk to me or e-mail me) 11:47, 16 August 2007 (CDT)
- Unfortunately, CheckUser only works if the user's logged in within the lifespan of RecentChanges (which means basically 30 days, give or take). Since User:Veeps (with an S) hasn't logged in within that time period, CheckUser is useless. I'd have to access the database directly and pull up the appropriate table, which may or may not yield anything either. -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 11:59, 16 August 2007 (CDT)
- Don't bother. The Recentchanges table is the only place that stores IPs. --Catrope(Talk to me or e-mail me) 12:40, 16 August 2007 (CDT)
- Yes, but I was going to check whether or not Veeps had an e-mail address attached to the account... When I have the time. -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 12:42, 16 August 2007 (CDT)
- Don't bother. The Recentchanges table is the only place that stores IPs. --Catrope(Talk to me or e-mail me) 12:40, 16 August 2007 (CDT)
- Unfortunately, CheckUser only works if the user's logged in within the lifespan of RecentChanges (which means basically 30 days, give or take). Since User:Veeps (with an S) hasn't logged in within that time period, CheckUser is useless. I'd have to access the database directly and pull up the appropriate table, which may or may not yield anything either. -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 11:59, 16 August 2007 (CDT)
- Someone with checkuser rights could probably check that. --Catrope(Talk to me or e-mail me) 11:47, 16 August 2007 (CDT)
- Thanks Spence. BTW, I may have been the person who created User:Veeps a long time ago. I don't know for sure. I created Veepz because I couldn't remember my old one, whatever it was, and Veeps was taken. I do wonder... -- Veepz 10:44, 16 August 2007 (CDT)
- I've corrected it. Veepz now can move pages and Veeps cannot. --Spencerian 10:34, 16 August 2007 (CDT)
- Bah. A command frakup. Sorry about that. -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 11:13, 16 August 2007 (CDT)
- Well, you know we're here for ya, Joe P. Let you keep up on your Kataris. :) --Spencerian 14:37, 16 August 2007 (CDT)
Times publicity[edit]
Do you guys run statistics software (e.g. AWStat) that can tell whether we've gotten any more traffic from timesonline.co.uk due to their coverage of us? --Catrope(Talk to me or e-mail me) 16:25, 19 August 2007 (CDT)
- I just checked. We have Webalizer installed and monitoring frakr.com, but we never enabled it for the battlestarwiki.org, more out of laziness if anything... and the fact that we had to disable the stats software on our old, old server when the site was being besieged. I've just enabled it now, since we can handle it now. So we'll see. -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 16:32, 19 August 2007 (CDT)
- I had to add that to the "news" on the Main Page. We don't get that much opportunity for self-aggrandizement, and the wiki community should be proud to be noticed. :) --Spencerian 20:14, 19 August 2007 (CDT)
- Cool. :-) -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 21:51, 19 August 2007 (CDT)
- I had to add that to the "news" on the Main Page. We don't get that much opportunity for self-aggrandizement, and the wiki community should be proud to be noticed. :) --Spencerian 20:14, 19 August 2007 (CDT)
Saw your note on marveldatabase[edit]
Hi Joe,
long time no chat. I see you've been busy - I'm an avid reader of your blog. I saw your comments about our new skins at marveldatabase.com. I'd be happy to walk you through all the current functionality and the new stuff that's coming too!
- Hi Gil! I've replied on your World Wikia page, here. -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 17:54, 20 August 2007 (CDT)
Foreign Wikis[edit]
I thought you might wanna know the following things:
- The Chinese Wiki is not working. You (or Shane) might wanna check whether it's running the latest version of MediaWiki (1.10), 'cause AFAIK the cur table (which the error message complains is missing) is something of the past. I'll check mediawiki.org later, as it's offline now.
- The French Wiki is at 93 articles now, nice addition to our milestone list ;)
--Catrope(Talk to me or e-mail me) 09:09, 23 August 2007 (CDT)
- The Chinese Wiki has been a known issue; something occurred with the databases it used when we've upgraded to 1.10. Just FYI, all the wikis run 1.10, since we use only one instance of the software (via symlinking), and when that instance is updated, all the wikis are simultaneously updated. Shane was trying to figure it out, and it's something on my list, but it's a low priority for me at the present time. (We may just take it offline until further notice.) -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 10:31, 23 August 2007 (CDT)
- I see. You might wanna check whether you've got the settings right, i.e. that the bsgwiki_zh database actually exists, that the table names aren't prefixed, etc. If the nonexistent cur table proves to be your only problem, you could ask the folks on the #mediawiki channel on FreeNode for SQL code that'll create an empty cur table (it needn't have any content; since 1.5, all that info is stored in the page table). --Catrope(Talk to me or e-mail me) 10:52, 23 August 2007 (CDT)
- I recreated the cur file from an old mediawiki install. That seems to have worked. Thanks! :-) -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 12:13, 23 August 2007 (CDT)
- I see. You might wanna check whether you've got the settings right, i.e. that the bsgwiki_zh database actually exists, that the table names aren't prefixed, etc. If the nonexistent cur table proves to be your only problem, you could ask the folks on the #mediawiki channel on FreeNode for SQL code that'll create an empty cur table (it needn't have any content; since 1.5, all that info is stored in the page table). --Catrope(Talk to me or e-mail me) 10:52, 23 August 2007 (CDT)
Feelin' Chicken[edit]
8) Shane (T - C - E) 10:44, 27 August 2007 (CDT)
- Indeed. -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 10:58, 27 August 2007 (CDT)
SkinTemplate.php[edit]
Nice job on the image tabs. If you can provide a diff between the MediaWiki 1.10 version of SkinTemplate.php and your modified version, I may be able to add this feature in MediaWiki 1.11 (I have commit access to the MediaWiki SVN). I may also be able to find a cleaner way of translating Bild: back to Image: (which should be possible). --Catrope(Talk to me or e-mail me) 16:24, 27 August 2007 (CDT)
- Actually, all the work I did is between lines 801 and 889 of the file. I did not modify anything else outside that. Of course, any ways you can find to improve the addition would be great -- and even more so if you can get something like this committed in the next MediaWiki release. ;-) -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 17:15, 27 August 2007 (CDT)
- :o Commit Access? I been trying to get that for a while. Shane (T - C - E) 00:48, 28 August 2007 (CDT)
- Whether you get it depends on what you want it for. Before summer break I've been helping out Yuri Astrakhan with his bot API (I intend to continue doing so now that school has started again), and at a certain point in time he suggested I start a new branch (called apiedit) for state-changing actions in the API and he requested commit access for me. Anyway, I'll look at ll. 801-889 some day this week and see if I can improve anything. When I'm done improving and all, I'll commit it to the trunk (mentioning your name, of course). Note, though, that it's possible some top guy at MediaWiki (like Rob Church, who is essentially in command of the MediaWiki code) decides this addition doesn't belong in the trunk (should be an extension or something like that) and takes it out again. Whatever happens, I'll keep you updated on the fate of your writing. --Catrope(Talk to me or e-mail me) 09:16, 28 August 2007 (CDT)
I've had a quick look at your code, and I think I can generalize it and make it easily configurable for other wikis. However, I have one question:
if ( !$istalk || $wgOut->showNewSectionLink() ) { if ( $isimage == NS_IMAGE || $wgOut->showNewSectionLink() ) {
This if construct looks very weird to me. Firstly, all talk pages show new section links, so the first if() doesn't exclude any pages at all. The second if() restricts the tabs to only those pages that are in the Image: namespace OR have a new section link (the + next to the edit tab) on them (i.e. all talk pages). In some weird way these tabs don't appear on all talk pages, so I'm missing something here. Could you explain why you wrote this if construct the way you wrote it and didn't just use
if($this->mTitle->getNamespace() == NS_IMAGE) {
? --Catrope(Talk to me or e-mail me) 08:20, 30 August 2007 (CDT)
- That was a remnant of a test I was conducting... but I'm not sure now what exactly I was testing, only that something was being tested. (I think I was concerned about the tabs being repeated on the talk page as well, but seeing as the second if deals with that as well, it is, as you say, redundant.) You can remove it.
- Coincidentally, I was thinking... is there a way to convert the links section on the image description page so that it can read the imagelinks table off the other databases? Ultimately, what I want is to show where the image is used across all wikis, regardless of what wiki the user is currently on. -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 11:46, 30 August 2007 (CDT)
- The best way to do that is probably to write a simple PHP script that queries the imagelinks tables in all DBs and prints a (linked) list of titles that use a certain image. A link to this PHP script could then be added to the image tagging template(s). I would advise against trying to do this inside the MediaWiki code.
- Meanwhile, I've rewritten your code to be much shorter and much easier to adapt to someone else's needs:
/** * Interwiki tabs above Image: pages * Original code by Joe Beaudoin Jr. from www.battlestarwiki.org (joe(AT)frakmedia(DOT)net) * Modified for more generic usage by Roan Kattouw (AKA Catrope) (roan(DOT)kattouw(AT)home(DOT)nl) * If you want to use this, you need to set $wgEnableInterwikiImageTabs to true in LocalSettings.php */ global $wgEnableInterwikiImageTabs, $wgInterwikiImageTabs; if($wgEnableInterwikiImageTabs && $this->mTitle->getNamespace() == NS_IMAGE) { $i = 0; foreach($wgInterwikiImageTabs as $prefix => $caption) { // Go to prefix:Image:title. Image: is automatically translated if necessary. $titleObj = Title::newFromText($prefix . ":Image:" . $this->mTitle->getText()); if($titleObj->getFullURL() != $this->mTitle->getFullURL()) // Don't link to ourselves $content_actions['interwikitab-'.$i++] = array( 'class' => false, 'text' => $caption, 'href' => $titleObj->getFullURL() ); } }
- The two $wg* variables need to be set in LocalSettings.php, like so:
$wgEnableInterwikiImageTabs = true; $wgInterwikiImageTabs = array('en' => 'English', 'de' => 'Deutsch', 'media' => 'Media repository');
- The text before the
=>
sign is the interwiki prefix to link to, the text after it is the tab caption. The code also checks whether one of the tabs links to the page currently being viewed, and hides it if so. In other words, the "Deutsch" tab won't show up when viewing an image on de:. --Catrope(Talk to me or e-mail me) 14:02, 30 August 2007 (CDT) - I'll file an enhancement request at MediaZilla tomorrow, so the MediaWiki community can decide whether this belongs in the trunk. It's possible that it has to go in an extension instead, in which case you and I will be able to call ourselves extension maintainers ;) Whatever happens, I'll keep you posted. --Catrope(Talk to me or e-mail me) 14:02, 30 August 2007 (CDT)
- I've sent you an e-mail at your frakmedia.net address. Please read it and reply. --Catrope(Talk to me or e-mail me) 16:27, 30 August 2007 (CDT)
- You've got mail. ;-) -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 17:11, 30 August 2007 (CDT)
- I've sent you an e-mail at your frakmedia.net address. Please read it and reply. --Catrope(Talk to me or e-mail me) 16:27, 30 August 2007 (CDT)
- The text before the
The extension has gone live. You can find it in SVN here, and the associated page on MediaWiki is here. --Catrope(Talk to me or e-mail me) 11:07, 31 August 2007 (CDT)
- Sweet! W00t! :-) -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 11:29, 31 August 2007 (CDT)
MediaWiki 1.11[edit]
I just saw Brion Vibber archiving the MediaWiki trunk into the 1_11 branch, which means a 1.11 release candidate will be released very soon. Keep an eye on MediaWiki.org. --Catrope(Talk to me or e-mail me) 15:31, 5 September 2007 (CDT)
- About time! :-) Better late than never, I suppose. Speaking of which, the new bot API is being rolled out... are there any working bots that can be used with that API yet? -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 15:34, 5 September 2007 (CDT)
- Not that I know of. The query part of the API has grown a lot since 1.10, but the state-changing part is still under heavy development, and is unlikely to be included in the final 1.11 release. When I'm done writing my part of the state-changing stuff (everything except edit, upload and register, which is done by 5 Vodafone employees), I'll start writing a graphical interface for the API, which can also be run as a bot. But those are long-term plans right now. Meanwhile, Brion has his tarball ready, and 1.11.0rc1 will appear on MediaWiki.org any minute now. --Catrope(Talk to me or e-mail me) 15:50, 5 September 2007 (CDT)
- It's there. --Catrope(Talk to me or e-mail me) 16:31, 5 September 2007 (CDT)
- Wow, 1.11.0 stable has arrived already. For upgrade instructions see here. --Catrope(Talk to me or e-mail me) 14:30, 11 September 2007 (CDT)
your template help offer[edit]
i'm just trying to add a field to enter my school. i've got a couple people helping me, so don't worry about it. thanks so much, and excellent job on this wiki! Caw 17:49, 15 September 2007 (CDT)
Cylon "Epiphanies" info[edit]
- Mr. Beaudoin do you have the Season 2.5 DVD? I ask because I understand that deleted scenes in the "Epiphanies" episode give some insight into Cylon physiology and I'm really curious. I ask that if you have the information could you please add it to the "Humanoid Cylon" article (as well as my talk page). If you don't have it, thanks anyway. -- Troyian 04:14, 1 October 2007 (CDT)
- I know this is quick. But never mind. I just checked and apparently there are no deleted scenes from "Epiphanies" on the Season 2.5 DVD set. Shame! I'm going to correct the "Life sciences in the Re-imagined Series" article which suggest that the DVD would provide the deleted scenes. -- Troyian 04:18, 1 October 2007 (CDT)
- No worries. ;-) -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 21:26, 4 October 2007 (CDT)
Amazon UK store[edit]
I get
The page you requested is temporarily unavailable. We apologize for the inconvenience.
When trying to visit the Amazon UK store through the link provided on Battlestar Wiki:News/Merchandise. Any idea why? --Catrope(Talk to me or e-mail me) 09:00, 23 October 2007 (CDT)
- Good question. I honestly don't know... Is it just that link, or is it all links to this URL: http://astore.amazon.co.uk/battlestarwik-21/detail/B000UZ4C4A/
- Anyone else having the same problem? -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 12:17, 23 October 2007 (CDT)
- Works fine here. --Serenity 12:23, 23 October 2007 (CDT)
- Your (Joe's) link works, but the link on the News page is different: http://astore.amazon.co.uk/battlestarwik-21/detail/B000FK88JK --Catrope(Talk to me or e-mail me) 14:32, 23 October 2007 (CDT)
- Ah, you confused me a bit there. (The Mac OS X link is in the Colonial News thing, not the merch news, hence the confusion.) Anyway, yeah, the link doesn't work for some reason. Odd. -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 15:26, 23 October 2007 (CDT)
- Oh, sorry, my mistake. --Catrope(Talk to me or e-mail me) 15:41, 23 October 2007 (CDT)
- Ah, you confused me a bit there. (The Mac OS X link is in the Colonial News thing, not the merch news, hence the confusion.) Anyway, yeah, the link doesn't work for some reason. Odd. -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 15:26, 23 October 2007 (CDT)