MediaWiki 1.31/de

MediaWiki 1.31 ist die aktuelle Veröffentlichung von MediaWiki. Siehe die -Datei für eine vollständige Liste der Änderungen. Es wurde auf Wikimedia Foundation Wikis durch inkrementelle "wmf"-Zweige ab dem 26. September 2017 eingesetzt. Die stabile Version 1.31.0 wurde am 13. Juni 2018 veröffentlicht. Lade den herunter oder wähle den  -Zweig in Git aus, um diesem Release zu folgen.

Mehr Erweiterungen enthalten
Der Satz an Erweiterungen, die im MediaWiki-Tarball enthalten sind, ist gewachsen. Hinzugekommen sind:


 * stellt einen besseren Editor für die Bearbeitung von CSS und JavaScript im Wiki zur Verfügung.
 * provides a lightbox viewer for images and galleries.
 * stellt Zwei-Fakrot-Authentifizierung für Wiki-Accounts zur Verfügung.
 * stellt ein Formular zu Verfügung, um Administratoren Ersetzungen von Strings im gesamten Wiki durchführen zu lassen, sowohl für Seiteninhalte als auch für Seitentitel.
 * stellt ein Formular zu Verfügung, um Administratoren Ersetzungen von Strings im gesamten Wiki durchführen zu lassen, sowohl für Seiteninhalte als auch für Seitentitel.

Die Erweiterung Nuke ist nicht im Tarball für MediaWiki 1.31.0 enthalten. Wenn du diese Erweiterung verwenden willst, lade sie bitte separat herunter. Dieser Fehler wird im nächsten Release von MediaWiki behoben.

Timeless-Skin
Timeless ist ein neuer, responsiver Skin für MediaWiki, und nun enthalten.

Kölnisch Blau und Modern
Die Skins Kölnisch Blau und Modern sind nicht länger enthalten, aber immer noch mit MediaWiki kompatibel. Wenn du aktualisierst und diesen Skin installiert hattest, lade ihn bitte separat herunter.

Tidy replaced with HTML 5 parsing algorithm

 * See the frequently asked questions for more details

The HTML 4 based Tidy library has been replaced by a pure-PHP HTML 5 parser named RemexHtml to clean up improper wikitext in a modern and standards compliant way. If your content relied on some of the tidy fix-ups that are not being continued, they will need to be fixed.

You can use the Linter extension in conjunction with Parsoid to identify pages with problems that cause differences in rendering with the RemexHtml parser. The ParserMigration extension shows editors a side-by-side comparison of rendering with tidy and RemexHtml.

Interwiki-Benutzernamen
MediaWiki unterstützt nun „Interwiki“-Benutzernamen im Format „ “ in Versionen, Logbucheinträgen, usw. Dies erlaubt, Importe und Ereignisse von anderen Wikis (wie bspw. von Wikibase) angemessen aufzuzeichnen, ohne Veriwrrung aufgrund lokaler Benutzerkonten gleichen Namens zu erzeugen, die existieren oder in Zukunft existieren könnten.


 * Importe werden nun unbekannte (und optional bekannte) Benutzernamen im Format „ “ registrieren.
 * (verwendet in Versionsgeschichten, Logbüchern usw.) wird Benutzernamen die als „ „Example“ als Interwiki-Links darstellen, die in Wikitext das Format  hätten.

Weitere Standardisierung der UI

 * Als erster Schritt, um Dialogboxen in MediaWiki zu standardisieren, stellt die HTML-Klasse nun Hilfsmethoden zum Generieren von messageBox, successBox, error Box und warningBox zur Verfügung.

