Jump to content

MediaWiki 1.27

From mediawiki.org
This page is a translated version of the page MediaWiki 1.27 and the translation is 8% complete.

MediaWiki 1.27 is an obsolete long-term support 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 was a Long Term Support release (LTS) which was supported for three years until June 2019. Download the latest releases or checkout the REL1_27 branch in Git to follow this release.

New features

InstantCommons made easier and cheaper

InstantCommons 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 $wgSessionInsecureSecrets = true; . 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 $wgRunJobsAsync and follow the advice 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.
  • $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 $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 that this new branch brought breaking changes to a number of extensions, many of which have not been updated yet. See open subtasks of zadanie 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:

Wydanie Data
1.27.0 2016-06-28[1]
1.27.1 2016-08-22[3]
1.27.2 2017-04-06[4]
1.27.3 2017-04-30[5]
1.27.4 2017-11-14[6]
1.27.5 2018-09-20[7]
1.27.6 2019-06-06[8]
1.27.7 2019-06-07[9]