Semantic MediaWiki 5.0.0
Semantic MediaWiki 5.0.0 | |
---|---|
Release date: | March 10, 2025 |
Previous version: | Semantic MediaWiki 4.2.0 |
Next version: | Semantic MediaWiki 5.0.1 |
Compatible with: | MW 1.39.0 - 1.43.x |
Current version: | |
SMW 5.0.1 |
Version 5.0.0 of Semantic MediaWiki is a main release. It is a feature release that brings rewrites of the browsing interface (Special:Browse) and the factbox, adding several new formatting options to the table format. Besides several bug and maintenance fixes, it also contains performance improvements and translation updates for system messages. See the English language RELEASE NOTES below on this page for further information.
Please refer to the help pages on installing or upgrading Semantic MediaWiki for detailed instructions on how to do this.
Semantic MediaWiki 5.0.0
Released on March 10, 2025.
Summary
This release mainly brings support for recent versions of MediaWiki and PHP. Upgrading is recommended for anyone using MediaWiki 1.41 or later.
Compatibility
- Added support for MediaWiki 1.42 and 1.43
- Dropped support for MediaWiki older than 1.39
- Improved compatibility with PHP 8.3 and above
- Dropped support for PHP older than 8.1
For more detailed information, see the compatibility matrix.
Highlights
User Interface Changes
Some user interface changes are deployed to make user-facing front-end components more intuitive and mobile-friendly by using Codex from Wikimedia Foundation:
- Start using Codex Design tokens and improve various styles (#5786)
- Rewrite Special:Browse and its factbox (#5788)
- Style SMW tabs similar to Codex (#5997)
- Use new Factbox component at the bottom of the page (#5804)
- Minor visual improvement to Factbox (#5845)
- Minor cleanups on tab styles (#5991)
- Use semantically correct heading and drop custom heading styles (#5992)
Performance
- Use SVGs for logos (#5756)
- Convert base64 images into actual files (#5761)
- Clean up tooltip-related ResourceLoader modules (#5762)
- Minor clean up to SMW Tippy styles (#5769)
- Clean up single-use ResourceLoader modules (#5777)
New Features and Enhancements
- Support additional formatting options on the
table
/broadtable
result format (|+width=
,|+height=
,|+link=
and|+thclass=
) (#5739) - Allow RDF link in the head element to be disabled (#5776)
- Update Schema.org vocabulary from version 14 to 28 (Commit cc5a1db), fix in Skos vocabulary (Commit 7740dd6)
Breaking Changes
#6021 ChangePropagationDispatchJob: Don't presume job will be run on same server
The param 'dataFile' and 'checkSum' have been dropped in ChangePropagationDispatchJob. No longer is a temp file created, instead the contents is supplied in the 'data' param.
#6044 Remove deprecated class alias
The following class aliases were removed as they were deprecated:
- \SMW\Localizer
- \SMW\Message
- \SMW\Lang\Lang
- \SMWSerializer
- \SMWTurtleSerializer
- \SMWRDFXMLSerializer
- SMWRDFResultPrinter
- SMWEmbeddedResultPrinter
- SMWDSVResultPrinter
- SMWAggregatablePrinter
- SMW\PropertyAnnotator
- SMW\PropertySpecificationLookup
- SMW\PropertyRestrictionExaminer
- SMWResultArray
- SMWQueryResult
- \SMW\ApplicationFactory
- \SMWSql3SmwIds
- SMW\DeferredCallableUpdate
- SMW\DeferredTransactionalCallableUpdate
- SMW\InTextAnnotationParser
- SMW\UrlEncoder
- SMW\QueryResultPrinter
- SMWIResultPrinter
- SMW\ExportPrinter
- SMW\ResultPrinter
- SMWResultPrinter
- SMW\FileExportPrinter
- SMW\ListResultPrinter
- SMWQueryParser
- SMW\SQLStore\CompositePropertyTableDiffIterator
- SMW\DBConnectionProvider
- SMWPropertyValue
- SMWStringValue
- \SMW\MediaWiki\Database
- SMWDIString
- SMWStore
- SMWUpdateJob
- SMWRefreshJob
- SMWSemanticData
- SMWDIWikiPage
- SMWDIProperty
- SMWDISerializer
- SMWDataValueFactory
- SMWDataItemException
- SMWSQLStore3Table
- SMWDIConcept
- SMWTableResultPrinter
- SMWExportPrinter
- SMWCategoryResultPrinter
- SMWListResultPrinter
- SMWSparqlStore
- SMWSparqlDatabase4Store
- SMWSparqlDatabaseVirtuoso
- SMWSparqlDatabase
- SMWSQLStore3
- SMWDescription
- SMWThingDescription
- SMWClassDescription
- SMWConceptDescription
- SMWNamespaceDescription
- SMWValueDescription
- SMWConjunction
- SMWDisjunction
- SMWSomeProperty
- SMWPrintRequest
- SMW\SQLStore\PropertiesCollector
- SMW\SQLStore\UnusedPropertiesCollector
- SMWExpElement
- SMWExpResource
- SMWExpNsResource
- SMWExpLiteral
- SMWSQLStore3QueryEngine
- SMW\ParserParameterFormatter
- SMW\ParameterFormatterFactory
- SMWRequestOptions
- SMWStringCondition
- SMW\Hash
- SMWBoolValue
- SMW\FormatFactory
- SMW\SubobjectParserFunction
- SMW\RecurringEventsParserFunction
- SMW\SQLStore\TableDefinition
- SMWContainerSemanticData
SMWSearch alias was kept.
Upgrading
Be advised that the SMWSearch feature (and so the SEARCHFORMSCHEMA feature) is not working yet. See issue #5782. If you use those features, change the MediaWiki $wgSearchType parameter to something other than SMWSearch
.
If you use the ElasticStore or the SPARQLStore feature, make sure you have the $smwgDefaultStore
set to SMW\Elastic\ElasticStore
or SMW\SPARQLStore\SPARQLStore
(the aliases SMWElasticStore
and SMWSparqlStore
were removed).
There is no need to run the "update.php" maintenance script or any of the rebuild data scripts (but it is still advisable to do so to make table optimizations on the database).
Contributors
- translatewiki.net
- paladox
- alistair3149 (Professional Wiki)
- Marko Ilic (gesinn.it)
- Sébastien Beyou (Wiki Valley)
- Alexander Gesinn (gesinn.it)
- Jeroen De Dauw (Professional Wiki)
- Karsten Hoffmeyer (Professional Wiki)
- Robert Vogel (Hallo Welt!)
- Simon Stier
- Yvar (ArchiXL)
- Alexander Mashin
- Ferdinand Bachmann
- Youri vd Bogert (ArchiXL)
- dependabot[bot]
- thomas-topway-it (KM-A)
- jaideraf
- Bernhard Krabina (KM-A)
See Also
- Semantic MediaWiki 5 Released blog post