미디어위키 1.25

This page is a translated version of the page MediaWiki 1.25 and the translation is 61% complete.
Outdated translations are marked like this.
Other languages:
Deutsch • ‎Deutsch (Sie-Form)‎ • ‎English • ‎Lëtzebuergesch • ‎español • ‎français • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎Ελληνικά • ‎русский • ‎עברית • ‎العربية • ‎中文 • ‎日本語 • ‎한국어

MediaWiki 1.25 is a legacy MediaWiki version. 모든 바뀜의 목록을 찾아보려면 RELEASE NOTES를 참고하세요.

이것은 점점 증가하고 있는 "wmf-"를 통해 2014년 9월 25일부터 위키미디어 재단의 모든 위키에 보급되고 있습니다.

1.25.0 안정 버전은 2015년 5월 27일 경에 출시될 것으로 예상되고 있습니다.

A 1.25.1 tarball was released shortly afterwards due to a JSON syntax error in the ConfirmEdit extension. It features over 2200 changes from over 140 developers, as well as the work of many translators. Download the latest release or checkout the REL1_25 branch in Git to follow this release.

Indicators

Templates that add icons to the top right corner of the page (and more) can be updated to use the new page status indicators feature.

최근 개선 내역

15-second video to see most features: grouping, uncollapsing, diffs

MediaWiki now uses by default the extended watchlist and so called enhanced recent changes (preference "최근 바뀜과 주시문서 목록의 문서별 그룹 바뀜"), which also received several improvements in MediaWiki 1.24 and 1.25 (작업 T37785).

This means that Special:RecentChanges and Special:Watchlist show all the changes to each page in a given day, sorted by page rather than chronologically. Changes to each page are collapsed by default and a compact overview is shown, with links to collated diffs and counts of each user's actions. Full activity for an individual page can then be shown with a single click.

Users will no longer need to know in detail how a single change was chosen for display in order to figure out what else may have happened to the page that day, nor to scan a long list of non-contiguous lines on the screen in order to get a complete picture. The change is part of MediaWiki's evolution towards an interface which is more discoverable and less cluttered by default, while equally easy to quickly access in full, with the help of JavaScript. However, the (grouped) layout is an improvement for non-JavaScript users as well.

프리뷰

While editing, you're not sure what a wikitext syntax will produce? That's no longer a problem, now that live preview is no longer experimental. By enabling the feature in your preferences, MediaWiki will display the effect of your edits without fully reloading the page, so that you can quickly correct any mistake.

가져오기

The import tool is now much easier to use on content from a wiki which has different namespaces than yours (e.g. because it's in another language).

조회수 기능 제거 MediaWiki no longer includes hit counters in core, following a request for comment, which means that Special:PopularPages and the "Most Viewed Pages" section of Special:Statistics are now removed. The hit numbers, which occurred until the 1.25 upgrade was installed, will still be kept in the database, but they will no longer be updated. If you want to continue using this functionality: It has been re-implemented into Extension:HitCounters .

국제화

Logging and gender

Continuing the work in MediaWiki 1.18 and 1.19, multiple log types of Special:Log have been migrated to the new logging system, which allows full internationalization including word order and grammatical gender. The migration continues. See 작업 T26620 for a list.

새로운 지역

다음의 지역이 추가되었습니다.

  • 아와히어
  • 서부 발로치어
  • 코이야보로 세니어

미디어위키 관리자를 위한 개선 사항 안내

최근 변경 사항

환경 설정 변경 내역

More configuration defaults have been flipped, to reduce the strain needed by most administrators to get a sensibly-configured install. See the full release notes for details.

API 변경 내역

A large amount of time was spent cleaning up the API, making the output saner, and friendlier for new developers to use. The following breaking changes are included in 1.25:

The API documentation was overhauled to use internationalized messages, a prettier format, and be easier to navigate. The help can be embedded or linked to in wiki pages by transcluding Special:ApiHelp. For those who preferred being able to see all documentation in one page, you can use recursivesubmodules=1.

API responses in format=json or php have a more sensible data layout if clients specify a new formatversion=2 parameter in requests (작업 T76728). If you do not specify this, API responses should be backwards-compatible, but in some cases developers of API modules will need to update their extension to ensure this. All extensions that are developed in Wikimedia Gerrit have been updated in 1.25 to ensure backwards compatibility. More details are in API:JSON version 2 and the generated API help for json format.

개요

  • Update user_newtalk.user_id to an unsigned integer
  • Increase the length for various comment and reason fields to prepare for increasing the edit summary length

Changes to extension loading

To work towards a proper configuration database, we are changing the way extensions and skins are registered with MediaWiki. Extensions and skins can now move their metadata into extension.json or skin.json, and use wfLoadExtension( 'FooBar' ); or wfLoadSkin( 'FooBar' ); to load those that support it. All extensions and skins bundled with the tarball support this. The old style of loading by require_once "$IP/extensions/FooBar/FooBar.php"; will continue to be supported for backwards-compatibility.

If you do not keep your extensions or skins inside the default location ($IP/extensions, $IP/skins), you will need to set $wgExtensionDirectory for extensions, and the poorly named $wgStyleDirectory for skins.

Developer documentation on how to migrate extensions can be found at extension registration.

Less invasive profiling

The entire profiling system has been overhauled to be more flexible and less invasive using the xhprof extension. Manual wfProfileIn and wfProfileOut function calls are no longer needed and should be removed. See Manual:Profiling for an overview of the new options and how to update your StartProfiler.php.

외부 라이브러리

As part of the Library infrastructure for MediaWiki project, MediaWiki core now uses composer for managing external dependencies instead of copying the files into our code repo, such as CSSJanus and lessphp. In addition, libraries not specific to MediaWiki that were originally written for MediaWiki, such as the CDB library, were moved out into their own repos.

The tarball will contain these dependencies and the upgrade process for tarball users should stay the same. Users who have cloned from git will need to follow the instructions at Download from Git#Fetch external libraries. Installed libraries will be displayed upon Special:Version in their own section.

Better support for composer-managed extensions

composer.json was previously used for composer-managed extensions, but it is now used for managing dependencies of MediaWiki core. After discussions regarding this issue, a composer-merge-plugin was developed so sysadmins could specify their dependencies in a composer.local.json. More documentation is available at Composer/For extensions.

버전 스케줄

1.25 버전의 출시 스케줄은 다음과 같다.

버전 날짜
1.25.0 2015-05-25
1.25.1 2015-05-25; fixes bugs in QuestyCaptcha and ReCaptcha that are bundled with 1.25.0.
1.25.2 2015-08-10
1.25.3 2015-10-16
1.25.4 2015-12-18
1.25.5 2015-12-22[1]
1.25.6 2016-05-20

하위 문서