User:Mmovchin/MediaWiki 1.18
This page contains release notes for an unsupported version of MediaWiki. |
MediaWiki |
---|
|
Older versions |
Version lifecycle |
MediaWiki 1.18 ist ein großes Release, das viele neue Features und Bugfixes enthält. Dies ist eine Zusammenfassung der wichtigsten Änderungen, die für durchschnittliche Benutzer relevant sind. In den RELEASE-NOTES findet sich eine vollständige Auflistung aller Änderungen in dieser Version. Diese Version wurde auf den Wikimedia Wikiprojekten im September / Oktober 2011 aktualisiert und am 28. November 2011 veröffentlicht.
Was ist neu?
[edit]MediaWiki 1.18 bringt neue Features und Bugfixes. Nachfolgend finden Sie einen Überblick über die wichtigsten Änderungen, siehe Release Notes.
Bessere Unterstützung der Geschlechter
[edit]Until version 1.17, MediaWiki used neutral nouns to address and identify users on their user page. In English, this was not an issue since "User" matches both genders, but in some languages the neutral gender is always masculine; for example, this would cause French-speaking female Wikipedia users to be referred to as "Utilisateur" (male user) instead of "Utilisatrice" (female user). With version 1.18, user pages reflect the user's gender, if they have specified it in their preferences. More gender support (for instance in logs and user lists) will be available in MediaWiki 1.19.
Verbesserte Datei-Metadaten-Unterstützung
[edit]MediaWiki now detects the camera orientation from Exif metadata, and rotates the picture preview accordingly. The original file remains unchanged.
The overall metadata support in MediaWiki has been greatly extended. Previously, MediaWiki could only extract limited Exif metadata, and showed a subset of it on file description pages. Since 1.18, MediaWiki can extract IPTC and XMP metadata from uploaded files, and more Exif information. This includes an embedded description, author information, GPS coordinates, or copyright statement.
Verbesserte Textausrichtung-Unterstützung
[edit]A lot of work has been done, and is still being done, to fix directionality bugs (Left-To-Right, Right-To-Left). Most notably bug 6100 is fixed, which allows to display an RTL interface on an LTR wiki properly (and vice versa). This was developed under $wgBetterDirectionality, which is now no longer used because the improvements are merged with the core code.
A positive consequence is that the page content on wikis with multiple scripts is aligned according to the direction of the selected variant. For example, on a Kazakh language wiki, selecting the Arabic script variant will align the text as RTL, while selecting the Latin or Cyrillic variant will align it as LTR.
Easily find where to customize interface messages
[edit]MediaWiki allows you to customize the user interface by editing pages in the MediaWiki namespace. However, even though they can be viewed at Special:AllMessages, the sheer number of these messages makes it difficult to find which one needs to be customized. In MediaWiki 1.18, a new pseudo-language is introduced (qqx
) to help people find such messages, by displaying the messages' key instead of the actual messages. All one has to do is append ?uselang=qqx
to the page's index.php/
URL (see this page as an example).
Neues Plugin für zusammenklappbare Elemente
[edit]The new jQuery.makeCollapsible allows you to create collapsible tables, lists and so on, by adding the class mw-collapsible
to the elements. See the manual for details.
Protokoll-URLs
[edit]MediaWiki now supports protocol- relative URLs in links, interwiki targets and $wgServer. Protocol-relative URLs look like //example.com/wiki/Foo
; the browser will recognize this as http://example.com/wiki/Foo
when following a link from an HTTP page, and https://example.com/wiki/Foo
when following a link from an HTTPS page. This way, protocol-relative URLs enable a wiki to support HTTP and HTTPS while serving the same HTML for both, which means the parser cache doesn't have to be split.
Beipiele
[edit]- Setting
$wgServer
to something like//example.com
instead ofhttp://example.com
is now supported.- By default, links to your wiki in Squid purges, IRC feeds and e-mail notifications will use HTTP. If you want them to use HTTPS, set $wgInternalServer (for Squid purges) and/or $wgCanonicalServer (for IRC feeds and e-mail notifications) to something like
https://example.com
- By default, links to your wiki in Squid purges, IRC feeds and e-mail notifications will use HTTP. If you want them to use HTTPS, set $wgInternalServer (for Squid purges) and/or $wgCanonicalServer (for IRC feeds and e-mail notifications) to something like
- Same for
iw_url
in the interwiki table - Links like
[//example.com Example]
now work- This is required because things like
[{{fullurl:Foo|action=edit}} Edit Foo]
would otherwise break if$wgServer
is protocol-relative
- This is required because things like
Weitere personalisierbare Stile und Skripte
[edit]MediaWiki now automatically loads javascript and stylesheets more specific to each user. There is a separate CSS and JS file for each usergroup (MediaWiki:Group-sysop.css, MediaWiki:Group-autoconfirmed.js, etc), and also a CSS file for users viewing without JavaScript (MediaWiki:Noscript.css).
Verbesserungen an der Skin-Template-Funktion
[edit]Legacy skinning support is out the door and MediaWiki's SkinTemplate system has been enhanced to remove a lot of unnecessary boilerplate and allow custom skins to make use of the same set of page tabs organized into namespace, variant, view, and action groups that Vector introduced.
Gebündelte Erweiterungen
[edit]The following extensions are newly bundled with MediaWiki as of 1.18 mailarchive:mediawiki-announce/2011-November/000102.html. All are currently in use on Wikimedia sites.
- ConfirmEdit — Various CAPTCHA techniques to try to prevent spambots and other automated tools from editing your wiki.
- Gadgets — A system to allow users to enable or disable JavaScript or CSS tools made available to users site-wide.
- Nuke — A special page allowing administrators to mass-delete content added by a spammer or vandal.
- ParserFunctions — Additional parser functions (like
#if
and#switch
to supplement the "magic words" present in MediaWiki. — - Renameuser — A special page which allows authorized users to rename user accounts.
- Vector — Enhancements to the Vector skin.
- WikiEditor — An improved and customizable editing toolbar developed along the Vector skin.