MediaWiki 1.24

From mediawiki.org
This page is a translated version of the page MediaWiki 1.24 and the translation is 20% complete.
Outdated translations are marked like this.

MediaWiki 1.24 és la revisió estable actual de MediaWiki. Consulteu el fitxer $RelNotes per a la llista completa dels canvis. S'implementa en els wikis de la Fundació de Wikimedia través "wmf"-branques incrementals des d'abril de 2014 al setembre de 2014. La versió 1.24.0 estable va ser publicada el dimecres, 26 de novembre de 2014. Descarregueu el latest release o obtingueu la branca REL1_24 en Git per seguir aquesta versió.

Preferències facilitades

MediaWiki is known to be extremely flexible and customisable, but few users use its full potential. In 1.24, we aim to make dozens of obscure options preferences easily discoverable and obvious to use.

Noves funcionalitats

  • Category pages can now be moved (bug 5451).
  • MergeHistory for all administrators by default (bug 66155).
  • Improvements have been made to the password storage system in gerrit:77645, allowing improved security against offline attacks should a wiki's database be compromised by attackers. Then, in gerrit:149658, the default password storage algorithm was changed to PBKDF2.
    • PBKDF2 and Bcrypt have built-in support in PHP. The new extensible password API makes it trivial to implement scrypt support if we wanted to.
  • Addition of a JSON content model to the core. Earlier, it was implemented through an extension.

Usabilitat

  • The move feature and other actions are now discoverable in Vector, thanks to a label for the dropdown where they're hidden by default (bug 44591).
  • bug 15484 - Redirect to Special:UserLogin when logging in is required to proceed, instead of showing an error message.

Rendiment

Durant el cicle de desenvolupament de 1.24, el desenvolupament mediawiki s'ha enfocat en el rendiment final.

  • (bug 39035) Vector skin performance was improved by removing collapsibleNav, which was used to collapse some sidebar elements by default. This removes -list suffixes like p-lang-list: which means that instead of using things like #p-lang-list, you need to use #p-lang .body ul.

Internationalization

Several new locales have been added, thanks to translatewiki.net translators Amqui, Bachounda, Crochet.david, Filipinayzd, Kuvaly, Malafaya, Moha, Oldstoneage, Paul Beppler, Rberchie, Rinconada, Stephenwanjau, Tifinaghes, Vogone, 아라.

  • Algerian Arabic
  • Iriga Bicolano
  • xeiene
  • cree
  • Hunsrik
  • kikuiu
  • Norman
  • ruandès
  • twi
  • amazic del Marroc central

Avisos d'actualització per als administradors de MediaWiki

Breaking changes

  • Upgraded jQuery to version 1.11.x.
  • Support for register_globals (deprecated 5 years ago) was dropped, MediaWiki will no longer run with it enabled. See this email notification for more details.
  • {{!}} is now a magic word that results in |, mainly for use in templates and other complex templates. If your wiki has a template at Template:!, you will need to change the name and update any usage of it. If your Template:! is just |, it can be safely deleted.
  • Removed the hook SpecialSearchGo. Any extensions depending on this hook will break.

API changes

Starting with MediaWiki 1.24, we're cleaning up the API, and working towards an API 2.0. See the roadmap for more details.

  • Rarely used data formats deprecated: dbg, dump, txt, wddx, yaml. These may be removed in a future release.
  • Token handling overhauled: the action=query module is now deprecated and replaced by action=query&meta=tokens . Most actions now just take a generic "csrf" token, and the token type is now properly documented in the auto-generated documentation.

Directory changes

  • The legacy skins/common/ directory has been emptied and deleted as part of the skin system cleanup. Files that have been present in it have been moved elsewhere or deleted (if they were unused). If you loaded any of these files as part of your custom skin or on-wiki CSS/JS, you should make a copy of the old files in a non-MediaWiki directory. See the RELEASE-NOTES file for the full list of moved/deleted files.

Browser support deprecated or removed

  • Full support for Internet Explorer 6 and Internet Explorer 7 has been removed. Users of these browsers will not have any JavaScript when using MediaWiki. JavaScript fixes specific to them have also been removed. Additional Internet Explorer 6 and Internet Explorer 7 fixes that exist in pages of your wiki like MediaWiki:Common.js and similar can be safely removed if you want to keep your site's browser support consistent.
  • See Compatibility for more information.

Skins no longer loaded after upgrade?

  • This will require you to update LocalSettings.php after the upgrade – a prominently displayed warning message should guide you through the process, suggesting the exact configuration that you need to add.

If you're upgrading via a tarball release, that is all you need to do.

  • If you're upgrading via git or otherwise from source, note that the skins themselves have been each moved to a separate repository and will need to be installed separately (much like extensions, some basic ones are included in the tarball).

Schema

New fields:

New indexes:

  • wl_user_notificationtimestamp on Watchlist table

Deleted fields:

Release schedule

The dates for the point releases for 1.24 were as follows:

Release Date
1.24.0 2014-11-26
1.24.1 2014-12-17
1.24.2 2015-03-31
1.24.3 2015-08-10
1.24.4 2015-10-16[1]
In January 2015 the system of providing monthly point releases was abandoned.

Subpages