MediaWiki 1.32/zh

MediaWiki 1.32是MediaWiki的未来发行版本. 参阅文件获取完整更新列表. 自2018年4月24日起，通过增量更新的"wmf"-分支部署在维基基金会管理的wiki上. 该1.32.0稳定版本预计将在$1的晚些时候才推出. 下载或者在Git中签出 分支以关注此发布版本.

语言更新
MediaWiki支持超过350种语言. 许多本地化是定期更新的. 以下只列出新加入的语言和移除的语言，以及因为Phabricator报告而对语言的更新.


 * 添加 (abs)语言支持.
 * 添加 (shy-latn)语言支持.
 * 添加 (btm)语言支持.
 * 添加 (zgh)语言支持.
 * 添加 (mni)语言支持.
 * 添加 (hyw)语言支持.
 * 添加 (mnw)语言支持.

API行动的更新

 * 添加的模板参数.
 * 模块可以定义为一个已模板化的参数例如“{fruit}-quantity”，为识别实际的参数来协调多个参数的估价. 那么客户就可以提出“fruits=apples|bananas&apples-quantity=1&bananas-quantity=5”等要求.
 * 行动=paraminfo将返回已模板化的定义并与正常的参数分离. 当合并正常的和已模板化的参数时所有的参数定义现在包含了一个“index”的键词以允许客户端来维持参数的排序.
 * 现在为多个参数的估价提交太多的价值是错误的. 自MediaWiki 1.14的版本推出以来这已经是产生了一次的警告.
 * 'assert'和'assertuser'的参数断言失败将不再使用行动的模块为自定义反应该格式，对于使用处理错误自定义格式化工具的程序上有少数的模块.
 * 当使用action=query&meta=userinfo&uiprop=options返回时参数设置的用户列表如`email-blacklist`以及类似扩展的参数设置选项不再表示为数组的首选.
 * 'missingparam'的错误现在将使用代码以及错误正文中的前缀参数作为字首的名称，例如“noxxfoo”以及“'xxfoo'的参数必须要设置”而不是“nofoo”以及“'foo'的参数必须要设置”.
 * action=query&prop=revisions now takes a 'rvslots' parameter to indicate the multi-content revision slots for which content should be returned. It also has a new rvprop, 'roles', to indicate which roles have slots. A deprecation warning will be issued if rvprop=content or rvprop=contentmodel are used without rvslots.
 * The rvcontentformat parameter to action=query&prop=revisions has been deprecated. Clients should be prepared to deal with the default format for relevant models.
 * Use of the deprecated parameters rvexpandtemplates, rvgeneratexml, rvparse, rvdiffto, rvdifftotext, rvdifftotextpst, rvcontentformat, or the deprecated rvprop=parsetree is forbidden with the new 'rvslots' parameter.
 * action=query&prop=deletedrevisions, action=query&list=allrevisions, and action=query&list=alldeletedrevisions are changed similarly to &prop=revisions (see the three previous items).
 * (T174032) action=compare now supports multi-content revisions.
 * It has a 'slots' parameter to select diffing of individual slots. The default behavior is to return one combined diff.
 * The 'fromtext', 'fromsection', 'fromcontentmodel', 'fromcontentformat', 'totext', 'tosection', 'tocontentmodel', and 'tocontentformat' parameters are deprecated. Specify the new 'fromslots' and 'toslots' to identify which slots have text supplied and the corresponding templated parameters for each slot.
 * The behavior of 'fromsection' and 'tosection' of extracting one section's content is not being preserved. 'fromsection-{slot}' and 'tosection-{slot}' instead expand the given text as if for a section edit. This effectively declines in favor of.
 * The 'disabletidy' parameter to action=parse has been deprecated; untidy output will not be supported by future wikitext parsers.

其他更新

 * The following tables have had their UNIQUE indexes turned into proper PRIMARY KEYs for increased maintainability: interwiki, page_props, protected_titles and site_identifiers.
 * OOUI HTMLForm will now display help text inline after the input field, rather than in a popup. Previous behavior can be restored by using `'help-inline' => false`.
 * The archive table's ar_rev_id field is now unique.
 * Special:BotPasswords now requires reauthentication.
 * Multi-Content Revision (MCR) capabilities were introduced into the storage layer and have basic support for display. No user interface exists yet for creating or managing content in slots besides the main slot. See Multi-Content Revisions for more information.