MediaWiki 1.36

From mediawiki.org
This page is a translated version of the page MediaWiki 1.36 and the translation is 45% complete.
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 task T248925 for more information.
Figyelem Figyelem: A MediaWiki 1.36.0 és 1.36.2 közti verziói nagyon súlyos biztonsági hibát tartalmaznak. Kérjük, frissítsen az 1.36.3 vagy későbbi verzióra További információk: 2021-12 biztonsági kiadás/GYIK .

A MediaWiki 1.36 a MediaWiki elavult kiadása. A változások teljes listája a KIADÁSI MEGJEGYZÉSEK fájlban található meg. A verzió fokozatos telepítése a Wikimédia Alapítvány wikijein „wmf” ágak formájában 2020. július 21. és 2021. április 15. között zajlott. Az 1.36.0 stabil verzió 2021. május 27-én jelent meg. Töltsd le a 1.36.4 fájlt vagy a Git REL1_36 ágát. Az 1.36 verzió támogatása 2022. június 3-án ért véget az 1.36.4 verzióval.

Új funkciók

A MediaWiki új logója
A MediaWiki új logója
  • A MediaWiki logója megváltozott. This means that the "Powered By MediaWiki" button shown in the skin footer will be different.
  • Minden HTML5-nevezett entitás elfogadható wikiszövegben.
  • (T106263) The file description page's alternate sizes now include 2048px.

API-változások

  • `Access-Control-Max-Age` was added to the default list of headers allowed for cross-origin API requests ($wgAllowedCorsHeaders ).
  • Accounts with the 'bot' right no longer have pages automatically added to the watchlist when making API edits, regardless of their preferences.

This is to reduce the size of the watchlist data in the database. To add API bot edits to the watchlist, explicitly set the 'watch' option.

Frissítési megjegyzések

  • MediaWiki 1.36 now requires the PHP internationalisation extension (commonly referred to as Intl, ext-intl, or php-intl).
  • A MediaWiki:Autoblock whitelist blokkmentességi üzenet átkerült az MediaWiki:Block-autoblock-exemptionlist helyre. If you use this feature, please move the MediaWiki:Autoblock_whitelist page.
  • (T275334) A $wgExtensionFunctions néha használatos konfigurációs beállítások megváltoztatására. Ez nem biztonságos, a kiterjesztések funkciói későn futnak, néhány szolgáltatás már elindul addig, így a régi konfigurációt használják. Az 1.36-ban történt változások ezt még gyakoribbá teszik. Használhatod a MediaWikiServices hookot helyette. (In the future there might be a dedicated hook for configuration changes.)
  • The MediaWiki update script, maintenance/update.php , used to accept `--nopurge` as an option to prevent clearing caches stored in the database during upgrade.

This is no longer encouraged, and the option has been removed.

Konfiguráció

Új konfigurációs opciók

  • (T256001) $wgManualRevertSearchRadius This setting controls a new feature that marks edits as reverts if they restore the page to an exact previous state. This configuration variable sets the maximum number of revisions of a page that will be checked against every new edit. Set this to 0 to disable the feature entirely.
  • (T244058) $wgOldRevisionParserCacheExpireTime This setting was added to control caching of ParserOutput for old (non-current) revisions.
  • (T265263) $wgRememberMe - This setting configures the "remember me" checkbox on account log-in systems via RememberMeAuthenticationRequest.
  • (T157145) $wgSkinMetaTags This setting lets sysadmins configure skins that support meta tags. These tags make sharing of MediaWiki pages on a variety of social platforms more contentful and thus useful.
  • (T280944) $wgIncludejQueryMigrate This setting lets sysadmins disable the jQuery Migrate plugin. It has been enabled by default since MediaWiki 1.27 . In future releases it will be disabled by default.

Megváltozott konfigurációs opciók

  • $wgLogos – E beállítás jelöli ki az oldalon látható logót. The default value for the site logo, which is shown in an install if you have not set one, will now be the new logo of MediaWiki.
  • (T274695) $wgAjaxEditStash This setting, to disable the edit stashing feature when users start writing an edit summary, has been deprecated. Későbbi kiadásokban ez a funkció mindig engedélyezve lesz.
  • $wgUploadStashScalerBaseUrl This setting, to enable remote on-demand media scaling, was deprecated. Use the `thumbProxyUrl` setting in $wgLocalFileRepo instead.
  • $wgSlaveLagWarning , $wgSlaveLagCritical These settings have been renamed, to $wgDatabaseReplicaLagWarning & $wgDatabaseReplicaLagCritical respectively. The former configuration variable names are deprecated, but will be used as the fallback if they are still set, and remain temporarily available for extensions which try to read them.
  • $wgWANObjectCaches – The "coalesceKeys" option was removed without deprecation and replaced by a new "coalesceScheme" option, set to "hash_stop" by default.

If you use Dynomite, then set the new "coalesceKeys" option to "hash_tag". The "cluster" and "mcrouterAware" options were also removed without deprecation. Use "broadcastRoutingPrefix" instead.

Eltávolított konfigurációs opciók

The last use of this setting was for pre-processor configuration, which was deprecated in 1.34 and removed in 1.35.

  • $wgEnableRestAPI — Az 1.35 óta figyelmen kívül hagyott beállítás megszűnt.
  • $wgPagePropsHaveSortkey – Ez az ideiglenes beállítás megszűnt, akárcsak a sémaváltás frissítési útja, amit irányított. If your site is still using it, meaning you have not yet applied the `pp_sortkey` schema change from 1.24, you must now apply it before upgrading.
  • The deprecated password policies PasswordCannotMatchBlacklist and PasswordNotInLargeBlacklist were removed.

Please use PasswordCannotMatchDefaults and PasswordNotInCommonList respectively instead.

Allapok