MediaWiki 1.32

This page is a translated version of the page MediaWiki 1.32 and the translation is 36% complete.
Warnung Warnung: MediaWiki 1.32 enthält ein sehr ernstes Sicherheitsproblem. Bitte aktualisiere auf neuere Versionen von MediaWiki, wenn möglich. See Sicherheitsveröffentlichung Dezember 2021 – Häufige Fragen for workaround if you are not able to upgrade your MediaWiki.

MediaWiki 1.32 ist eine veraltete Veröffentlichung von MediaWiki. Siehe die RELEASE NOTES-Datei für eine vollständige Liste der Änderungen. Es wurde auf Wikimedia Foundation Wikis durch inkrementelle "wmf"-Zweige ab 24. April 2018 eingesetzt. Die stabile Version 1.32.0 wurde am 10. Januar 2019 veröffentlicht. Download the latest releases or checkout the REL1_32 branch in Git to follow this release.

It went end-of-life in January 2020.

Was ist neu?

Sprachaktualisierungen

MediaWiki unterstützt über 350 Sprachen. Viele Lokalisierungen werden regelmäßig aktualisiert. Im Folgenden werden nur neue Sprachen, sowie Änderungen an Sprachen aufgrund von Phabricator-Berichten aufgeführt.

  • (task T193566) Sprachunterstützung für Ambonesisches Malaysisch (abs) hinzugefügt.
  • (task T194047) Sprachunterstützung für Shawiya (lateinische Schrift) (shy-latn) hinzugefügt.
  • (task T195940) Sprachunterstützung für Batak Mandailing (btm) hinzugefügt.
  • (task T137491) Sprachunterstützung für Tamazight (zgh) hinzugefügt.
  • (task T198132) Sprachunterstützung für Meithei (mni) hinzugefügt.
  • (task T201276) Sprachunterstützung für Westarmenisch (hyw) hinzugefügt.
  • (task T201583) Sprachunterstützung für Mon (mnw) hinzugefügt.

Action API changes

  • Added templated parameters.
    • A module can define a templated parameter like "{fruit}-quantity", where the actual parameters recognized correspond to the values of a multi-valued parameter. Then clients can make requests like "fruits=apples|bananas&apples-quantity=1&bananas-quantity=5".
    • action=paraminfo will return templated parameter definitions separately from normal parameters. All parameter definitions now include an "index" key to allow clients to maintain parameter ordering when merging normal and templated parameters.
  • It is now an error to submit too many values for a multi-valued parameter. This has generated a warning since MediaWiki 1.14.
  • Assertion failures from the 'assert' and 'assertuser' parameters will no longer use the action module's custom response format, for the few modules that use custom formatters that handle errors.
  • (task T198935) User list preferences such as `email-blacklist` and similar extension preferences are no longer represented as arrays when returned by action=query&meta=userinfo&uiprop=options.
  • 'missingparam' errors will now use the prefixed parameter name in the code and error text, e.g. "noxxfoo" and "The 'xxfoo' parameter must be set" rather than "nofoo" and "The 'foo' parameter must be set".
  • action=query&prop=revisions now takes a 'rvslots' parameter to indicate the multi-content revision slots for which content should be returned. It also has a new rvprop, 'roles', to indicate which roles have slots. A deprecation warning will be issued if rvprop=content or rvprop=contentmodel are used without rvslots.
  • The rvcontentformat parameter to action=query&prop=revisions has been deprecated. Clients should be prepared to deal with the default format for relevant models.
  • Use of the deprecated parameters rvexpandtemplates, rvgeneratexml, rvparse, rvdiffto, rvdifftotext, rvdifftotextpst, rvcontentformat, or the deprecated rvprop=parsetree is forbidden with the new 'rvslots' parameter.
  • action=query&prop=deletedrevisions, action=query&list=allrevisions, and action=query&list=alldeletedrevisions are changed similarly to &prop=revisions (see the three previous items).
  • (T174032) action=compare now supports multi-content revisions.
    • It has a 'slots' parameter to select diffing of individual slots. The default behavior is to return one combined diff.
    • The 'fromtext', 'fromsection', 'fromcontentmodel', 'fromcontentformat', 'totext', 'tosection', 'tocontentmodel', and 'tocontentformat' parameters are deprecated. Specify the new 'fromslots' and 'toslots' to identify which slots have text supplied and the corresponding templated parameters for each slot.
    • The behavior of 'fromsection' and 'tosection' of extracting one section's content is not being preserved. 'fromsection-{slot}' and 'tosection-{slot}' instead expand the given text as if for a section edit. This effectively declines task T183823 in favor of task T185723.
  • (task T198214) The 'disabletidy' parameter to action=parse has been deprecated; untidy output will not be supported by future wikitext parsers.

Weitere Änderungen

  • (task T198811) The following tables have had their UNIQUE indexes turned into proper PRIMARY KEYs for increased maintainability: interwiki, page_props, protected_titles and site_identifiers.
  • OOUI HTMLForm will now display help text inline after the input field, rather than in a popup. Previous behavior can be restored by using `'help-inline' => false`.
  • The archive table's ar_rev_id field is now unique.
  • Special:BotPasswords now requires reauthentication.
  • (task T174023) Multi-Content Revision (MCR) capabilities were introduced into the storage layer and have basic support for display. No user interface exists yet for creating or managing content in slots besides the main slot. See Multi-Content Revisions for more information.

Unterseiten