(bug 39005) Add $wgPurgeHttp11.
[lhc/web/wiklou.git] / RELEASE-NOTES-1.21
1 = MediaWiki release notes =
2
3 Security reminder: MediaWiki does not require PHP's register_globals. If you
4 have it on, turn it '''off''' if you can.
5
6 == MediaWiki 1.21 ==
7
8 THIS IS NOT A RELEASE YET
9
10 MediaWiki 1.21 is an alpha-quality branch and is not recommended for use in
11 production.
12
13 === Configuration changes in 1.21 ===
14 * (bug 29374) $wgVectorUseSimpleSearch is now enabled by default.
15 * Deprecated $wgAllowRealName is removed. Use $wgHiddenPrefs[] = 'realname'
16 instead.
17 * Added a $wgPurgeHttp11 setting to allow SquidPurgeClient to send PURGE requests
18 using HTTP/1.1 and a Host header instead of sending HTTP/1.0 requests with the
19 whole url inside the PURGE <...> HTTP/1.0 line.
20
21 === New features in 1.21 ===
22 * (bug 34876) jquery.makeCollapsible has been improved in performance.
23 * Added ContentHandler facility to allow extensions to support other content than wikitext.
24 See docs/contenthandler.txt for details.
25 * New feature was developed for showing high-DPI thumbnails for high-DPI mobile
26 and desktop displays (configurable with $wgResponsiveImages).
27 * Added new backend to represent and store information about sites and site
28 specific configuration.
29 * jQuery UI upgraded from 1.8.23 to 1.8.24.
30 * Added separate fa_sha1 field to filearchive table. This allows sha1
31 searches with the api in miser mode for deleted files.
32
33 === Bug fixes in 1.21 ===
34 * (bug 40353) SpecialDoubleRedirect should support interwiki redirects.
35 * (bug 40352) fixDoubleRedirects.php should support interwiki redirects.
36 * (bug 9237) SpecialBrokenRedirect should not list interwiki redirects.
37 * (bug 34960) Drop unused fields rc_moved_to_ns and rc_moved_to_title from
38 recentchanges table.
39 * (bug 32951) Do not register internal externals with absolute protocol,
40 when server has relative protocol.
41
42 === API changes in 1.21 ===
43 * prop=revisions can now report the contentmodel and contentformat, see docs/contenthandler.txt
44 * action=edit and action=parse now support contentmodel and contentformat parameters to control the interpretation of
45 page content; See docs/contenthandler.txt for details.
46 * (bug 35693) ApiQueryImageInfo now suppresses errors when unserializing metadata.
47 * (bug 40111) Disable minor edit for page/section creation by API
48
49 === Languages updated in 1.21 ===
50
51 MediaWiki supports over 350 languages. Many localisations are updated
52 regularly. Below only new and removed languages are listed, as well as
53 changes to languages because of Bugzilla reports.
54 === Other changes in 1.21 ===
55
56 == Compatibility ==
57
58 MediaWiki 1.21 requires PHP 5.3.2 or later.
59
60 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
61 support for them is somewhat less mature. There is experimental support for IBM
62 DB2 and Oracle.
63
64 The supported versions are:
65
66 * MySQL 5.0.2 or later
67 * PostgreSQL 8.3 or later
68 * SQLite 3.3.7 or later
69 * Oracle 9.0.1 or later
70
71 == Upgrading ==
72
73 1.21 has several database changes since 1.20, and will not work without schema
74 updates. Note that due to changes to some very large tables like the revision
75 table, the schema update may take quite long (minutes on a medium sized site,
76 many hours on a large site).
77
78 If upgrading from before 1.11, and you are using a wiki as a commons
79 repository, make sure that it is updated as well. Otherwise, errors may arise
80 due to database schema changes.
81
82 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
83 new database fields are filled with data.
84
85 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
86 changes are made, and there is a slightly higher chance that things could
87 break. Don't forget to always back up your database before upgrading!
88
89 See the file UPGRADE for more detailed upgrade instructions.
90
91 For notes on 1.19.x and older releases, see HISTORY.
92
93 == Online documentation ==
94
95 Documentation for both end-users and site administrators is available on
96 MediaWiki.org, and is covered under the GNU Free Documentation License (except
97 for pages that explicitly state that their contents are in the public domain):
98
99 https://www.mediawiki.org/wiki/Documentation
100
101 == Mailing list ==
102
103 A mailing list is available for MediaWiki user support and discussion:
104
105 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
106
107 A low-traffic announcements-only list is also available:
108
109 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
110
111 It's highly recommended that you sign up for one of these lists if you're
112 going to run a public MediaWiki, so you can be notified of security fixes.
113
114 == IRC help ==
115
116 There's usually someone online in #mediawiki on irc.freenode.net.