MediaWiki 1.19/ru

MediaWiki 1.19 — релиз, который содержит множество новых функций и исправлений ошибок. Это резюме основных изменений, представляющих интерес для пользователей. Полный список изменений в этой версии можно найти в файле. Был развернут на вики Викимедиа in February 2012, см. /Deployment announcement/ для просмотра подробной информации. Окончательная версия выпущена 2012-05-02 - вы можете скачать релиз из архива. Это долгосрочная версия поддержки (LTS), которая поддерживалась до Мая 2015.

Что нового?
Есть сотни исправлений ошибок, новые функции и измененные функции. Полный список нового смотрите в. Вот краткий обзор:

Простота чтения, редактирования и обслуживания
MathML mode was so incomplete most people thought it simply didn't work.
 * Disable the partial HTML and MathML rendering options for Math, and render as PNG by default (see RFC and ).
 * The default user signature now contains a talk link in addition to the user link.
 * Better timezone recognition in user preferences.

Локализация

 * The log rewrite has finally been completed, although some gender support features are still missing from this release (bug 24156). Documentation for developers on how to use the new logging system is (or will be) at Manual:Logging to Special:Log.
 * More gender support (for instance in user lists).
 * Added language: Canadian English (en-ca).
 * Language converter improved, e.g. it now works depending on the page content language.
 * Time and number-formatting magic words also now depend on the page content language.
 * Bidirectional support further improved after 1.18.
 * Norwegian (bokmål) (nb) (renamed from no).
 * The Latin script for Uyghur was incorrectly marked as right-to-left language.
 * Make Brazilian Portuguese a fallback of Portuguese.
 * Fallback language of Assamese from is now English.
 * Update date format for Upper and Lower Sorbian: month names need the genitive.
 * Serbian variant conversion improvements.
 * Lower diacritics in titles for Indic languages (Assamese, Bengali, Hindi, Malyalam and Odiya) are no longer cut off.
 * Gendered namespaces added for Czech.
 * Larger numbers (e.g. Terabytes, Petabytes, Exabytes, Zetabytes and Yottabytes) are now supported.

Разработчикам расширений

 * Extensions can now participate in the extraction of titles from URL paths.
 * Removed SkinTemplateSetupPageCss hook; use BeforePageDisplay instead.
 * Added two new GetLocalURL hooks to better serve extensions working on a limited type of titles.
 * Hook added to check for exempt from account creation throttle. (name?)
 * Added hook BitmapHandlerCheckImageArea.
 * getUserPermissionsErrors and getUserPermissionsErrorsExpensive hooks are now also called when checking for 'read' permission.
 * New path mappings can be added using the WebRequestPathInfoRouter hook and adding paths to the PathRouter.
 * Extensions can use the  hook to define new languages using messages files outside of core.
 * Extensions can use the RequestContextCreateSkin hook to override what skin is loaded in some contexts.
 * now clear function tag hooks when it clears other tag hooks.
 * now returns function tag hooks so that they show up on.
 * Added CSS classes for the action being performed.
 * Added 'APIGetDescription' hook so that extension authors can add information to the output of api.php.
 * The $variant argument in the hooks for the  methods have been removed, the variant is now part of the $query argument.
 * Support for the deprecated hook MagicWordMagicWords was removed.

Руководство для администраторов MediaWiki

 * Bumped MySQL version requirement to 5.0.2.
 * The command-line installer supports various RDBMSes better.
 * New skins/common/*.css files usable by skins instead of having to copy piles of generic styles from MonoBook or Vector's css.
 * BREAKING CHANGE: CSS styling for the  wikitable class is now more specific to prevent it from affecting nested tables, which caused various issues (bug 30485 and bug 33434). If your wiki has overridden CSS rules for ".wikitable", please revise them and adjust where necessary. For comparison, use the "table.wikitable" section in skins/common/shared.css as base.
 * BREAKING CHANGE: Legacy global array 'ta' and global function 'akeytt' have been removed from wikibits.js.
 * jquery.mwPrototypes module was renamed to jquery.mwExtension.
 * The maintenance script populateSha1.php was renamed to the more descriptive populateImageSha1.php.
 * There's a known issue where if PHP's PCRE is not compiled with the --enable-unicode-properties all text information on the installer setup page will be replaced with several instances of . MediaWiki 1.19 requires the PCRE library used with PHP to be compiled with --enable-unicode-properties in order to function.

И более!

 * The interwiki links table can now be accessed also when the interwiki cache is used (used in the API and the Interwiki extension).

ResourceLoader

 * ResourceLoaderWikiModule are now also automatically purged if one of the messages used from the MediaWiki namespace are updated.
 * ResourceLoader's loading system now supports custom sources for loading the modules (see for more information)
 * "private" ResourceLoader modules embed has been moved from towards the end, to up in the . The embedding can no longer be disabled ( removed)
 * Popular ResourceLoader modules (e.g. mediawiki.util) are now preloaded as stop-gap for scripts missing dependencies.
 * New configuration variable has been introduced for this (set to false by default for new installations). Set to true if your wiki has a large amount of user/site scripts that are lacking dependency information. In the short to medium term these user/site scripts should be fixed by adding the used modules to the dependencies in the module registry and/or wrapping them in a callback to mw.loader.using.

Список наблюдения

 * no longer sets links to feed when the user is anonymous.
 * Watchlist editing has been improved so that users can now remove broken or invalid titles.
 * wlexcludeuser parameter added to ApiFeedWatchlist.
 * Action=watch now parses messages using the correct title instead of "API".

Журналирование

 * Searching blocked usernames in block log is now clearer. The "User:" prefix is no longer necessary when searching for a user's block log entry.
 * Log comments are now truncated correctly in multibyte character languages.

Пакетные расширения
В 1.19 не было новых связанных расширений.