MediaWiki 1.24

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎русский

MediaWiki 1.24 is currently being developed. Consult the RELEASE-NOTES file for the full list of changes. It is currently deployed on Wikimedia Foundation wikis through incremental "wmf"-branches starting April 2014. The 1.24.0 stable release is expected to come out on Tuesday, November 26th. Download the latest snapshot or checkout the master branch in Git to follow this release.

Preferences made easier[edit | edit source]

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

New features[edit | edit source]

  • 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.

Usability[edit | edit source]

Performance[edit | edit source]

In 2014, MediaWiki development has a new focus on frontend performance.

  • (bug 39035) Improved Vector skin performance by removing collapsibleNav, which used to collapse some sidebar elements by default. This removes -list id suffixes like p-lang-list: instead of using things like #p-lang-list, you can do #p-lang .body ul.

Upgrade notices for MediaWiki administrators[edit | edit source]

Breaking changes[edit | edit source]

  • Upgrade jQuery to version 1.11.x: mailarchive:wikitech-l/2014-June/076842.html
  • Support for register_globals (deprecated 5 years ago) was dropped, MediaWiki will no longer run with it enabled. See 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 another 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.

API changes[edit | edit source]

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 formats deprecated: dbg, dump, txt, wddx, yaml. These may be removed in a future release.
  • Token handling overhauled: the action=tokens 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.
  • And more! See the RELEASE-NOTES-1.24 file for a full list.

Directory changes[edit | edit source]

  • 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-1.24 file for the full list of moved/deleted files.

Browser support deprecated or removed[edit | edit source]

  • Full support for Internet Explorer 6 and Internet Explorer 7 has been removed: it will browse MediaWiki without JavaScript. JavaScript fixes specific to it have also been removed. Additional IE6 and IE7 fixes that exist in MediaWiki:Common.js and similar can be safely removed.

See Compatibility for more information.

Skins no longer loaded after upgrade?[edit | edit source]

MediaWiki 1.24 no longer uses the skin autodiscovery mechanism to load default skins, instead requiring that the skins be manually loaded in LocalSettings.php, much like extensions (see Manual:Skin configuration#Installing skins). 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[edit | edit source]

New fields:

New indexes:

  • wl_user_notificationtimestamp on Watchlist table

Deleted fields:

Release schedule[edit | edit source]

The anticipated dates for point releases for 1.24 are as follows:

Release Date
1.24.0 2014-11-26
1.24.1 2014-12-17
1.24.2 2015-01-28
1.24.3 2015-02-25
1.24.4 2015-03-25
1.24.5 2015-04-29
1.24.6 2015-05-27
1.24.7 2015-06-24
1.24.8 2015-07-29
1.24.9 2015-08-26
1.24.10 2015-09-30
1.24.11 2015-10-28
1.24.12 2015-11-25