Semantic MediaWiki 2.4.4/zh-hans

From semantic-mediawiki.org
Semantic MediaWiki 2.4.4Semantic MediaWiki 2.4.4/zh-hans
This page is a translated version of the page Semantic MediaWiki 2.4.4 and the translation is 33% complete.

Semantic MediaWiki 2.4.4
发行日期: December 14, 2016
上个版本: Semantic MediaWiki 2.4.3
下个版本: Semantic MediaWiki 2.4.5
兼容 MW 1.19.0 - 1.28.x
当前版本:
SMW 4.2.0

Version 2.4.4 of Semantic MediaWiki is the next release after the Semantic MediaWiki 2.4.3 release. It provides several bugfixes for users of MySQL 5.7 as relational data backend. See the English language RELEASE NOTES below on this page for further information.

Please refer to the help page on installing Semantic MediaWiki to get detailed instructions on how to install or upgrade.

Important noteImportant Note: If upgrading from Semantic MediaWiki 2.3.x and lower please remember to run "update.php" before continuing to work with Semantic MediaWiki.
NoteNote: Due to issues of Semantic MediaWiki 2.3.x with MediaWiki 1.26+ it is strongly recommended to upgrade for best experience if you are using this setup.


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.3
  • 0ae3a3e 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 case SMW_DV_WPV_DTITLE is enabled
  • #1883 Avoided mismatch in case hasSubSemanticData has been overridden as by Sql3StubSemanticData
  • #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 call NamespaceManager
  • #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 with SMW_DV_PVUC by updating the CachedPropertyValuesPrefetcher version number
  • #1726 Allows QueryDependencyLinksStore to execute getDependencyListByLateRetrieval 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 (see PropertyTableIdReferenceDisposer)
  • #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 and askargs 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 a Display precision of or using -p<number of digits> as #ask printout option
  • #1344 Added MonolingualTextValue and LanguageCodeValue
  • #1361 Added --with-maintenance-log option to rebuildData.php, rebuildPropertyStatistics.php, and rebuildConceptCache.php
  • #1381 Added localizable context help for properties using the predefined property Has property description (which is specified as MonolingualText 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 in DITime
  • #1407 Added quick result download links to Special:Ask
  • #1410 Added support for {{DISPLAYTITLE:title}} caption using the Display title of property
  • #1417 Added Allows pattern property to define a value constraint using regular expressions and the required smw-patterneditright to add those expressions
  • #1433 Added --ignore-exceptions and exception-log options to rebuildData.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 as TimeValue output format
  • #1570 Added "Object ID disposal" to Special:SMWAdmin
  • #1572 Extended the query parser to support property chaining on subtypes
  • #1580 Added #LOCL as BooleanValue output format
  • #1591 Added #LOCL as NumberValue 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 the ImportValueParser
  • #1270 Fixed printout display of inverse properties
  • #1272 Fixed serialization of _rec type in the QueryResultSerializer
  • #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 in AskParserFunction when creating a QueryProfile
  • #1357 Fixed |+align=... usage for format=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 the Special: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 a NULL 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 for postgres in the ResultPrinter
  • #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 the SMWQueryParser
  • #1319 Switched from Sesame 2.7.14 to 2.8.7 in the CI environment
  • #1382 Added DispatchingDataValueFormatter and ValueFormatterRegistry
  • #1385 Added StringValueFormatter and CodeStringValueFormatter
  • #1388 Added TimeValueFormatter
  • #1421 Added DeferredDependencyLinksUpdater to avoid violations reported by TransactionProfiler in MW 1.26+
  • #1417 Added PermissionPthValidator together with new the smwcurator group and smw-patternedit right
  • #1435 Added DeferredCallableUpdate (together with $GLOBALS['smwgEnabledDeferredUpdate']) to support MW's DeferrableUpdate interface (i.e. to support queuing DB related transactions)
  • #1445 Added userlang as ParserOutput 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 from PropertyListLookup 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 and TemporaryEntityListAccumulator 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

里程碑