User talk:Marooned

CategorySelect extension
Hello, i need some help enabling category select extension; i installed it but it does not show at all, i suspect it has something to do with ajax but im not sure. could u help out? ill revisit this page often Discipol 16:54, December 23, 2009 (UTC)
 * Hi! Are you using our code or pure MediaWiki? There are a few changes done in core MW (mostly in includes/* folder) required for CS to work. Most of them (or even all) are put inside if statement with checking if variable $wgCategorySelectEnabled is true. You can search for this variable and apply those changes to your code.
 * Let me know about progress and if you need more help. Regards --Marooned 17:29, December 23, 2009 (UTC)

thanx for the reply! I am using the version with the "sprite.png" in it. All i found regarding $wgCategorySelectEnabled was in the categoryselect_body.php $wgCategorySelectEnabled = true; //prepare Parser $wgParser->startExternalParse($wgTitle, new ParserOptions, OT_WIKI); //get DOM tree [PPNode_DOM class] as an XML string $xml = $wgParser->preprocessToDom($wikitext)->__toString; //disable changes in Preprocessor and Parser //	$wgCategorySelectEnabled = false; And i comented the = false part....didn't do the trick. I recently started making my own wikipedia for various school projects and to my surprise :D wika.com had a ton of features i would like to transfer to my own. Its too bad that so many fail to be easily installed but this one i really wanna have :D, what should i do now? Discipol 17:41, December 23, 2009 (UTC)
 * My question was about whole MediaWiki, are you using this modified by Wikia or pure, got from MediaWiki servers? I assume you are using pure one, so you need apply changes connected to mentioned variable in file "/includes/parser/Preprocessor_DOM.php" placed in main folder of MW. Do not remove it from CategorySelect files, they are needed to proper work of this extension.
 * You can always consider setting your wiki on Wikia - then CategorySelect and many more handy extensions will be waiting there for you without any work and time spent from your side. --Marooned 17:59, December 23, 2009 (UTC)

<?php

//like this $wgCategorySelectEnabled = true;

/** * @ingroup Parser */ class Preprocessor_DOM implements Preprocessor { var $parser, $memoryLimit;

//	or this? var $wgCategorySelectEnabled = true; const CACHE_VERSION = 1;

I tried both versions and no change. Perhaps i am using a modified (and bad) version? which would be the official one? or the one u have.

I was using a core version without anything in the extension folder. I would use your site but i need an offline version (backed up by easyphp) for my college finals project. Must insert awesomeness and this website is full of it :D Discipol 18:20, December 23, 2009 (UTC)
 * No no no.. look into this file and look for $wgCategorySelectEnabled - you will find some code added by Wikia there, in some places. You need to add those changes into your code. --Marooned 18:22, December 23, 2009 (UTC)

The reason i couldnt find $wgCategorySelectEnabled was i didn't realised i had to download your modified dom file :D. After i downloaded it, i added the $wgCategorySelectEnabled = true part, every place it was declared global. I replaced the dom file from the wiki\includes\parser tho it didn't work. I may have misinterpreted your instructions in the confusion. Help some more? :D also, is it possible to download the modified wikia the same as www.wikia.com has?

Also where is the official CategorySelect source? i suspect im using a bad one.

thanx for your patience Discipol 18:55, December 23, 2009 (UTC)
 * whole current Wikia source and inside there is a CategorySelect source - good luck! --Marooned 19:01, December 23, 2009 (UTC)

I recently downloaded this extension and followed the above instructions (even going so far as to copy the entire modified Preprocessor_DOM.php file) and am having some problems. The includeonly and noinclude tags aren't being processed. They're showing up in my articles as if they were text. Also, I'm getting this error: "Invalid tag extension name: noinclude". What am I doing wrong? Cronje 17:13, August 14, 2010 (UTC)
 * Are you sure that you have global variable $wgCategorySelectEnabled set to true? noinclude is core pseudo-tag in MW, should be handled before tag handlers calling. --Marooned 10:35, August 16, 2010 (UTC)
 * Thanks for the reply. I had the line $wgCategorySelectEnabled = true; at the very end of my LocalSettings.php file. Should I have it set somewhere else? Cronje 12:12, August 16, 2010 (UTC)
 * That place is ok. Did you get this error message after using our changed Preprocesor file? Can you check with original one? --Marooned 12:17, August 16, 2010 (UTC)
 * The original Preprocessor_DOM.php file gives no errors. As soon as I replace it with the modified version, the errors start appearing. I disabled all of my other extensions to see if there was some sort of weird compatibility issue, but it was still throwing out errors. On lines 163-165 of the modified file, there is some code that I suspect might have something to do with, but am wary about editing it without knowing exactly what its function is. Cronje 12:26, August 16, 2010 (UTC)
 * Hard to help you w/o having possibility to test your code. Double check if you get inside this condition

if (!empty($wgCategorySelectEnabled)) { $ignoredTags = $ignoredElements = array; $xmlishElements[] = 'noinclude'; $xmlishElements[] = 'onlyinclude'; }
 * because it looks like you fall into preg_match at line 317 (number taken from our current trunk) --Marooned 12:38, August 16, 2010 (UTC)
 * Thanks for the quick replies. I really appreciate it. Yep, I've got that line. As I said, I copied the entire modified Preprocessor_DOM.php file. Cronje 12:49, August 16, 2010 (UTC)
 * I know you have it - I asked can you check if you get inside this condition.. well, even get rid of this if(..) and just leave those 3 lines w/o condition - and then check if it's working or you still have an error. Doing my best to help w/o access to the code :) --Marooned 12:53, August 16, 2010 (UTC)
 * That code's definitely being called. I put an echo "!!!!!"; code inside the the if and refreshed the page and it printed it. Editing out the if statement has no effect. Cronje 12:59, August 16, 2010 (UTC)
 * So sorry to say but I'm unable to help you at this point. Need more debugging. Compare changes from original file and our modified, add some debug lines in changed lines. Hope you can make it. Feel free to ping me for more help in the future. --Marooned 13:04, August 16, 2010 (UTC)

ActivityFeed extension
Hi, where can I download the source of ActivityFeed extension? --Ans 10:43, March 18, 2010 (UTC)
 * Hi, this extension is part of WidgetFramework extension and it's located in folder WidgetCommunity (that was the old name if this extension). Moreover, this widget requires classes from MyHome in order to work.
 * Hope it helps --Marooned 11:04, March 18, 2010 (UTC)

InterwikiDispatcher
Hello,

Sorry I'm not a native english speaker.

I was wondering, you seem the most qualified person to answer my question, how can you create interlanguage links between wikis that do not have the same type of URL. I explain, ordinarly, you just tyoe Name of article in french or if it's the same name or even fr:wiki:Name if it doesn't have the same name.

But! I am having trouble for my wiki who do not have a fr. nor the english version is having an en. I tried several variation of the tardis:something without success.

The wikis I'm talking about are docteurwho.wikia.com and tardis.wikia.com. However, the tardis one seems to have some sort of link because when you type in the URL fr.tardis.wikia.com, you get the docteurwho.wikia.com page (and never the contrary...). I tried doing some modif in the english version, but no template with language at the left column appear, it just always had a blue or red link at the spot I wrote the modifications.

Would it be possible to explain me what to do? In relatively simple term (I can understand a bit of coding but not that much) or is it to complicated and I should abandon?

You can reply on my user page: http://docteurwho.wikia.com/wiki/Discussion_utilisateur:4me-2me

--4me 00:58, June 7, 2010 (UTC)
 * answered at user's page --Marooned 08:48, June 7, 2010 (UTC)