MediaWiki 1.33/zh

MediaWiki 1.33 is the latest release of MediaWiki. Consult the file for the full list of changes. It was deployed on Wikimedia Foundation wikis through incremental "wmf" alpha branches from 23 October 2018 until 10 April 2019. The 1.33.0 stable release was released on 2 July 2019. Download the latest releases or checkout the  branch in Git to follow this release.

已知的问题

 * MediaWiki enforces $wgDBprefix to end with the "_" character if set, causing this error otherwise: InvalidArgumentException: A non-empty prefix must end with "_".
 * Upgrading from an old MediaWiki version (prior to 1.15) will cause the upgrade script to fail. You'll need to manually add the Manual:valid_tag table yourself before running the upgrade script. This will be fixed in MediaWiki 1.33.1.
 * Upgrading from an old version may give an  error. You may need to apply the  file manually.
 * The version of ConfirmEdit bundled with 1.33.0 will give OOUI\Exception errors when a link is added to a page. This will be fixed in 1.33.1 or you can download a newer version of that extension separately
 * Imported revisions of pages may disappear after the update. This can be worked around by running the maintenance script followed by.

Upgrading notes for 1.33
1.33 has several database changes since 1.32, and will not work without schema updates. Note that due to changes to some very large tables like the revision table, the schema update may take quite long (minutes on a medium sized site, many hours on a large site).

Don't forget to always back up your database before upgrading!

See the file UPGRADE for more detailed upgrade instructions, including important information when upgrading from versions prior to 1.11.

Some specific notes for MediaWiki 1.33 upgrades are below:
 * Some external link searches will not work correctly until  (or  ) is run. These include searches for links using IP addresses, internationalized domain names, and possibly mailto links.
 * If you ran migrateActors.php using an older version of MediaWiki and want to run your wiki with  set to , note that   rows needed to find revision deletions by target user were incorrectly deleted. See T215464 for details.
 * If revision deletions were performed when the wiki was configured with  set to   and without   having been run, the   table may contain rows with empty values for " " which will prevent log searches for revision deletions by target user from finding those log entries. These rows may be corrected by (re-)running.

What's new

 * The Blocks feature is gaining a new feature, "partial blocks", where IPs and accounts can be restricted from editing particular pages or namespaces. This is currently under development, but can be enabled by setting the  feature flag on. In future releases this feature will be available by default.
 * Categories can now be hidden from Special:UnusedCategories by adding the new behavioural flag  on the category's page.

语言更新
MediaWiki支持超过350种语言. 许多本地化是定期更新的. Below only new and removed languages are listed, as well as changes to languages because of Phabricator reports.
 * 添加了 (kjp)的语言支持.
 * Fixed a translation error on (gom-deva) translations for.
 * Added $digitTransformTable for (sat).
 * 添加了 (xsy)的语言支持.
 * Added support for new Japanese era name "Reiwa".

其他更改
Upgrading system administrators should read carefully the specific notes on upgrading. Developers should read the full release notes.
 * SVGs with multiple language values within them are now by default displayed in the wiki's language on image pages.
 * Multilingual images are now be displayed in the current parse language where available.
 * Special:ActiveUsers will no longer filter out users who became inactive since the last time the active users query cache was updated.
 * Special:CreateAccount now warns the user if their chosen username has to be normalized.