Semantic MediaWiki 2.4.4/fr
Semantic MediaWiki 2.4.4 | |
---|---|
Date de sortie: | 14 12 2016 |
Version précédente : | Semantic MediaWiki 2.4.3 |
Version suivante : | Semantic MediaWiki 2.4.5 |
Compatible avec (en) : | MW 1.19.0 - 1.28.x |
Dernière version : | |
SMW 4.2.0 |
Version 2.4.4 de Semantic MediaWiki est la version qui suit la Semantic MediaWiki 2.4.3 . Elle corrige plusieurs bogues pour les utilisateurs de MySQL 5.7 comme l'accès aux données relationnelles par backend. Pour plus d'information, voir plus bas sur cette page, les NOTES DE LIVRAISON en anglais.
Veuillez vous reporter à la page d'aide concernant l'installation de Semantic MediaWiki pour avoir les instructions détaillées sur la manière de faire une installation ou une mise à jour.
Semantic MediaWiki 2.4.4
Released on December 14, 2016.
Bug fixes
- #2078 Fixed error for MySQL 5.7 causing "SELECT list; this is incompatible with DISTINCT"
- #2089 Fixed error for MySQL 5.7 causing "UPDATE - SET; Data too long for column"
Semantic MediaWiki 2.4.3
Released on November 28nd, 2016.
Bug fixes
- #1975 Fixed alias definitions for namspace "Type" causing notices due to the namespace being undefined
fd6b4cf
Fixed a compatibility breaking short array syntax for PHP 5.30ae3a3e
Added missing internal file loading
Semantic MediaWiki 2.4.2
Released on November 13th, 2016.
Bug fixes
- #1829 Only have the
DisplayTitlePropertyAnnotator
create an annotation in caseSMW_DV_WPV_DTITLE
is enabled - #1883 Avoided mismatch in case
hasSubSemanticData
has been overridden as bySql3StubSemanticData
- #1885 Fixed postgres bytea escape/unescape on blob fields
- #1887 Moved
Hooks:CanonicalNamespaces
to an earlier execution point - #1897 Worked around deprecated/removed
DatabaseBase::getSearchEngine
- #1901 Made
enableSemantics
callNamespaceManager
- #1911 Improved compatibility with MediaWiki 1.28+
Semantic MediaWiki 2.4.1
Released on July 12th, 2016.
Bug fixes
- #1328 Fixed a "Undefined index: language" error in
#smwdoc
parser function - #1713 Fixed a "Segmentation fault" when
QueryResultDependencyListResolver
tries to resolve a category/property hierarchy with a circular reference - #1715 Fixed decoding of a single quotation mark in
DisplayTitlePropertyAnnotator
- #1724 Fixed a possible
InvalidArgumentException
in connection withSMW_DV_PVUC
by updating theCachedPropertyValuesPrefetcher
version number - #1726 Allows
QueryDependencyLinksStore
to executegetDependencyListByLateRetrieval
even in cases of an intial empty list - #1727 Fixed an issue when property names contain
<
or>
symbols - #1728 Fixed fatal error in
Special:SearchByProperty
on when the property name contains invalid characters - #1731 Fixed possible error in the
SkinAfterContent
hook when a null object is used
Semantic MediaWiki 2.4
Released on July 9th, 2016.
Highlights
Support for multiple languages
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.
Pattern based constraints
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.
Positional units
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.
Display precision
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.
Enhanced date and time formatting
Extended date and time formatting
by supporting PHP's DateTime
format rules.
Display Title storage
MediaWiki's {{DISPLAYTITLE:...}}
can now be stored as the
Display title of
special property, so it can be used in queries.
Compatibility changes
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 compatibility overview.
New features and enhancements
- #498 Extended
rebuildData.php
to remove outdated entity references (seePropertyTableIdReferenceDisposer
) - #1243 Made failed queries discoverable
- #1246 Added support for
~
/!~
on single value queries (example:{{#ask: [[~Foo/*]] }}
) - #1267 Added the
browseByProperty
API module to fetch a property list or individual properties via the WebAPI - #1268 Restored compliance with MediaWiki's 1.26/1.27 WebAPI interface to ensure continued support for the
ask
andaskargs
output serialization - #1257 Changed import of recursive annotations (#1068) from the format to a query level using the
import-annotation
parameter - #1291 Added support for range queries such as
[[>AAA]] [[<AAD]]
- #1293 Added
_ERRC
and_ERRT
as pre-defined properties to aid error analysis - #1299 Added dot named identifier restriction for subobject names containing a dot (
fooba.bar
reserved for extensions) - #1313 Added usage count information to property pages
- #1321 Added
$smwgSparqlRepositoryConnectorForcedHttpVersion
setting to force a specific HTTP version in case of a #1306 cURL issue - #1290 Added support for properties and
prinrequests
to be forwarded to a redirect target if one exists - #1329 Added positional preference for units when declared in
Corresponds to
(¥ 500 vs 500 JPY) - #1350 Enlarged input field on special page "Browse"
- #1335 Added possibility to specify a display precision for a numeric
datatype
by either denoting aDisplay precision of
or using-p<number of digits>
as#ask
printout option - #1344 Added
MonolingualTextValue
andLanguageCodeValue
- #1361 Added
--with-maintenance-log
option torebuildData.php
,rebuildPropertyStatistics.php
, andrebuildConceptCache.php
- #1381 Added localizable context help for properties using the predefined property
Has property description
(which is specified asMonolingualText
type) - #1389 Added free date/time formatting support using the
-F[ ... ]
option - #1391 Made subobject directly browsable from/in the Factbox
- #1396 Explicitly annotated years now have an
AC/CE
era indication - #1397 Added support for microseconds in
DITime
- #1401 Added support for parsing
年/月/日
date format inDITime
- #1407 Added quick result download links to
Special:Ask
- #1410 Added support for
{{DISPLAYTITLE:title}}
caption using theDisplay title of
property - #1417 Added
Allows pattern
property to define a value constraint using regular expressions and the requiredsmw-patternedit
right to add those expressions - #1433 Added
--ignore-exceptions
andexception-log
options torebuildData.php
while option-v
is showing additional information about the processed entities - #1440 Added various changes to accommodate MW 1.27
- #1463 Added support for the
Has uniqueness constraint
property trait - #1474 Added a search link for zero properties to the
Special:Properties
- #1483 Added statistics about outdated entities to the
Special:Statistics
- #1542 Extended the query parser to support conditions with object values that contain
=
(#640) - #1545 Added
#LOCL
asTimeValue
output format - #1570 Added "Object ID disposal"
to Special:SMWAdmin
- #1572 Extended the query parser to support property chaining on subtypes
- #1580 Added
#LOCL
asBooleanValue
output format - #1591 Added
#LOCL
asNumberValue
output format - #1626 Added
$GLOBALS['smwgQueryDependencyAffiliatePropertyDetectionlist']
to monitor affiliate properties required for initiating a query dependency update
Bug fixes
- #541 Fixed duplicate column when "further results ..." are redirected to
Special:Ask
- #753 Fixed number parsing of non-zero lead decimal numbers (.1 vs 0.1) / (T40476)
- #1244 Find redirect for a property when specified as a record field (in
PropertyListValue
) - #1248 Fixed misplaced replacement of
_
in theImportValueParser
- #1270 Fixed printout display of inverse properties
- #1272 Fixed serialization of
_rec
type in theQueryResultSerializer
- #1275 Fixed export of record type data when embedded in a subobject
- #1286 Fixed support for sorting by category
- #1287 Fixed exception for when
$smwgFixedProperties
contains property keys with spaces - #1289 Fixed redirect statement for resources matched to an import vocabulary (
SPARQL
query) - #1301 Fixed
count
query result discrepancy (to exclude redirect and deleted entities) - #1314 Fixed hidden annotation copy of
[[ :: ]]
text values when embedded in query results - #1318 Fixed possible
null
object inAskParserFunction
when creating aQueryProfile
- #1357 Fixed
|+align=...
usage forformat=table
- #1358 Fixed recognition of multi-byte boolean value
- #1348 Fixed single year detection in
TimeValue
- #1414 Fixed exception caused by a missing message page on a
Service link
annotation - #1449 Fixed mapping of imported URI to an internal
DataItem
- #1450 Fixed export of concept
- #1453 Fixed off/on display in text value
- #1459 Fixed column display regression in
CategoryResultPrinter
for subobjects - #1466 Fixed remote resource path detection that appeared in connection with a non-default extension setup
- #1473 Fixed exception caused by
ParameterInput
due to "HTML attribute value can not contain a list of values" - #1477 Fixed query result from
SPARQLStore
to filter redirects natively - #1489 Fixed fatal error in
RdfResultPrinter
due to namespace mismatch - #1496 Fixed concept handling for
postgres
- #1513 Fixed rendering of text properties containing wikitext lists
- #1526 Fixed
_
handling for value strings submitted to theSpecial:SearchByProperty
- #1550 Fixed
SPARQLStore
XML
response parsing for strings that contain UTF-8 characters - #1562 Fixed fatal error in
FeedResultPrinter
due to usage of an interwiki assignment - #1568 Fixed usage of invalid characters/tags in property name
- #1594 Fixed handling of numbers with scientific notation in
Special:SearchByProperty
- #1597 Fixed possible ID collision in
DependencyLinksTableUpdater
- #1598 Fixed content language setting for
InfoLinks
- #1589 Fixed display precision constraint during condition building
- #1608 Fixed that a
#info
without a message will create an empty tooltip or when used as<info />
causing a failure - #1610 Fixed a potential exception in the
postgres
implementation when creating temporary tables - #1628 Fixed exception when
NumberValue
tries to use aNULL
as numeric value. - #1638 Fixed possible invalid property in case the label contains
[
Internal changes
- #1235 Improve query performance in
PropertyUsageListLookup
- #1023 Split the
DocumentationParserFunction
- #1264 Removed
pg_unescape_bytea
special handling forpostgres
in theResultPrinter
- #1276 Extended
QueryResultSerializer
(relevant for the API output) to export the raw output of a time related value - #1281 Extended
QueryResultSerializer
to export the internal property key - #1291 Added
DescriptionProcessor
to isolate code path from theSMWQueryParser
- #1319 Switched from Sesame 2.7.14 to 2.8.7 in the CI environment
- #1382 Added
DispatchingDataValueFormatter
andValueFormatterRegistry
- #1385 Added
StringValueFormatter
andCodeStringValueFormatter
- #1388 Added
TimeValueFormatter
- #1421 Added
DeferredDependencyLinksUpdater
to avoid violations reported byTransactionProfiler
in MW 1.26+ - #1417 Added
PermissionPthValidator
together with new thesmwcurator
group andsmw-patternedit
right - #1435 Added
DeferredCallableUpdate
(together with$GLOBALS['smwgEnabledDeferredUpdate']
) to support MW'sDeferrableUpdate
interface (i.e. to support queuing DB related transactions) - #1445 Added
userlang
asParserOutput
option - #1451 Added
ExtraneousLanguage
interface - #1460 Requires PHP extension mbstring in
composer.json
- #1482 Added the
SMW::FileUpload::BeforeUpdate
hook - #1512 Fixed test suite to support PHP7
- #1575 Removed
smw_subobject
fromPropertyListLookup
query - #1591 Added
IntlNumberFormatter
- #1593 Added
NumberValueFormatter
- #1601 Added
InfoLinksProvider
- #1606 Disabled DB transactions in
QueryEngine
to avoid potential issues when creating temporary tables - #1626 Added
EntityIdListRelevanceDetectionFilter
andTemporaryEntityListAccumulator
in #1627 - #1635 Switched from Fuseki 1.1.0 to 2.4.0 in the CI environment
- Most updates now occur in deferred mode to conform with T92357 Extensions that wish to extend data objects are encouraged to use hooks and avoid conflicts when updates are queued.
Contributors
- James Hong Kong
- Jeroen De Dauw
- Karsten Hoffmeyer
- Felipe de Jong
- Florian Schmidt
- Niklas Laxström
- Ahmad Gharbeia
- Stephan Gambke
- Amir E. Aharoni
- Siebrand Mazeland
- Cindy Cicalese
- Hangya
- Sébastien Beyou
- Aaron Schulz
- Jaider Andrade Ferreira
- Kunal Mehta
- Ori Livneh
- Peter Grassberger
- Reedy
- Vitaliy Filippov
- Wolfgang Fahl
- Alexander Gesinn
- TranslateWiki.net translators