MediaWiki 1.33

From mediawiki.org
Warning Warning: 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.

Known issues[edit]

  • task T227147 MediaWiki enforces $wgDBprefix to end with the "_" character if set, causing this error otherwise: InvalidArgumentException: A non-empty prefix must end with "_".
  • task 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.
  • task 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.
  • task 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
  • task 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[edit]

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.

What's new[edit]

  • 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.
  • (task T96041) Categories can now be hidden from Special:UnusedCategories by adding the new behavioural flag __EXPECTUNUSEDCATEGORY__ on the category's page.

Languages updated[edit]

MediaWiki supports over 350 languages. Many localisations are updated regularly. Below only new languages are listed, as well as changes to languages because of Phabricator reports.

  • (task T203908) Added language support for Eastern Pwo (kjp).
  • (task T213717) Fixed a translation error on Goan Konkani (Devanagari script) (gom-deva) translations for NS_TEMPLATE.
  • (task T212221) Added $digitTransformTable for Santali (sat).
  • (task T216479) Added language support for Saisiyat (xsy).
  • (task T219728) Added support for new Japanese era name "Reiwa".

Other changes[edit]

Upgrading system administrators should read carefully the specific notes on upgrading. Developers should read the full release notes.

  • (task T210814) SVGs with multiple language values within them are now by default displayed in the wiki's language on image pages.
  • (task T205040) 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.
  • $wgMiserMode disables the {{REVISIONID}} magic word in content namespaces. It is substituted by a single dash after saving the page.

Subpages[edit]