(bug 17897) Uninitialized string offset in <pre> tags. Patch by Luigi Corsaro. No...
[lhc/web/wiklou.git] / RELEASE-NOTES
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.15 ==
7
8 THIS IS NOT A RELEASE YET
9
10 MediaWiki is now using a "continuous integration" development model with
11 quarterly snapshot releases. The latest development code is always kept
12 "ready to run", and in fact runs our own sites on Wikipedia.
13
14 Release branches will continue to receive security updates for about a year
15 from first release, but nonessential bugfixes and feature developments
16 will be made on the development trunk and appear in the next quarterly release.
17
18 Those wishing to use the latest code instead of a branch release can obtain
19 it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
20
21 === Configuration changes in 1.15 ===
22
23 * Added $wgNewPasswordExpiry, to specify an expiry time (in seconds) to
24 temporary passwords
25 * Added $wgUseTwoButtonsSearchForm to choose the Search form behavior/look
26 * Added $wgNoFollowDomainExceptions to allow exempting particular domain names
27 from rel="nofollow" on external links
28 * (bug 12970) Added $wgForceClientThumbnails to force client rendering of thumbs,
29 instead of falling back to GD.
30 * Added $wgRedirectOnLogin to allow specifying a specifc page to redirect users
31 to upon logging in (ex: "Main Page")
32
33 === New features in 1.15 ===
34
35 * (bug 2242) Add an expiry time to temporary passwords
36 * (bug 9947) Add PROTECTIONLEVEL parser function to return the protection level
37 for the current page for a given action
38 * (bug 17002) Add &minor= and &summary= as parameters in the url when editing,
39 to automatically add a summary or a minor edit.
40 * (bug 16852) padleft and padright now accept multiletter pad characters
41 * When using 'UserCreateForm' hook to add new checkboxes into
42 Special:UserLogin/signup, the messages can now contain HTML to allow
43 hyperlinking to the site's Terms of Service page, for example
44 * Add new hook 'UserLoadFromDatabase' that is called while loading a user
45 from the database.
46 * (bug 17045) Options on the block form are prefilled with the options of the
47 existing block when modifying an existing block.
48 * (bug 17055) "(show/hide)" links to Special:RevisionDelete now use a CSS class
49 rather than hardcoded HTML tags
50 * Added new hook 'WantedPages::getSQL' into SpecialWantedpages.php to allow
51 extensions to alter the SQL query which is used to get the list of wanted
52 pages
53 * (bugs 16957/16969) Add show/hide to preferences for RC patrol options on
54 specialpages
55 * (bug 11443) Auto-noindex user/user talk pages for blocked user
56 * (bug 11644) Add $wgMaxRedirects variable to control how many redirects are
57 recursed through until the "destination" page is reached.
58 * Add $wgInvalidRedirectTargets variable to prevent redirects to certain
59 special pages.
60 * Use HTML5 rel attributes for some links, where appropriate
61 * Added optional alternative Search form look - Go button & Advanced search
62 link instead of Go button & Search button
63 * (bug 2314) Add links to user custom CSS and JS to Special:Preferences
64 * More helpful error message on raw page access if PHP_SELF isn't set
65 * (bug 13040) Gender switch in user preferences
66 * (bug 13040) {{GENDER:}} magic word for interface messages
67 * (bug 3301) Optionally sort user list according to account creation time
68 * Remote description pages for foreign file repos are now fetched in the
69 content language.
70 * (bug 17180) If $wgUseFileCache is enabled, $wgShowIPinHeader is automatically
71 set to false.
72 * (bug 16604) Mark non-patrolled edits in feeds with "!"
73 * (bug 16604) Show title/rev in IRC for patrol log
74 * (bug 16854) Whether a page is being parsed as a preview or section preview
75 can now be determined and set with ParserOptions.
76 * Wrap message 'confirmemail_pending' into a div with CSS classes "error" and
77 "mw-confirmemail-pending"
78 * (bug 8249) The magic words for namespaces and pagenames can now be used as
79 parser functions to return the desired namespace or normalized title/title
80 part for a given title.
81 * (bug 17110) Styled #mw-data-after-content in cologneblue.css to match the
82 rest of the font
83 * (bug 7556) Time zone names in signatures lack i18n
84 * (bug 3311) Automatic category redirects
85 * (bug 17236) Suppress 'watch user page link' for IP range blocks
86 * Wrap message 'searchresulttext' (Special:Search) into a div with
87 class "mw-searchresult"
88 * (bug 15283) Interwiki imports can now fetch included templates
89 * Treat svn:// URLs as external links by default
90 * New function to convert namespace text for display (only applies on wiki with
91 LanguageConverter class)
92 * (bug 17379) Contributions-title is now parsed for magic words.
93 * Preprocessor output now cached in memcached.
94 * (bug 14468) Lines in classic RecentChanges and Watchlist have classes
95 "mw-line-odd" and "mw-line-even" to make styling using css possible.
96 * (bug 17311) Add a note beside the gender selection menu to tell users that
97 this information will be public
98 * Localize time zone regions in Special:Preferences
99 * Add NUMBEROFACTIVEUSERS magic word, which is like NUMBEROFUSERS, but uses
100 the active users data from site_stats.
101 * Add a <link rel="canonical"> tag on redirected page views
102 * Replace hardcoded '...' as indication of a truncation with the
103 'ellipsis' message
104 * Wrap warning message 'editinginterface' into a div with class
105 'mw-editinginterface'
106 * (bug 17497) Oasis opendocument added to mime.types
107 * Remove the link to Special:FileDuplicateSearch from the "file history" section
108 of image description pages as the list of duplicated files is shown in the
109 next section anyway.
110 * Added $wgRateLimitsExcludedIPs, to allow specific IPs to be whitelisted from
111 rate limits.
112 * (bug 14981) Shared repositories can now have display names, located at
113 Mediawiki:Shared-repo-name-REPONAME, where REPONAME is the name in
114 $wgForeignFileRepos
115 * Special:ListUsers: Sort list of usergroups by alphabet
116 * (bug 16762) Special:Movepage now shows a list of subpages when possible
117 * (bug 17585) Hide legend on Special:Specialpages from non-privileged users
118 * (bug 15876) Users with 'reset-passwords' right can change the passwords of
119 other users.
120 * Add an ID if 'missingsummary' is triggered to allow styling of the summary
121 line
122 * Add logging to password resets if not resetting your own
123 * Added $wgUseTagFilter to control enabling of filter-by-change-tag
124 * (bug 17291) MediaWiki:Nocontribs now has an optional $1 parameter for the
125 username
126 * Wrap special page summary message '$specialPageName-summary' into a div
127 with class 'mw-specialpage-summary'
128 * $wgSummarySpamRegex added to handle edit summary spam. This is used *instead*
129 of $wgSpamRegex for edit summary checks. Text checks still use $wgSpamRegex.
130 * New function to convert content text to specified language (only applies on wiki with
131 LanguageConverter class)
132 * (bug 17844) Redirect users to a specific page when they log in, see
133 $wgRedirectOnLogin
134 * Added a link to Special:UserRights on Special:Contributions for privileged users
135 * (bug 10336) Added new magic word {{REVISIONUSER}}, which displays the user
136 name of the last user to edit the page
137 * LinkerMakeExternalLink now has an $attribs parameter for link attributes and
138 a $linkType parameter for the type of external link being made
139 * (bug 17785) Dynamic dates surrounded with a <span> tag, fixing sortable tables with
140 dynamic dates.
141 * (bug 4582) Provide preference-based autoformatting of unlinked dates with the dateformat
142 parser function.
143
144 === Bug fixes in 1.15 ===
145 * (bug 16968) Special:Upload no longer throws useless warnings.
146 * (bug 17000) Special:RevisionDelete now checks if the database is locked
147 before trying to delete the edit.
148 * (bug 16852) padleft and padright now handle multibyte characters correctly
149 * (bug 17010) maintenance/namespaceDupes.php now add the suffix recursively if
150 the destination page exists
151 * (bug 17035) Special:Upload now fails gracefully if PHP's file_uploads has
152 been disabled
153 * Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with
154 LanguageConverter class)
155 * Improving the efficiency by using -{A|xxx}- syntax (only applies on wiki with
156 LanguageConverter class)
157 * (bug 17054) Added more descriptive errors in Special:RevisionDelete
158 * (bug 11527) Diff on page with one revision shows "Next" link to same diff
159 * (bug 8065) Fix summary forcing for new pages
160 * (bug 10569) redirects to Special:Mypage and Special:Mytalk are no longer
161 allowed by default. Change $wgInvalidRedirectTargets to re-enable.
162 * (bug 3043) Feed links of given page are now preceded by standard feed icon
163 * (bug 17150) escapeLike now escapes literal \ properly
164 * Inconsistent use of sysop, admin, administrator in system messages changed
165 to 'administrator'
166 * (bug 14423) Check block flag validity for block logging
167 * DB transaction and slave-lag avoidance tweaks for Email Notifications
168 * (bug 17104) Removed [Mark as patrolled] link for already patrolled revisions
169 * (bug 17106) Added 'redirect=no' and 'mw-redirect' class to redirects at
170 "user contributions"
171 * Rollback links on new pages removed from "user contributions"
172 * (bug 15811) Re-upload form tweaks: license fields removed, destination locked,
173 comment label uses better message
174 * Whole HTML validation ($wgValidateAllHtml) now works with external tidy
175 * Parser tests no longer fail when $wgExternalLinkTarget is set in
176 LocalSettings
177 * (bug 15391) catch DBQueryErrors on external storage insertion. This avoids
178 error messages on save were the edit in fact is saved.
179 * (bug 17184) Remove duplicate "z" accesskey in MonoBook
180 * Parser tests no longer fail when $wgAlwaysUseTidy is set in LocalSettings.php
181 * Removed redundant dupe warnings on reupload for the same title. Dupe warnings
182 for identical files at different titles are still given.
183 * Add 'change tagging' facility, where changes can be tagged internally with
184 certain designations, which are displayed on various summaries of changes,
185 and the entries can be styled with CSS.
186 * (bug 17207) Fix regression breaking category page display on PHP 5.1
187 * Categoryfinder utility class no longer fails on invalid input or gives wrong
188 results for category names that include pseudo-namespaces
189 * (bug 17252) Galician numbering format
190 * (bug 17146) Fix for UTF-8 and short word search for some possible MySQL
191 configs
192 * (bug 7480) Internationalize database error message
193 * (bug 16555) Number of links to mediawiki.org scaled back on post-installation
194 * (bug 14938) Removing a section no longer leaves excess whitespace
195 * (bug 17304) Fixed fatal error when thumbnails couldn't be generated for file
196 history
197 * (bug 17283) Remove double URL escaping in show/hide links for log entries
198 and RevisionDeleteForm::__construct
199 * (bug 17105) Numeric table sorting broken
200 * (bug 17231) Transcluding special pages on wikis using language conversion no
201 longer affects the page title
202 * (bug 6702) Default system messages updated/improved
203 * (bug 17190) User ID on preference page no longer has delimeters
204 * (bug 17341) "Powered by MediaWiki" should be on the left on RTL wikis
205 * (bug 17404) "userrights-interwiki" right was missing in User::$mCoreRights
206 * (bug 7509) Separation strings should be configurable
207 * (bug 17420) Send the correct content type from action=raw when the HTML file
208 cache is enabled.
209 * (bug 12746) Do not allow new password e-mails when wiki is in read-only mode
210 * (bug 17478) Fixed a PHP Strict standards error in
211 maintenance/cleanupWatchlist.php
212 * (bug 17488) RSS/Atom links in left toolbar are now localized in classic skin
213 * (bug 17472) use print <<<EOF in maintenance/importTextFile.php
214 * Special:PrefixIndex: Move table styling to shared.css, add CSS IDs to tables
215 use correct message 'allpagesprefix' for input form label, replace _ with ' '
216 in next page link
217 * (bug 17506) Exceptions within exceptions now respect $wgShowExceptionDetails
218 * Fixed excessive job queue utilisation
219 * File dupe messages for remote repos are now shown only once.
220 * (bug 14980) Messages 'shareduploadwiki' and 'shareduploadwiki-desc' are now
221 used as a parameter in 'sharedupload' for easier styling and customization.
222 * (bug 17482) Formatting error in Special:Preferences#Misc (Opera)
223 * (bug 17556) <link> parameters in Special:Contributions feeds (RSS and Atom)
224 now point to the actual contributors' feed.
225 * ForeignApiRepos now fetch MIME types, rather than trying to figure it locally
226 * Special:Import: Do not show input field for import depth if
227 $wgExportMaxLinkDepth == 0
228 * (bug 17570) $wgMaxRedirects is now correctly respected when following
229 redirects (was previously one more than $wgMaxRedirects)
230 * (bug 16335) __NONEWSECTIONLINK__ magic word to suppress new section link.
231 * (bug 17581) Wrong index name in PostgreSQL's updater: was rc_timestamp_nobot,
232 changed to rc_timestamp_bot
233 * (bug 17437) Fixed incorrect link to web-based installer
234 * (bug 17538) Use shorter URLs in <link> elements
235 * (bug 13778) Hidden input added to the search form so that using the Enter key
236 on IE will do a fulltext search like clicking the button does
237 * (bug 1061) CSS-added icons next to links display through the text and makes
238 it unreadable in RTL
239 * Special:Wantedtemplates now works on PostgreSQL
240 * (bug 14414) maintenance/updateSpecialPages.php no longer throws error with
241 PostgreSQL
242 * (bug 17546) Correct Tongan language native name is "lea faka-Tonga"
243 * (bug 17621) Special:WantedFiles has no link to Special:Whatlinkshere
244 * (bug 17460) Client ecoding is now correctly set for PostgreSQL
245 * (bug 17648) Prevent floats from intruding into edit area in previews if no
246 toolbar present
247 * (bug 16899) DISPLAYTITLE should allow Arabic and Persian harakats
248 * (bug 17692) Added (list of members) link to 'user' in Special:Listgrouprights
249 * (bug 17707) Show file destination as plain text if &wpForReUpload=1
250 * (bug 10172) Moved setting of "changed since last visit" flags out of the job
251 queue
252 * (bug 17761) "show/hide" link in page history in now works for the first
253 displayed revision if it's not the current one
254 * (bug 17722) Fix regression where users are unable to change temporary passwords
255 * (bug 17799) Special:Random no longer throws a database error when a non-
256 namespace is given, silently falls back to NS_MAIN
257 * (bug 17751) The message for bad titles in WantedPages is now localized
258 * (bug 17860) Moving a page in the "MediaWiki" namespace using SuppressRedirect
259 no longer corrupts the message cache
260 * (bug 17900) Fixed User Groups interface log display after saving groups.
261 * (bug 17897) Fixed string offset error in <pre> tags
262
263 == API changes in 1.15 ==
264 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
265 and listing all deleted pages possible
266 * (bug 16844) Added clcategories parameter to prop=categories
267 * (bug 17025) Add "fileextension" parameter to meta=siteinfo&siprop=
268 * (bug 17048) Show the 'new' flag in list=usercontribs for the revision that
269 created the page, even if it's not the top revision
270 * (bug 17069) Added ucshow=patrolled|!patrolled to list=usercontribs
271 * action=delete respects $wgDeleteRevisionsLimit and the bigdelete user right
272 * (bug 15949) Add undo functionality to action=edit
273 * (bug 16483) Kill filesort in ApiQueryBacklinks caused by missing parentheses.
274 Building query properly now using makeList()
275 * (bug 17182) Fix pretty printer so URLs with parentheses in them are
276 autolinked correctly
277 * (bug 17224) Added siprop=rightsinfo to meta=siteinfo
278 * (bug 17239) Added prop=displaytitle to action=parse
279 * (bug 17317) Added watch parameter to action=protect
280 * (bug 17007) Added export and exportnowrap parameters to action=query
281 * (bug 17326) BREAKING CHANGE: Changed output format for iiprop=metadata
282 * (bug 17355) Added auwitheditsonly parameter to list=allusers
283 * (bug 17007) Added action=import
284 * BREAKING CHANGE: Removed rctitles parameter from list=recentchanges because
285 of performance concerns
286 * Listing (semi-)deleted revisions and log entries as well in prop=revisions
287 and list=logevents
288 * (bug 11430) BREAKING CHANGE: Modules may return fewer results than the
289 limit and still set a query-continue in some cases
290 * (bug 17357) Added movesubpages parameter to action=move
291 * (bug 17433) Added bot flag to list=watchlist&wlprop=flags output
292 * (bug 16740) Added list=protectedtitles
293 * Added mainmodule and pagesetmodule parameters to action=paraminfo
294 * (bug 17502) meta=siteinfo&siprop=namespacealiases no longer lists namespace
295 aliases already listed in siprop=namespaces
296 * (bug 17529) rvend ignored when rvstartid is specified
297 * (bug 17626) Added uiprop=email to list=userinfo
298 * (bug 13209) Added rvdiffto parameter to prop=revisions
299 * Manual language conversion improve: Now we can include both ";" and ":" in
300 conversion rules
301 * (bug 17795) Don't report views count on meta=siteinfo if $wgDisableCounters
302 is set
303 * (bug 17774) Don't hide read-restricted modules like action=query from users
304 without read rights, but throw an error when they try to use them.
305 * Don't hide write modules when $wgEnableWriteAPI is false, but throw an error
306 when someone tries to use them
307 * BREAKING CHANGE: action=purge requires write rights and, for anonymous users,
308 a POST request
309
310 === Languages updated in 1.15 ===
311
312 MediaWiki supports over 300 languages. Many localisations are updated
313 regularly. Below only new and removed languages are listed, as well as
314 changes to languages because of MediaZilla reports.
315
316 * Austrian German (de-at) (new)
317 * Swiss Standard German (de-ch) (new)
318 * Literary Chinese (lzh) (new)
319 * Uyghur (Latin script) (ug-latn) (renamed from 'ug')
320 * Võro (vro) (renamed from fiu-vro)
321 * (bug 17151) Add magic word alias for #redirect for Vietnamese
322 * (bug 17288) Messages improved for default language (English)
323 * (bug 12937) Update native name for Afar
324 * (bug 16909) 'histlegend' now reuses messages instead of copying them
325 * (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied' when
326 the user is blocked
327
328 == Compatibility ==
329
330 MediaWiki 1.15 requires PHP 5 (5.2 recommended). PHP 4 is no longer supported.
331
332 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
333 http://bugs.php.net/bug.php?id=34879
334 Upgrade affected systems to PHP 5.1 or higher.
335
336 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
337 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
338
339
340 == Upgrading ==
341
342 1.15 has several database changes since 1.14, and will not work without schema
343 updates.
344
345 If upgrading from before 1.11, and you are using a wiki as a commons reposito-
346 ry, make sure that it is updated as well. Otherwise, errors may arise due to
347 database schema changes.
348
349 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
350 new database fields are filled with data.
351
352 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
353 changes are made, and there is a slightly higher chance that things could
354 break. Don't forget to always back up your database before upgrading!
355
356 See the file UPGRADE for more detailed upgrade instructions.
357
358
359 === Caveats ===
360
361 Some output, particularly involving user-supplied inline HTML, may not
362 produce 100% valid or well-formed XHTML output. Testers are welcome to
363 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
364 cases, but this is not recommended on live sites. (This must be set for
365 MathML to display properly in Mozilla.)
366
367 For notes on 1.14.x and older releases, see HISTORY.
368
369
370 === Online documentation ===
371
372 Documentation for both end-users and site administrators is currently being
373 built up on MediaWiki.org, and is covered under the GNU Free Documentation
374 License (except for pages that explicitly state that their contents are in
375 the public domain) :
376
377 http://www.mediawiki.org/wiki/Documentation
378
379
380 === Mailing list ===
381
382 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
383 wikitech-l list:
384
385 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
386
387 A low-traffic announcements-only list is also available:
388
389 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
390
391 It's highly recommended that you sign up for one of these lists if you're
392 going to run a public MediaWiki, so you can be notified of security fixes.
393
394
395 === IRC help ===
396
397 There's usually someone online in #mediawiki on irc.freenode.net