r114535 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114534‎ | r114535 | r114536 >
Date:18:28, 27 March 2012
Author:bkaempgen
Status:new
Tags:
Comment:
== SWB - commit 2012-03-27 ==
// Info: In front of host, we had // before, but those seem not needed, any more.
//(!isset( $info['host']) ) ? $host = "" : $host = "//".$info['host'];
Modified paths:
  • /trunk/extensions/SemanticWebBrowser/CHANGELOG (modified) (history)
  • /trunk/extensions/SemanticWebBrowser/SWB_Settings.php (modified) (history)
  • /trunk/extensions/SemanticWebBrowser/specials/SearchTriple/SWB_SpecialBrowseWiki.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticWebBrowser/SWB_Settings.php
@@ -1,7 +1,8 @@
22 <?php
33
44 /**
5 - * @author Anna Kantorovitch and Benedikt Kämpgen
 5+ * @author Benedikt Kämpgen
 6+ * @author Anna Kantorovitch
67 * @file SWB_Settings
78 * @ingroup SWB
89 */
@@ -19,9 +20,9 @@
2021 $wgExtensionCredits['semantic'][] = array(
2122 'path' => __FILE__,
2223 'name' => 'Semantic Web Browser',
23 - 'version' => '0.2',
24 - 'author' => array( 'Benedikt Kaempgen', 'Anna Kantorovitch' ),
25 - 'url' => 'http://semantic-mediawiki.org',
 24+ 'version' => '0.3',
 25+ 'author' => array( '[http://www.b-kaempgen.de Benedikt&#160;Kämpgen]', 'Anna Kantorovitch' ),
 26+ 'url' => 'http://www.mediawiki.org/wiki/Extension:Semantic_Web_Browser',
2627 'descriptionmsg' => 'swb_desc'
2728 );
2829
Index: trunk/extensions/SemanticWebBrowser/specials/SearchTriple/SWB_SpecialBrowseWiki.php
@@ -149,7 +149,9 @@
150150
151151 $info = parse_url($this->articletext);
152152 (!isset( $info['scheme']) ) ? $scheme = "" : $scheme = $info['scheme'];
153 - (!isset( $info['host']) ) ? $host = "" : $host = "//".$info['host'];
 153+ // Info: In front of host, we had // before, but those seem not needed, any more.
 154+ //(!isset( $info['host']) ) ? $host = "" : $host = "//".$info['host'];
 155+ (!isset( $info['host']) ) ? $host = "" : $host = $info['host'];
154156 (!isset( $info['path']) ) ? $path = "" : $path = $info['path'];
155157 (!isset( $info['query']) ) ? $query = "" : $query = $info['query'];
156158 (!isset( $info['fragment'])) ? $fragment = "" : $fragment = $info['fragment'];
@@ -321,7 +323,9 @@
322324 public static function isURI( $uri ){
323325 $info = parse_url( $uri );
324326 ( !isset( $info['scheme'] ) ) ? $scheme = "" : $scheme = $info['scheme'];
325 - ( !isset( $info['host'] ) ) ? $host = "" : $host = "//".$info['host'];
 327+ // Info: In front of host, we had // before, but those seem not needed, any more.
 328+ //(!isset( $info['host']) ) ? $host = "" : $host = "//".$info['host'];
 329+ ( !isset( $info['host'] ) ) ? $host = "" : $host = $info['host'];
326330 ( !isset( $info['path'] ) ) ? $path = "" : $path = $info['path'];
327331 ( !isset( $info['query'] ) ) ? $query = "" : $query = $info['query'];
328332 ( !isset($info['fragment']) ) ? $fragment = "" : $fragment = $info['fragment'];
Index: trunk/extensions/SemanticWebBrowser/CHANGELOG
@@ -1,3 +1,7 @@
 2+== SWB - commit 2012-03-27 ==
 3+// Info: In front of host, we had // before, but those seem not needed, any more.
 4+//(!isset( $info['host']) ) ? $host = "" : $host = "//".$info['host'];
 5+
26 == SWB - commit 2011-09-19 - 08:36 ==
37 * Changelog added
48 * Release-notes added
@@ -2,7 +6,41 @@
37
 8+== SWB- 2011_01_12 ==
 9+*hide incoming properties and show incoming properties work after correction in method "linkHere"
 10+there is a mistake in SMW in special page " Browse Wiki" in hide properties
 11+*replace all tab to space
 12+*messages declaration is in 'qqq'
 13+
 14+== SWB- 2011_11_20 ==
 15+*incoming properties can be rename, if there is a page in wiki
 16+*if page exist show blue link otherwise red
 17+*incoming links also
 18+
 19+== SWB- 2011_11_16 ==
 20+*Title is shown with "_" without blanc
 21+
 22+==SWB- 2011_11_14 ==
 23+*incoming link has blanc instead of "_", for get the right page name add "_" instead of blanc ,
 24+look for this in SMWDIWikiPage
 25+*check the title of the page: page shown not right, but dbkey is right
 26+
 27+==SWB- 2011_11_13 ==
 28+* "get incoming links" works
 29+* check why no eye isn't shown, find the mistake
 30+
 31+==SWB- 2011_10_20 ==
 32+1. Check for EURI if page exist, show the name of the page
 33+2. Page show now outgoing and incoming Links
 34+3. programm clear of echo-print
 35+
 36+== SWB - for commit 2011-10-13 ==
 37+"Browse Wiki & Semantic Web" works in toolbox as "Browse Properties"
 38+
 39+== SWB - commit 2011-10-05 ==
 40+*copy the SWB_Setup into SemanticWebBrowser.php
 41+*Some Bugs are fixed
 42+*Modified some methods in SWB_SpecialBrowseWiki.php
 43+*Clear the structure of SemanticWebBrowser
 44+
445 == SWB - commit before 2011-09-19 ==
546 * Basis functionality of browsing implemented based on browse wiki
647 *property of wikipage for search SWB is shown
7 -
8 -== SWB - 2011-11-27 ==
9 -* Incoming links work now

Status & tagging log