MediaWiki 1.35
This page contains release notes for an unsupported version of MediaWiki. |
MediaWiki 1.35 je najnovšia stabilná verzia MediaWiki softvéru, s dlhodobou podporou.
Najprv prosím, konzultujte o RELEASE NOTES súbore pre plný zoznam zmien.
Na Wikimedia Foundation wiki projektoch bolo vydávané vo vývojových verziách ("wmf ") od 1. októbra 2019.
1.35.0 vyšla 25. septembra 2020.
Stiahnite 1.35.14 alebo pozrite sa na REL1_35
(.git).
Koniec podpory bude v septembri 2023.
Nové funkcie
Špeciálne stránky Special:EditPage, Special:PageHistory, Special:PageInfo a Special:Purge boli vytvorené, a slúžia ako skratky k akciam.
Special:EditPage/Foo redirects to title=foo&action=edit, with PageHistory, PageInfo, and Purge corresponding to &action= history, info, and purge respectively. When linked to, its subpage is used as the target. Otherwise, it displays a basic interface to allow the end user to specify the target manually (see task T13456).
- Formulár pri ?action=watch má nový rozbalovací zoznam, ktorý umožňuje nastaviť pre jednotlivé položky v zozname dátum expirácie (ak je hodnota $wgWatchlistExpiry nastavená na
true
).
Nové pridané rozšírenia
MediaWiki 1.35 obsahuje rozšírenie VisualEditor , ktoré ponúka možnosť vizuálnej úpravy stránky. Už nie je nutné k tomu doinštalovávať Parsoid, pretože jeho funkcia bola integrovaná do jadra MediaWiki.
Okrem toho sú pridané SecureLinkFixer a aj TemplateData . Tieto veci vyžadujú funkčný prístup cez https. A ešte pridávajú k volániu api tag, ktorý oznamuje editorom s povoleným prístupom, aké šablony môžu byť importované.
Návrh zmeny
- The
suggest
parameter ofaction=opensearch
has been deprecated. The API behaves the same with and without this parameter. It was previously used by $wgEnableOpenSearchSuggest to partially disable the API if set tofalse
. Specifically, it would deny internal frontend requests carrying this parameter, whilst accepting other requests. - Integer-type parameters are now validated for syntax rather than being interpreted in surprising ways. For example, the following will now return a badinteger error:
- "1.9" - formerly interpreted as "1"
- " 1" - formerly interpreted as "1"
- "1e1" - formerly interpreted as "1" or "10", depending on the PHP version
- "1foobar" - formerly interpreted as "1"
- "foobar" (formerly intepreted as "0") Ranges should be assumed to be enforced.
- Many user-type parameters now accept a user ID, formatted like "#12345".
- The
assert
parameter used by all API modules now supports the valueanon
. When specified, the API will return the 'assertanonfailed' error if the user is logged in. - action=edit now supports the 'baserevid' parameter for edit conflict detection, as an alternative to 'basetimestamp'. Note that self-conflicts will continue to be ignored if 'basetimestamp' is set, but not if only 'baserevid' is set.
- A new module was added to change the content model of existing pages. Use action=changecontentmodel. Unlike Special:ChangeContentModel, the API module does not work for pages that do not already exist.
- If $wgWatchlistExpiry is
true
, the following API changes are made:- action=watch accepts a new 'expiry' parameter analagous to the expiry accepted by action=userrights, action=block, etc., except it must be no greater than $wgWatchlistExpiryMaxDuration , or an infinity value.
- action=query&list=watchlistraw returns pages' watchlist expiry dates.
- (task T249526) action=login will now return Failed rather than NeedToken on session loss.
Zmeny v interných API akciách
- The Action API now uses the Wikimedia\ParamValidator library for parameter validation, which brings some new features and changes. For the most part existing module code should work as it did before, but see subsequent notes for changes.
- The values for all ApiBase PARAM_* constants have changed. Code should have been using the constants rather than hard-coding the values.
- Several ApiBase PARAM_* constants have been deprecated, see the in-class documentation for details. Use the equivalent ParamValidator constants instead.
- The value returned for 'upload'-type parameters has changed from WebRequestUpload to Psr\Http\Message\UploadedFileInterface.
- Validation of 'user'-type parameters is more flexible. PARAM constants exist to specify the type of "user" allowed and to request UserIdentity objects rather than name strings. The default is to accept all types (name, IP, range, and interwiki) that were formerly accepted.
- Maximum limits are no longer ignored in "internal mode".
- The $paramName to
ApiBase::handleParamNormalization()
should now include the prefix. - (task T245931) meta=siteinfo&siprop=interwikimap no longer reports language or extralanglink when $wgInterwikiMagic is false.
Podstránky
- MediaWiki 1.35/Roadmap
- MediaWiki 1.35/wmf.1
- MediaWiki 1.35/wmf.1/Changelog
- MediaWiki 1.35/wmf.10
- MediaWiki 1.35/wmf.10/Changelog
- MediaWiki 1.35/wmf.11
- MediaWiki 1.35/wmf.11/Changelog
- MediaWiki 1.35/wmf.14
- MediaWiki 1.35/wmf.14/Changelog
- MediaWiki 1.35/wmf.15
- MediaWiki 1.35/wmf.15/Changelog
- MediaWiki 1.35/wmf.16
- MediaWiki 1.35/wmf.16/Changelog
- MediaWiki 1.35/wmf.18
- MediaWiki 1.35/wmf.18/Changelog
- MediaWiki 1.35/wmf.19
- MediaWiki 1.35/wmf.19/Changelog
- MediaWiki 1.35/wmf.2
- MediaWiki 1.35/wmf.2/Changelog
- MediaWiki 1.35/wmf.20
- MediaWiki 1.35/wmf.20/Changelog
- MediaWiki 1.35/wmf.21
- MediaWiki 1.35/wmf.21/Changelog
- MediaWiki 1.35/wmf.22
- MediaWiki 1.35/wmf.22/Changelog
- MediaWiki 1.35/wmf.23
- MediaWiki 1.35/wmf.23/Changelog
- MediaWiki 1.35/wmf.24
- MediaWiki 1.35/wmf.24/Changelog
- MediaWiki 1.35/wmf.25
- MediaWiki 1.35/wmf.25/Changelog
- MediaWiki 1.35/wmf.26
- MediaWiki 1.35/wmf.26/Changelog
- MediaWiki 1.35/wmf.27
- MediaWiki 1.35/wmf.27/Changelog
- MediaWiki 1.35/wmf.28
- MediaWiki 1.35/wmf.28/Changelog
- MediaWiki 1.35/wmf.3
- MediaWiki 1.35/wmf.3/Changelog
- MediaWiki 1.35/wmf.30
- MediaWiki 1.35/wmf.30/Changelog
- MediaWiki 1.35/wmf.31
- MediaWiki 1.35/wmf.31/Changelog
- MediaWiki 1.35/wmf.32
- MediaWiki 1.35/wmf.32/Changelog
- MediaWiki 1.35/wmf.34
- MediaWiki 1.35/wmf.34/Changelog
- MediaWiki 1.35/wmf.35
- MediaWiki 1.35/wmf.35/Changelog
- MediaWiki 1.35/wmf.36
- MediaWiki 1.35/wmf.36/Changelog
- MediaWiki 1.35/wmf.37
- MediaWiki 1.35/wmf.37/Changelog
- MediaWiki 1.35/wmf.38
- MediaWiki 1.35/wmf.38/Changelog
- MediaWiki 1.35/wmf.39
- MediaWiki 1.35/wmf.39/Changelog
- MediaWiki 1.35/wmf.4
- MediaWiki 1.35/wmf.4/Changelog
- MediaWiki 1.35/wmf.40
- MediaWiki 1.35/wmf.40/Changelog
- MediaWiki 1.35/wmf.41
- MediaWiki 1.35/wmf.41/Changelog
- MediaWiki 1.35/wmf.5
- MediaWiki 1.35/wmf.5/Changelog
- MediaWiki 1.35/wmf.6
- MediaWiki 1.35/wmf.7
- MediaWiki 1.35/wmf.8
- MediaWiki 1.35/wmf.8/Changelog