Jump to content

Topic on Extension talk:Semantic Web Browser/Flow

SemanticWebBrowser/specials/SearchTriple/SWB_SpecialBrowseWiki.php 106 private function displayBrowse() {

2
Immeëmosol (talkcontribs)

SemanticWebBrowser/specials/SearchTriple/SWB_SpecialBrowseWiki.php

106

private function displayBrowse() { ...

<?php if (empty($arr_equi_values)) { $info = wfParseUrl( # Title::newFromText( $this->articletext # )->getCanonicalURL() ); if ( FALSE !== $info ) { (!isset( $info['scheme']) ) ? $scheme = "" : $scheme = $info['scheme']; (!isset( $info['host']) ) ? $host = "" : $host = "//".$info['host']; (!isset( $info['path']) ) ? $path = "" : $path = $info['path']; (!isset( $info['query']) ) ? $query = "" : $query = $info['query']; (!isset( $info['fragment'])) ? $fragment = "" : $fragment = $info['fragment']; if($scheme=="" || $host.$path==""){ // in this case SMWDIUri becomes Exception }else{ $arr_equi_values[] = new SMWDIUri($scheme, $host.$path, $query, $fragment); } } ?>

Benedikt Kämpgen (talkcontribs)

Hi Immeëmosol,

Just to let you know, we have pushed a new version of Semantic Web Browser to Git.

Hope you like the extension. Let me know if you have questions.

Best,

Benedikt