Rename "user" and "text" when upgrading on PostgreSQL
[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 27619) Remove preference option to display broken links as link?
21 * (bug 34896) Update jQuery JSON plugin to v2.3 (2011-09-17)
22 * (bug 34302) Add CSS classes to email fields in user preferences
23 * Introduced $wgDebugDBTransactions to trace transaction status (currently PostgreSQL only)
24 * (bug 23795) Add parser itself to ParserMakeImageParams hook.
25 * Introduce a cryptographic random number generator source api for use when
26 generating various tokens.
27
28 === Bug fixes in 1.20 ===
29 * (bug 30245) Use the correct way to construct a log page title.
30 * (bug 34237) Regenerate an empty user_token and save to the database
31 when we try to set the user's cookies for login.
32 * (bug 32210) New edit emails for watched pages always provide a link to the
33 edit which triggered the mail.
34 * (bug 12021) Added user talk link on Special:Listusers
35 * (bug 34445) section edit and TOC hide/show links are excluded from selection and
36 copy/paste on supporting browsers
37 * (bug 34428) Fixed incorrect hash mismatch errors in the DiffHistoryBlob
38 history compression method.
39 * (bug 34702) Localised parentheses are now used in more special pages.
40 * (bug 34723) When editing a script page on a RTL wiki the textbox should be LTR.
41 * (bug 34762) Calling close() on a DatabaseBase object now clears the connection.
42 * (bug 34863) Show deletion log extract on non-existent file pages if applicable.
43 * (bug 28019) Let ?preloadtitle=foo be passed on to target of
44 Special:MyPage and Special:MyTalk
45 * (bug 34929) Show the correct diff when a section edit is rejected by the spam
46 filter
47 * (bug 15816) Add a switch for SETting the search_path (Postgres)
48 * (bug 34521) Returning to the previous page after logging in loses any array-
49 valued parameters in the query string
50 * (bug 34735) Updated compressOld.php documentation to mention the different
51 usages of -s and -n parameters depending on compression type
52 * (bug 13896) Rendering of devanagari numbers in automatic '#' number lists
53 * (bug 18704) Add an unique CSS class or ID to the tagfilter table row at RecentChanges
54
55 === API changes in 1.20 ===
56 * (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API.
57 * (bug 34313) MediaWiki API intro message about "HTML format" should mention
58 the format parameter.
59
60 === Languages updated in 1.20 ===
61
62 MediaWiki supports over 350 languages. Many localisations are updated
63 regularly. Below only new and removed languages are listed, as well as
64 changes to languages because of Bugzilla reports.
65
66 * (bug 34192) Namespace gender aliases for Albanian languages (sq & aln)
67 * Mizo (lus) added
68
69 === Other changes in 1.20 ===
70 * The user_token field is now left empty until a user attempts to login and
71 cookies need to be set. It is also now possible to reset every user's
72 user_token simply by clearing the values in the user_token column.
73
74 == Compatibility ==
75
76 MediaWiki 1.20 requires PHP 5.2.3. PHP 4 is no longer supported.
77
78 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
79 support for them is somewhat less mature. There is experimental support for IBM
80 DB2 and Oracle.
81
82 The supported versions are:
83
84 * MySQL 5.0.2 or later
85 * PostgreSQL 8.3 or later
86 * SQLite 3.3.7 or later
87 * Oracle 9.0.1 or later
88
89 == Upgrading ==
90
91 1.20 has several database changes since 1.19, and will not work without schema
92 updates.
93
94 If upgrading from before 1.11, and you are using a wiki as a commons
95 repository, make sure that it is updated as well. Otherwise, errors may arise
96 due to database schema changes.
97
98 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
99 new database fields are filled with data.
100
101 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
102 changes are made, and there is a slightly higher chance that things could
103 break. Don't forget to always back up your database before upgrading!
104
105 See the file UPGRADE for more detailed upgrade instructions.
106
107 For notes on 1.19.x and older releases, see HISTORY.
108
109 == Online documentation ==
110
111 Documentation for both end-users and site administrators is available on
112 MediaWiki.org, and is covered under the GNU Free Documentation License (except
113 for pages that explicitly state that their contents are in the public domain):
114
115 https://www.mediawiki.org/wiki/Documentation
116
117 == Mailing list ==
118
119 A mailing list is available for MediaWiki user support and discussion:
120
121 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
122
123 A low-traffic announcements-only list is also available:
124
125 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
126
127 It's highly recommended that you sign up for one of these lists if you're
128 going to run a public MediaWiki, so you can be notified of security fixes.
129
130 == IRC help ==
131
132 There's usually someone online in #mediawiki on irc.freenode.net.