r111141 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111140‎ | r111141 | r111142 >
Date:01:18, 10 February 2012
Author:jeroendedauw
Status:deferred (Comments)
Tags:
Comment:
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/RELEASE-NOTES (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_URI.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/RELEASE-NOTES
@@ -9,6 +9,7 @@
1010 production until the actual release.
1111
1212 * Fixed display of nearby values on Special:SearchByProperty (bug 34178).
 13+* Fixed display of URL values (bug 34312, 34044).
1314
1415 == SMW 1.7.0.2 ==
1516
Index: trunk/extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_URI.php
@@ -104,6 +104,10 @@
105105 /// NOTE: we do not support raw [ (%5D) and ] (%5E), although they are needed for ldap:// (but rarely in a wiki)
106106 /// NOTE: "+" gets encoded, as it is interpreted as space by most browsers when part of a URL;
107107 /// this prevents tel: from working directly, but we have a datatype for this anyway.
 108+
 109+ if ( substr( $hierpart, 0, 2 ) === '//' ) {
 110+ $hierpart = substr( $hierpart, 2 );
 111+ }
108112 break;
109113 case SMW_URI_MODE_TEL:
110114 $scheme = 'tel';

Comments

#Comment by 😂 (talk | contribs)   01:45, 10 February 2012

111141!

#Comment by Jeroen De Dauw (talk | contribs)   02:11, 10 February 2012

c30685!

#Comment by Reedy (talk | contribs)   02:12, 10 February 2012

OMG! Both 111141 AND 30685 ARE OVER 9,000!!one1oneone!