Compatibility

From MediaWiki.org
Jump to: navigation, search

Other languages:
English 100% • ‎British English 6% • ‎español 89% • ‎français 83% • ‎日本語 61% • ‎polski 53% • ‎português do Brasil 97% • ‎русский 47% • ‎中文 3%

MediaWiki strives to maintain broad compatibility between versions, and with a range of current and legacy software. At the same time, the constantly-evolving codebase and features of the latest MediaWiki development mean that it is not possible to maintain compatibility with legacy software indefinitely.

Software required to run MediaWiki[edit | edit source]

PHP[edit | edit source]

1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 master
  5.4.x
  5.3.2+
  5.2.3+  
  5.1.x  
  5.0.x  
4.x  
1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 master

The latest version of MediaWiki runs on any version of PHP 5.3.2 to PHP 5.4. At this time, PHP 5.5 and greater have unresoved issues and might cause some functions to break.

The latest versions of MediaWiki contain features which are not supported by PHP 5.0, 5.1 and 5.2; attempts to run with these versions will fail.

PHP 4 is unsupported since MediaWiki 1.7, and attempts to run it will fail. If you are unable to upgrade your environment to PHP 5, you must use MW 1.6; note that this release has security issues and is no longer supported by the MW community (neither is PHP 4 supported by the PHP one).

MediaWiki 1.18 and later may additionally target the HipHop compiler, which will impose a few additional constraints on compatibility and coding style.

Database[edit | edit source]

1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 master
MySQL 5
MySQL 4  
MySQL 3  
  SQLite 3+
  PostgreSQL 8.3+
  PostgreSQL 8.1  
1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 master

MediaWiki is compatible with a variety of database servers, although support is strongest for MySQL.

Support for any other database software ranges from dubious to stable; architectures for which classes exist have at least some support. Anything other than MySQL is not recommended for production use at this point.

Web server[edit | edit source]

MediaWiki is broadly compatible with all major web servers that can invoke PHP. Compatibility is strongest for Apache and IIS. So long as the webserver version supports the required PHP version based on the matrix outlined here.

Software for using MediaWiki[edit | edit source]

Browser[edit | edit source]

Grade A[edit | edit source]

1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 master
  Internet Explorer 9+
  Firefox 4+
  Safari 5.0+
  Opera 11.6+
  Chrome 17+
Internet Explorer 6-8  
Internet Explorer <= 5.5  
  Firefox 2  
  Firefox 3  
1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 master
  Safari 3  
  Opera 11.0-11.5  
  Opera 9-11.0  
  Chrome 1-5  
1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 master

All current major web browsers are compatible with most versions of MediaWiki. "Grade A" functionality is maintained for the following browser requirements:

  • Internet Explorer 9+
  • Firefox 4+
  • Safari 5.0+
  • Opera 11.6+
  • Chrome 17+

Grade B[edit | edit source]

1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 master
Internet Explorer 6+
  Firefox 2.0+
  Safari 3+
  Opera 10+
  Chrome 9+
Internet Explorer <= 5.5  
  Chrome 5-9  
  Chrome 1-5  
1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 master

Basic compatibility is maintained for legacy versions of web browsers until they fall to a sufficiently low level of utilization (typically under 0.1%). In particular, compatibility is currently maintained for:

  • Internet Explorer 6+[1]
  • Firefox 2.0+
  • Safari 3.0+
  • Opera 10.0+
  • Chrome 9+

Browsers which are not explicitly marked as incompatible are often generally compatible. Support is not guaranteed for old non-standards compatible browsers and issues with those browsers might not be resolved. Security vulnerabilities affecting any browser will be addressed if possible.

Mobile browsers[edit | edit source]

1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 master
  Mobile Safari ??
  Android browser 2.1+
  BlackBerry browser 5.0+
  Opera Mini 4.1+
1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 master

In addition, MediaWiki supports reading and navigation (but not necessarily contributing) in several mobile browsers. Be aware that mobile versions of Safari, Firefox, and Opera are not quite the same as their desktop equivalents. While built on the same rendering engines, they may lack support for some features, add support for other mobile-specific features (such as touch events), or alter the display of pages to better fit on a small screen.

CSS[edit | edit source]

MediaWiki is compatible with user agents which do not process CSS3 markup. Some additional features are available to browsers which can process these styles.

JavaScript[edit | edit source]

MediaWiki is accessible to user agents which do not process JavaScript. MediaWiki degrades gracefully and all essential functionality works without JavaScript, although some things might be less convenient.

Text-only browsers[edit | edit source]

MediaWiki is accessible to text-only user agents such as Lynx, and to interpreters such as JAWS. Some functionality is reduced.

Note that older text-only browsers like Lynx are not representative of text-to-speech assistive tools like JAWS and other screen readers, which tie into browsers such as Internet Explorer and Firefox through their accessibility interfaces and make use of CSS styles, dynamic JavaScript, etc.

Notes[edit | edit source]

  1. Note: IE8 users on Windows XP SP3 have *.wikipedia.org sites automatically forced to "compatibility mode" degradation to IE7 behavior; as of June 2013, this has not been remedied by the manufacturer. See bug 49548.

See also[edit | edit source]