r108604 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108603‎ | r108604 | r108605 >
Date:09:54, 11 January 2012
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/RELEASE-NOTES (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/SemanticMediaWiki.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_Property.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/RELEASE-NOTES
@@ -1,6 +1,15 @@
22 For a documentation of all features, see http://semantic-mediawiki.org
33
44
 5+== SMW 1.7.1 ==
 6+
 7+THIS IS NOT A RELEASE YET
 8+
 9+Semantic MediaWiki 1.7.1 is currently in beta-quality and is not recommended for use in
 10+production until the actual release.
 11+
 12+* Fixed fatal error occurring for some invalid property definitions (bug 33652).
 13+
514 == SMW 1.7.0.1 ==
615
716 Released on January 9, 2012.
Index: trunk/extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_Property.php
@@ -181,7 +181,7 @@
182182 * @note Every user defined property is necessarily visible.
183183 */
184184 public function isVisible() {
185 - return ( $this->m_dataitem->isUserDefined() ) || ( $this->m_dataitem->getLabel() !== '' );
 185+ return $this->isValid() && ( $this->m_dataitem->isUserDefined() || $this->m_dataitem->getLabel() !== '' );
186186 }
187187
188188 public function getShortWikiText( $linked = null ) {
Index: trunk/extensions/SemanticMediaWiki/SemanticMediaWiki.php
@@ -34,7 +34,7 @@
3535 }
3636
3737 // The SMW version number.
38 -define( 'SMW_VERSION', '1.7.0.1' );
 38+define( 'SMW_VERSION', '1.7.1 alpha2' );
3939
4040 // Registration of the extension credits, see Special:Version.
4141 $wgExtensionCredits['semantic'][] = array(