MediaWiki 1.36/zh

MediaWiki 1.36 是MediaWiki的已廢止版本. 完整的變更列表請查閱文件. 在2020年7月21日到2021年4月15日之間，通过遞增式更新的"wmf"-分支部署在维基媒体基金会管理的wiki上. 1.36.0的穩定發行版已在2021年5月27日釋出. 下载1.36.4或者使用git更新 分支来获得此版本. 1.36版分支，含有1.36.4版，在2022年6月3日走到盡頭.



新功能

 * MediaWiki的徽标已更改. 这意味着皮肤页脚中显示的“Powered By MediaWiki”按钮将会有所不同.
 * 所有HTML5命名实体现在都被维基文本接受.
 * (106263) 文件描述页面的备用尺寸现在包括2048px.



Action API变更
This is to reduce the size of the watchlist data in the database. To add API bot edits to the watchlist, explicitly set the 'watch' option.
 * `Access-Control-Max-Age` was added to the default list of headers allowed for cross-origin API requests.
 * Accounts with the 'bot' right no longer have pages automatically added to the watchlist when making API edits, regardless of their preferences.



升级注意事項
If you use this feature, please move the MediaWiki:Autoblock_whitelist page. This is not safe; extension functions are run relatively late, some services are already initialized by that point and so they use the old configuration. Changes in 1.36 make this kind of breakage even more common. You can use the MediaWikiServices hook instead. ( In the future there might be a dedicated hook for configuration changes. ) This is no longer encouraged, and the option has been removed.
 * MediaWiki 1.36 now requires the PHP internationalization extension (commonly referred to as Intl, ext-intl, or php-intl).
 * The MediaWiki:Autoblock whitelist block exemption control has been moved to MediaWiki:Block-autoblock-exemptionlist.
 * (275334) is sometimes used to change configuration settings.
 * The MediaWiki update script,, used to accept `--nopurge` as an option to prevent clearing caches stored in the database during upgrade.

-{zh-hans:配置; zh-hant:組態;}-


新配置选项

 * (256001) – 这个设置控制了一个新的功能，如果编辑恢复到以前的确切状态，则将其标记为恢复.  This configuration variable sets the maximum number of revisions of a page that will be checked against every new edit. Set this to 0 to disable the feature entirely.
 * (244058) — This setting was added to control caching of ParserOutput for old (non-current) revisions.
 * (265263) - This setting configures the "remember me" checkbox on account log-in systems via RememberMeAuthenticationRequest.
 * (157145) – 这个设置可以让系统管理员配置支持元标签的皮肤.  这些标签使MediaWiki页面在各种社交平台上的分享更有内容，从而更有意义.
 * (280944) – 这个设置让系统管理员停用jQuery Migrate插件.  It has been enabled by default since . In future releases it will be disabled by default.



已变更的配置选项
If you use Dynomite, then set the new "coalesceKeys" option to "hash_tag". The "cluster" and "mcrouterAware" options were also removed without deprecation. 請使用"broadcastRoutingPrefix".
 * – 此项设置可选择网站上显示的标识. 网站标识的默认值，若是你没有设置則它在安装时就会显示，现在将會是MediaWiki的新标识.
 * (274695) — 这个设置是为了在用户开始写编辑摘要时停用编辑藏匿功能，已经被废弃了.  在未来的版本中，这一功能将一直被启用.
 * – This setting, to enable remote on-demand media scaling, was deprecated. Use the `thumbProxyUrl` setting in instead.
 * , – These settings have been renamed, to  &  respectively. 以前的配置变量名称已被废弃，但如果它们仍被设置，将被用作是應變，并对试图读取它们的-{zh-hans:扩展;zh-hant:擴充功能;}-維持暂时可用.
 * – The "coalesceKeys" option was removed without deprecation and replaced by a new "coalesceScheme" option, set to "hash_stop" by default.



已移除的配置选项

 * — 此设置已在中弃用，已被删除.
 * — 这个设置曾在1.35中被废弃，现在已经被删除. 请使用群组的权限设置来代替. 例如，要防止管理员移动文件，请设置['sysop']['movefile'] = false;`
 * ,, , , , — 这些设置被移除.  在1.17对数据库更新程序进行彻底修改后，它们就变得过时了，但为了向后兼容而被保留.  应改用LoadExtensionSchemaUpdates挂钩.
 * — 此设置已在1.35中弃用，已被删除. The last use of this setting was for pre-processor configuration, which was deprecated in 1.34 and removed in 1.35.
 * — 这个设置从1.35版本开始已被忽略，现在已经被移除.
 * – 这个临时设置已经被删除，同时删除的还有它所控制的輪廓变化升级路径. If your site is still using it, meaning you have not yet applied the `pp_sortkey` schema change from 1.24, you must now apply it before upgrading.
 * 已删除已弃用的密码方針 PasswordCannotMatchBlacklist 和 PasswordNotInLargeBlacklist. 请分别使用PasswordCannotMatchDefaults和PasswordNotInCommonList代替.