MediaWiki 1.35

This page is a translated version of the page MediaWiki 1.35 and the translation is 31% complete.
Outdated translations are marked like this.
Uyarı Uyarı: MediaWiki 1.35.0 to 1.35.4 contain a critical security issue. Please upgrade to 1.35.5 or later. See 2021-12 security release/FAQ for more information.
Uyarı Uyarı: MediaWiki 1.35 artık PHP 7.2'yi desteklememektedir. PHP 7.3.19 veya üzeri gereklidir.
If using PHP 8, it is recommended to use MediaWiki 1.38.4 or higher. PHP 8 is not in use by Wikimedia wikis, and thus gets less testing, but other groups do use MediaWiki with PHP 8 without issue. If you encounter any bugs when using MediaWiki with PHP 8, please report them. See görev T248925 for more information.

MediaWiki 1.35, MediaWiki'nin mevcut istikrarlı uzun vadeli destek sürümüdür. Değişikliklerin tam listesi için SÜRÜM NOTLARI dosyasına bakın. 1 Ekim 2019'dan itibaren artımlı "wmf " dalları aracılığıyla Wikimedia Vakfı vikilerinde konuşlandırıldı. 1.35.0 kararlı sürümü 25 Eylül 2020'de çıktı. Bu sürümü takip etmek için 1.35.14 indirin veya Git'teki REL1_35 dalına geçin. Eylül 2023'de kullanım ömrü sona erecek.

Yeni özellikler

  • Her eylem için kısayol olarak Special:EditPage, Special:PageHistory, Special:PageInfo ve Special:Purge özel sayfaları oluşturulmuştur Special:EditPage/Foo, PageHistory, PageInfo ve Purge sırasıyla &action= history, info ve purge'a karşılık gelen başlık=foo&action=edit'e yönlendirir. Bağlantı verildiğinde, alt sayfası hedef olarak kullanılır. Aksi takdirde, son kullanıcının hedefi manuel olarak belirlemesine izin vermek için temel bir arayüz görüntüler (görev T13456 sayfasına bakın).

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 görev T13456).

  • "?action=watch" altındaki form, izleme listesi öğelerinin son kullanma tarihlerini desteklemek için yeni bir açılır listeye sahiptir ($wgWatchlistExpiry , true ise).

Yeni paket uzantıları

MediaWiki 1.35, geleneksel kaynak düzenleyiciye alternatif olarak görsel bir düzenleme deneyimi sağlayan VisualEditor uzantısını bir araya getirdi. MediaWiki çekirdeğinde yerleşik olduğu için ayrı bir Parsoid örneğinin kurulması gerekli olmayacaktır.

Ayrıca SecureLinkFixer ve TemplateData paket halindedir. Vikinizde HTTPS bağlantılarını zorlarlar ve editörlerin şablonların nasıl çağrılacağını belirlemelerine izin vermek için bir etiket ve bir API eklerler.

Eylem API değişiklikleri

  • The suggest parameter of action=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 to false. 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 value anon. 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.
  • (görev T249526) action=login will now return Failed rather than NeedToken on session loss.

Eylem API'si dahili değişiklikleri

  • 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.
  • (görev T245931) meta=siteinfo&siprop=interwikimap no longer reports language or extralanglink when $wgInterwikiMagic is false.
Red Hat 8 ve CentOS 7, varsayılan olarak PHP 7.2 sağlar. Yazılım Koleksiyonları (SCL) veya AppStreams'dan güncellenmiş sürümleri yüklemeniz gerekecek.

Alt sayfalar