Semantic MediaWiki 2.5.0/pt-br
| Semantic MediaWiki 2.5.0 | |
|---|---|
| Data de lançamento: | March 14, 2017 |
| Versão anterior : | Semantic MediaWiki 2.4.6 |
| Próxima versão : | Semantic MediaWiki 2.5.1 |
| Compatível com (en): | MW 1.23.0 - 1.29.x |
| Versão atual: | |
| SMW 6.0.1 | |
Versão 2.5.0 do Semantic MediaWiki é o próximo grande lançamento após o lançamento do Semantic MediaWiki 2.4.0. Ele apresenta vários recursos novos, aprimora a funcionalidade existente, fornece correções de erros e aumenta ainda mais a estabilidade da plataforma. Consulte as NOTAS DE RELEASE do idioma em inglês abaixo nesta página para obter mais informações. Consulte a página de ajuda em instalando Semantic MediaWiki para obter instruções detalhadas sobre como instalar ou atualizar.
Semantic MediaWiki 2.5
Released on March 14, 2017.
Highlights
Full-text search support
Support for full-text search was added using the native capabilities of the SQL backends "MySQL"/"MariaDB" (#1481) and "SQLite" (#1801) for the "Text", "URL" and "Page" datatypes.
Provenance data recording
Qualifying facts using a simple provenance model is now supported (#1808) using existing mechanisms in defining a property specification together with a new "Reference" datatype (video).
Property chain and language filter support in print request
Property chain for conditions (e.g [[Located in.Capital of::Foo]]) was provided for some time, and now got extended (#1824) to supporting the syntax on print requests to retrieve values of a chain member that represent a page node. Values of datatype "Monolingual Text" can now use a language filter (#2037) to restrict the display of a value in a print request.
Edit protection
Edit protection to help avoid changes to properties or other data sensitive pages from alterations that may cause data invalidations (e.g. change of a property type, inconsistent specifications etc.) or process disruptions. This feature integrates with MediaWiki's page protection functionality.
Preferred property label support
Semantic MediaWiki now supports the declaration of preferred property labels (#1865) with the objective to show labels in a user context on special pages, query results, and factboxes instead of the canonical property label.
Query result cache
Caching of query results (#1251) was added as experimental feature to minimize a possible impact of query processing during and after a page view. This change also includes a reevaluation (#2099, #2176) of the query hash (used as identifier) to ensure that cache fragmentation is reduced and duplicate queries can share the same cache across different pages.
Links in values
Support for links in values for datatype "Text" was extended by use-cases and improved in performance as well as avoiding the former error-prone "PCRE-approach".
Fixed properties
Support for fixed properties was overhauled, fixed (#2135) and is no longer experimental.
Special page "SemanticMediaWiki"
Special page "SemanticMediaWiki" formerly known as special page "SMWAdmin" was modernized and extended (#2044, etc.) including a new configuration setting allowing for a more fine-granded control over feature accessibilty (#2142).
Compatibility changes
- Minimum requirement for PHP changed to version 5.5 and later
- Minimum requirement for MediaWiki changed to version 1.23 and later (1.27 and later recommended)
- Forward comatibility with MediaWiki 1.29+ adjustments which include #2149, #2198
Upgrading
This release requires to run update.php or setupStore.php to add an extra table column for the URI table (#1872) and a new table for the preferred label property (#1865).
New features and enhancements
- #1251 Added support to cache query results
- #1418 Added recognition for image formatting options in query results
- #1481 Added full-text
MySQL/MariaDBsearch support to theSQLStore(see #1481 for limitations and features supported) - #1652 Added support for approximate search queries that contain a namespace
[[Help:~Abc*]] - #1691 Added language fallback for special properties
- #1708 Added the External identifier type
- #1718 Added feature flag
SMW_DV_NUMV_USPACEto allow preserving spaces in unit labels - #1747 Extended
InTextAnnotationParserto check for a possible pipe syntax in combination with:: - #1757 Added the
$smwgQTemporaryTablesAutoCommitModesetting to mitigate possible issues with temporary tables inMySQLfor whenenforce_gtid_consistency=trueis set - #1756 Extended the display characteristics of
Special:Browseto load content via the API back-end (legacy display can be retained by maintaining$smwgBrowseByApiwithfalse) - #1759 Improved
Special:Askerror output - #1760 Improved handling of
MonolingualTextValueinSpecial:SearchByProperty - #1761 Added language context support in a property page to recognize localized property type
[[Has type ...]]annotations - #1768 Extended error display to be shown in a user language context
- #1778 Export the canonical form of a special page (e.g.
Special:ExportRDF,Special:URIResolver) - #1779 Added
Special:ProcessingErrorList - #1793 Extended date type (
TimeValue) with an#LOCL@langoutput format to recognize a specific language tag - #1801 Added
SQLStorefull-text search support forSQLite - #1802 Extended parsing in
#set_recurring_eventto avoid a00:00:00time display - #1809 Added support for using a property name as index identifier in a print request for the
Recordtype - #1808 Added support for recording provenance data
- #1824 Added support for the property chain syntax (e.g.
?SomeProperty.Foo) in a print request - #1838 Added time zone support in
TimeValuetogether with the new#LOCL#TZoutput format - #1854 Added unescaped output option for
format=json - #1855 Added
@@@as special annotation syntax to generate a link to a property (e.g[[Foo::@@@]]or[[Foo::@@@en]]) - #1865 Added support for preferred property labels
- #1872 Added support for retrieving and storing URIs longer than 255 characters
- #1875 Added support for displaying a
titleattribute on tooltips for non JS environments - #1891 Added support for
JSONtyped annotation in#setand#subobjectusing the@jsonmarker - #1927 Added
$smwgSubPropertyListLimitto restrict selection of subproperties on the property page - #2007 Extended the
introandoutroparameter to correctly display parsed links inSpecial:Ask - #2024 Added option
template argumentsinformat=templateto define the type of used parameters - #2027 Extended
format=tableto display an image (instead of a link) inSpecial:Ask - #2036 Added print request option for text values to reduce the length of a text output (e.g.
|?Has text#20) - #2037 Added
|+lang=as print request filter to specify a language for aMonolingual textresult instance - #2068 Extended the
#infotooltip to work on multiple form sections - #2108 Extended the
smw.dataItem.timeJS component to support historic dates - #2109 Extended
Special:Browseto distinguish between machine and human generate links - #2113 Extended the uniqueness constraint to apply a stricter validation on competing annotations
- #2118 Added a button to
Special:Askto copy the query to the clipboard - #2135 Changed and fixed the behaviour of the
$smwgFixedPropertiessetting for fixed properties to ensure consistent typing - #2137 Extended the display of statistics in
Special:Statistics - #2139 Added the display of Semantic MediaWiki related job statistics under the subsection of the
Special:SemanticMediaWikipage - #2142 Added
$smwgAdminFeaturesto supportPropertyStatisticsRebuildJobandFulltextSearchTableRebuildJobfrom theSpecial:SemanticMediaWiki(formally known asSpecial:SMWAdmin) page, thesmwgAdminRefreshStoresetting was deprecated - #2153 Changed the behaviour of the
$smwgLinksInValuessetting to allow using theObfuscator(SMW_LINV_OBFU) approach instead ofPCREto match links in values (e.g.[[Has text::[[Lorem ipsum]] dolor sit amet, [[Has page::consectetur adipiscing elit]]]]) - #2157 Extended the property page to show redirects (synonyms) directly
- #2173 Added support for prettified
JSONoutput in theCodeStringValueFormatter - #2176 Added an experimental feature
smwgQFilterDuplicatesto filter duplicate query segments - #2204 Extended
Special:UnusedPropertiesandSpecial:WantedPropertiesto provide an input form - #2207 Added
smwgExportResourcesAsIrito allow exporting resources as IRIs - #2209 Extended parsing of interface messages to support additional
smwgEnabledSpecialPagepages - #2221 Added possibility to show a general message on each property page (
smw-property-introductory-message) or for a specific type of property (smw-property-introductory-message-user,smw-property-introductory-message-special) - #2227 Added warning, error, and info messages for incomplete requirements on a property page
- #2232 Added support for Is edit protected property together with
$wgRestrictionLevels(#2249) - #2243 Added property and concept namespace to the
$wgContentNamespacesand$wgNamespacesToBeSearchedDefaultsetting - #2244 Added
Special:PropertyLabelSimilarityto help reporting syntactic similarities between property labels - #2253 Added
#-hloutput formatting option to highlight search tokens within a result set - #2270 Added query parameters recording in the query profiler
- #2281 Added check to detect a divergent type specification for an imported vocabulary
- #2282 Added
$smwgPropertyInvalidCharacterListto define character validation rules for property labels - #2285 Added
SMW_HTTP_DEFERRED_SYNC_JOBoption to execute secondary updates synchronously - #2289 Added a contents importer to support importing of additional data during the setup process
- #2290 Added query reference links section to
Special:Browse - #2295 Added
Allows value listto maintain a list of allowed values using aNS_MEDIAWIKIreference page - #2301 Added
$smwgSparqlReplicationPropertyExemptionListto suppress replication for selected properties to aSPARQLendpoint - #2325 Added
#-iaas print request output option for the text datatype - #2331 Added
$smwgResultFormatsFeaturesto control available features for specificResultFormatterand includes (SMW_RF_TEMPLATE_OUTSEPto support the #2022 changes) - Many new translations for numerous languages by the communtity of translatewiki.net
- New translation for special properties, datatypes, magic words, date formats and aliases for Catalan and German by Semantic MediaWiki community members
Bug fixes
- #1258 Fixed "named args" parameter use in further results link
- #1328 Fixed a "Undefined index: language" error in
#smwdocparser function - #1419 Fixed Feed result printer ouput for empty results
- #1709 Fixed a potential "Lock wait timeout exceeded; try restarting transaction" in connection with
--procs - #1713 Fixed a "Segmentation fault" for when
QueryResultDependencyListResolvertries to resolve a category/property hierarchy with a circular reference - #1715 Fixed decoding of a single quotation mark in
DisplayTitlePropertyAnnotator - #1724 Fixed a possible
InvalidArgumentExceptionin connection withSMW_DV_PVUCby updating theCachedPropertyValuesPrefetcherversion number - #1727 Fixed an issue when property names contain
<or>symbols - #1728 Fixed fatal error in
Special:SearchByPropertyon when the property name contains invalid characters - #1731 Fixed possible error in the
SkinAfterContenthook when a null object is used - #1744 Fixed special page "Searchbyproperty" not working correctly with "-" sign
- #1775 Fixed time offset recognition
- #1817 Disabled
DataValueconstraint validation when used in a query context - #1823 Fixed annotation of
Display title ofwhenSMW_DV_WPV_DTITLEis disabled - #1880 Fixed handling of the
byteatype inpostgresfor a blob field - #1886 Fixed disappearance of the
Propertynamespace in connection with extensions that usewfLoadExtension - #1922 Fixed
InfoLinksProviderto avoidLOCLinfo links - #1926 Fixed
PrintRequestto recognize the spant tag in labels - #1935 Fixed "Error: 42P10 ERROR: ... ORDER BY expressions must appear in select list" for PostgreSQL
- #1957 Fixed
SMWSQLStore3Writers::getSubobjectsusing the wrong DBKey in case of predefined properties - #1963 Fixed by relying on #2153
- #1977 Fixed Unexpected general modules for Resource Loader
- #1978 Fixed
Tablebuilderto avoid index creation on an unaltered schema definition - #1985 Fixed a potential fatal error in
MaintenanceLoggerfor when$wgMaxNameCharsdoesn't match an expected name length - #2000 Fixed label and caption sanitization
- #2022 Fixed the usage of the sep parameter for format "template"
- #2061 Fixed strict comparison
===for strings inPropertyTableRowDiffer - #2070 Filter invalid entity display from
Special:Concepts - #2071 Prevent extensions to register already known canonical property labels and hereby avoid a possible ID mismatch
- #2076 Fixed issue for Gregorian and Julian calendars having a year 0
- #2078 Fixed issue with "SELECT list; this is incompatible with DISTINCT" for MySQL 5.7+
- #2089 Fixed issue with "UPDATE - SET; Data too long for column" for MySQL 5.7+
- #2093 Avoid removal of existing data by #REDIRECT in target
- #2107 Fixed
NamespaceManager::initto set SMW_NS* default settings - #2127 Fixed a call to a the member function
getHash()on nulll - #2182 Fixed display of special properties in
Special:UnusedProperties - #2183 Fixed display of properties with no explicit datatype in
Special:UnusedProperties - #2188 Fixed error in special page "RDFExport" with non-latin instance names
- #2202 Added guard against error "Invalid or virtual namespace -1 given"
- #2228 Fixed text output for the table format in
Special:Ask - #2294 Avoid a possible
Parser::lockduring anUpdateJob
Internal changes
- #1511 Removed I18n shim originally required for MediaWiki < 1.23
- #1726 Allows
QueryDependencyLinksStoreto executegetDependencyListByLateRetrievaleven in cases of an intial empty list - #1750 Added
TableBuilderto replaceSMWSQLHelpers - #1780 Added
ResourceBuilderandDispatchingResourceBuilder - #1791 Added
PropertyRegistry::registerPropertyDescriptionByMsgKey - #1776 Added
QueryEngineandStoreAwareinterface - #1848 Added
ExtraneousLanguageto handle Semantic MediaWiki specifici18ncontent in aJSONformat, removed thePHPlanguage files - #1940 Added
InstallerandTableSchemaManagerto replaceSMWSQLStore3SetupHandlers - #2118 Added the
onoi/shared-resources~0.3dependency - #2201 Changed normalization of spaces to
_instead of%20inDIUri - #2214 Added
LinksProcessorandSemanticLinksParser - #2217 Added
QuerySegmentListBuildManager - #2275 Added the
onoi/callback-container:~2.0dependency - #2282 Added
DataValueServiceFactoryandDataValueServices.phpto allow injection of services into aDataValueinstance
Settings and configurations
Settings and configurations added with 2.5.0.
Contributors
- 688 - James Hong Kong
- 59 - Karsten Hoffmeyer
- 51 - Jeroen De Dauw
- 37 - Niklas Laxström
- 14 - translatewiki.net
- 5 - Maciej Brencz
- 4 - Felipe de Jong
- 4 - Siebrand Mazeland
- 2 - Alex Winkler
- 2 - Stephan Gambke
- 2 - Toni Hermoso Pulido
- 1 - Amir E. Aharoni
- 1 - Felipe Schenone
- 1 - Jaider Andrade Ferreira
- 1 - James Forrester
- 1 - Justin Du
- 1 - Sébastien Beyou
- 1 - Virginia Cepeda