MediaWiki 1.27

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎magyar • ‎Bahasa Indonesia • ‎italiano • ‎日本語 • ‎한국어 • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文

MediaWiki 1.27 is the current release of MediaWiki. Consult the RELEASE-NOTES file for the full list of changes. It was deployed on Wikimedia Foundation wikis through incremental "1.27.0-wmf.NN" branches from 29 September 2015 to March 2016 (see details of each branch). The 1.27.0 stable release came out on 28 June 2016[1], and will be a Long Term Support release (LTS) which will be supported for three years. Download the latest snapshot or checkout the REL1_27 branch in Git to follow this release.

New features

InstantCommons made easier and cheaper

InstantCommonsInstantCommons will now truly work out of the box, as long as your users can connect to upload.wikimedia.org: thumbnails will be served from that domain instead of requiring local generation (gerrit:251556).

More documentation translation

Works continues on the migration to the Translate extension, now used by about 3000 pages. The size of translations text increased by various megabytes. Thanks go to our tireless translation administrators and translators but also to Google Code-in 2015 students, in particular IoannisKydonis who migrated thousands of translations including the entire Manual:FAQ.

Upgrade notices for MediaWiki administrators

Breaking changes

  • MediaWiki now requires at least PHP 5.5.9. This corresponds with HHVM 3.1.[2]
  • The mbstring PHP extension is now required.
  • If the openssl and mcrypt PHP extensions are both unavailable, secure session storage (used for login) will raise an exception. This exception may be bypassed by setting Manual:$wgSessionInsecureSecretsManual:$wgSessionInsecureSecrets. Note that this bypass is not recommended. It is insecure. You should not use it.
  • After doing the upgrade, many users have problems with pages, which do not appear in their categories although they in fact are categorized correctly. In many cases this is a problem with the job queue. The issue people usually have is that pages do not (in fact: not immediately) appear inside their categories. Reasons may be different: It is possible that the job queue is not working correctly anymore. Please read $wgRunJobsAsyncManual:$wgRunJobsAsync and follow the advices given there in order to solve this issue.
  • The RandomRootPage extension has been merged into MediaWiki core. If you have it installed, you should uninstall it.
  • The ApiSandbox extension has been merged into MediaWiki core. If you have it installed, you should uninstall it.
  • $wgSessionsInObjectCacheManual:$wgSessionsInObjectCache is deprecated and always true, and thus sessions are no longer stored using PHP's session handling (e.g. session.save_path). If you see issues with loss of session data while logging in, ensure you have a persistent shared cache configured for session storage in $wgSessionCacheTypeManual:$wgSessionCacheType.
  • AuthManager. If you're writing a new extension, you should definitely follow Manual:SessionManager and AuthManager and then upgrade to 1.27 to use it. If you are making sure an existing extension is compatible with 1.27, see the updating tips.

Incompatible extensions

Note Note: Note that this new branch brought breaking changes to a number of extensions, many of which have not been updated yet. See open subtasks of task T110291 for a list of extensions which have been identified as needing updates. If you use any of the listed extensions, you should test that they still function properly in your environment before upgrading your production wikis. Patches to update these extensions are welcome.

Release schedule

The dates for point releases for 1.27 were as follows:

Release Date
1.27.0 2016-06-28[1]
1.27.1 2016-08-22[3]

Subpages

  1. 1.0 1.1 https://lists.wikimedia.org/pipermail/mediawiki-announce/2016-June/000191.html
  2. Gerrit change 266931
  3. https://lists.wikimedia.org/pipermail/mediawiki-announce/2016-August/000194.html