Jump to content

미디어위키 1.30

From mediawiki.org
This page is a translated version of the page MediaWiki 1.30 and the translation is 40% complete.
Outdated translations are marked like this.

미디어위키 1.30은 미디어위키의 레거시 릴리스입니다. 변경사항의 전체 목록은 $relnotes 파일을 참고하십시오. 2017년 5월 9일을 기점으로 점증적 "wmf" 브랜치를 통해 위키미디어 재단 위키에 적용되었습니다. 1.30.0 안정판은 2017년 12월 12일에 출시되었습니다. Consult the RELEASE NOTES 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.

Download the latest releases or checkout the REL1_30 branch in Git to follow this release.

환경 설정 변경 내역

  • 코드에서 로케일 구분 문자열 비교를 사용하는 경우 예기치 않은 동작이 되지 않도록하려면 $wgShellLocale에 "C.UTF-8"로케일을 사용해야한다. (가능한경우)
  • $wgShellLocale이 LC_ALL이 아닌 LC_CTYPE에게 영향을 준다. 세부내용은 $wgShellLocale문서를 참조하십시오.
  • $wgShellLocale은 모든요청에 적용된다. wfInitShellLocale()은 사용되지 않고 필요 없으므로 작업을 하지 않아도 된다.
  • $wgJobClasses 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.
  • $wgResourceModules 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.
  • $wgExceptionHooks has been removed.
  • (T45547) $wgUsePigLatinVariant added (off by default).
  • $wgRangeContributionsCIDRLimit was introduced to control the size of IP ranges that can be queried at Special:Contributions.

새 기능

  • (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 ip_changes table to make querying for ranges more efficient.
  • (T37247) Output from Parser::parse() will now be wrapped in a ‎<div> with class="mw-parser-output" by default. This may be changed or disabled using ParserOptions::setWrapOutputClass().
  • Added the 'ChangeTagsAllowedAdd' hook, enabling extensions to allow software- specific tags to be added by users.
  • Added the 'ParserOptionsRegister' 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 $wgUsePigLatinVariant to true.
  • Added the 'RecentChangesPurgeRows' hook to allow extensions to purge data that depends on the recentchanges table.
  • Added JS config values wgDiffOldId/wgDiffNewId to the output of diff pages.

API변경 사항

  • (T37247) action=parse output will be wrapped in a ‎<div> with class="mw-parser-output" by default. This may be changed or disabled using the new 'wrapoutputclass' parameter.
  • When errorformat is not 'bc', abort reasons from action=login will be formatted as specified by the error formatter parameters.
  • action=compare can now handle arbitrary text, deleted revisions, and returning users and edit comments.
  • (T164106) The 'rvdifftotext', 'rvdifftotextpst', 'rvdiffto', 'rvexpandtemplates', 'rvgeneratexml', 'rvparse', 'rvprop=parsetree', prop=revisions 매개변수들은 사용되지 않는다. 비슷한 이름인 매개변수 prop=deletedrevisions, list=allrevisions, 과list=alldeletedrevisions도 사용되지 않는다. 대신 action=compare, action=parse 혹은 action=expandtemplates을 사용하십시오.

API내부 변경 사항

  • ApiBase::getDescriptionMessage() and the "apihelp-*-description" messages are deprecated. The existing message should be split between "apihelp-*-summary" and "apihelp-*-extended-description".
  • (T123931) Individual values of multi-valued parameters can now be marked as deprecated.

갱신된 언어

  • kbp (Kabɩyɛ / Kabiyè) 추가로 지원됨.

기타 변경점

  • The use of an associative array for $wgProxyList, where the IP address is in the key instead of the value, is deprecated (e.g. [ '127.0.0.1' => 'value' ]). Please convert these arrays to indexed/sequential ones (e.g. [ '127.0.0.1' ]).
  • mw.user.bucket (1.23부터 사용되지 않음)는 삭제되었다.
  • LoadBalancer::getServerInfo()LoadBalancer::setServerInfo() 는 사용되지 않는다.
  • File::getStreamHeaders()는 사용되지 않는다.
  • MediaHandler::getStreamHeaders()는 사용되지 않는다.
  • Title::canTalk() 는 사용되지 않는다. 대신 새로운 Title::canHaveTalkPage() 을 사용해야한다.
  • MWNamespace::canTalk()는 사용되지 않는다. 대신 새로운 MWNamespace::hasTalkNamespace()을 사용해야한다.
  • ExtractThumbParameters 후크 (1.21부터 사용되지 않음)삭제됨.
  • OutputPage::addParserOutputNoText::getHeadLinks 메서드(1.24부터 사용되지 않음)들 삭제됨.
  • wfMemcKey()wfGlobalCacheKey() 사용되지 않음. BagOStuff::makeKey()BagOStuff::makeGlobalKey()을 대신 사용해야 한다.
  • (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 '-<nowiki/>{') 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 user_editcount field in the database.
  • Two new hooks, LogEventsListLineEnding and NewPagesLineEnding, were added for manipulating Special:Log and Special:NewPages lines.
  • The OldChangesListRecentChangesLine, EnhancedChangesListModifyLineData, PageHistoryLineEnding, ContributionsLineEnding and DeletedContributionsLineEnding hooks have an additional parameter, for manipulating HTML data attributes of RC/history lines. EnhancedChangesListModifyBlockLineData can do that via the $data['attribs'] subarray.
  • (T130632) The OutputPage::enableTOC() method was removed.
  • WikiPage::getParserOutput() will now throw an exception if passed ParserOptions that would pollute the parser cache. Callers should use WikiPage::makeParserOptions() to create the ParserOptions object and only change options that affect the parser cache key.
  • Article::viewRedirect() is deprecated.
  • DeprecatedGlobal no longer supports passing in a direct value, it requires a callable factory function or a class name.
  • The $parserMemc global, wfGetParserCacheStorage(), and ParserCache::singleton() are all deprecated. The main ParserCache instance should be obtained from MediaWikiServices instead. Access to the underlying BagOStuff is possible through the new ParserCache::getCacheStorage() method.
  • .mw-ui-constructive CSS class (deprecated in 1.27) was removed.

하위 문서