Weitere Funktionsänderungen

 * Füge Standard-Limit von 90 Bearbeitungen/Minute für alle Benutzer zur Verfügung. Dies kann modfiziert werden, indem gesetzt wird.
 * betrifft nur -Aktionen.
 * Benutzerseiten, die einen Titel der Form  tragen, sind nun auf die gleiche Weise geschützt wie   und  -Seiten, sodass dort ohne Risiko Konfigurationseinstellungen platziert werden können.
 * Die Dateibeschreibungsseite zeigt nun den SHA1-Hashwert der Datei im Hexadeziemalsystem in der Tabelle an, die die Basisinformationen enthält.
 * Die Pingback-Funktion wird nun jeden Monat einen Herzschlag-Ping senden, damit identifiziert werden kann, welche Wikis aktiv sind.
 * Tabs, die auf Seiten verlinken, die nicht existieren (wie solche zu nicht erstellten Diskussionsseiten) haben nun einen Tooltip um dies anzueigen, und nicht mehr nur die entsprechende Farbe.

Sprachaktualisierungen in 1.31
MediaWiki unterstützt über 350 Sprachen. Viele Lokalisierungen werden regelmäßig aktualisiert. Hierunter werden nur hinzugefügte und entfernte Sprachen, gelistet, sowie Änderungen an Sprachen aufgrund von Berichten an Phabricator.


 * ) Mirandés (mwl) unterstützt nun gegenderte /.
 * Neue Sprachunterstützung: Noongar (nys).
 * New language support: Siberian Tatar [cебертатар] (sty).
 * New language support: Guianan Creole (gcr).
 * Neue Sprachunterstützung: Kumykisch [Къумукъ] (kum).
 * Neue Sprachunterstützung: Formelles Spanisch (es-formal).
 * Neue Sprachunterstützung: Formelles Ungarisch (hu-formal).
 * Neue Sprachunterstützung: Gorontalo (gor).

PHP 7 oder HHVM ist jetzt erforderlich
MediaWiki 1.31 benötigt PHP 7.0.0 oder neuer. Obwohl auch HHVM 3.18.5 unterstützt wird, wird im Allgemeinen dazu geraten, PHP 7.0.0 zu verwenden, um langfristig Unterstützung zu erhalten.

Datenbankänderungen
Zwischen 1.31 und 1.30 wurden mehrere Datenbankänderungen vorgenommen, so dass Änderungen des Datenbankschemas nötig sind. Nutzer von PostgreSQL müssen nun Version 9.2 oder neuer verwenden.

Revision-Tabelle
Beachte, dass aufgrund von Änderungen an sehr großen Tabellen wie der Revision-Tabelle Das Schema-Update ziemlich lange dauern kann (Minuten auf einer mittelgroßen Seite, viele Stunden auf einer großen Seite). Vergiss nicht, vor dem Upgrade stets ein Backup deiner Datenbank vorzunehmen!

Archive-Tabelle
If you're using MySQL, SQLite, or MSSQL, are not using update.php to apply schema changes, and cannot have downtime to run  and apply   manually, you'll have to apply a default value to the   and   columns of the   table or make those columns nullable before upgrading to MediaWiki 1.31. shows how to do this for MySQL.

Actor-Tabelle
The identity of the logged-in or IP "actor" for logged actions is being moved into a new  table, with the rows in tables such as revision and logging referring to the actor ID instead of storing the user ID and name/IP in every row.


 * This is currently gated by . Most wikis can set this to  and run   as soon as any necessary extensions are updated.
 * Most code accessing rows for logged actions from the database should use the relevant  methods to get the information needed to build the SQL query. The   class may also be used to get feature-flagged information needed to access actor-related fields during the migration period.

