Semantic MediaWiki and related extensions
|
Released on March 14, 2017.
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.
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 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 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.
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.
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.
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".
Support for fixed properties was overhauled, fixed (#2135) and is no longer experimental.
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).
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).
MySQL
/MariaDB
search support to the SQLStore
(see #1481 for limitations and features supported)[[Help:~Abc*]]
SMW_DV_NUMV_USPACE
to allow preserving spaces in unit labelsInTextAnnotationParser
to check for a possible pipe syntax in combination with ::
$smwgQTemporaryTablesAutoCommitMode
setting to mitigate possible issues with temporary tables in MySQL
for when enforce_gtid_consistency=true
is setSpecial:Browse
to load content via the API back-end (legacy display can be retained by maintaining $smwgBrowseByApi
with false
)Special:Ask
error outputMonolingualTextValue
in Special:SearchByProperty
[[Has type ...]]
annotationsSpecial:ExportRDF
, Special:URIResolver
)Special:ProcessingErrorList
TimeValue
) with an #LOCL@lang
output format to recognize a specific language tagSQLStore
full-text search support for SQLite
#set_recurring_event
to avoid a 00:00:00
time displayRecord
type?SomeProperty.Foo
) in a print requestTimeValue
together with the new #LOCL#TZ
output formatformat=json
@@@
as special annotation syntax to generate a link to a property (e.g [[Foo::@@@]]
or [[Foo::@@@en]]
)title
attribute on tooltips for non JS environmentsJSON
typed annotation in #set
and #subobject
using the @json
marker$smwgSubPropertyListLimit
to restrict selection of subproperties on the property pageintro
and outro
parameter to correctly display parsed links in Special:Ask
template arguments
in format=template
to define the type of used parametersformat=table
to display an image (instead of a link) in Special:Ask
|?Has text#20
)|+lang=
as print request filter to specify a language for a Monolingual text
result instance#info
tooltip to work on multiple form sectionssmw.dataItem.time
JS component to support historic datesSpecial:Browse
to distinguish between machine and human generate linksSpecial:Ask
to copy the query to the clipboard$smwgFixedProperties
setting for fixed properties to ensure consistent typingSpecial:Statistics
Special:SemanticMediaWiki
page$smwgAdminFeatures
to support PropertyStatisticsRebuildJob
and FulltextSearchTableRebuildJob
from the Special:SemanticMediaWiki
(formally known as Special:SMWAdmin
) page, the smwgAdminRefreshStore
setting was deprecated$smwgLinksInValues
setting to allow using the Obfuscator
(SMW_LINV_OBFU
) approach instead of PCRE
to match links in values (e.g. [[Has text::[[Lorem ipsum]] dolor sit amet, [[Has page::consectetur adipiscing elit]]]]
)JSON
output in the CodeStringValueFormatter
smwgQFilterDuplicates
to filter duplicate query segmentsSpecial:UnusedProperties
and Special:WantedProperties
to provide an input formsmwgExportResourcesAsIri
to allow exporting resources as IRIssmwgEnabledSpecialPage
pagessmw-property-introductory-message
) or for a specific type of property (smw-property-introductory-message-user
, smw-property-introductory-message-special
)$wgRestrictionLevels
(#2249)$wgContentNamespaces
and $wgNamespacesToBeSearchedDefault
settingSpecial:PropertyLabelSimilarity
to help reporting syntactic similarities between property labels#-hl
output formatting option to highlight search tokens within a result set$smwgPropertyInvalidCharacterList
to define character validation rules for property labelsSMW_HTTP_DEFERRED_SYNC_JOB
option to execute secondary updates synchronouslySpecial:Browse
Allows value list
to maintain a list of allowed values using a NS_MEDIAWIKI
reference page$smwgSparqlReplicationPropertyExemptionList
to suppress replication for selected properties to a SPARQL
endpoint#-ia
as print request output option for the text datatype$smwgResultFormatsFeatures
to control available features for specific ResultFormatter
and includes (SMW_RF_TEMPLATE_OUTSEP
to support the #2022 changes)#smwdoc
parser function--procs
QueryResultDependencyListResolver
tries to resolve a category/property hierarchy with a circular referenceDisplayTitlePropertyAnnotator
InvalidArgumentException
in connection with SMW_DV_PVUC
by updating the CachedPropertyValuesPrefetcher
version number<
or >
symbolsSpecial:SearchByProperty
on when the property name contains invalid charactersSkinAfterContent
hook when a null object is usedDataValue
constraint validation when used in a query contextDisplay title of
when SMW_DV_WPV_DTITLE
is disabledbytea
type in postgres
for a blob fieldProperty
namespace in connection with extensions that use wfLoadExtension
InfoLinksProvider
to avoid LOCL
info linksPrintRequest
to recognize the spant tag in labelsSMWSQLStore3Writers::getSubobjects
using the wrong DBKey in case of predefined propertiesTablebuilder
to avoid index creation on an unaltered schema definitionMaintenanceLogger
for when $wgMaxNameChars
doesn't match an expected name length===
for strings in PropertyTableRowDiffer
Special:Concepts
NamespaceManager::init
to set SMW_NS* default settingsgetHash()
on nulllSpecial:UnusedProperties
Special:UnusedProperties
Special:Ask
Parser::lock
during an UpdateJob
QueryDependencyLinksStore
to execute getDependencyListByLateRetrieval
even in cases of an intial empty listTableBuilder
to replace SMWSQLHelpers
ResourceBuilder
and DispatchingResourceBuilder
PropertyRegistry::registerPropertyDescriptionByMsgKey
QueryEngine
and StoreAware
interfaceExtraneousLanguage
to handle Semantic MediaWiki specific i18n
content in a JSON
format, removed the PHP
language filesInstaller
and TableSchemaManager
to replace SMWSQLStore3SetupHandlers
onoi/shared-resources~0.3
dependency_
instead of %20
in DIUri
LinksProcessor
and SemanticLinksParser
QuerySegmentListBuildManager
onoi/callback-container:~2.0
dependencyDataValueServiceFactory
and DataValueServices.php
to allow injection of services into a DataValue
instanceSettings and configurations added with 2.5.0.