MediaWiki 1.29
Appearance
Outdated translations are marked like this.
This page contains release notes for an unsupported version of MediaWiki. |
MediaWiki |
---|
|
Older versions |
Version lifecycle |
MediaWiki 1.29 là bản phát hành mới nhất của MediaWiki.
The final security and maintenance release was released on 20 September 2018.
Tham khảo file $relnotes để có danh sách đầy đủ các thay đổi.
Nó đã được triển khai trên các wiki của Wikimedia Foundation thông qua các nhánh "wmf" bắt đầu từ 1/11/ 2016.
Bản phát hành ổn định 1.29.0 được phát hành ngày 13/7/2017.[1]
Tải xuống latest snapshot hoặc click vào REL1_29
tại Git để theo dõi phát hành này
MediaWiki 1.29 |
---|
Deployment to Wikimedia sites |
Thay đổi cấu hình
- Default cookie expiration time has been reduced to 30 days. Login cookie expiration time is kept at 180 days.
$wgUserEmailUseReplyTo
is now true by default to work around restrictive DMARC policies.- Subpages are now enabled by default in the Template namespace.
Tính năng mới
- Added
$wgSoftBlockRanges
, to allow for automatically blocking anonymous edits from certain IP ranges (e.g. private IPs). - Added new magic word
{{PAGELANGUAGE}}
which returns the language code of the page being parsed. (bug T59603) - Users can now be assigned to user groups for a limited period of time. See the help page for more information.
Thay đổi Action API
- Submitting sensitive authentication request parameters to
action=clientlogin
,action=createaccount
,action=linkaccount
, andaction=changeauthenticationdata
in the query string is now an error. They should be submitted in the POST body instead. - The capture option for
action=resetpassword
has been removed action=clearhasmsg
now requires a POST.- (task T47843) API errors and warnings may be requested in non-English languages using the new
errorformat
,errorlang
, anderrorsuselocal
parameters. - API error codes may have changed. Most notably, errors from modules using parameter prefixes (e.g. all query submodules) will no longer be prefixed.
action=emailuser
may return a "Warnings" status, and now returns 'warnings' and 'errors' subelements (as applicable) instead of 'message'.action=imagerotate
returns an 'errors' subelement rather thanerrormessage
.action=move
now reports errors when moving the talk page as an array under keytalkmove-errors
, rather than usingtalkmove-error-code
andtalkmove-error-info
. The format for subpage move errors has also changed.action=revisiondelete
no longer includes a "rendered" property on warnings and errors for each item. Useerrorformat=wikitext
if you're wanting parsed output.action=rollback
no longer returns amessageHtml
property. Useerrorformat=html
if you're wanting HTML formatting of error messages.action=upload
now reports optional stash failures as an array under key 'stasherrors' rather than a 'stashfailed' text string.action=watch
reports 'errors' and 'warnings' instead of a single 'error', and no longer returns a 'message' on success.- Added
action=validatepassword
to validate passwords for the account creation and password change forms.
Thay đổi Action API nội bộ
- New methods were added to ApiBase to handle errors and warnings using i18n keys. Methods for using hard-coded English messages were deprecated:
ApiBase::dieUsage()
was deprecatedApiBase::dieUsageMsg()
was deprecatedApiBase::dieUsageMsgOrDebug()
was deprecatedApiBase::getErrorFromStatus()
was deprecatedApiBase::parseMsg()
was deprecatedApiBase::setWarning()
was deprecated
ApiBase::$messageMap
is no longer public. Code attempting to access it will result in a PHP fatal error.- The $message parameter to the ApiCheckCanExecute hook should be set to an ApiMessage. This is compatible with MediaWiki 1.27 and later. Returning a code for
ApiBase::parseMsg()
will no longer work. UsageException
is deprecated in favor ofApiUsageException
. For the time beingApiUsageException
is a subclass ofUsageException
to allow things that catch onlyUsageException
to still function properly.- If, for some strange reason, code was using an
ApiErrorFormatter
instead ofApiErrorFormatter_BackCompat
, note that the result format has changed and various methods now take a module path rather than a module name. ApiMessageTrait::getApiCode()
now strips 'apierror-' and 'apiwarn-' prefixes from the message key, and maps some message keys for backwards compatibility.
Cập nhật ngôn ngữ
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.
- Based as always on linguistic studies on intelligibility and language knowledge by geography, language fallbacks have been expanded. When a translation is missing in the user's preferred interface language, the corresponding translation for the fallback language will be used instead. English will only be used as last resort when there are no translations. Some configurations (such as date formats and gender namespaces) have also been updated when using the fallback language's configuration was inadequate. The new or reinstated language fallbacks are (after cs ↔ sk in 1.28): hsb ↔ dsb, io → eo, mdf → ru, pnt → el, roa-tara → it.
No fallback for Ukrainian
- (task T39314) The fallback from Ukrainian to Russian was removed. The Ukrainian language will now use the default fallback language: English. When a translation to Ukrainian is not available, an English string will be shown.
Thay đổi khác
- wiki.phtml entry point was removed. Refer to index.php instead. If you want "wiki.phtml" URLs to continue to work, set up redirects. In Apache, this can be done by enabling mod_rewrite and adding the following rules to your configuration:
RewriteEngine On
RewriteBase /
RewriteRule ^/w/wiki\.phtml$ /w/index.php [R=301,L]
Trang con
- MediaWiki 1.29/Roadmap
- MediaWiki 1.29/wmf.1
- MediaWiki 1.29/wmf.1/Changelog
- MediaWiki 1.29/wmf.10
- MediaWiki 1.29/wmf.10/Changelog
- MediaWiki 1.29/wmf.11
- MediaWiki 1.29/wmf.11/Changelog
- MediaWiki 1.29/wmf.12
- MediaWiki 1.29/wmf.12/Changelog
- MediaWiki 1.29/wmf.13
- MediaWiki 1.29/wmf.13/Changelog
- MediaWiki 1.29/wmf.14
- MediaWiki 1.29/wmf.14/Changelog
- MediaWiki 1.29/wmf.15
- MediaWiki 1.29/wmf.15/Changelog
- MediaWiki 1.29/wmf.16
- MediaWiki 1.29/wmf.16/Changelog
- MediaWiki 1.29/wmf.17
- MediaWiki 1.29/wmf.17/Changelog
- MediaWiki 1.29/wmf.18
- MediaWiki 1.29/wmf.18/Changelog
- MediaWiki 1.29/wmf.19
- MediaWiki 1.29/wmf.19/Changelog
- MediaWiki 1.29/wmf.2
- MediaWiki 1.29/wmf.2/Changelog
- MediaWiki 1.29/wmf.20
- MediaWiki 1.29/wmf.20/Changelog
- MediaWiki 1.29/wmf.21
- MediaWiki 1.29/wmf.21/Changelog
- MediaWiki 1.29/wmf.3
- MediaWiki 1.29/wmf.3/Changelog
- MediaWiki 1.29/wmf.4
- MediaWiki 1.29/wmf.4/Changelog
- MediaWiki 1.29/wmf.5
- MediaWiki 1.29/wmf.5/Changelog
- MediaWiki 1.29/wmf.6
- MediaWiki 1.29/wmf.6/Changelog
- MediaWiki 1.29/wmf.7
- MediaWiki 1.29/wmf.7/Changelog
- MediaWiki 1.29/wmf.8
- MediaWiki 1.29/wmf.8/Changelog
- MediaWiki 1.29/wmf.9
- MediaWiki 1.29/wmf.9/Changelog