Konfigurationsänderungen

 * und sind un veraltet und werden in Zukunft entfernt werden. Die API wird nun als stabil, sicher und essentiell eingestuft.
 * wurde entfernt, da es nun der Standard ist. Sie war als temporäre Varable während der Migration dokumentiert und seit 1.29 veraltet.
 * wurde aktualisiert, um SVG-Bilder zu unterstützen und verwendet wo möglich für Ersatzbilder wie PNG.
 * wird nicht länger ' ' ignorieren, wenn der Benutzer nicht das Recht hat, Dinge als patrolled zu markieren.
 * Wikis, die importierte Versionen oder globale Sperren durch CentralAuth haben, sollten   ausführen.
 * Die Konfigurationseinstellungen und, veraltet seit 1.27, wurden entfernt.
 * unterstützt nun Fallbacks für Browser, die nicht die neueste Version der Referrer-Policy-Spezifikation verwenden.
 * ist nun standardmäßig zu  gesetzt. Dies stellt den ersten Schritt der Migration zu menschenlesbaren Abschnitts-IDs dar, die später dazu führen wird, dass ' ' der Standardwert ist.
 * unterstützt nun nur noch APC(u) oder WinCache. XCache-Unterstützung wurde entfernt, da seine Entwickler inaktiv sind und keine Pläne haben, auf PHP 7 umzusteigen.
 * Die alte -Funktion, die verwandte Konfigurationseinstellung  eingeschlossen, wurde entfernt.
 * The ' ' value for is no longer supported for performance reasons, and installations with this setting will now work as if it was configured with ' '.
 * MediaWiki now defaults to using  to tidy up user input, rather than being off by default. If you wish to disable HTML tidying entirely, set  to  ; if you wish to use the old, deprecated Tidy external binary, both set  to   and  to.
 * now defaults to  instead of.
 * was removed and will be ignored.
 * , deprecated and ignored since 1.25, was removed. See the 1.25 release notes for more information.
 * is now marked as deprecated, just like the deprecated AJAX framework that it enables. Some extensions mistakenly used this to check whether any AJAX functionality at all should be enabled, further making this problematic to retain.
 * is now deprecated, and will be removed in a future version. It has been marked as experimental ever since it was introduced.
 * now affects all database types. Old MediaWiki versions were setting this to 'mediawiki' during the installer, which may cause errors during the upgrade when your database is not PostgreSQL or MSSQL. In that case, remove this setting from LocalSettings.php.

Änderungen nach 1.31.0-rc.2

 * Initialize PSR-4 namespaces at same stage as normal autoloader.
 * Hide MySQL binary/utf-8 charset option in the installer.
 * Don't allow setting in the installer.
 * php-memcached 3.0 (provided with PHP 7.0) is now supported.
 * now works on PHP 7.1+
 * Fix exception from  deref on HHVM in the   hook.
 * The  of   files is now able to be zero.
 * Validate  in  /  parser functions.

Änderungen nach 1.31.0-rc.0

 * Drop  and.
 * Use codepoint as tiebreaker when getting first-letters in.
 * Don't shell during the installer if shelling out is disabled.
 * Improve duplicate config setting exception as part of extension registration.
 * Don't require trailing slash in PSR-4 autoloader directory.
 * Fix PHP Notice from ` ` in ` `.
 * Do not incorrectly hide namespace input field in the installer.
 * Refactor checks looking for PEAR maik libraries to be clearer.

Neue Funktionen für Entwickler in 1.31

 * and similar methods now support joins with parentheses for grouping.
 * As a first pass in standardizing dialog boxes across the MediaWiki product, Html class now provides helper methods for,  ,   and   generation.
 * The ' ' hook allows extensions to auto-create users during an import.
 * Added a hook,, to allow extensions to affect the   post-cache transformations.
 * Added a hook,, to allow extensions to alter the initial page text for file uploads.
 * Style tags with a ' ' attribute will be deduplicated as a  post-cache transformation. This may be disabled by passing   to that method.
 * Added, to roll back an atomic section without having to roll back the whole transaction.
 * , non-native, and non-MySQL   and   no longer roll back the whole transaction on failure.
 * The CLI installer learned to detect and include extensions. Pass   to enable that feature.
 * now has three states: " " for, " " for manually patrolled, and " " for autopatrolled actions.
 * Extensions can now set their type to " " if they provide an editor or enhance the editing experience.
 * Extensions can use a PSR-4 autoloader by setting an " " property in . See the documentation for more details and an example.

Änderungen an externen Bibliotheken in 1.31

 * ,  and   have been moved from   to  . These packages now must be installed via composer and not via PEAR itself.

Aktualisierte externe Bibliotheken

 * Updated  from v0.9.14 to v1.8.2.
 * Updated  from 1.1.4 to 1.3.0 (development dependency).
 * Updated  from 2.1.0 to 3.1.3 (development dependency).
 * Updated  from 1.1.0 to 1.2.0.
 * Updated  from 2.0.0 to 2.1.1.
 * Updated  from 1.1.0 to 1.2.0.
 * Updated  from 2.2.0 to 2.3.0.
 * Updated  from 1.1.0 to 1.2.0.
 * Updated  from 1.0.4 to 1.0.6.
 * Updated  from 1.0.2 to 1.0.3.
 * Updated  from 1.0.1 to 1.0.2.

Neue externe Bibliotheken

 * 1.0.0 hinzugefügt

Entfernte und ersetzte externe Bibliotheken

 * The deprecated ' ' module was removed.
 * The deprecated ' ' module was removed. Use the CSS  property instead.
 * The deprecated ' ' module was removed.
 * The deprecated ' ' module was removed. Use the ' ' module instead.


 * was replaced with.

Fehlerkorrekturen in 1.31

 * Non-breaking space in header ID breaks anchor.
 * CSSMin now allows quoted urls in ` ` syntax to start with a space.
 * : Whitespace created by category and language links is now stripped rather than leaving blank lines in odd places.
 * Uploads with UTF-8 names now work on PHP7.1+ on Windows servers.
 * now works on PHP 7.1+

Änderungen an der Action API in 1.31

 * The ' ' value to  for   has been removed. It has never made a difference in the output, the name was always returned regardless.
 * The ' ' and ' ' parameters for  have been removed. They were deprecated and also accidentally nonfunctional since 1.17 in 2010. Use ' ' instead.

Interne Änderungen an der Action API in 1.31

 * , deprecated since 1.25, was removed.
 * , deprecated since 1.25, was removed.
 * , deprecated since 1.25, was removed.

