MediaWiki 1.25/zh

MediaWiki 1.25 是MediaWiki目前的文档版本 点击 查看完整更新内容列表. It is currently deployed on Wikimedia Foundation wikis through incremental "wmf"-branches starting September 25, 2014. 1.25.0稳定版预期于2015年5月25日(星期一)发布. 点这里下载 或者通过 in Git checkout  分支.

新特性

 * Help:Page status indicators. You may want to adapt some templates and scripts on your wiki if you're e.g. adding icons on top right corner of the page.

增强的最近修改


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.

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.

性能
Frontend performance work continues.
 * Some 4 KB of HTML less on each MediaWiki page.

导入
Thanks to This, that and the other, import is now much easier from a wiki which has different namespaces than yours (e.g. because it's in another language).

登陆与性别
Continuing the work in MediaWiki 1.18 and 1.19, Umherirrender has migrated multiple log types of Special:Log to the new logging system, which allows full internationalization including word order and grammatical gender. The migration is now complete. See for a list.

新语言
新增了以下本地化语言:

重大更改

 * PHP 5.3.3 or newer is now required to run MediaWiki.
 * The legacy skinning system, that uses skin autodiscovery, will be removed (deprecated since 1.23) and will be completely replaced with a new skinning system used like extensions on MediaWiki. This skinning system has been introduced with some minor changes since MediaWiki 1.12.
 * jQuery Migrate removed. Please see TODO on how to fix your local JavaScript.
 * The OpenSearchXml extension was merged into MediaWiki core. If you have it installed, you should undeploy it.
 * Users installing from git will now need to fetch external libraries. More details are available below in.

配置变化
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改动
API responses in  or   have a more sensible data layout if clients specify a new   parameter in requests. 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. WMF extensions that needed changes have been updated in 1.25 to ensure backwards compatibility. More details are in API:JSON_version_2 and the  generated API help for   format.
 * TODO complete this, sync with RELEASE-NOTES-1.25 and/or link to API formatversion wiki documentation

微创概要分析
The entire profiling system has been overhauled to be more flexible and less invasive using the xhprof extension. Manual  and   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.

外部库
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, non-MediaWiki specific code that was originally written for MediaWiki such as the cdb libraries have been split 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. 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. More documentation is available at Composer/For extensions.

结构化记录
TODO: Fill this in

发行日程
The anticipated dates for point releases for 1.25 are as follows: