Merge "Add passing ''italic'''s case to 'Unclosed and unmatched quotes' test"
[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 * Added NamespaceIsMovable hook which gets called when determining if pages in a
27 certain namespace can be moved.
28 * (bug 32341) Add upload by URL domain limitation.
29 * &useskin=default will now always display the default skin. Useful for users with a
30 preference for the non-default skin to look at something using the default skin.
31 * (bug 27619) Remove preference option to display broken links as link?
32 * (bug 34896) Update jQuery JSON plugin to v2.3 (2011-09-17).
33 * (bug 34302) Add CSS classes to email fields in user preferences.
34 * Introduced $wgDebugDBTransactions to trace transaction status (currently PostgreSQL only).
35 * (bug 23795) Add parser itself to ParserMakeImageParams hook.
36 * Introduce a cryptographic random number generator source api for use when
37 generating various tokens.
38 * (bug 30963) Option on Special:Prefixindex and Special:Allpages to not show redirects.
39 * (bug 18062) New message when edit or create the local page of a shared file.
40 * (bug 22870) Separate interface message when creating a page.
41 * (bug 17615) nosummary option should be reassigned on preview/captcha.
42 * (bug 34355) Add a variable and parser function for the namespace number.
43 * (bug 35649) Special:Version now shows hashes of extensions checked out from git.
44 * (bug 35728) Git revisions are now linked on Special:Version.
45 * "Show Changes" on default messages shows now diff against default message text
46 * (bug 23006) create #speciale parser function.
47 * generateSitemap can now optionally skip redirect pages.
48 * (bug 27757) New API command just for retrieving tokens (not page-based).
49 * Added GitViewers hook for extensions using external git repositories to have a web-based
50 repository viewer linked to from Special:Version.
51 * Memcached debug logs can now be sent to their own file logs by setting
52 $wgDebugLogFile['memcached'] to some filepath.
53 * (bug 35685) api.php URL and other entry point URLs are now listed on
54 Special:Version
55 * Edit notices can now be translated.
56 * (bug 35680) jQuery upgraded to 1.7.2.
57 * jQuery UI upgraded to 1.8.21.
58 * (bug 22887) Add warning and tracking category for preprocessor errors
59 * (bug 31704) Allow selection of associated namespace on the watchlist
60 * (bug 5445) Now remove autoblocks when a user is unblocked.
61 * Added $wgLogExceptionBacktrace, on by default, to allow logging of exception
62 backtraces.
63 * Added device detection for determining device capabilities.
64 * QUnit.newMwEnvironment now supports passing a custom setup and/or teardown function.
65 Arguments signature has changed. First arguments is now an options object of which
66 'config' can be a property. Previously 'config' itself was the first and only argument.
67 * New getCreator and getOldestRevision methods added to WikiPage class
68 * (bug 4220) the XML dump format schema now have unique identity constraints
69 for page and revision identifiers. Patch by Elvis Stansvik.
70 * (bug 35705) QUnit upgraded from v1.2.0 to v1.8.0.
71 * cleanupSpam.php now can delete spam pages if --delete was specified instead of blanking
72 them.
73 * Added new hook ChangePasswordForm to allow adding of additional fields in Special:ChangePassword
74 * Added new function getDomain to AuthPlugin for getting a user's domain
75 * (bug 23427) New magic word {{PAGEID}} which gives the current page ID.
76 Will be null on previewing a page being created.
77
78 === Bug fixes in 1.20 ===
79 * (bug 30245) Use the correct way to construct a log page title.
80 * (bug 34237) Regenerate an empty user_token and save to the database
81 when we try to set the user's cookies for login.
82 * (bug 32210) New edit emails for watched pages always provide a link to the
83 edit which triggered the mail.
84 * (bug 12021) Added user talk link on Special:Listusers.
85 * (bug 34445) section edit and TOC hide/show links are excluded from selection and
86 copy/paste on supporting browsers.
87 * (bug 34428) Fixed incorrect hash mismatch errors in the DiffHistoryBlob
88 history compression method.
89 * (bug 34702) Localised parentheses are now used in more special pages.
90 * (bug 34723) When editing a script page on a RTL wiki the textbox should be LTR.
91 * (bug 34762) Calling close() on a DatabaseBase object now clears the connection.
92 * (bug 34863) Show deletion log extract on non-existent file pages if applicable.
93 * (bug 28019) Let ?preloadtitle=foo be passed on to target of
94 Special:MyPage and Special:MyTalk.
95 * (bug 34929) Show the correct diff when a section edit is rejected by the spam
96 filter.
97 * (bug 15816) Add a switch for SETting the search_path (Postgres).
98 * (bug 34521) Returning to the previous page after logging in loses any array-
99 valued parameters in the query string.
100 * (bug 34735) Updated compressOld.php documentation to mention the different
101 usages of -s and -n parameters depending on compression type.
102 * (bug 13896) Rendering of devanagari numbers in automatic '#' number lists.
103 * (bug 33689) Upgrade to 1.19 on Postgres fails due to incomplete query when.
104 trying to defer foreign key for externallinks.
105 * (bug 32748) Printer friendly version of article decode Unicode chars as a
106 pretty IRI in footer.
107 * Removed white border around thumbnails in galleries.
108 * (bug 31236) "Next" and "Previous" buttons are shown incorrectly in
109 an RTL environment.
110 * (bug 35749) Updated maintenance/checkSyntax.php to use Git instead of
111 Subversion when invoked with the --modified option.
112 * (bug 35069) On history pages, the " . . " separator after the number of
113 characters changed in a revision is now suppressed if no text would follow.
114 * (bug 18704) Add a unique CSS class or ID to the tagfilter table row at RecentChanges
115 * (bug 33564) transwiki import sometimes result in invalid title.
116 * (bug 35572) Blocks appear to succeed even if query fails due to wrong DB structure
117 * (bug 31757) Add a word-separator between help-messages in HTMLForm
118 * (bug 30410) Removed deprecated $wgFilterCallback and the 'filtered' API error.
119 * (bug 32604) Some messages needs escaping of wikitext inside username
120 * (bug 36537) Rename wfArrayToCGI to wfArrayToCgi for consistency with wfCgiToArray.
121 * (bug 25946) The message on the top of Special:RecentChanges is now displayed
122 in user language instead of content language.
123 * (bug 35264) Wrong type used for <ns> in export.xsd
124 * (bug 24985) Use $wgTmpDirectory as the default temp directory so that people
125 who don't have access to /tmp can specify an alternative.
126 * (bug 27283) SqlBagOStuff breaks PostgreSQL transactions.
127 * (bug 35727) mw.Api ajax() should put token parameter last.
128 * (bug 260) Handle <pre> overflow automatically with a scroll bar.
129
130 === API changes in 1.20 ===
131 * (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API.
132 * (bug 34313) MediaWiki API intro message about "HTML format" should mention
133 the format parameter.
134 * (bug 32384) Allow descending order for list=watchlistraw.
135 * (bug 31883) Limit of bkusers of list=blocks and titles of action=query is not documented in API help.
136 * (bug 32492) API now allows editing using pageid.
137 * (bug 32497) API now allows changing of protection level using pageid.
138 * (bug 32498) API now allows comparing pages using pageids.
139 * (bug 30975) API import of pages with invalid characters in this wiki leads to Fatal Error.
140 * (bug 30488) API now allows listing of backlinks/embeddedin/imageusage per pageid
141 * (bug 34927) Output media_type for list=filearchive
142 * (bug 28814) add properties to output of action=parse
143 * (bug 33224) add variants of content language to meta=siteinfo
144 * (bug 36761) "Mark pages as visited" now submits previously established filter options
145 * (bug 32643) action=purge with forcelinkupdate no longer crashes when ratelimit is reached
146 * The paraminfo module now also contains result properties for most modules
147
148 === Languages updated in 1.20 ===
149
150 MediaWiki supports over 350 languages. Many localisations are updated
151 regularly. Below only new and removed languages are listed, as well as
152 changes to languages because of Bugzilla reports.
153
154 * Tornedalen Finnish (fit) added.
155 * Mizo (lus) added.
156 * Santali (sat) added.
157 * (bug 34192) Namespace gender aliases for Albanian languages (sq & aln).
158 * (bug 35541) Namespace gender aliases for Croatian (hr).
159 * (bug 36012) Space in $separatorTransformTable should be non-breaking in
160 Portuguese, Esperanto and Udmurt.
161
162 === Other changes in 1.20 ===
163 * The user_token field is now left empty until a user attempts to login and
164 cookies need to be set. It is also now possible to reset every user's
165 user_token simply by clearing the values in the user_token column.
166 * Removed ./tests/qunit/index.html from core. It wasn't actively maintained and
167 has been made obsolete when [[Special:JavaScriptTest/qunit]] was introduced,
168 which actually uses ResourceLoader, LocalSettings and the Skin.
169 * Removed $wgDBtransactions global. This was only checked in one class
170 and only applies to MyISAM or similar DBs. Those should only be used
171 for archived sites anyway. We can't get edit conflicts on such sites,
172 so the WikiPage code wasn't useful there either.
173
174 == Compatibility ==
175
176 MediaWiki 1.20 requires PHP 5.3.2. PHP 4 is no longer supported.
177
178 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
179 support for them is somewhat less mature. There is experimental support for IBM
180 DB2 and Oracle.
181
182 The supported versions are:
183
184 * MySQL 5.0.2 or later
185 * PostgreSQL 8.3 or later
186 * SQLite 3.3.7 or later
187 * Oracle 9.0.1 or later
188
189 == Upgrading ==
190
191 1.20 has several database changes since 1.19, and will not work without schema
192 updates.
193
194 If upgrading from before 1.11, and you are using a wiki as a commons
195 repository, make sure that it is updated as well. Otherwise, errors may arise
196 due to database schema changes.
197
198 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
199 new database fields are filled with data.
200
201 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
202 changes are made, and there is a slightly higher chance that things could
203 break. Don't forget to always back up your database before upgrading!
204
205 See the file UPGRADE for more detailed upgrade instructions.
206
207 For notes on 1.19.x and older releases, see HISTORY.
208
209 == Online documentation ==
210
211 Documentation for both end-users and site administrators is available on
212 MediaWiki.org, and is covered under the GNU Free Documentation License (except
213 for pages that explicitly state that their contents are in the public domain):
214
215 https://www.mediawiki.org/wiki/Documentation
216
217 == Mailing list ==
218
219 A mailing list is available for MediaWiki user support and discussion:
220
221 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
222
223 A low-traffic announcements-only list is also available:
224
225 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
226
227 It's highly recommended that you sign up for one of these lists if you're
228 going to run a public MediaWiki, so you can be notified of security fixes.
229
230 == IRC help ==
231
232 There's usually someone online in #mediawiki on irc.freenode.net.