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的徽标已更改. This means that the "Powered By MediaWiki" button shown in the skin footer will be different.
 * All HTML5 named entities are now accepted in wikitext.
 * (106263) The file description page's alternate sizes now include 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. Use "broadcastRoutingPrefix" instead.
 * – 此项设置可选择网站上显示的标识. 网站标识的默认值，若是你没有设置則它在安装时就会显示，现在将會是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.



已移除的配置选项
The last use of this setting was for pre-processor configuration, which was deprecated in 1.34 and removed in 1.35. Please use PasswordCannotMatchDefaults and PasswordNotInCommonList respectively instead.
 * — This setting, deprecated in, has been removed.
 * — 这个设置曾在1.35中被废弃，现在已经被删除. 请使用群组的权限设置来代替. For example, to prevent sysops from moving files, set ['sysop']['movefile'] = false;`
 * ,, , , , — 这些设置被移除.  They became obsolete after 1.17 overhauled the database updater, but were kept for backward compatibility. The LoadExtensionSchemaUpdates hook should be used instead.
 * — This setting, deprecated in 1.35, has been removed.
 * — 这个设置从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.
 * The deprecated password policies PasswordCannotMatchBlacklist and PasswordNotInLargeBlacklist were removed.