MediaWiki 1.39/ru

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

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

 * – Эти конфигурации автоматически создают пользователя при сохранении страницы.
 * – 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.
 * – This can be set to  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.
 * – This allows you to split site_stats across multiple rows. Only useful for very large, heavily edited wikis. (T306589)

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

 * – Этот параметр теперь содержит символ ' ', который теперь является зарезервированным разделителем для внешних имен пользователей.
 * – The default serialization method for file meta-data has been changed to JSON. You can revert it to PHP by setting the property ' ' to.
 * – The  flag can now be set to a callback function that returns an array with keys to update in . This can be used to update the database configuration on the fly, e.g. to take replica hosts out of rotation.
 * and – The   flag in has been deprecated in favour of a boolean   parameter.
 * – The  and   flags are no longer supported.

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

 * - This transition flag, deprecated since MediaWiki 1.35, has been removed; the data migration is over.
 * - This transition flag has been removed; the data migration is over.
 * – This experimental setting has been removed without replacement. Use the  environment variable to specifiy the name of the site for which to load configuration. Using the   environment variable for this purpose is deprecated.
 * - The ParserCache now always uses JSON serialization. Reading old non-JSON cache entries is still supported. The setting had been deprecated since 1.36.
 * - To allow uploads of JAR files, remove  from.
 * – This broken feature was removed, as it never worked as intended (T296430).
 * – This experimental, default-disabled feature has been removed without replacement.
 * and – The related experimental feature has been removed without replacement.
 * – 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, are now available unconditionally.
 * - This unused setting has been removed.
 * - This unused setting has been removed.
 * – 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.

New user-facing features in 1.39

 * Optional automatic user creation on page save.
 * Administrators now have the option to delete/undelete the associated "Talk" page when they are (un)deleting a given page.  and   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.

Bug fixes in 1.39

 * (T314013) no longer overrides canonical namespace names specified in extension.json files. While this setting can still be used to rename extension-defined namespaces, system administrators may need to run namespaceDupes.php after upgrading.

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

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

Обновленные языков в 1.39
MediaWiki поддерживает более 350 языков. Множество локализаций обновляются регулярно. Ниже показаны только новые и удалённые языки, а также изменения в языках из отчетов с Фабрикатора.


 * Актуальная локализация была добавлена для нескольких языков, которые уже были в Names.php и даже использовались для Википедии:
 * (T313200) Added language support for Rundi (Kirundi, rn).
 * (T310976) Added language support for Tumbuka (ChiTumbuka, tum).
 * (T314270) Added language support for Kanuri (kr).
 * (T313199) Added language support for Sylheti (syl).
 * (T311975) Added language support for Ghanaian Pidgin (gpe).
 * (T307080) Added language support for Okinawan (ryu).
 * (T307887) Added language support for Mooré (mos).
 * (T308813) Added language support for Nigerian Pidgin (pcm).
 * (T309763) Added language support for Tai Nüa (tdd).
 * (T310040) Added language support for Fante (fat).
 * (T311034) Added language support for Campidanese Sardinian (sro).
 * (T315406) Fix the autonym of the Iñupiaq language to "Iñupiatun".
 * (T315677) Removed French fallback from the Fula language (ff).
 * (T304920) In Swahili, The "Media" namespace is now "Media", as in English, and the "File" namespace is now "Faili". The old name of the "File" namespace was "Picha", and it's kept for backwards compatibility. If you manage a wiki in Swahili, and you use "Faili:" as a namespace anywhere in wikitext, and you mean to use it as "Media:", these need to be replaced to "Media:".
 * (T309866) Some namespace translations were updated for Kyrgyz (ky). The old ones are retained as aliases for backwards compatibility.
 * (T117845) Started the renaming of the language codes for Serbian from sr-ec and sr-el to sr-cyrl and sr-latn.