Schwerwiegende Änderungen in 1.31

 * , deprecated in 1.27, was removed.
 * The  class constructor now requires a   parameter. Instantiating without context was deprecated in 1.18.
 * The  JavaScript singleton, deprecated in 1.30, was removed.
 * ,, and the related   constants, deprecated in 1.29, were removed.
 * The,  ,  , and   methods, deprecated in 1.24, were removed.
 * and  were removed. Use   instead.
 * The deprecated  constant was removed.   should be used instead.
 * Due to significant refactoring, method  that had no access restriction has been removed.
 * The  class will no longer accept usable-but-missing usernames for   or  . Callers should either ensure the blocker exists locally or use a new interwiki-format username like " ".
 * The following methods and constants from the  class, which were deprecated in 1.27, have been removed:
 * The  parameter of   was removed., the corresponding configuration variable, has been deprecated since 1.27 and was removed as well.
 * The  parameter of   was removed., the corresponding configuration variable, has been deprecated since 1.27 and was removed as well.
 * The  class, deprecated in 1.27, was removed. The namespaced   class should be used instead.
 * The driver ' ' for MySQL, deprecated in MediaWiki 1.30, has been removed. The driver has been deprecated since PHP 5.5 and was removed in PHP 7.0. The default driver for MySQL has been ' ' since MediaWiki 1.22.
 * The following properties of  were deprecated in 1.21 and have been removed:
 * objects which are generated using a non-default value for  can no longer be added to the parser cache.
 * The following deprecated methods from the  class have been removed:
 * ; deprecated in 1.27
 * ; deprecated in 1.27
 * ; deprecated in 1.28 (obsolete no-op)
 * ; deprecated in 1.27
 * ; deprecated in 1.25
 * ; deprecated in 1.25
 * *Additionally, the protected  array, only accessed through the above and with no known uses, was removed.
 * The no-op method, deprecated in 1.27, was removed.
 * The following variables and methods in, deprecated in MediaWiki 1.30, were removed:
 * — use
 * — use
 * — use
 * – use
 * – use
 * – use
 * – use  or
 * – use  or
 * , deprecated in 1.29, has been removed.
 * In, the cookie-related methods which were wrappers for the functions on the response object, and were deprecated in 1.27, have been removed:
 * *Note that  remains, and is not deprecated.
 * Also in, some auth-related methods which were deprecated in 1.27 have been removed:
 * – use
 * – create a  directly
 * The global functions  and , deprecated in 1.25, have been removed.
 * , deprecated in 1.24, has been removed. You can use  instead.
 * , deprecated in 1.25, has been removed. You can use  instead.
 * The global function, deprecated in 1.27, has been removed. Use   directly.
 * Calling  explicitly during an implicit transaction or when   is set results in an exception. Calling   explicitly for an implicit transaction also results in an exception. Previously these were logged as errors. The   and   methods, or , should be used instead.
 * The global function  was removed; use the its replacement   instead. The global function was only sometimes defined. Its replacement is always available via the autoloader.
 * and, deprecated in 1.28, have been removed. Use   and   instead.
 * , deprecated in 1.25, has been removed. You can use  instead.
 * &, deprecated in 1.25, have been removed.
 * The  class, deprecated in 1.25 and unused, has been removed.
 * The  hook, deprecated in 1.30, has been removed. Use   to expose local variables instead of global ones.
 * As part of work to modernise user-generated content clean-up, a config option and some methods related to HTML validity were removed without deprecation. The public methods  and the path through which it was called, , are removed, as are the testing methods   and  . The $  configuration option is removed and will be ignored.
 * Execution of external programs using  now applies the   Firejail restriction by default.
 * The  and   methods, deprecated in 1.26, were removed.
 * The deprecated ' ' module alias was removed. Use the ' ' module directly.
 * The global functions  and , deprecated in 1.25, have been removed.
 * , deprecated in 1.24, has been removed. You can use  instead.
 * , deprecated in 1.25, has been removed. You can use  instead.
 * The global function, deprecated in 1.27, has been removed. Use   directly.
 * Calling  explicitly during an implicit transaction or when   is set results in an exception. Calling   explicitly for an implicit transaction also results in an exception. Previously these were logged as errors. The   and   methods, or , should be used instead.
 * The global function  was removed; use the its replacement   instead. The global function was only sometimes defined. Its replacement is always available via the autoloader.
 * and, deprecated in 1.28, have been removed. Use   and   instead.
 * , deprecated in 1.25, has been removed. You can use  instead.
 * &, deprecated in 1.25, have been removed.
 * The  class, deprecated in 1.25 and unused, has been removed.
 * The  hook, deprecated in 1.30, has been removed. Use   to expose local variables instead of global ones.
 * As part of work to modernise user-generated content clean-up, a config option and some methods related to HTML validity were removed without deprecation. The public methods  and the path through which it was called, , are removed, as are the testing methods   and  . The $  configuration option is removed and will be ignored.
 * Execution of external programs using  now applies the   Firejail restriction by default.
 * The  and   methods, deprecated in 1.26, were removed.
 * The deprecated ' ' module alias was removed. Use the ' ' module directly.
 * The deprecated ' ' module alias was removed. Use the ' ' module directly.

