MediaWiki 1.36

This page is a translated version of the page MediaWiki 1.36 and the translation is 42% complete.
Si usas PHP8, recomendamos usar MediaWiki 1.38.4 o $2. Los wikis de la Fundación Wikimedia todavía no usan PHP8, por lo que está menos probado, pero otros grupos sí que usan MediaWiki con PHP8 sin problemas. Si encuentras fallos usando MediaWiki con PHP8, repórtalos. Véase task T248925 para más información.
Advertencia Advertencia: MediaWiki 1.36.0 a 1.36.2 contienen un problema de seguridad muy grave. Actualice a 1.36.3 o más tarde. Véase 2021-12 liberación de seguridad/FAQ para obtener más información.

MediaWiki 1.36 es una versión obsoleta de MediaWiki. Consulta el archivo RELEASE NOTES para conocer la lista completa de cambios. Se implementó en wikis de la Fundación Wikimedia a través de ramas "wmf" a partir del 21 de julio de 2020 y el 15 de abril de 2021. El lanzamiento de la versión estable 1.36.0 se lanzó el 27 de mayo de 2021. Descarga 1.36.4 o cambia a la rama REL1_36 en Git para dar seguimiento a este lanzamiento. La rama 1.36, con la versión 1.36.4, dejó de funcionar el 3 de junio de 2022.

Nuevas características

 
New MediaWiki logo
  • The logo of MediaWiki has changed. This means that the "Powered By MediaWiki" button shown in the skin footer will be different.
  • All HTML5 named entities are now accepted in wikitext.
  • (T106263) The file description page's alternate sizes now include 2048px.

Cambios en la API

  • `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 actualización

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

Configuración

Nuevas opciones de configuración

  • (T256001) $wgManualRevertSearchRadius – Esta configuración controla una funcionalidad nueva que marca las ediciones como reversiones si estas restauran la página exactamente a un estado anterior. 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 – Esta configuración permite al personal administrativo configurar apariencias que admitan metaetiquetas. Estas etiquetas brindan más contenido y utilidad a las páginas MediaWiki cuando se las comparte en varias plataformas sociales.
  • (T280944) $wgIncludejQueryMigrate – Esta configuración permite al personal administrativo desactivar el complemento Migrate de jQuery. It has been enabled by default since MediaWiki 1.27 . In future releases it will be disabled by default.

Opciones de configuración cambiadas

  • $wgLogos – Esta configuración selecciona el logotipo mostrado en el sitio. El valor predeterminado para el logotipo del sitio, que se muestra en una instalación si no se ha definido otro valor, es ahora la imagen nueva de MediaWiki.
  • (T274695) $wgAjaxEditStash — Esta configuración, que permitía desactivar la funcionalidad de edit stashing al comenzar a escribir un resumen de edición, se ha quedado obsoleta. En versiones futuras, esta funcionalidad siempre estará activada.
  • $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. Los nombres anteriores de las variables de configuración son obsoletos, pero se utilizarán como último recurso en caso de que aún estén definidas, y permanecen disponibles temporalmente para las extensiones que intenten consultarlas.
  • $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.

Opciones de configuración eliminadas

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

  • $wgEnableRestAPI — Esta configuración, pasada por alto desde la 1.35, se ha eliminado.
  • $wgPagePropsHaveSortkey – Esta configuración temporal se ha eliminado junto con la ruta de actualización de cambio de esquema que controlaba. 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