MediaWiki 1.38
This page contains release notes for an unsupported version of MediaWiki. |
MediaWiki |
---|
|
Older versions |
Version lifecycle |
MediaWiki 1.38 jẹ itusilẹ iduroṣinṣin lọwọlọwọ ti MediaWiki.
Consult the RELEASE NOTES file for the full list of changes.
O ti wa ni ransogun lori Wikimedia Foundation wiki nipasẹ awọn ẹka afikun "wmf" laarin Oṣu Kẹsan 2021 ati Oṣu Kẹta 2022.
Itusilẹ iduroṣinṣin 1.38.0 wa jade ni Oṣu Kẹta 2, 2022.
Download 1.38.7 or checkout the REL1_38
branch in Git to follow this release.
MediaWiki 1.38 |
---|
Deployment to Wikimedia sites |
Awọn ayipada iṣeto ni fun awọn alakoso eto
MediaWiki 1.38 is introducing a new system for configuration loading. The new system is fully compatible with the traditional way of configuring, but it offers some new features. Interested parties are encouraged to experiment with the new ways to load configuration and report any issues they come across.
Iṣeto tuntun
- (T297708)
$wgMaxExecutionTimeForExpensiveQueries
– Eto yii le ṣee lo lati ṣakoso akoko ipaniyan ti o pọju fun ọpọlọpọ awọn oju-iwe ibeere ti o gbowolori ('fun apẹẹrẹ Awọn iyipada aipẹ ati UserContribs). $wgBrowserFormatDetection
– Eto yii ngbanilaaye idari awọn aṣawakiri 'iwari aifọwọyi ati mimu awọn ọna kika mu. O n lo lakoko lati ṣe idiwọ isopo-laifọwọyi ti awọn nọmba tẹlifoonu ti o ṣee ṣe ni iṣelọpọ awọn oju-iwe wiki ni Safari lori iOS; Eyi le tun mu ṣiṣẹ ti o ba fẹ, tabi faagun ni agbegbe fun awọn aṣawakiri miiran.- (T240685)
$wgMetricsTarget
,$wgMetricsFormat
, and$wgMetricsPrefix
– Iwọnyi n pese iṣeto ni fun iṣẹMetricsFactory
tuntun pẹlu atilẹyin fun ọna kikadogstatsd
, ti a pinnu fun iṣọpọ pẹlu Prometheus. $wgGroupInheritsPermissions
– Eto yii ngbanilaaye awọn igbanilaaye jogun, mejeeji fifunni ati fagile, lati ẹgbẹ miiran.$wgForeignApiRepos
–ForeignAPIRepo
ni bayi ni aṣayanapiMetadataExpiry
kan lati ṣakoso fun bawo ni metadata faili ti wa ni ipamọ to gun. Ni afikun, aiyipada yipada lati wakati 1 si awọn wakati 4.$wgSkinsPreferred
– Eyi n jẹ ki o ṣeto atokọ ti awọn awọ ara ti o fẹ lati ṣe atokọ ti o ga julọ ni Special:Preferences.- Warning: EXPERIMENTAL (see the docs on the new system to load configuration)
$wgWikiFarmSettingsDirectory
– Liana ti o ni awọn faili iṣeto ni aaye kan ninu. Ṣiṣeto eyi yoo jẹ ki ipo ayalegbe lọpọlọpọ ("oko wiki") ṣiṣẹ, nfa awọn eto aaye kan pato lati kojọpọ da lori alaye lati inu ibeere wẹẹbu.$wgWikiFarmSettingsExtension
– Ifaagun faili lati ṣee lo nigbati o n wa awọn faili eto aaye kan pato ni$wgWikiFarmSettingsDirectory
, gẹgẹbijson
tabiyaml
.$wgWikiFarmSiteDetector
– Iṣẹ ipe pada ti o da orukọ wiki pada fun ibeere lọwọlọwọ. Replaced by the MW_WIKI_NAME environment variable in 1.39. Eyi ni a lo ni ipo ayalegbe pupọ ("oko wiki") lati pinnu iru faili eto lati kojọpọ lati$wgWikiFarmSettingsDirectory
.
$wgEnableRemoteBagOStuffTests
– Eyi rọpo oniyipada ayikaPHPUNIT_USE_BAGOSTUFF
.- (T230211)
$wgForceDeferredUpdatesPreSend
– Fi ipa mu awọn imudojuiwọn idaduro lati ṣiṣẹ ṣaaju fifiranṣẹ esi si alabara, dipo igbiyanju lati ṣiṣe wọn lẹhin fifiranṣẹ esi naa. Ṣiṣeto eyi sitrue
wulo fun idanwo ipari-si-opin, lati rii daju pe awọn ipa ti ibeere kan han si eyikeyi awọn ibeere ti o tẹle, paapaa ti wọn ba ṣe lẹsẹkẹsẹ lẹhin akọkọ. Ṣe akiyesi sibẹsibẹ pe eyi ko rii daju pe ẹda data ti pari, tabi ko ṣe awọn iṣẹ eyikeyi ti o wa fun nigbamii. $wgTemplateLinksSchemaMigrationStage
– Ipele ijira tabili tabili templatelinks , fun deedetl_namespace
ati awọn aayetl_title
.
Yiyipada iṣeto ni
$wgStyleDirectory
and$wgExtensionDirectory
– Iwọnyi ti ṣeto nigbamii, nitorinaa ko le ṣee lo laarinLocalSettings.php
mọ ayafi ti o ba ṣeto ni kedere ninu faili yẹn.$wgFileBackends
– Eto yii ko gbafileJournal
mọ bi aṣayan.$wgMaxImageArea
– Eto yi le ni bayi ṣeto sifalse
lati mu iwọn iṣayẹwo iwọn rẹ jẹ ki o to iwọn. Awọn amugbooro tun le yi iye rẹ pada nipa lilo kioBitmapHandlerCheckImageArea
.$wgAjaxUploadDestCheck
– (deprecated) Ṣiṣẹ bi nigbagbogbo-otitọ.$wgInterwikiCache
– Eyi ko ṣe atilẹyin iye okun fun awọn faili CDB mọ.- (T292321)
$wgParserOutputHooks
– (deprecated) Awọn atunṣe lilo eyi yẹ ki o ṣee ṣe pẹluOutputPageParserOutputHook
dipo. $wgExternalStores
– Eyi jẹ akọsilẹ tuntun niincludes/externalstore/README.md
.
Yiyọ iṣeto ni
$wgShellLocale
– Eto yii ti yọkuro, nitori pe o jẹ ojuutu abawọn si iṣoro ti igbẹkẹle agbegbe. MediaWiki yoo nigbagbogbo ṣeto agbegbe tiC.UTF-8
tabiC
ati ṣiṣẹ ni ayika awọn iṣoro ti o ku ti agbegbeC
nipa aiṣe liloescapeshellarg
. Eyi tẹle itọsọna ti PHP 8.0, eyiti o ṣeto agbegbe tiC
nipasẹ aiyipada dipo ibowo funLC_CTYPE
.- (T293848)
$wgLoggedOutMaxAge
– Idanwo kuro, ni akọkọ fi kun ni 1.35. $wgIncludejQueryMigrate
– (deprecated in 1.36) A ṣe atilẹyin jQuery v3 nikan.$wgUseCategoryBrowser
– Ẹya idanwo yii ti yọkuro. Ti o ba tun nilo lati lo ẹya yii, jọwọ wo Extension:CategoryExplorer .$wgStyleSheetPath
– (deprecated in 1.3) Inagi fun$wgStylePath
.
Awọn ẹya tuntun ti nkọju si olumulo
Awọn amugbooro ti a ṣajọpọ
- (T191740) Ifaagun AbuseFilter ti wa ni idapọ pẹlu MediaWiki. Eyi jẹ ẹya-ara ilokulo ti o fun laaye awọn olumulo ti o ni anfani lati ṣeto awọn iṣe kan pato lati ṣe nigbati awọn iṣe nipasẹ awọn olumulo, gẹgẹbi awọn atunṣe tabi awọn gbigbe faili, ba awọn ibeere kan mu.
- (T232948) Ifaagun Math ti wa ni idapọ pẹlu MediaWiki. Eyi jẹ ẹya akoonu ti o jẹ ki awọn olumulo ṣẹda agbekalẹ mathematiki, ti a kọ sinu ipin-ipin ti LaTeX ati ti a ṣe ni MathML pẹlu aworan SVG fallback. Nipa aiyipada, yoo lo Wikimedia's iṣẹ mathoid lati ṣe agbekalẹ agbekalẹ kọọkan, ṣugbọn itumọ agbegbe le ṣee ṣeto fun ipinya tabi iṣẹ nẹtiwọki.
- (T191743) Awọ Minerva ti wa ni idapọ pẹlu MediaWiki. Eyi jẹ irọrun, iwuwo-ina, ati awọ iwọn ti o jẹ iṣapeye pataki fun lilo alagbeka, ati pe o ṣepọ daradara pẹlu itẹsiwaju MobileFrontend (wa ni lọtọ), ṣugbọn tun le ṣee lo bi awọ-ara tabili deede.
Awọn iyipada miiran
- (T284921) Ẹya “awọn akọle nọmba-laifọwọyi” ti yọkuro ni atẹle ijumọsọrọ kan, nitori awọn idi iṣẹ ṣiṣe.
Onišẹ titun/awọn ẹya ara ẹrọ ti o ni idagbasoke =
- Awọn iṣeto ni siseto yi pada substantially; o le ka diẹ sii nipa bawo.
- Warning: EXPERIMENTAL: Oniyipada ayika
MW_CONFIG_FILE
ni a le lo lati pato ipo ti faili eto naa. Eyi n gba awọn faili eto yiyan laaye lati kojọpọ da lori agbegbe. Awọn faili eto le jẹ fifun bi awọn faili PHP bi failiLocalSettings.php
ibile, tabi wọn le lo ọna kikaJSON
tabiYAML
. Wo Manual:YAML settings file format - Ṣafikun <koodu>deleteUserEmail iwe afọwọkọ itọju – Faili yii jẹ ki piparẹ adirẹsi imeeli ti olumulo kan ti o somọ. O le ṣe iranlọwọ fun awọn iṣẹ ṣiṣe ipamọ-iṣiri.
- Apejuwe apejuwe fun kikọ <koodu>Fọọmu HTML ni bayi le lo '
disable-if
' lati mu awọn aaye ṣiṣẹ ni irọrun lori ipo kan, awọn ikosile atilẹyin jẹ kanna bii 'hide-if
'. - Ni wiwo tuntun wa,
IForeignRepoWithMWApi
, lati gba ọ laaye lati samisi awọn ibi ipamọ faili ti a pese nipasẹ itẹsiwaju bi atilẹyin ṣiṣe awọn ibeere API lodi si repo faili ajeji ki awọn amugbooro bii TimedMediaHandler pe da lori eyi le da ifaminsi lile duro fun awọn orukọ kilasi kan pato. - Warning: EXPERIMENTAL Atilẹyin ti a ṣafikun fun irọrun lati tunto ipo ayalegbe pupọ (“oko wiki”): Awọn eto fun aaye kọọkan ni a le gbe sinu ilana ti a pato nipasẹ
$wgWikiFarmSettingsDirectory
. Wiwa aaye jẹ iṣakoso nipasẹ$wgWikiFarmSiteDetector
ati awọn aiṣiṣe si orukọ agbalejo ti o beere. Fun apẹẹrẹ, eto$wgWikiFarmSettingsDirectory = "sites"
yoo jẹ ki awọn eto funwiki.example.com
kojọpọ lati "sites/wiki_example_com.yaml
". IKILO: Awọn faili YAML labẹ root Wẹẹbu le wa si awọn aṣawakiri, jọwọ gbe awọn igbese ti o yẹ lati daabobo wọn lati iwọle nipasẹ HTTP. - Ṣiṣe awọn idanwo QUnit fun module igbeyewo suite kọọkan ṣee ṣe pẹlu
grunt qunit --qunit-component={componentName}
, nibiti{componentName}
jẹ "MediaWiki" lati ṣiṣẹ QUnit core idanwo tabi awọ ara tabi orukọ itẹsiwaju. - Module
mediawiki.mixins
ni bayi ni <koodu>.olumulo-yan()Apopọ-kere.
Awọn iyipada ikawe ita
Awọn ile-ikawe ita tuntun
symfony/yaml
jẹ igbega lati idagbasoke-nikan.
Yi pada ita ikawe
- Updated
OOUI
from v0.42.0 to v0.43.2. - Updated
Vue
from 2.6.11 to 3.2.23. - Updated
WVUI
from v0.3.0 to v0.4.0. - Updated
composer/semver
from 3.2.5 to 3.2.6. - Updated
guzzlehttp/guzzle
from 7.2.0 to 7.4.1. - Updated
pear/mail_mime
from 1.10.9 to 1.10.11. - Updated
pear/net_smtp
from 1.9.2 to 1.10.0. - Updated
psr/log
from 1.1.3 to 1.1.4. - Updated
psy/psysh
from 0.10.5 to 0.11.1. - Updated
symfony/polyfill-php80
from 1.23.1 to 1.25.0. - Updated
wikimedia/assert
from 0.5.0 to 0.5.1. - Updated
wikimedia/cdb
from 1.4.1 to 2.0.0. - Updated
wikimedia/ip-utils
from 3.0.2 to 4.0.0. - Updated
wikimedia/minify
from 2.2.4 to 2.2.6. - Updated
wikimedia/object-factory
from 3.0.2 to 4.0.0. - Updated
wikimedia/parsoid
from v0.14.0-a14 to v0.15.0. - Updated
wikimedia/purtle
from 1.0.7 to 1.0.8. - Updated
wikimedia/request-timeout
from 1.1.0 to 1.2.0. - Updated
wikimedia/shellbox
from 2.0.0 to 3.0.0. - Updated
wikimedia/wrappedstring
from 3.2.0 to 4.0.1.
Iyipada idagbasoke-awọn ile-ikawe itagbangba nikan
- Updated
QUnit
from 2.16.0 to 2.18.0. - Updated
composer/semver
from 3.5.4 to 3.5.5. - Updated
composer/spdx-licenses
from 1.5.4 to 1.5.5. - Updated
doctrine/dbal
for PHP < 7.3 from 2.10.4 to 2.13.6. - Updated
doctrine/dbal
for PHP >= 7.3 from 3.0.0 to 3.1.5.
Awọn ile-ikawe itagbangba kuro =
- <koodu>jquery.jStorage, ti a ti parẹ lati MW 1.28; lo
mediawiki.storage
dipo.
Ayipada API igbese
- Tuntun
deletetalk
paramita on action=parẹ ti o fun ọ laaye lati pa oju-iwe ọrọ ti o somọ ti oju-iwe koko-ọrọ rẹ rẹ. - (T117549) Tuntun <koodu>iyatọ</koodu> paramita fun gbogbo awọn iṣe API, fun sisọ iyatọ ede (ni ibamu si <koodu>iyatọ paramita ti o wa tẹlẹ fun index.php).
Awọn ede imudojuiwọn
MediaWiki ṣe atilẹyin awọn ede to ju 400 lọ. Ọpọlọpọ awọn agbegbe ni imudojuiwọn nigbagbogbo. Ni isalẹ awọn ede titun ati yiyọ kuro nikan ni a ṣe akojọ, bakanna bi awọn iyipada si awọn ede nitori awọn ijabọ Phabricator.
- (T292166) Updated namespace names for the Lombard language.
- (T299201) Changed the autonym of the Èdè Angika (anp) language to अंगिका
- (T298309) Changed the autonym of the Èdè Abasia (ab) language to аԥсшәа
- (T302972) Changed the autonym of the Rúńdì (rn) language to ikirundi
- (T220303) Show numbered lists with Burmese numerals in relevant languages
- (T291899) Added language support for Xiang (hsn).
- (T292612) Added language support for S'gaw Karen (ksw).
- (T293656) Added language support for Frafra (gur).
- (T294729) Added language support for Pa'O (blk).
- (T296286) Added language support for Èdè Sikoti Smi (sms).
- (T296612) Added language support for Makhuwa (vmw).
- (T296707) Added language support for Èdè Gaa (gaa).
- (T297073) Added language support for Nanai (gld).
- (T297074) Added language support for Nawdm (nmz).
- (T298075) Added language support for Northern Thai (nod).
- (T298182) Added language support for Kabufadíánù (kea).
- (T298385) Added language support for Èdè Ningatu (yrl).
- (T299329) Added language support for Èdè Fon (fon).
- (T300474) Added language support for Ńyákọ́lè (nyn).
- (T302556) Added language support for Pannonian Rusyn (rsk).
Awọn oju-iwe kekere
- MediaWiki 1.38/New configuration system
- MediaWiki 1.38/Roadmap
- MediaWiki 1.38/wmf.1
- MediaWiki 1.38/wmf.1/Changelog
- MediaWiki 1.38/wmf.10/Changelog
- MediaWiki 1.38/wmf.11
- MediaWiki 1.38/wmf.11/Changelog
- MediaWiki 1.38/wmf.12
- MediaWiki 1.38/wmf.12/Changelog
- MediaWiki 1.38/wmf.13
- MediaWiki 1.38/wmf.13/Changelog
- MediaWiki 1.38/wmf.14
- MediaWiki 1.38/wmf.14/Changelog
- MediaWiki 1.38/wmf.15/Changelog
- MediaWiki 1.38/wmf.16
- MediaWiki 1.38/wmf.16/Changelog
- MediaWiki 1.38/wmf.17
- MediaWiki 1.38/wmf.17/Changelog
- MediaWiki 1.38/wmf.18
- MediaWiki 1.38/wmf.18/Changelog
- MediaWiki 1.38/wmf.19
- MediaWiki 1.38/wmf.19/Changelog
- MediaWiki 1.38/wmf.2
- MediaWiki 1.38/wmf.2/Changelog
- MediaWiki 1.38/wmf.20
- MediaWiki 1.38/wmf.20/Changelog
- MediaWiki 1.38/wmf.21
- MediaWiki 1.38/wmf.21/Changelog
- MediaWiki 1.38/wmf.22
- MediaWiki 1.38/wmf.22/Changelog
- MediaWiki 1.38/wmf.23
- MediaWiki 1.38/wmf.23/Changelog
- MediaWiki 1.38/wmf.24
- MediaWiki 1.38/wmf.24/Changelog
- MediaWiki 1.38/wmf.25
- MediaWiki 1.38/wmf.25/Changelog
- MediaWiki 1.38/wmf.26
- MediaWiki 1.38/wmf.26/Changelog
- MediaWiki 1.38/wmf.3
- MediaWiki 1.38/wmf.3/Changelog
- MediaWiki 1.38/wmf.4
- MediaWiki 1.38/wmf.4/Changelog
- MediaWiki 1.38/wmf.5
- MediaWiki 1.38/wmf.5/Changelog
- MediaWiki 1.38/wmf.6
- MediaWiki 1.38/wmf.6/Changelog
- MediaWiki 1.38/wmf.7
- MediaWiki 1.38/wmf.7/Changelog
- MediaWiki 1.38/wmf.8/Changelog
- MediaWiki 1.38/wmf.9
- MediaWiki 1.38/wmf.9/Changelog