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