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

Editing User talk:Joe Beaudoin Jr./Archive6

Discussion page of User:Joe Beaudoin Jr./Archive6
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 106: Line 106:


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]]. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 15:49, 11 June 2007 (CDT)
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]]. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 15:49, 11 June 2007 (CDT)
:Where should 403 go then? He That Believath in Me? -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki &mdash; ''New'']</sup> 16:02, 11 June 2007 (CDT)
:Where should 403 go then? [[He That Believath in Me]]? -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki &mdash; ''New'']</sup> 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". -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki &mdash; ''New'']</sup> 16:08, 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". -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki &mdash; ''New'']</sup> 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 --[[User:Serenity|Serenity]] 16:11, 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 --[[User:Serenity|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. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 06:31, 12 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. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 06:31, 12 June 2007 (CDT)
Line 214: Line 214:
8) [[User:Shane|Shane]] <sup>([[User_Talk:Shane|T]] - [[Special:Contributions/Shane|C]] - [[Special:Editcount/Shane|E]])</sup> 10:44, 27 August 2007 (CDT)
8) [[User:Shane|Shane]] <sup>([[User_Talk:Shane|T]] - [[Special:Contributions/Shane|C]] - [[Special:Editcount/Shane|E]])</sup> 10:44, 27 August 2007 (CDT)
: [[rc:Frakking Galactica|Indeed.]] -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki &mdash; ''New'']</sup> 10:58, 27 August 2007 (CDT)
: [[rc:Frakking Galactica|Indeed.]] -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki &mdash; ''New'']</sup> 10:58, 27 August 2007 (CDT)
== SkinTemplate.php ==
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). --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 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. ;-) -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki &mdash; ''New'']</sup> 17:15, 27 August 2007 (CDT)
: :o Commit Access? I been trying to get that for a while. [[User:Shane|Shane]] <sup>([[User_Talk:Shane|T]] - [[Special:Contributions/Shane|C]] - [[Special:Editcount/Shane|E]])</sup> 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. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 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) {
? --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 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. -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki &mdash; ''New'']</sup> 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 <code>=></code> 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:]]. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 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. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 14:02, 30 August 2007 (CDT)
:::I've sent you an e-mail at your frakmedia.net address. Please read it and reply. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 16:27, 30 August 2007 (CDT)
::::You've got mail. ;-) -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki &mdash; ''New'']</sup> 17:11, 30 August 2007 (CDT)
The extension has gone live. You can find it in SVN [http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Imagetabs/ here], and the associated page on MediaWiki is [http://www.mediawiki.org/wiki/Extension:Imagetabs here]. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 11:07, 31 August 2007 (CDT)
: Sweet! W00t! :-) -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki &mdash; ''New'']</sup> 11:29, 31 August 2007 (CDT)
== MediaWiki 1.11 ==
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 [http://www.mediawiki.org MediaWiki.org]. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 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? -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki &mdash; ''New'']</sup> 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. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 15:50, 5 September 2007 (CDT)
::[http://www.mediawiki.org/wiki/Manual:Upgrading_to_1.11 It's there]. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 16:31, 5 September 2007 (CDT)
:::Wow, 1.11.0 stable [http://lists.wikimedia.org/pipermail/mediawiki-announce/2007-September/000067.html has arrived] already. For upgrade instructions see [http://www.mediawiki.org/wiki/Manual:Upgrading_to_1.11 here]. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 14:30, 11 September 2007 (CDT)
== your template help offer ==
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!    [[User:Caw|Caw]] 17:49, 15 September 2007 (CDT)
== Cylon "Epiphanies" info ==
* 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. -- [[User:Troyian|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. -- [[User:Troyian|Troyian]] 04:18, 1 October 2007 (CDT)
** No worries. ;-) -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki &mdash; ''New'']</sup> 21:26, 4 October 2007 (CDT)
== Amazon UK store ==
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? --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 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? -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki &mdash; ''New'']</sup> 12:17, 23 October 2007 (CDT)
::Works fine here. --[[User:Serenity|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 --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 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. -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki &mdash; ''New'']</sup> 15:26, 23 October 2007 (CDT)
::::Oh, sorry, my mistake. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 15:41, 23 October 2007 (CDT)

To edit this page, please enter the words that appear below in the box (more info):

Refresh
Cancel Editing help (opens in new window)

  [] · [[]] · [[|]] · {{}} · · “” ‘’ «» ‹› „“ ‚‘ · ~ | ° &nbsp; · ± × ÷ ² ³ ½ · §
     [[Category:]] · [[:File:]] · [[Special:MyLanguage/]] · <code></code> · <nowiki></nowiki> <code><nowiki></nowiki></code> · <syntaxhighlight></syntaxhighlight> · <includeonly></includeonly> · <noinclude></noinclude> · #REDIRECT[[]] · <translate></translate> · <languages/> · {{#translation:}} · <tvar|></> · {{DEFAULTSORT:}} · <categorytree></categorytree> · <div style="clear:both;"></div> <s></s> Welcome message: {{subst:welcome|{{PAGENAME}}}} (signature added automatically) Spammer blocked message: {{subst:spammertalk}} (signature added automatically)


Your changes will be visible immediately.
  • For testing, please use the sandbox instead.
  • On talk pages, please sign your comment by typing four tildes (~~~~).