MediaWiki 1.33

This page is a translated version of the page MediaWiki 1.33 and the translation is 38% complete.
Outdated translations are marked like this.
Varning Varning: MediaWiki 1.33 contains a very severe security issue. Please upgrade to newer versions of MediaWiki if possible. See 2021-12 security release/FAQ for workaround if you are not able to upgrade your MediaWiki.

MediaWiki 1.33 is an obsolete release of MediaWiki. Consult the RELEASE NOTES 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 REL1_33 branch in Git to follow this release. The 1.33 branch reached with the version 1.33.4 its end-of-life in June 6, 2020.

Kända problem

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

Upgrading notes

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 update.php (or refreshExternallinksIndex.php) 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 $wgActorTableSchemaMigrationStage set to SCHEMA_COMPAT_READ_OLD, note that log_search 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 $wgActorTableSchemaMigrationStage set to SCHEMA_COMPAT_WRITE_BOTH and without migrateActors.php having been run, the log_search table may contain rows with empty values for "target_author_actor" which will prevent log searches for revision deletions by target user from finding those log entries. These rows may be corrected by (re-)running migrateActors.php.

Vad är nytt

  • 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 $wgEnablePartialBlocks feature flag on. In future releases this feature will be available by default.
  • (ärende T96041) Categories can now be hidden from Special:UnusedCategories by adding the new behavioural flag __EXPECTUNUSEDCATEGORY__ on the category's page.

Uppdaterade språk

MediaWiki stödjer över 350 olika språk. Många lokaliseringar uppdateras regelbundet. Nedan listas bara nya och borttagna språk, samt språkändringar för Phabricator-rapporter..

  • (ärende T203908) Lade till språkstöd för Eastern Pwo (kjp).
  • (ärende T213717) Åtgärdade ett översättningsfel på Goan Konkani (Devanagari script) (gom-deva) för NS_TEMPLATE.
  • (ärende T212221) Lade till $digitTransformTable för santali (sat).
  • (ärende T216479) Lade till språkstöd för Saisiyat (xsy).
  • (ärende T219728) Lade till stöd för nya japanska namnet på eran "Reiwa".

Andra ändringar

Uppgraderande systemadministratörer bör noggrant läsa de angivna anteckningarna för uppgradering. Utvecklare bör läsa hela utgivningsanteckningarna.

  • (ärende T210814) SVG:er med flera språkvärden i sig visas nu som standard på wikins språk på bildsidor.
  • (ärende T205040) Flerspråkiga bilder visas nu på det nuvarande analysspråket.
  • Special:ActiveUsers filtrerar inte längre bort användare som blivit inaktiva sedan senaste gången cachen för aktiva användare uppdaterades.
  • Special:CreateAccount varnar nu användaren om deras valda användarnamn måste normaliseras.
  • $wgMiserMode stänger av det {{REVISIONID}} magiska ordet i namnrymder med innehåll. Den byts ut mot ett streck efter att sidan sparats.