MediaWiki 1.24

This page is a translated version of the page MediaWiki 1.24 and the translation is 68% complete.
Outdated translations are marked like this.

MediaWiki 1.24 - это неподдерживаемая версия MediaWiki. Обратитесь к файлу $relnotes для просмотра полного списка изменений. Эта версия была создана сообществом Wikimedia Foundation через тестовые «wmf-» сборки в период с апреля 2014 по сентябрь 2014. Стабильный выпуск 1.24.0 был опубликован 26 ноября 2014 года. Скачайте последнюю сборку или проверьте ветку REL1_24 в git.

Упрощённая настройка

MediaWiki позиционируется как наиболее гибкий и настраиваемый инструмент, однако этим пользуется малое количество людей. В версии 1.24, нашей целью было сделать множество непонятных настроек более понятными и простыми в использовании.

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

  • Category pages can now be moved (bug 5451).
  • MergeHistory for all administrators by default (bug 66155).
  • Improvements have been made to the password storage system in gerrit:77645, allowing improved security against offline attacks should a wiki's database be compromised by attackers. Then, in gerrit:149658, the default password storage algorithm was changed to PBKDF2.
    • PBKDF2 and Bcrypt have built-in support in PHP. The new extensible password API makes it trivial to implement scrypt support if we wanted to.
  • Addition of a JSON content model to the core. Earlier, it was implemented through an extension.

Использование

  • The move feature and other actions are now discoverable in Vector, thanks to a label for the dropdown where they're hidden by default (bug 44591).
  • bug 15484 - Redirect to Special:UserLogin when logging in is required to proceed, instead of showing an error message.

Производительность

Начиная с версии 1.24, разработка MediaWiki фокусируется на лучшей производительности оболочки.

  • (bug 39035) Vector skin performance was improved by removing collapsibleNav, which was used to collapse some sidebar elements by default. This removes -list suffixes like p-lang-list: which means that instead of using things like #p-lang-list, you need to use #p-lang .body ul.

Интернационализация

Благодаря переводчикам с translatewiki.net Amqui, Bachounda, Crochet.david, Filipinayzd, Kuvaly, Malafaya, Moha, Oldstoneage, Paul Beppler, Rberchie, Rinconada, Stephenwanjau, Tifinaghes, Vogone и 아라 было добавлено несколько новых языков.

  • Algerian Arabic
  • Iriga Bicolano
  • шайенский
  • кри
  • Hunsrik
  • кикуйю
  • Norman
  • киньяруанда
  • тви
  • среднеатласский тамазигхтский

Примечание по обновлению для администраторов

Существенные изменения

  • Upgraded jQuery to version 1.11.x.
  • Support for register_globals (deprecated 5 years ago) was dropped, MediaWiki will no longer run with it enabled. See this email notification for more details.
  • {{!}} is now a magic word that results in |, mainly for use in templates and other complex templates. If your wiki has a template at Template:!, you will need to change the name and update any usage of it. If your Template:! is just |, it can be safely deleted.
  • Removed the hook SpecialSearchGo. Any extensions depending on this hook will break.

Изменения в API

Начиная с MediaWiki 1.24, команда чистит API, работая между тем над API 2.0. Смотри больше в истории изменений.

  • Необходимо не использовать такие форматы данных как: dbg, dump, txt, wddx и yaml. Они не будут поддерживаться в следующих обновлениях.
  • Token handling overhauled: the action=query module is now deprecated and replaced by action=query&meta=tokens . Most actions now just take a generic "csrf" token, and the token type is now properly documented in the auto-generated documentation.
  • А также много чего другого! Смотри RELEASE-NOTES — полный список изменений.

Изменения в структуре

  • Официальная папка skins/common/ отключена и удалена, как часть проекта по обновлению тем. Файлы, находящиеся там необходимо либо переместить, либо удалить. Если файлы являются частью темы или CSS/JS внутри вики, но необходимо сделать копии в папку, где нет MediaWiki. Смотри больше RELEASE-NOTES для просмотра удалённых файлов.

Удалённая либо неподдерживаемая в будущем поддержка браузеров

  • Full support for Internet Explorer 6 and Internet Explorer 7 has been removed. Users of these browsers will not have any JavaScript when using MediaWiki. JavaScript fixes specific to them have also been removed. Additional Internet Explorer 6 and Internet Explorer 7 fixes that exist in pages of your wiki like MediaWiki:Common.js and similar can be safely removed if you want to keep your site's browser support consistent.
  • See Compatibility for more information.

Темы больше не загружаются после обновления?

  • MediaWiki 1.24 больше не использует автопоиск тем для загрузки тем, входящих в поставку, вместо этого темы должны быть отмечены в LocalSettings.php, как и большинство расширений (смотри руководство).
  • Необходимо обновить LocalSettings.php после обновления, т.к. будет присутствовать предупреждающее сообщение о необходимости обновления файла. Если обновление происходит с архивной версии, это всё, что нужно сделать.
  • If you're upgrading via git or otherwise from source, note that the skins themselves have been each moved to a separate repository and will need to be installed separately (much like extensions, some basic ones are included in the tarball).

Схема

Новые поля:

Новые индексы:

  • wl_user_notificationtimestamp on Watchlist table

Удалённые поля:

План релизов

Даты точечных релизов для 1.24 были следующими:

Релиз Дата
1.24.0 2014-11-26
1.24.1 2014-12-17
1.24.2 2015-03-31
1.24.3 2015-08-10
1.24.4 2015-10-16[1]
In January 2015 the system of providing monthly point releases was abandoned.

Подстраницы