Index: trunk/extensions/SemanticMediaWiki/INSTALL |
— | — | @@ -1,4 +1,4 @@ |
2 | | -[[Semantic MediaWiki 1.7.1]] |
| 2 | +[[Semantic MediaWiki 1.8]] |
3 | 3 | |
4 | 4 | Install instructions for the latest SMW version are also online in a more |
5 | 5 | convenient format for reading: |
Index: trunk/extensions/SemanticMediaWiki/RELEASE-NOTES |
— | — | @@ -1,6 +1,16 @@ |
2 | 2 | For a documentation of all features, see http://semantic-mediawiki.org |
3 | 3 | |
4 | 4 | |
| 5 | +== SMW 1.8 == |
| 6 | + |
| 7 | +THIS IS NOT A RELEASE YET |
| 8 | + |
| 9 | +Semantic MediaWiki 1.8 is currently in beta-quality and is not recommended for use in |
| 10 | +production until the actual release. |
| 11 | + |
| 12 | +* Dropped compatibility with MediaWiki 1.16.x (and earlier). |
| 13 | +* Full compatibility with MediaWiki 1.19 and foreward-compatibility with 1.20. |
| 14 | + |
5 | 15 | == SMW 1.7.1 == |
6 | 16 | |
7 | 17 | Released on March 5, 2012. |
Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php |
— | — | @@ -1060,10 +1060,10 @@ |
1061 | 1061 | // we use a temporary table for executing this costly operation on the DB side |
1062 | 1062 | $smw_tmp_unusedprops = $db->tableName( 'smw_tmp_unusedprops' ); |
1063 | 1063 | if ( $wgDBtype == 'postgres' ) { // PostgresQL: no in-memory tables available |
1064 | | - $sql = "CREATE OR REPLACE FUNCTION create_" . $smw_tmp_unusedprops . "() RETURNS void AS " |
| 1064 | + $sql = "CREATE OR REPLACE FUNCTION create_smw_tmp_unusedprops() RETURNS void AS " |
1065 | 1065 | . "$$ " |
1066 | 1066 | . "BEGIN " |
1067 | | - . " IF EXISTS(SELECT NULL FROM pg_tables WHERE tablename='" . $smw_tmp_unusedprops . "' AND schemaname = ANY (current_schemas(true))) " |
| 1067 | + . " IF EXISTS(SELECT NULL FROM pg_tables WHERE tablename=" . $smw_tmp_unusedprops . " AND schemaname = ANY (current_schemas(true))) " |
1068 | 1068 | . " THEN DELETE FROM " . $smw_tmp_unusedprops . "; " |
1069 | 1069 | . " ELSE " |
1070 | 1070 | . " CREATE TEMPORARY TABLE " . $smw_tmp_unusedprops . " ( title text ); " |
— | — | @@ -1071,7 +1071,7 @@ |
1072 | 1072 | . "END; " |
1073 | 1073 | . "$$ " |
1074 | 1074 | . "LANGUAGE 'plpgsql'; " |
1075 | | - . "SELECT create_" . $smw_tmp_unusedprops . "(); "; |
| 1075 | + . "SELECT create_smw_tmp_unusedprops(); "; |
1076 | 1076 | } else { // MySQL: use temporary in-memory table |
1077 | 1077 | $sql = "CREATE TEMPORARY TABLE " . $smw_tmp_unusedprops . "( title VARCHAR(255) ) ENGINE=MEMORY"; |
1078 | 1078 | } |
Index: trunk/extensions/SemanticMediaWiki/SemanticMediaWiki.php |
— | — | @@ -19,8 +19,8 @@ |
20 | 20 | die( 'Not an entry point.' ); |
21 | 21 | } |
22 | 22 | |
23 | | -if ( version_compare( $wgVersion, '1.16c', '<' ) ) { |
24 | | - 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.' ); |
| 23 | +if ( version_compare( $wgVersion, '1.17c', '<' ) ) { |
| 24 | + die( '<b>Error:</b> This version of Semantic MediaWiki requires MediaWiki 1.17 or above; use SMW 1.7.x for MediaWiki 1.16.x.' ); |
25 | 25 | } |
26 | 26 | |
27 | 27 | // Include the Validator extension if that hasn't been done yet, since it's required for SMW to work. |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | } |
36 | 36 | |
37 | 37 | // The SMW version number. |
38 | | -define( 'SMW_VERSION', '1.7.1' ); |
| 38 | +define( 'SMW_VERSION', '1.8 alpha' ); |
39 | 39 | |
40 | 40 | // Registration of the extension credits, see Special:Version. |
41 | 41 | $wgExtensionCredits['semantic'][] = array( |