Handle PostgreSQL transaction errors and improve schema detection
[lhc/web/wiklou.git] / RELEASE-NOTES-1.20
1 = MediaWiki release notes =
2
3 Security reminder: MediaWiki does not require PHP's register_globals
4 setting since version 1.2.0. If you have it on, turn it '''off''' if you can.
5
6 == MediaWiki 1.20 ==
7
8 THIS IS NOT A RELEASE YET
9
10 MediaWiki 1.20 is an alpha-quality branch and is not recommended for use in
11 production.
12
13 === Configuration changes in 1.20 ===
14
15 === New features in 1.20 ===
16 * Added TitleIsAlwaysKnown hook which gets called when determining if a page exists.
17 * (bug 32341) Add upload by URL domain limitation.
18 * &useskin=default will now always display the default skin. Useful for users with a
19 preference for the non-default skin to look at something using the default skin.
20 * (bug 31417) New ID mw-content-text around the actual page text, without categories,
21 contentSub, ... The same div often also contains the class mw-content-ltr/rtl.
22 * (bug 27619) Remove preference option to display broken links as link?
23 * (bug 34896) Update jQuery JSON plugin to v2.3 (2011-09-17)
24 * (bug 34302) Add CSS classes to email fields in user preferences
25 * Introduced $wgDebugDBTransactions to trace transaction status (currently PostgreSQL only)
26
27 === Bug fixes in 1.20 ===
28 * (bug 30245) Use the correct way to construct a log page title.
29 * (bug 34237) Regenerate an empty user_token and save to the database
30 when we try to set the user's cookies for login.
31 * (bug 32210) New edit emails for watched pages always provide a link to the
32 edit which triggered the mail.
33 * (bug 12021) Added user talk link on Special:Listusers
34 * (bug 34445) section edit and TOC hide/show links are excluded from selection and
35 copy/paste on supporting browsers
36 * (bug 34428) Fixed incorrect hash mismatch errors in the DiffHistoryBlob
37 history compression method.
38 * (bug 34702) Localised parentheses are now used in more special pages.
39 * (bug 34723) When editing a script page on a RTL wiki the textbox should be LTR.
40 * (bug 34762) Calling close() on a DatabaseBase object now clears the connection.
41 * (bug 34863) Show deletion log extract on non-existent file pages if applicable.
42 * (bug 28019) Let ?preloadtitle=foo be passed on to target of
43 Special:MyPage and Special:MyTalk
44 * (bug 34929) Show the correct diff when a section edit is rejected by the spam
45 filter
46 * (bug 15816) Add a switch for SETting the search_path (Postgres)
47
48 === API changes in 1.20 ===
49 * (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API.
50 * (bug 34313) MediaWiki API intro message about "HTML format" should mention
51 the format parameter.
52
53 === Languages updated in 1.20 ===
54
55 MediaWiki supports over 350 languages. Many localisations are updated
56 regularly. Below only new and removed languages are listed, as well as
57 changes to languages because of Bugzilla reports.
58
59 * (bug 34192) Namespace gender aliases for Albanian languages (sq & aln)
60
61 === Other changes in 1.20 ===
62
63 == Compatibility ==
64
65 MediaWiki 1.20 requires PHP 5.2.3. PHP 4 is no longer supported.
66
67 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
68 support for them is somewhat less mature. There is experimental support for IBM
69 DB2 and Oracle.
70
71 The supported versions are:
72
73 * MySQL 5.0.2 or later
74 * PostgreSQL 8.3 or later
75 * SQLite 3.3.7 or later
76 * Oracle 9.0.1 or later
77
78 == Upgrading ==
79
80 1.20 has several database changes since 1.19, and will not work without schema
81 updates.
82
83 If upgrading from before 1.11, and you are using a wiki as a commons
84 repository, make sure that it is updated as well. Otherwise, errors may arise
85 due to database schema changes.
86
87 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
88 new database fields are filled with data.
89
90 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
91 changes are made, and there is a slightly higher chance that things could
92 break. Don't forget to always back up your database before upgrading!
93
94 See the file UPGRADE for more detailed upgrade instructions.
95
96 For notes on 1.19.x and older releases, see HISTORY.
97
98 == Online documentation ==
99
100 Documentation for both end-users and site administrators is available on
101 MediaWiki.org, and is covered under the GNU Free Documentation License (except
102 for pages that explicitly state that their contents are in the public domain):
103
104 https://www.mediawiki.org/wiki/Documentation
105
106 == Mailing list ==
107
108 A mailing list is available for MediaWiki user support and discussion:
109
110 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
111
112 A low-traffic announcements-only list is also available:
113
114 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
115
116 It's highly recommended that you sign up for one of these lists if you're
117 going to run a public MediaWiki, so you can be notified of security fixes.
118
119 == IRC help ==
120
121 There's usually someone online in #mediawiki on irc.freenode.net.