Semantic MediaWiki 1.7.1

Version 1.7.1 of Semantic MediaWiki is the next minor release after SMW 1.7 that brings a few features and a pile of bugfixes. It does not come with any compatibility changes compared to SMW 1.7.

Upgrading SMW 1.6.x and SMW 1.7
Installations of SMW 1.6.x and 1.7 and can be upgraded by replacing the files, and by running the database update (Special:SMWAdmin or SMW_setup.php script) as usual. Moreover, it is strongly suggested to enable the refresh process to update all data on Special:SMWAdmin when upgrading from 1.6.x. Older versions of SMW can be upgraded in the same way, but there can be more feature changes that require changes of wiki pages. See the current documentation for details on using the current version.

Upgrading SMW 1.5.x
SMW 1.6.0 introduces a new software dependency (which also applies to all later versions): the Validator extension that helps Semantic MediaWiki to validate user-provided parameters. It must be installed for SMW to work. Make sure that you include Validator prior to the inclusion of SMW in your LocalSettings.php. Do note that Validator comes bundled with SMW releases as of version 1.6.0. If you are obtaining the code via svn, you will need to get a checkout of Validator yourself.

Do not forget to also install the extension Validator first and include it in LocalSettings.php prior to SMW with the following line of code. After that you may proceed to upgrade SMW.



Extensions for SMW versions up to 1.5.* should not be assumed to work with SMW 1.6.0 out of the box. All SMW extensions should be upgraded to versions that are compatible with SMW 1.6. Moreover, some functions changed and pages might need updates (see below). Additional remarks on upgrading older SMW versions are given below.

If not done already, it is suggested to change the inclusion of SMW in LocalSettings.php to the following as described in the installation instructions above:



Including SMW_Settings.php as in earlier versions will not longer work.

Support for OpenLink Virtuoso RDF database added

 * Added basic support for OpenLink Virtuoso RDF database. In addition to, users should set   and use Virtuoso's SPARQL endpoint at   for query and update alike. See also the help page on configuring SWM for use with Virtuoso. For further remarks and known limitations, see also the file.

Other new features

 * Added ability to sort dates as dates in tables generated by SMW.
 * Added "Is a new page" and "Last editor is" special properties which may be set with $smwgPageSpecialProperties
 * In case there are only invalid query conditions, query answering is stopped.
 * The parameter "parameters" was added to the #smwdoc parser function, to allow better manipulation of the documentation to be shown for a result format.

Bugfixes
SMW 1.7.1 closes a number of bugs that have been identified in earlier versions. The more noteworthy ones include:
 * Fixed display of nearby values on Special:SearchByProperty.
 * Fixed display of URL values ( and ).
 * Fixed warning when browsing certain property pages.
 * Fixed failure of SMW_setup --delete when using postgresql.
 * Fixed division by 0 error when setting the "Corresponds to" property to 0.
 * Fixed accept header send with SPARQL query requests.
 * Fixed unresolved prefixed name in SPARQL queries.
 * Fixed issues with modification date property occurring when using SMWSparqlStore.
 * Fixed erroneous SPARQL for property value comparison queries.
 * Fixed broken +index=x for records.
 * Fixed querying of subobjects using 4store as a datastore.
 * Fixed issue with namespace internationalization.

And when counting the bugfix releases made since 1.7. as well:
 * Fixed creation of concept cache and display of matching objects on concept pages ( and ).
 * Fixed fatal error occurring for some invalid property definitions.
 * Fixed error in RSS when using creator or date parameters.
 * Fixed incorrect offset of export formats.
 * Fixed bug in "further results" links causing the main column to be displayed twice on Special:Ask.
 * Fixed incorrect case-sensitivity of the format parameter.
 * Fixed internationalization of magic words.
 * Fixed offset and limit value in further results links.

Extended translations
As usual, translations have been extended thanks to the Translatewiki.net project.