MediaWiki 1.30/ru

MediaWiki 1.30 — устаревшая версия MediaWiki. Обратитесь к файлу $relnotes для просмотра полного списка изменений. Она была развернута на вики-ресурсах Фонда Викимедиа через инкрементные ветки, начиная с 9 мая 2017. Финальная стабильная версия была выпущена 12 декабря 2017. Consult the file for the full list of changes. It was deployed on Wikimedia Foundation wikis through incremental "wmf"-branches starting on 9 May 2017. The 1.30.0 stable release was released on 12 December 2017.

Загрузите последнюю версию или ознакомьтесь с веткой  в Git чтобы следовать этой версии.

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

 * The "C.UTF-8" locale should be used for, if available, to avoid unexpected behavior when code uses locale-sensitive string comparisons. For example, the Scribunto extension considers "bar" < "Foo" in most locales since it ignores case.
 * now affects LC_ALL rather than only LC_CTYPE. See documentation of  for details.
 * is now applied for all requests.  is deprecated and a no-op, as it is no longer needed.
 * may now specify callback functions as an alternative to plain class names. This is intended for extensions that want control over the instantiation of their jobs, to allow for proper dependency injection.
 * may now specify callback functions as an alternative to plain class names, using the 'factory' key in the module description array. This allows dependency injection to be used for ResourceLoader modules.
 * has been removed.
 * (T45547) added (off by default).
 * was introduced to control the size of IP ranges that can be queried at Special:Contributions.

New features

 * (T163562) Added the ability to search for contributions within an IP range at Special:Contributions. References to revisions made by IPs are stored in the table to make querying for ranges more efficient.
 * (T37247) Output from  will now be wrapped in a  with   by default. This may be changed or disabled using.
 * Added the ' ' hook, enabling extensions to allow software- specific tags to be added by users.
 * Added the ' ' hook to allow extensions to register additional parser options.
 * (T45547) Included Pig Latin, a language game in English, as a LanguageConverter variant. This allows English-speaking developers to develop and test LanguageConverter more easily. Pig Latin can be enabled by setting  to true.
 * Added the ' ' hook to allow extensions to purge data that depends on the  table.
 * Added JS config values /  to the output of diff pages.

Action API changes

 * (T37247) action=parse output will be wrapped in a with   by default. This may be changed or disabled using the new ' ' parameter.
 * When  is not ' ', abort reasons from   will be formatted as specified by the error formatter parameters.
 * can now handle arbitrary text, deleted revisions, and returning users and edit comments.
 * (T164106) The ' ', ' ', ' ', ' ', ' ', ' ', and ' ' parameters to  are deprecated, as are the similarly named parameters to ,  , and  . Use  ,  , or   instead.

Action API internal changes

 * and the " " messages are deprecated. The existing message should be split between " " and " ".
 * (T123931) Individual values of multi-valued parameters can now be marked as deprecated.

Languages updated

 * Support for kbp (Kabɩyɛ / Kabiyè) was added.

Other changes

 * The use of an associative array for, where the IP address is in the key instead of the value, is deprecated (e.g.  ). Please convert these arrays to indexed/sequential ones (e.g.  ).
 * (deprecated in 1.23) was removed.
 * and  are deprecated. There are no known callers.
 * was deprecated.
 * was deprecated.
 * was deprecated. The new  should be used instead.
 * was deprecated. The new  should be used instead.
 * The  hook (deprecated in 1.21) was removed.
 * The  and   methods (both deprecated in 1.24) were removed.
 * and  were deprecated.   and   should be used instead.
 * (T146304) Preprocessor handling of LanguageConverter markup has been improved. As a result of the new uniform handling, ' ' may need to be escaped (for example, as ' ') where it occurs inside template arguments or wikilinks.
 * (T163966) Page moves are now counted as edits for the purposes of autopromotion, i.e., they increment the  field in the database.
 * Two new hooks,  and , were added for manipulating Special:Log and Special:NewPages lines.
 * The,  ,  ,   and   hooks have an additional parameter, for manipulating HTML data attributes of RC/history lines.   can do that via the   subarray.
 * (T130632) The  method was removed.
 * will now throw an exception if passed ParserOptions that would pollute the parser cache. Callers should use  to create the   object and only change options that affect the parser cache key.
 * is deprecated.
 * no longer supports passing in a direct value, it requires a callable factory function or a class name.
 * The  global, , and   are all deprecated. The main   instance should be obtained from   instead. Access to the underlying   is possible through the new   method.
 * CSS class (deprecated in 1.27) was removed.