Open main menu

미디어위키 1.31

This page is a translated version of the page MediaWiki 1.31 and the translation is 32% complete.

Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎Lëtzebuergesch • ‎asturianu • ‎dansk • ‎español • ‎français • ‎italiano • ‎português do Brasil • ‎русский • ‎עברית • ‎العربية • ‎मराठी • ‎ᱥᱟᱱᱛᱟᱲᱤ • ‎中文 • ‎日本語 • ‎한국어

미디어위키 1.31은 미디어위키의 최신 장기 지원 배포판이다. 전(全)변경사항을 확인하려면 RELEASE NOTES 파일을 참고하시오. 이 버전은 2017년 9월 26일부터 증가하는 "wmf"-지점을 통해 위키미디어 재단 위키들에서 사용되었다. 1.31.0의 정식 배포는 2018년 6월 13일에 시작하였다.

이 배포판을 사용하려면 Template:Https://releases.wikimedia.org/mediawiki/1.31/를 내려받거나, REL1_31 branch in Git를 참고하시오.

Contents

추가된 것들

추가된 패키지로 묶여서 나오는 확장 기능들

 
이 이미지를 클릭하면 MultimediaViewer 확장 기능이 실행된다. (당신의 환경설정에서 따로 끄지 않은 이상.)

미디어위키 tarball과 함께 묶여서 나오는 확장 기능들이 늘어났다. 새롭게 추가된 것들은 다음과 같다.

Nuke extension(핵무기 확장 기능)이 MediaWiki 1.31.0 tarball에 실수로 누락되었습니다. 이 기능이 필요하다면 따로 내려받기 하십시오. 이 점은 다음 배포판에서 수정될 것입니다.

스킨

타임리스 스킨

Timeless(타임리스)는 미디어위키의 새롭고 반응성 있는 스킨이며, 번들에 추가되었습니다.

콜른 블루와 모던

CologneBlue(콜론 블루)Modern(모던) 스킨은 더 이상 번들에 포함되지 않습니다. 여전히 MediaWiki에서 사용할 수 있습니다. 만약 업그레이드를 하는데 이 스킨을 사용하고 있다면, 따로 다운로드 하십시오.

HTML 5의 파싱 알고리듬으로 교체된 Tidy(타이디)

자주 묻는 질문들에서 자세한 사항을 확인하시오.

The HTML 4 based Tidy library has been replaced by a pure-PHP HTML 5 parser named RemexHtml to clean up improper wikitext in a modern and standards compliant way. If your content relied on some of the tidy fix-ups that are not being continued, they will need to be fixed.

You can use the Linter extension in conjunction with Parsoid to identify pages with problems that cause differences in rendering with the RemexHtml parser. The ParserMigration extension shows editors a side-by-side comparison of rendering with tidy and RemexHtml.

인터위키 사용자명

MediaWiki now supports "interwiki" usernames in a format like "iw>Example" in revisions, log entries, and so on. This allows for properly recording imports and events from foreign wikis (as generated by Wikibase, for example) without confusion with a local account that exists now or may be created in the future.

  • (task T9240) Imports will now record unknown (and, optionally, known) usernames in a format like "iw>Example".
  • (task T20209) Linker (used on history pages, log pages, and so on) will display usernames formed like "iw>Example" as interwiki links, as if by wikitext like [[iw:User:Example|iw>Example]].

Further UI standardization

TODO: Expand this
  • As a first pass in standardizing dialog boxes across the MediaWiki product, Html class now provides helper methods for messageBox, successBox, errorBox and warningBox generation.

기타 기능 변경사항

  • Add default edit rate limit of 90 edits/minute for all users. This can be changed by setting $wgRateLimits.
  • (task T143790) $wgEmailConfirmToEdit only affects edit actions.
  • (task T76554) User sub-pages named ….json are now protected in the same way that ….js and ….css pages are, so that configuration options can safely be placed there.
  • (task T181651) The info page for File pages now displays the file's base-16 SHA1 hash value in the table of basic information.
  • (task T189785) The pingback feature will now send a monthly heartbeat ping to identify active wikis.
  • (task T19099) Tabs which link to pages that don't exist (like those to uncreated discussion pages) now have a tooltip to indicate state, not just colour.

1.31의 갱신된 언어

MediaWiki supports over 350 languages. Many localisations are updated regularly. Below only new and removed languages are listed, as well as changes to languages because of Phabricator reports.

  • (task T180052) Mirandese (mwl) now supports gendered NS_USER/NS_USER_TALK.
  • (task T182305) New language support: Nyungar (nys).
  • (task T186359) New language support: Siberian Tatar [cебертатар] (sty).
  • (task T186635) New language support: Guianan Creole (gcr).
  • (task T186647) New language support: Kumyk [къумукъ] (kum).
  • (task T187750) New language support: Spanish formal address (es-formal).
  • (task T187824) New language support: Hungarian formal address (hu-formal).
  • (task T189127) New language support: Gorontalo (gor).

Upgrade notices for MediaWiki administrators

PHP7 or HHVM is now required

MediaWiki 1.31 requires PHP 7.0.0 or later. Although HHVM 3.18.5 or later is supported, it is generally advised to use PHP 7.0.0 or later for long term support.

