What i did to get halo extension to work

This is with subversion current SemanticMediaWiki and downloaded Halo-Extension.

I patched around the problems as follows:

//alanr replace old declaration abstract function changeTitle(Title $oldtitle, Title $newtitle, $keepid=true);

//alanr wasn't defined function getSemanticData($subject, $filter = false){ return parent::getSemanticData($subject, $filter); }

// alanr no permission for this table function smwfDBSupportsFunction($lib) { return (1>0); // alanr $dbr =& wfGetDB( DB_SLAVE ); $res = $dbr->query('SELECT * FROM mysql.func WHERE dl LIKE '.$dbr-addQuotes($lib.'.%'));

$hasSupport = ($dbr->numRows($res) > 0); $dbr->freeResult( $res ); return $hasSupport; }

// alanr - not present in our distribution // require_once($smwgIP . '/specials/ExportRDF/ SMW_SpecialExportRDF.php');

Halo: http://downloads.sourceforge.net/halo-extension/smwhalo-1.0.zip?modtime=1201860685&big_mirror=0

In Localsettings:

$smwgDeployVersion = false; // deploy version has limited number of scripts and thus is faster require_once("$smwgHaloIP/specials/SMWOntologyBrowser/SMW_OntologyBrowser.php" ); $wgSpecialPages['OntologyBrowser'] = array('SMW_OntologyBrowser'); //broken //require_once("$smwgHaloIP/specials/SMWGardening/SMW_Gardening.php"); //$wgSpecialPages['Gardening'] = array('SMWGardening'); require_once("$smwgHaloIP/specials/SMWHelpSpecial/SMWHelpSpecial.php"); $wgSpecialPages['ContextSensitiveHelp'] = array('SMWHelpSpecial'); require_once("$smwgHaloIP/specials/SMWQueryInterface/SMWQueryInterface.php"); $wgSpecialPages['QueryInterface'] = array('SMWQueryInterface');
 * 1) autoloading doesn't seem to work. smash it - alanr (see

In SMWHalo/maintenance/SWM_setup.php Change if ($installHelpPages) { to if (1) then run it, then change it back. Installed help pages. Also see https://sourceforge.net/tracker/index.php?func=detail&aid=1904440&group_id=207513&atid=1001978

In  extensions/SMWHalo/scripts/OntologyBrowser/treeview.js  //alanr s/OB_bd.isGeckoOrOpera/OB_bd.isGeckoOrOpera || OB_bd.isSafari/  because safari can do xslt now

In extensions/SMWHalo/scripts/prototype.js if (Prototype.Browser.WebKit) Prototype.BrowserFeatures.XPath = true; //alanr webkit 3 can!

To CC4.php, added &lt;div id="globalWrapper"> just inside (fixes auto-completion)