MediaWiki 1.39/ru

MediaWiki 1.39 — текущий стабильный выпуск MediaWiki с долгосрочной поддержкой. Обратитесь к файлу для просмотра полного списка изменений. Он был развернут на вики-сайтах Фонда Викимедиа посредством дополнительных "wmf"-веток в период с марта по сентябрь 2022 года. Стабильная версия 1.39.0 вышла 30 ноября 2022. Загрузите или ознакомьтесь с веткой   в Git, чтобы следить за этим выпуском.



Новые возможности

 * Необязательное автоматическое создание пользователя при сохранении страницы ($wgAutoCreateTempUser)
 * Administrators now have the option to delete/undelete the associated "Talk" page when they are (un)deleting a given page. `deletetalk` and `undeletetalk` options were added to the 'delete' and 'undelete' action APIs in MW 1.38.
 * ` = ` is now a wikitext built-in magic word, expanding to `=`. This is conventionally used as an escape mechanism to allow the use of `=` in unnamed template arguments.  Defining Template:= to expand to something other than `=` has been deprecated since 1.36, with affected pages put into a special tracking category for migration.
 * (T284020) Bot passwords are now supported when using the REST API.



Изменения действий API

 * New `undeletetalk` parameter on action=undelete that allows you to restore all revisions of the associated talk page.



Изменения конфигурации


Новая конфигурация

 * $wgAutoCreateTempUser – Это настраивает автоматическое создание пользователя при сохранении страницы.
 * $wgCopyUploadAllowOnWikiDomainConfig – This configures if administrators can use the MediaWiki:Copyupload-allowed-domains system message to define which domains can be used with the upload-by-url tool.
 * $wgCdnMatchParameterOrder – This can be set to false if MediaWiki is behind a CDN that re-orders query parameters. This will make the code that matches request URLs to canonical CDN URLs insensitive to parameter order.
 * $wgMultiShardSiteStats – This allows you to split site_stats across multiple rows. Only useful for very large, heavily edited wikis. (T306589)



Измененная конфигурация

 * $wgInvalidUsernameCharacters – This setting now contains the char '>', which is now the reserved delimiter for external user names.
 * $wgLocalFileRepo – The default serialization method for file meta-data has been changed to JSON. You can revert it to PHP by setting the property 'useJsonMetadata' to false.
 * $wgLBFactoryConf – The 'configCallback' flag can now be set to a callback function that returns an array with keys to update in $wgLBFactoryConf. This can be used to update the database configuration on the fly, e.g. to take replica hosts out of rotation.
 * $wgDBservers and $wgLBFactoryConf – The DBO_SSL flag in has been deprecated in favour of a boolean "ssl" parameter.
 * $wgObjectCaches – The 'globalKeyLB' and 'localKeyLB' flags are no longer supported.



Удаленная конфигурация

 * $wgMultiContentRevisionSchemaMigrationStage - This transition flag, deprecated since MediaWiki 1.35, has been removed; the data migration is over.
 * $wgActorTableSchemaMigrationStage - This transition flag has been removed; the data migration is over.
 * $wgWikiFarmSiteDetector – This experimental setting has been removed without replacement. Use the MW_WIKI_NAME environment variable to specifiy the name of the site for which to load configuration. Using the WIKI_NAME environment variable for this purpose is deprecated.
 * $wgParserCacheUseJson - The ParserCache now always uses JSON serialization. Reading old non-JSON cache entries is still supported. The setting had been deprecated since 1.36.
 * $wgAllowJavaUploads - To allow uploads of JAR files, remove application/java from $wgMimeTypeExclusions.
 * $wgMaxRedirects – This broken feature was removed, as it never worked as intended (T296430).
 * $wgElementTiming – This experimental, default-disabled feature has been removed without replacement.
 * $wgPriorityHints and $wgPriorityHintsRatio – The related experimental feature has been removed without replacement.
 * $wgIncludeLegacyJavaScript – This flag has been removed, without loss of any functionality in this release. Most former "wikibits" functions were removed after deprecation in previous releases. The remaining functions, such as importScript, are now available unconditionally.
 * $wgLegacySchemaConversion - This unused setting has been removed.
 * $wgInterwikiPrefixDisplayTypes - This unused setting has been removed.
 * $wgMangleFlashPolicy – This is no longer functional, and is now deprecated. Users who are somehow still using Flash as a browser extension will be exposed to CSRF vulnerabilities.