Database changes

1.31 has several database changes since 1.30, and will not work without schema updates. PostgreSQL users now need version 9.2 or later.

Revision table

Note that due to changes to some very large tables like the revision table, the schema update may take quite long (minutes on a medium sized site, many hours on a large site). Don't forget to always back up your database before upgrading!

Archive table

If you're using MySQL, SQLite, or MSSQL, are not using update.php to apply schema changes, and cannot have downtime to run migrateArchiveText.php and apply patch-drop-ar_text.sql manually, you'll have to apply a default value to the ar_text and ar_flags columns of the archive table or make those columns nullable before upgrading to MediaWiki 1.31. maintenance/archives/patch-nullable-ar_text.sql shows how to do this for MySQL.

Actor table

The identity of the logged-in or IP "actor" for logged actions is being moved into a new actor table, with the rows in tables such as revision and logging referring to the actor ID instead of storing the user ID and name/IP in every row.

  • This is currently gated by $wgActorTableSchemaMigrationStage. Most wikis can set this to MIGRATION_NEW and run maintenance/migrateActors.php as soon as any necessary extensions are updated.
  • Most code accessing rows for logged actions from the database should use the relevant getQueryInfo() methods to get the information needed to build the SQL query. The ActorMigration class may also be used to get feature-flagged information needed to access actor-related fields during the migration period.

환경 설정의 바뀜

  • $wgEnableAPI and $wgEnableWriteAPI are now deprecated and will be removed in a future version. The API is now considered to be stable, secure and essential.
  • $wgUsejQueryThree was removed, as it is now the default. This was documented as a temporary variable during the migration period, deprecated since 1.29.
  • $wgLogoHD has been updated to support SVG images and uses $wgLogo where possible for fallback images such as PNG.
  • (task T44246) $wgFilterLogTypes will no longer ignore 'patrol' when user does not have the right to mark things patrolled.
  • Wikis that contain imported revisions or CentralAuth global blocks should run maintenance/cleanupUsersWithNoId.php.
  • The configuration settings $wgResourceLoaderMinifierStatementsOnOwnLine and $wgResourceLoaderMinifierMaxLineLength, deprecated since 1.27, were removed.
  • (task T180921) $wgReferrerPolicy now supports having fallbacks for browsers that are not using the latest version of the Referrer Policy specification.
  • $wgFragmentMode is now set to [ 'legacy', 'html5' ] by default. This is a first step of migration to human-readable section IDs that will later result in 'html5' being the default mode.
  • CACHE_ACCEL now only supports APC(u) or WinCache. XCache support was removed as upstream is inactive and has no plans to move to PHP 7.
  • The old CategorizedRecentChanges feature, including its related configuration option $wgAllowCategorizedRecentChanges, has been removed.
  • (task T188472) The 'comma' value for $wgArticleCountMethod is no longer supported for performance reasons, and installations with this setting will now work as if it was configured with 'any'.
  • (task T185753) MediaWiki now defaults to using RemexHtml to tidy up user input, rather than being off by default. If you wish to disable HTML tidying entirely, set $wgTidyConfig to null; if you wish to use the old, deprecated Tidy external binary, both set $wgTidyConfig to null and $wgUseTidy to true.
  • $wgLogAutopatrol now defaults to false instead of true.
  • $wgValidateAllHtml was removed and will be ignored.
  • $wgScriptExtension, deprecated and ignored since 1.25, was removed. See the 1.25 release notes for more information.
  • $wgUseAjax is now marked as deprecated, just like the deprecated AJAX framework that it enables. Some extensions mistakenly used this to check whether any AJAX functionality at all should be enabled, further making this problematic to retain.
  • $wgDBmysql5 is now deprecated, and will be removed in a future version. It has been marked as experimental ever since it was introduced.
  • $wgDBmwschema now affects all database types. Old MediaWiki versions were setting this to 'mediawiki' during the installer, which may cause errors during the upgrade when your database is not PostgreSQL or MSSQL. In that case, remove this setting from LocalSettings.php.

Action API changes in 1.31

  • (task T185058) The 'name' value to tgprop for action=query&list=tags has been removed. It has never made a difference in the output, the name was always returned regardless.
  • The 'watch' and 'unwatch' parameters for action=move have been removed. They were deprecated and also accidentally nonfunctional since 1.17 in 2010. Use 'watchlist' instead.

1.31의 기타 변경사항

  • Browser support for Internet Explorer 10 was lowered from Grade A to Grade C.
  • Browser support for Opera 12 and older was dropped entirely. Opera 15+ continues at Grade A.
  • Multi-content-revision capability was introduced into the storage layer. See <https://mediawiki.org/wiki/Requests_for_comment/Multi-Content_Revisions>.
  • The "free" CSS class is now only applied to unbracketed URLs in wikitext. Links written using square brackets will get the class "text", not "free".
  • 작업 T157418: Whitespace is trimmed from wikitext headings, wikitext list items, wikitext table captions, wikitext table headings, wikitext table cells. HTML headings, HTML list items, HTML table captions, HTML table headings, HTML table cells will not have this trimming behavior.

하위 문서