Deprecations in 1.31

 * The  class was deprecated in favor of ,  , and   and its subclasses.
 * The global function  is deprecated in favour of
 * The global function  is now deprecated in favor of
 * Several methods for returning lists of fields to select from the database have been deprecated in favor of similar methods that also return the tables to select from and the join conditions for those tables.
 * with a prefix no longer works
 * with a prefix no longer works
 * was deprecated.
 * Access to  class properties was deprecated, the relevant getters should be used instead.
 * is deprecated. Subclasses should override  instead.
 * Use of  to exit a script was deprecated. Use   instead.
 * Passing a  object to   is deprecated.
 * The  hook is now deprecated; use instead the hook  .   is still called, but the second and third parameter will always be  . Hard deprecation is scheduled for 1.32.
 * The following methods that get and set  state are deprecated. Callers should use the new stateless   parameter to   instead.
 * *The public  state fields   and   are also deprecated.
 * has been deprecated; use  instead.
 * was deprecated in favour of . Setting template variables by reference allowed violating the principle of data being immutable once added to the skin template. In practice, this method was not being used for that. Rather,   existed as memory optimisation for PHP 4.
 * and  were deprecated in favour of   parameters.
 * was deprecated in favour of  or
 * Passing  to   is deprecated. Use the ' ' transform to   instead.
 * (no namespace) is deprecated, the namespaced class  from the   library should be used instead.
 * is deprecated. Instead, get an instance from.
 * The following  methods have had their signatures changed to introduce a   parameter, usage of the methods on instances retrieved from   will remain unchanged but deprecated:
 * The following methods in  have been renamed, and the old ones are deprecated:
 * – use
 * – use
 * – use
 * – use
 * – use
 * The following methods related to caching of half-parsed HTML were deprecated:
 * The  class is deprecated, use   instead.
 * The type  for the parameter   of   is deprecated.
 * is deprecated.
 * The  constant is deprecated.   should be used instead.
 * The function  has been deprecated, use.
 * In the future, the hooks ' ' and ' ' will be allowed to provide any HTMLForm object rather than.
 * *The public  state fields   and   are also deprecated.
 * has been deprecated; use  instead.
 * was deprecated in favour of . Setting template variables by reference allowed violating the principle of data being immutable once added to the skin template. In practice, this method was not being used for that. Rather,   existed as memory optimisation for PHP 4.
 * and  were deprecated in favour of   parameters.
 * was deprecated in favour of  or
 * Passing  to   is deprecated. Use the ' ' transform to   instead.
 * (no namespace) is deprecated, the namespaced class  from the   library should be used instead.
 * is deprecated. Instead, get an instance from.
 * The following  methods have had their signatures changed to introduce a   parameter, usage of the methods on instances retrieved from   will remain unchanged but deprecated:
 * The following methods in  have been renamed, and the old ones are deprecated:
 * – use
 * – use
 * – use
 * – use
 * – use
 * The following methods related to caching of half-parsed HTML were deprecated:
 * The  class is deprecated, use   instead.
 * The type  for the parameter   of   is deprecated.
 * is deprecated.
 * The  constant is deprecated.   should be used instead.
 * The function  has been deprecated, use.
 * In the future, the hooks ' ' and ' ' will be allowed to provide any HTMLForm object rather than.
 * The following methods related to caching of half-parsed HTML were deprecated:
 * The  class is deprecated, use   instead.
 * The type  for the parameter   of   is deprecated.
 * is deprecated.
 * The  constant is deprecated.   should be used instead.
 * The function  has been deprecated, use.
 * In the future, the hooks ' ' and ' ' will be allowed to provide any HTMLForm object rather than.
 * The type  for the parameter   of   is deprecated.
 * is deprecated.
 * The  constant is deprecated.   should be used instead.
 * The function  has been deprecated, use.
 * In the future, the hooks ' ' and ' ' will be allowed to provide any HTMLForm object rather than.

Andere Änderungen in 1.31

 * Browser support for Internet Explorer 10 was lowered from Grade A to Grade C.
 * Browser support for Opera 12 and older was dropped entirely. Opera 15+ continues at Grade A.
 * Multi-content-revision capability was introduced into the storage layer. See .
 * The " " CSS class is now only applied to unbracketed URLs in wikitext. Links written using square brackets will get the class " ", not " ".
 * : Whitespace is trimmed from wikitext headings, wikitext list items, wikitext table captions, wikitext table headings, wikitext table cells. HTML headings, HTML list items, HTML table captions, HTML table headings, HTML table cells will not have this trimming behavior.