Checking out RELEASE-NOTES-1.19 from branch gerrit/REL1_19
[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 === PHP 5.3 now required ===
14 Since 1.20, the lowest supported version of PHP is now 5.3.2. Please
15 upgrade PHP if you have not done so prior to upgrading MediaWiki.
16
17 === Configuration changes in 1.20 ===
18 * $wgGitRepositoryViewers defines a mapping from Git remote repository to the
19 Gitweb instance URL used in Special:Version
20 * `$wgUsePathInfo = true;` is no longer needed to make $wgArticlePath work on servers
21 using like nginx, lighttpd, and apache over fastcgi. MediaWiki now always extracts
22 path info from REQUEST_URI if it's available.
23
24 === New features in 1.20 ===
25 * Added TitleIsAlwaysKnown hook which gets called when determining if a page exists.
26 * (bug 32341) Add upload by URL domain limitation.
27 * &useskin=default will now always display the default skin. Useful for users with a
28 preference for the non-default skin to look at something using the default skin.
29 * (bug 27619) Remove preference option to display broken links as link?
30 * (bug 34896) Update jQuery JSON plugin to v2.3 (2011-09-17).
31 * (bug 34302) Add CSS classes to email fields in user preferences.
32 * Introduced $wgDebugDBTransactions to trace transaction status (currently PostgreSQL only).
33 * (bug 23795) Add parser itself to ParserMakeImageParams hook.
34 * Introduce a cryptographic random number generator source api for use when
35 generating various tokens.
36 * (bug 30963) Option on Special:Prefixindex and Special:Allpages to not show redirects.
37 * (bug 18062) new message when edit or create the local page of a shared file.
38 * (bug 22870) Separate interface message when creating a page.
39 * (bug 17615) nosummary option should be reassigned on preview/captcha.
40 * (bug 34355) add a variable and parser function for the namespace number.
41 * (bug 35649) Special:Version now shows hashes of extensions checked out from git.
42 * (bug 35728) Git revisions are now linked on Special:Version.
43 * "Show Changes" on default messages shows now diff against default message text
44 * (bug 23006) create #speciale parser function.
45 * generateSitemap can now optionally skip redirect pages.
46 * (bug 27757) new API command just for retrieving tokens (not page-based)
47 * Added GitViewers hook for extensions using external git repositories to have a web-based
48 repository viewer linked to from Special:Version.
49 * Memcached debug logs can now be sent to their own file logs by setting
50 $wgDebugLogFile['memcached'] to some filepath.
51 * (bug 35685) api.php URL and other entry point URLs are now listed on
52 Special:Version
53 * Edit notices can now be translated.
54 * (bug 22887) Add warning and tracking category for preprocessor errors
55 * (bug 31704) Allow selection of associated namespace on the watchlist
56 * (bug 5445) Now remove autoblocks when a user is unblocked.
57 * Added $wgLogExceptionBacktrace, on by default, to allow logging of exception
58 backtraces.
59
60 === Bug fixes in 1.20 ===
61 * (bug 30245) Use the correct way to construct a log page title.
62 * (bug 34237) Regenerate an empty user_token and save to the database
63 when we try to set the user's cookies for login.
64 * (bug 32210) New edit emails for watched pages always provide a link to the
65 edit which triggered the mail.
66 * (bug 12021) Added user talk link on Special:Listusers.
67 * (bug 34445) section edit and TOC hide/show links are excluded from selection and
68 copy/paste on supporting browsers.
69 * (bug 34428) Fixed incorrect hash mismatch errors in the DiffHistoryBlob
70 history compression method.
71 * (bug 34702) Localised parentheses are now used in more special pages.
72 * (bug 34723) When editing a script page on a RTL wiki the textbox should be LTR.
73 * (bug 34762) Calling close() on a DatabaseBase object now clears the connection.
74 * (bug 34863) Show deletion log extract on non-existent file pages if applicable.
75 * (bug 28019) Let ?preloadtitle=foo be passed on to target of
76 Special:MyPage and Special:MyTalk.
77 * (bug 34929) Show the correct diff when a section edit is rejected by the spam
78 filter.
79 * (bug 15816) Add a switch for SETting the search_path (Postgres).
80 * (bug 34521) Returning to the previous page after logging in loses any array-
81 valued parameters in the query string.
82 * (bug 34735) Updated compressOld.php documentation to mention the different
83 usages of -s and -n parameters depending on compression type.
84 * (bug 13896) Rendering of devanagari numbers in automatic '#' number lists.
85 * (bug 33689) Upgrade to 1.19 on Postgres fails due to incomplete query when.
86 trying to defer foreign key for externallinks.
87 * (bug 32748) Printer friendly version of article decode Unicode chars as a
88 pretty IRI in footer.
89 * Removed white border around thumbnails in galleries.
90 * (bug 31236) "Next" and "Previous" buttons are shown incorrectly in
91 an RTL environment.
92 * (bug 35680) jQuery upgraded to 1.7.2.
93 * jQuery UI upgraded to 1.8.19.
94 * (bug 35705) QUnit upgraded from 1.2.0 to 1.5.0
95 * (bug 35749) Updated maintenance/checkSyntax.php to use Git instead of
96 Subversion when invoked with the --modified option.
97 * (bug 35069) On history pages, the " . . " separator after the number of
98 characters changed in a revision is now suppressed if no text would follow.
99 * (bug 18704) Add a unique CSS class or ID to the tagfilter table row at RecentChanges
100 * (bug 33564) transwiki import sometimes result in invalid title.
101 * (bug 35572) Blocks appear to succeed even if query fails due to wrong DB structure
102 * (bug 31757) Add a word-separator between help-messages in HTMLForm
103 * (bug 30410) Removed deprecated $wgFilterCallback and the 'filtered' API error.
104 * (bug 32604) Some messages needs escaping of wikitext inside username
105 * (bug 36537) Rename wfArrayToCGI to wfArrayToCgi for consistency with wfCgiToArray.
106
107 === API changes in 1.20 ===
108 * (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API.
109 * (bug 34313) MediaWiki API intro message about "HTML format" should mention
110 the format parameter.
111 * (bug 32384) Allow descending order for list=watchlistraw.
112 * (bug 31883) Limit of bkusers of list=blocks and titles of action=query is not documented in API help.
113 * (bug 32492) API now allows editing using pageid
114 * (bug 32497) API now allows changing of protection level using pageid
115 * (bug 32498) API now allows comparing pages using pageids
116 * (bug 30975) API import of pages with invalid characters in this wiki leads to Fatal Error
117 * (bug 30488) API now allows listing of backlinks/embeddedin/imageusage per pageid
118 * (bug 34927) Output media_type for list=filearchive
119 * (bug 28814) add properties to output of action=parse
120 * (bug 33224) add variants of content language to meta=siteinfo
121
122 === Languages updated in 1.20 ===
123
124 MediaWiki supports over 350 languages. Many localisations are updated
125 regularly. Below only new and removed languages are listed, as well as
126 changes to languages because of Bugzilla reports.
127
128 * Mizo (lus) added.
129 * Santali (sat) added.
130 * (bug 34192) Namespace gender aliases for Albanian languages (sq & aln).
131 * (bug 35541) Namespace gender aliases for Croatian (hr).
132 * (bug 36012) Space in $separatorTransformTable should be non-breaking in
133 Portuguese, Esperanto and Udmurt.
134
135 === Other changes in 1.20 ===
136 * The user_token field is now left empty until a user attempts to login and
137 cookies need to be set. It is also now possible to reset every user's
138 user_token simply by clearing the values in the user_token column.
139 * Removed ./tests/qunit/index.html from core. It wasn't actively maintained and
140 has been made obsolete when [[Special:JavaScriptTest/qunit]] was introduced,
141 which actually uses ResourceLoader, LocalSettings and the Skin.
142
143 == Compatibility ==
144
145 MediaWiki 1.20 requires PHP 5.3.2. PHP 4 is no longer supported.
146
147 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
148 support for them is somewhat less mature. There is experimental support for IBM
149 DB2 and Oracle.
150
151 The supported versions are:
152
153 * MySQL 5.0.2 or later
154 * PostgreSQL 8.3 or later
155 * SQLite 3.3.7 or later
156 * Oracle 9.0.1 or later
157
158 == Upgrading ==
159
160 1.20 has several database changes since 1.19, and will not work without schema
161 updates.
162
163 If upgrading from before 1.11, and you are using a wiki as a commons
164 repository, make sure that it is updated as well. Otherwise, errors may arise
165 due to database schema changes.
166
167 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
168 new database fields are filled with data.
169
170 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
171 changes are made, and there is a slightly higher chance that things could
172 break. Don't forget to always back up your database before upgrading!
173
174 See the file UPGRADE for more detailed upgrade instructions.
175
176 For notes on 1.19.x and older releases, see HISTORY.
177
178 == Online documentation ==
179
180 Documentation for both end-users and site administrators is available on
181 MediaWiki.org, and is covered under the GNU Free Documentation License (except
182 for pages that explicitly state that their contents are in the public domain):
183
184 https://www.mediawiki.org/wiki/Documentation
185
186 == Mailing list ==
187
188 A mailing list is available for MediaWiki user support and discussion:
189
190 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
191
192 A low-traffic announcements-only list is also available:
193
194 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
195
196 It's highly recommended that you sign up for one of these lists if you're
197 going to run a public MediaWiki, so you can be notified of security fixes.
198
199 == IRC help ==
200
201 There's usually someone online in #mediawiki on irc.freenode.net.