User talk:Marooned

Hello, i need soem 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)