语义MediaWiki 4.0.2
From semantic-mediawiki.org
Semantic MediaWiki 4.0.2 | |
---|---|
发行日期: | July 21, 2022 |
上个版本: | Semantic MediaWiki 4.0.1 |
下个版本: | Semantic MediaWiki 4.1.0 |
兼容: | MW 1.35.0 - 1.37.x |
当前版本: | |
SMW 4.2.0 |
语义MediaWiki的4.0.2版本是语义MediaWiki 4.0.0主要发行版本后的第二个发行版本。这是一个安全和维护发行版本,提供错误修复和翻译更新。更多信息请查阅本页下方的英语发行说明。
我们建议用户尽快升级。
请查阅有关安装或升级语义MediaWiki的帮助页面,获取相关操作方法的详细说明。
Semantic MediaWiki 4.0.2
Released on July 21, 2022.
Summary
This is a patch release, meaning that it contains only fixes and no breaking changes.
This release improves compatibility with MediaWiki 1.37 and 1.38. It also brings a fix for a security issue.
Users of MediaWiki 1.37 and later and Semantic MediaWiki 4.0.1 and earlier are encouraged to upgrade.
Upgrading
Get the new version via Composer:
- Step 1: if you are upgrading from SMW older than 4.0.0, ensure the SMW version in
composer.json
is^4.0.2
- Step 2: run composer in your MediaWiki directory:
composer update --no-dev --optimize-autoloader
No need to run "update.php" or any other migration scripts.
Changes
- #5275: SECURITY Sanitized query log before output. Thanks to Markus Glaser for fixing and Kirill Anikin as well as Justin Lloyd for reporting
- #5271: Replaced deprecated use of "SkinTemplateNavigation". Thanks to Abijeet Patro
- #5269: Replaced deprecated use of
JobQueueGroup::singleton()
. Thanks to Abijeet Patro - #5260: Replaced deprecated use of
LinksUpdate::mRecursive
. Thanks to Niklas Laxström - #5258: Replaced rdbms methods with ResultWrapper methods. Thanks to Abijeet Patro
- #5257: Replaced deprecated use of
Sanitizer::removeHTMLtags
. Thanks to Abijeet Patro - #5256: Replaced deprecated use of
LinksUpdate::mTemplate
. Thanks to Abijeet Patro - #5255: Replaced deprecated use of "LinksUpdateConstructed". Thanks to Abijeet Patro
- #5254: Replaced deprecated use of
ParserOutput::getPageProperty
. Thanks to Abijeet Patro - #5249: Fixed "Is a new page" special property. Thanks to Markus Wagenhofer
- #5246: Removed unused variable. Thanks to Markus Wagenhofer
- #5236: Fixed "TypeErrors" to be thrown. Thanks to wgevaert
- #5216: Fixed Resource Loader warning when loading the factbox module. Thanks to Jeroen De Dauw & Professional.Wiki.
- #5206: Made "ElasticFactory" object to be injected into "ElasticStore". Thanks to Marijn van Wezel
- Localisation updates. Thanks to translatewiki.net and its community of translators
The parser function was called multiple times but with a different language code ("en") which is to be avoided as content of a page is generally expected to be represented by a single language.