MediaWiki 1.36

This page is a translated version of the page MediaWiki 1.36 and the translation is 51% 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. Consulte tarefa T248925 para mais informações.
Atenção Atenção: O MediaWiki 1.36.0 a 1.36.2 contém um problema de segurança muito grave. Por favor, atualize para 1.36.3 ou superior. Veja Lançamento de segurança de dezembro de 2021 / Perguntas frequentes para mais informações.
MediaWiki 1.36 é uma versão obsoleta do MediaWiki.

Consulte o arquivo RELEASE NOTES para obter a lista completa de alterações. Ele foi implantado nos wikis da Fundação Wikimedia por meio de ramificações incrementais entre 21 de julho de 2020 e 15 de abril de 2021. A versão estável 1.36.0 foi lançada em 27 de maio de 2021. Baixe 1.36.4 ou confira a ramificação REL1_36 no Git para acompanhar este lançamento. A ramificação 1.36, com a versão 1.36.4, chegou ao fim da vida útil em 03 de junho de 2022.

Novos recursos

 
Nova logo do WikiMedia
  • A logo do WikiMedia mudou. Isso significa que o botão “Powered By MediaWiki” exibido no rodapé do tema será diferente.
  • Todas as entidades HTML5 nomeadas agora são aceitas.
  • (T106263) The file description page's alternate sizes now include 2048px.

Mudanças de API de ação

  • `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.

Notas de atualização

  • MediaWiki 1.36 now requires the PHP internationalisation extension (commonly referred to as Intl, ext-intl, or php-intl).

If you use this feature, please move the MediaWiki:Autoblock_whitelist page.

This is not safe; extension functions are run relatively late, some services are already initialised by that point and so they use the old configuration. Changes in 1.36 make this kind of breakage even more common. You can use the MediaWikiServices hook instead. (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.

Configuração

Novas opções de configuração

  • (T256001) $wgManualRevertSearchRadius – Essa configuração controla um novo recurso que marca as edições como revertidas se elas restaurarem a página para um estado anterior exato. 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 – Essa configuração permite que os administradores de sistemas configurem capas que ofereçam suporte a meta tags. Essas tags tornam o compartilhamento de páginas do MediaWiki em uma variedade de plataformas sociais mais contencioso e, portanto, útil.
  • (T280944) $wgIncludejQueryMigrate – Essa configuração permite que os administradores de sistemas desabilitem o plug-in jQuery Migrate. Isso esteve habilitado por padrão desde MediaWiki 1.27 . In future releases it will be disabled by default.

Opções de configuração alteradas

  • $wgLogos – Essa configuração seleciona o logotipo mostrado no site. O valor padrão para o logotipo do site, que é mostrado em uma instalação se você não tiver definido um, agora será o novo logotipo do MediaWiki.
  • (T274695) $wgAjaxEditStash — Essa configuração, para desabilitar o recurso de armazenamento de edição quando os usuários começarem a escrever um resumo de edição, foi preterida. Em versões futuras, esse recurso sempre será habilitado.
  • $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. Os nomes de variáveis de configuração anteriores foram preteridos, mas serão usados como fallback se ainda estiverem definidos e permanecerão temporariamente disponíveis para extensões que tentarem lê-los.
  • $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.

Opções de configuração removidas

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

  • $wgEnableRestAPI — Essa configuração, ignorada desde a versão 1.35, foi removida.
  • $wgPagePropsHaveSortkey – Essa configuração temporária foi removida, juntamente com o caminho de atualização de alteração de esquema que ela controlava. 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.

Subpáginas