Semantic MediaWiki and related extensions
|
Released on July 9th, 2016.
Added support for multilingual content. This includes the introduction of the monolongual text datatype, a new special property to describe properties and the new Semantic Interlanguage Links extension.
Added support for constraint specification using regular expressions (#1417). The use of regular expressions
and thus the Allows pattern
property to express a constraint assignment is restricted to users with the smw-patternedit
right.
It is now possible to specify which position a custom unit should have in Corresponds to annotations. This means you can specify [[Corresponds to::€ 1]]
instead of [[Corresponds to::1 €]]
. You can find a small example on the Sandbox.
You can now specify the precision used for display of numeric properties (i.e. those of type Number, Quantity, Temperature). This is done using the Display precision of property. You can override this display precision per #ask
query, by using -p<digit>
. You can view the examples.
Extended date and time formatting by supporting PHP's DateTime
format rules.
MediaWiki's {{DISPLAYTITLE:...}}
can now be stored as the Display title of special property, so it can be used in queries.
Support was added for MediaWiki 1.26 and MediaWiki 1.27. SMW 2.3 has know issues with these versions of MediaWiki, so you are highly encouraged to upgrade SMW if you plan to use one of them. While SMW 2.3 already had beta support for PHP 7, this release fully supports it.
This release does not drop support for anything. It is however the last release to support PHP older than 5.5 and MediaWiki older than 1.25.
For more information, see the https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/docs/COMPATIBILITY.md "compatibility overview".
rebuildData.php
to remove outdated entity references (see PropertyTableIdReferenceDisposer
)~
/!~
on single value queries (example: {{#ask: [[~Foo/*]] }}
)browseByProperty
API module to fetch a property list or individual properties via the WebAPIask
and askargs
output serializationimport-annotation
parameter[[>AAA]] [[<AAD]]
_ERRC
and _ERRT
as pre-defined properties to aid error analysisfooba.bar
reserved for extensions)$smwgSparqlRepositoryConnectorForcedHttpVersion
setting to force a specific HTTP version in case of a #1306 cURL issueprinrequests
to be forwarded to a redirect target if one existsCorresponds to
(¥ 500 vs 500 JPY)datatype
by either denoting a Display precision of
or using -p<number of digits>
as #ask
printout optionMonolingualTextValue
and LanguageCodeValue
--with-maintenance-log
option to rebuildData.php
, rebuildPropertyStatistics.php
, and rebuildConceptCache.php
Has property description
(which is specified as MonolingualText
type)-F[ ... ]
optionAC/CE
era indicationDITime
年/月/日
date format in DITime
Special:Ask
{{DISPLAYTITLE:title}}
caption using the Display title of
propertyAllows pattern
property to define a value constraint using regular expressions and the required smw-patternedit
right to add those expressions--ignore-exceptions
and exception-log
options to rebuildData.php
while option -v
is showing additional information about the processed entitiesHas uniqueness constraint
property traitSpecial:Properties
Special:Statistics
=
(#640)#LOCL
as TimeValue
output formatto Special:SMWAdmin
#LOCL
as BooleanValue
output format#LOCL
as NumberValue
output formatSpecial:Ask
PropertyListValue
)_
in the ImportValueParser
_rec
type in the QueryResultSerializer
$smwgFixedProperties
contains property keys with spacesSPARQL
query)count
query result discrepancy (to exclude redirect and deleted entities)[[ :: ]]
text values when embedded in query resultsnull
object in AskParserFunction
when creating a QueryProfile
|+align=...
usage for format=table
TimeValue
Service link
annotationDataItem
CategoryResultPrinter
for subobjectsParameterInput
due to "HTML attribute value can not contain a list of values"SPARQLStore
to filter redirects nativelyRdfResultPrinter
due to namespace mismatchpostgres
_
handling for value strings submitted to the Special:SearchByProperty
SPARQLStore
XML
response parsing for strings that contain UTF-8 charactersFeedResultPrinter
due to usage of an interwiki assignmentSpecial:SearchByProperty
DependencyLinksTableUpdater
InfoLinks
#info
without a message will create an empty tooltip or when used as <info />
causing a failurepostgres
implementation when creating temporary tablesNumberValue
tries to use a NULL
as numeric value.[
PropertyUsageListLookup
DocumentationParserFunction
pg_unescape_bytea
special handling for postgres
in the ResultPrinter
QueryResultSerializer
(relevant for the API output) to export the raw output of a time related valueQueryResultSerializer
to export the internal property keyDescriptionProcessor
to isolate code path from the SMWQueryParser
DispatchingDataValueFormatter
and ValueFormatterRegistry
StringValueFormatter
and CodeStringValueFormatter
TimeValueFormatter
DeferredDependencyLinksUpdater
to avoid violations reported by TransactionProfiler
in MW 1.26+PermissionPthValidator
together with new the smwcurator
group and smw-patternedit
rightDeferredCallableUpdate
(together with `$GLOBALS['smwgEnabledDeferredUpdate']) to support MW's
DeferrableUpdateinterface (i.e. to support queuing DB related transactions)
[#1445](https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1445) Added
userlangas
ParserOutputoption
[#1451](https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1451) Added
ExtraneousLanguageinterface
[#1460](https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1460) Requires PHP extension mbstring in
composer.json<tt>smw_subobject
from PropertyListLookup
queryIntlNumberFormatter
NumberValueFormatter
InfoLinksProvider
QueryEngine
to avoid potential issues when creating temporary tablesEntityIdListRelevanceDetectionFilter
and TemporaryEntityListAccumulator
in #1627