Thread:User talk:Benedikt Kaempgen/Semantic Web Browser

I don't know what are your plans for the Semantic Web Browser but if you still purse the development, you might be interested to see Displaying facts hook which allows to display external content on the Special:Browse(action=browse) without having to copy much of the code you did for. In theory using the hook should be as simple as ... to display the SWB html.

I did some digging, put the all methods relevant for Equivalent URI reusing into a SWBUri core class and added something like below to the action=browse hook, having results displayed on an extra tab without the need for a special page and being accessible on the same transaction as "standard" outgoing and incoming facts.
 * Update

... $equivalentURI = new SWBUri;

$newFacts = array; $newFacts['swb-header-info'] = Html::rawElement(	'div',	array, 	$equivalentURI->getEquivalentURI( $context->getTitle->getFullText ) );

// Merge old and new content $facts = array_merge ( $newFacts, $facts ); ...