r105236 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105235‎ | r105236 | r105237 >
Date:22:07, 5 December 2011
Author:jeroendedauw
Status:ok (Comments)
Tags:
Comment:
1.7 beta 1
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/RELEASE-NOTES (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/SemanticMediaWiki.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/RELEASE-NOTES
@@ -3,6 +3,11 @@
44
55 == SMW 1.7 ==
66
 7+THIS IS NOT A RELEASE YET
 8+
 9+Semantic MediaWiki 1.7 is currently in beta-quality and is not recommended for use in
 10+production untill the actual release.
 11+
712 * Added native "internal objects" that can be set using #setobject.
813 * Added support for selecting a default graph when using RDF stores,
914 configuration called $smwgSparqlDefaultGraph
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php
@@ -7,12 +7,6 @@
88 * @ingroup SMW
99 */
1010
11 -// The SMW version number.
12 -define( 'SMW_VERSION', '1.7 alpha' );
13 -
14 -// A flag used to indicate SMW defines a semantic extension type for extension crdits.
15 -define( 'SEMANTIC_EXTENSION_TYPE', true );
16 -
1711 require_once( 'SMW_GlobalFunctions.php' );
1812
1913 /**
Index: trunk/extensions/SemanticMediaWiki/SemanticMediaWiki.php
@@ -19,7 +19,7 @@
2020 die( 'Not an entry point.' );
2121 }
2222
23 -if ( version_compare( $wgVersion, '1.16', '<' ) ) {
 23+if ( version_compare( $wgVersion, '1.16c', '<' ) ) {
2424 die( '<b>Error:</b> This version of Semantic MediaWiki requires MediaWiki 1.16 or above; use SMW 1.6.x for MediaWiki 1.15.x.' );
2525 }
2626
@@ -33,7 +33,8 @@
3434 die( '<b>Error:</b> You need to have <a href="http://www.mediawiki.org/wiki/Extension:Validator">Validator</a> installed in order to use <a href="http://www.semantic-mediawiki.org">Semantic MediaWiki</a>.<br />' );
3535 }
3636
37 -require_once dirname( __FILE__ ) . '/SMW_Settings.php';
 37+// The SMW version number.
 38+define( 'SMW_VERSION', '1.7 beta 1' );
3839
3940 // Registration of the extension credits, see Special:Version.
4041 $wgExtensionCredits['semantic'][] = array(
@@ -45,5 +46,10 @@
4647 'descriptionmsg' => 'smw-desc'
4748 );
4849
 50+// A flag used to indicate SMW defines a semantic extension type for extension crdits.
 51+define( 'SEMANTIC_EXTENSION_TYPE', true );
 52+
4953 // A flag used to indicate SMW supports Validator style parameter definitions and validation in the SMWResultPrinter class.
5054 define( 'SMW_SUPPORTS_VALIDATOR', true );
 55+
 56+require_once dirname( __FILE__ ) . '/SMW_Settings.php';

Follow-up revisions

RevisionCommit summaryAuthorDate
r105258Additions and small fixesyaron00:15, 6 December 2011

Comments

#Comment by Nikerabbit (talk | contribs)   09:50, 6 December 2011

Typo: untill

Status & tagging log