Supress errors when setting the PHP timeout so output isn't ugly when safe mode is...
[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.13 ==
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.13 ===
22
23 * New option $wgFeed can be set false to turn off syndication feeds
24 * (bug 5745) Special:Whatlinkshere now shows up to $wgMaxRedirectLinksRetrieved
25 links through each redirect instead of hardcoded 500
26 * Set $wgUploadSizeWarning to false by default
27 * Added $wgLBFactoryConf, for generic configuration of multi-master wiki farms
28 * Removed $wgAlternateMaster, use $wgLBFactoryConf
29 * (bug 13562) Misspelled option $wgUserNotifedOnAllChanges changed to
30 $wgUserNotifiedOnAllChanges
31 * (bug 12860) New option $wgSitemapNamespaces allows sitemaps to be generated
32 for only some namespaces
33
34 === New features in 1.13 ===
35
36 * __HIDDENCAT__ on a category page causes the category to be hidden on the
37 article page.
38 * Don't show edit permissions errors on a red link click, just redirect to the
39 article. This is so that readers who don't know what a red link is aren't
40 confused when they are told they are range-blocked.
41 * Add a new hook ImageBeforeProduceHTML to allow extensions to modify wikitext
42 image syntax output.
43 * (bug 13100) Added 'preloadtitle' parameter to action=edit&section=new that
44 pre-fills the section title field.
45 * (bug 13112) Added Special:RelatedChanges alias to Special:Recentchangeslinked
46 * (bug 13130) Moved edit token and autosummary fields above edit tools to
47 reduce broken form submissions
48 * Add --old-redirects-only option to maintenance/refreshLinks.php, to add old
49 redirects to the redirect table
50 * Add links to page and file deletion forms to edit predefined delete reasons
51 * (bug 13269) Added MediaWiki:Uploadfooter to the bottom of Special:Upload
52 * (bug 2815) Search results for media now use thumb instead of text extract
53 * When a page doesn't exist, the tab should say "create", not "edit"
54 * (bug 12882) Added a span with class "patrollink" arround "Mark as patrolled"
55 link on diffs
56 * Magic word formatnum can now take raw suffix to undo formatting
57 * Add updatelog table to reliably permit updates that don't change the schema
58 * Add category table to allow better tracking of category membership counts
59 ** (bug 1212) Give correct membership counts on the pages of large categories
60 ** Use category table for more efficient display of Special:Categories
61 * (bug 1459) Search for duplicate files by hash: Special:FileDuplicateSearch
62 * (bug 9447) Added hooks for search result headings
63 * Image redirects are now enabled
64 * (bug 13450) Email confirmation can now be canceled before the expiration
65 * (bug 13490) Show upload/file size limit on upload form
66 * Redesign of Special:Userrights
67 * Make rev_deleted log entries more intelligible.
68 * (bug 6943) Added PAGESINCATEGORY: magic word
69 * (bug 13604) Added Special:ListGroupRights
70 * Added message 'mainpage-description' as duplicate of 'mainpage' and added it
71 to message 'sidebar'
72 ** (bug 6332) Lacking entry Mainpage-url
73 ** (bug 8617) Separate main page url and name
74 * Automatically add old redirects to the redirect table when needed
75 * (bug 6934) Allow separated inclusions, links, redirects on whatlinkshere
76 * Cache image redirects
77 * (bug 10457) Reorganize Special:Specialpages
78 * Add a new hook EditPageBeforeConflictDiff to allow extensions like FCKeditor
79 to modify the output for edit conflicts.
80 * Add class="nested" for <fieldset>s so fieldsets inside fieldsets get
81 a slightly less huge margin and padding.
82 * (bug 13527) Use sitemaps.org format 0.9 instead of a Google-specific format
83
84 === Bug fixes in 1.13 ===
85
86 * (bug 10677) Add link to the file description page on the shared repository
87 * (bug 13084) Increase size of source/destination filename fields in upload form
88 * (bug 13115) rebuildrecentchanges should print the current value of $wgRCMaxAge
89 * (bug 13140) Show parent categories in category namespace
90 * (bug 13149) Correctly format 'fileexists' message on Upload page
91 * Make the default filepageexists message accurate
92 * (bug 12988) $wgMinimalPasswordLength no longer breaks create user by email
93 * (bug 13022) Fix upload from URL on PHP 5.0.x
94 * (bug 13132) Unable to unprotect pages protected with earlier versions of MediaWiki
95 * (bug 12723) OpenSearch description name now uses more compact language code
96 to avoid passing the length limit as often, is customizable per site via
97 'opensearch-desc' message.
98 * (bug 13135) Special:Userrights now passes IDs through form submission
99 to allow functionality on not-quite-right usernames
100 * (bug 12575) Prevent duplicate patrol log entries from being created
101 * (bug 13174) __HIDDENCAT__ now applies only to category pages
102 * (bug 13031) Add links to user pages in e-mail form
103 * (bug 13147) Description for categoriespagetext (used in Special:Categories) reworded
104 * (bug 11561) Fix fatal error when calling action=revert to non-image page
105 * (bug 12430) Fix call to private method LinkFilter::makeRegex fatal error in
106 maintenance/cleanupSpam.php
107 * All skins should have the "mediawiki" class on the body element
108 * (bug 13019) Message cache for some extensions not loaded at time of editing
109 * (bug 13247) Prettified ISBN links
110 * maintenance/refreshLinks.php did not fix page_id 1 with the --new-only option
111 * (bug 13110) Don't show "Permission error" page if the edit is already rolled
112 back when using rollback
113 * (bug 13012) Use content messages for block options when generating the
114 recentchanges entry
115 * (bug 13274) Change links for messages to ucfirst
116 * (bug 13273) Un-hardcode some punctuation (add new messages colon-separator,
117 autocomment-prefix)
118 * Parse MediaWiki message translations with a correct language setting on preview
119 * (bug 13281) Treat X-Forwarded-For, Client-ip and User-Agent headers as
120 case-insensitive names.
121 * Adding the fix for lists in RTL wikis to more skins, and fixing the image toc
122 * (bug 8157) Remove redirects from Special:Unusedtemplates. Patch by WebBoy.
123 * (bug 10721) Duplicate section anchors with differing case now disambiguated
124 for Internet Explorer's sake and standards compliance
125 * (bug 13298) Tighter limits on Special:Newpages limits when embedding
126 * Email subject in content language instead of sending user's UI language
127 * (bug 13251) Allow maintenance rebuild scripts to work with Postgres
128 * (bug 2084) Fixed incorrect regex to match redirects
129 * (bug 3131) Manually-specified upload destination filename is no longer
130 overwritten by browsing for a file after you wrote it.
131 * (bug 7251) Sidebars generated by MediaWiki:Sidebar now have the class
132 'generated-sidebar'.
133 * (bug 13265) Media handler is missing 'image/x-bmp'
134 * (bug 13407) MediaWiki:Powersearch is used in two places
135 * (bug 13403) Fix cache invalidation of history pages when old revisions change
136 * (bug 11563) Deprecated SearchMySQL4 class; merged code to SearchMySQL
137 * (bug 12801) Fix link in subtitle message in AJAX search
138 * (bug 13428) Fix regression in protection form layout HTML validity
139 * (bug 9403) Sanitize newlines from search term input
140 * (bug 13429) Separate date and time in message sp-newimages-showfrom
141 * (bug 13137) Allow setting 'editprotected' right separately from 'protect',
142 so groups may optionally edit protected pages without having 'protect' perms
143 * Disallow deletion of big pages by means of moving a page to its title and
144 using the "delete and move" option.
145 * (bug 13466, 13632) White space differences not shown in diffs
146 * (bug 1953) Search form now honors namespace selections more reliably
147 * (bug 12294) Namespace class renamed to MWNamespace for PHP 5.3 compatibility
148 * PHP 5.3 compatibility fix for wfRunHooks() called with no parameters
149 * (bug 6447) Trackbacks now work with transactional tables, if enabled
150 * (bug 6892, 7147) Trackback error handling, optional fields more robust
151 * (bug 6813) Don't break HTML validator when using trackbacks
152 * Fix for size checks on SVG images with global 'stroke-width' attribute
153 * (bug 11874) Inline CSS with !important no longer borken
154 * (bug 1600) Strip extra == section markup == in new-comment field
155 * (bug 11325) Wrapped page titles in MonoBook skin spaced more nicely
156 * (bug 12077) Fix HTML nesting for TOC
157 * (bug 344) Purge cache for talk/article pages when deleting the other tab
158 * (bug 13436) Treat image captions correctly when they include option keywords
159 (like ending with "px" or starting with "upright")
160 * Trackback display formatting fixed
161 * Don't die when single-element arrays are passed to SQL query constructors
162 that have an array index other than 0
163 * (bug 13522) Fix fatal error in Parser::extractTagsAndParams
164 * (bug 13532) Use proper timestamp call when reverting images
165 * (bug 13543) Updated FAQ link in the installer sidebar
166 * (bug 13540) Date format in confirmation e-mail now matches message language
167 * (bug 13554) PHP Notice in old pre-processor when list item is empty.
168 * (bug 13556) Don't show a blank form if no image is attached in Special:Upload
169 * (bug 13576) maintenance/rebuildrecentchanges.php fails
170 * (bug 13441) Allow Special:Recentchanges to show bots only
171 * (bug 13431) Show true message source in Special:Allmessages&ot=php / xml
172 * (bug 13463) Login successful page doesn't use user's preferred interface language
173 * (bug 13630) Fixed warnings for pass by reference at call time in
174 Special:Revisiondelete when generating the log entry.
175 * (bug 12064) BeforePageDisplay hook is now called for all skins
176 * (bug 13624) Fix regression with manual thumb= parameter on images
177 * (bug 11039) Add missing labels on protection form
178 * (bug 13458) Preview/edit toolbar spacing now works consistently
179 * (bug 13433) Fix action=render on Image: pages
180 * (bug 13678) Fix CSS validation for Monobook
181 * (bug 13684) Links in Special:ListGroupRights should be in content language
182 * (bug 13690) Fix PHP notice on accessing some URLs
183 * Hide (undo) link if user isn't able to edit page
184 * Invalidate cache of pages that includes images via redirects on upload
185 * (bug 13705) Don't show rollback link in page history on incorrect revisions
186 * (bug 13708) Don't set "Search results" title when loading Special:Search
187 without query
188 * (bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existant IP addresses
189 * (bug 13728) Don't trim initial whitespace during section edits
190 * (bug 13727) Don't delete log entries from recentchanges on page deletion
191 * (bug 13752) Redirects to sections now work again
192 * (bug 13725) Upload form watch checkbox state set correctly with wpDestFile
193 * (bug 13756) Don't show the form and navigation links of Special:Newpages if
194 the page is included
195 * When hiding things on WhatLinksHere, generated URLs should hide them too
196 * Properly escape search terms with regex chars so they appear highlighted in
197 search results
198 * (bug 13768) pt_title field encoding fixed
199
200
201 === API changes in 1.13 ===
202
203 * Fixing main page display in meta=siteinfo
204 * (bug 13128) Added patrolled flag to list=recentchanges
205 * Implemented {bl,ei,iu}redirect (lists links through redirects as well)
206 * (bug 13154) Introduced subpages flag to meta=siteinfo&siprop=namespaces
207 * (bug 13157) Added ucuserprefix parameter to list=usercontibs
208 * (bug 12394) Added rctitles parameter to list=recentchanges, making rcid
209 retrieval easier
210 * (bug 13218) Fix inclusion of " character in hyperlinks
211 * Added watch and unwatch parameters to action=delete and action=move
212 * Added action=edit
213 * (bug 11401) Added xmldoublequote to xml formatter
214 * Added rvsection parameter to prop=revisions to allow fetching the content of
215 a certain section only
216 * Introduced list=allimages
217 * (bug 13371) Build page set from image hashes
218 * Mark non-existent messages in meta=allmessages as missing
219 * (bug 13390) One invalid title no longer kills an entire API query
220 * (bug 13419) Fix gblredirect so it actually works
221 * (bug 13418) Disable eiredirect because it's useless
222 * (bug 13395) list=allcategories should use category table
223 * (bug 13442) Missing pages in prop=langlinks and prop=extlinks are now
224 handled properly.
225 * (bug 13444) Add description to list=watchlist
226 * (bug 13482) Disabled search types handled properly
227 * Added inprop=talkid,subjectid to prop=info
228 * Added help text message that specifies whether a module is POST-only
229 * Added createonly parameter to action=edit
230 * Replaced $wgAPIUCUserPrefixMinLength by the more generic $wgAPIMaxDBRows
231 * (bug 11719) Remove trailing blanks in YAML output.
232 * (bug 13541) Added siprop=specialpagealiases to meta=siteinfo
233 * Added fallback8bitEncoding field to meta=siteinfo&siprop=general output
234 * (bug 13544) Added prop=revid to action=parse
235 * (bug 13603) Added siprop=usergroups to meta=siteinfo
236 * Cleaned up redirect resolution
237 * Added possibility to obtain all external links through list=exturlusage
238 * (bug 13606) Added archivename to iiprop
239 * (bug 11633) Explicitly convert redirect titles to strings due to PHP's
240 very weak typing on array keys.
241 * (bug 12136) Extend allowed characters in JSON callback to ][.'"_A-Za-z0-9
242 * (bug 11673) Return error 'unknown_action' in specified format
243 * (bug 13618) Added rcprop=redirect and rcshow=redirect to list=recentchanges
244 * (bug 13544) Added oldid parameter to action=parse to allow for parsing of old revisions
245 * (bug 13718) Return the proper continue parameter for cmsort=timestamp
246 * action=login now returns the correct waiting time in the details property
247
248 === Languages updated in 1.13 ===
249
250 * Afrikaans (af)
251 * Gheg Albanian (aln)
252 * Amharic (am)
253 * Aragonese (an)
254 * Old English (ang)
255 * Arabic (ar)
256 * Aramaic (arc)
257 * Araucanian (arn)
258 * Egyptian Spoken Arabic (arz) (new)
259 * Asturian (ast)
260 * Kotava (avk)
261 * Samogitian (bat-smg)
262 * Bikol Central (bcl)
263 * Belarusian (be)
264 * Bulgarian (bg)
265 * Bihari (bh)
266 * Bengali (bn)
267 * Breton (br)
268 * Bosnian (bs)
269 * Buginese (bug)
270 * Catalan (ca)
271 * Min Dong Chinese (cdo)
272 * Corsican (co)
273 * Crimean Turkish (Cyrillic) (crh-cyrl)
274 * Crimean Turkish (Latin) (crh-latn)
275 * Czech (cs)
276 * Kashubian (csb)
277 * Church Slavic (cu)
278 * Welsh (cy)
279 * Danish (da)
280 * Zazaki (diq)
281 * Dalecarlian (dlc)
282 * Lower Sorbian (dsb)
283 * Middle Dutch (dum) (removed)
284 * Divehi (dv)
285 * Dzongkha (dz)
286 * Greek (el)
287 * English (en)
288 * British English (en-gb) (new)
289 * Esperanto (eo)
290 * Spanish (es)
291 * Estonian (et)
292 * Basque (eu)
293 * Extremaduran (ext)
294 * Finnish (fi)
295 * Võro (fiu-vro)
296 * Faroese (fo)
297 * French (fr)
298 * Cajun French (frc)
299 * Franco-Provençal (frp)
300 * Friulian (fur)
301 * Western Frisian (fy)
302 * Irish (ga)
303 * Gagauz (gag)
304 * Gan (gan)
305 * Galician (gl)
306 * Swiss German (gsw)
307 * Gujarati (gu)
308 * Hakka (hak)
309 * Hawaiian (haw)
310 * Hindi (hi)
311 * Fiji Hindi (Latin) (hif-latn) (new)
312 * Croatian (hr)
313 * Upper Sorbian (hsb)
314 * Haitian (ht)
315 * Hungarian (hu)
316 * Armenian (hy)
317 * Interlingua (ia)
318 * Indonesian (id)
319 * Eastern Canadian (Unified Canadian Aboriginal Syllabics) (ike-cans)
320 * Eastern Canadian (Latin) (ike-latn)
321 * Iloko (ilo)
322 * Ido (io)
323 * Icelandic (is)
324 * Italian (it)
325 * Japanese (ja)
326 * Jutish (jut)
327 * Javanese (jv)
328 * Georgian (ka)
329 * Kara-Kalpak (kaa)
330 * Kabyle (kab)
331 * Kazakh (Arabic script) (kk-arab)
332 * Kazakh (Cyrillic script) (kk-cyrl)
333 * Kazakh (Latin script) (kk-latn)
334 * Kalaallisut (kl)
335 * Khmer (km)
336 * Kannada (kn)
337 * Korean (ko)
338 * Kinaray-a (krj)
339 * Karelian (krl)
340 * Kurdish (Latin)‬ (ku-latn)
341 * Latin (la)
342 * Luxembourgish (lb)
343 * Lezghian (lez)
344 * Lingua Franca Nova (lfn)
345 * Ganda (lg)
346 * Limburgish (li)
347 * Líguru (lij)
348 * Lumbaart (lmo)
349 * Lao (lo)
350 * Lozi (loz)
351 * Lithuanian (lt)
352 * Latvian (lv)
353 * Maithili (mai)
354 * Moksha (mdf)
355 * Malagasy (mg)
356 * Macedonian (mk)
357 * Malayalam (ml)
358 * Mongolian (mn)
359 * Moldavian (mo)
360 * Marathi (mr)
361 * Malay (ms)
362 * Mirandese (mwl)
363 * Burmese (my)
364 * Erzya (myv)
365 * Nahuatl (nah)
366 * Low German (nds)
367 * Nedersaksisch (nds-nl)
368 * Nepali (ne)
369 * Newari (new)
370 * Dutch (nl)
371 * Norwegian Nynorsk (nn)
372 * Norwegian (bokmål)‬ (no)
373 * Old Norse (non) (removed)
374 * Northern Sotho (nso)
375 * Classical Newari (nwc)
376 * Occitan (oc)
377 * Oriya (or)
378 * Pampanga (pam)
379 * Pali (pi)
380 * Polish (pl)
381 * Piemontèis (pms)
382 * Pontic (pnt)
383 * Pashto (ps)
384 * Portuguese (pt)
385 * Brazilian Portuguese (pt-br)
386 * Quechua (qu)
387 * Romani (rmy)
388 * Romanian (ro)
389 * Russian (ru)
390 * Yakut (sah)
391 * Sicilian (scn)
392 * Scots (sco)
393 * Sassaresu (sdc)
394 * Northern Sami (se)
395 * Cmique Itom (sei)
396 * Sinhalese (si)
397 * Slovak (sk)
398 * Slovenian (sl)
399 * Southern Sami (sma)
400 * Somali (so)
401 * Albanian (sq)
402 * Serbian Cyrillic ekavian (sr-ec)
403 * latinica (sr-el)
404 * Sranan Tongo (srn)
405 * Swati (ss)
406 * Southern Sotho (st)
407 * Seeltersk (stq)
408 * Sundanese (su)
409 * Swedish (sv)
410 * Swahili (sw)
411 * Silesian (szl) (new)
412 * Tamil (ta)
413 * Telugu (te)
414 * Tetum (tet)
415 * Tajik (tg-cyrl)
416 * Thai (th)
417 * Tigrinya (ti)
418 * Tagalog (tl)
419 * Tonga (to)
420 * Toki Pona (tokipona)
421 * Tok Pisin (tpi)
422 * Turkish (tr)
423 * Tatar (Cyrillic) (tt-cyrl)
424 * Tatar (Latin) (tt-latn)
425 * Tuvinian (tyv)
426 * Ukrainian (uk)
427 * Venda (ve)
428 * Venetian (vec)
429 * Vietnamese (vi)
430 * Volapük (vo)
431 * Walloon (wa)
432 * Waray (war)
433 * Wolof (wo)
434 * Mingrelian (xmf)
435 * Yiddish (yi)
436 * Yoruba (yo)
437 * Cantonese (yue)
438 * Zeeuws (zea)
439 * Old Chinese / Late Time Chinese (zh-classical)
440 * Simplified Chinese (zh-hans)
441 * Traditional Chinese (zh-hant)
442 * ‪Chinese (Taiwan) (zh-tw)
443
444 == Compatibility ==
445
446 MediaWiki 1.13 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
447
448 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
449 http://bugs.php.net/bug.php?id=34879
450 Upgrade affected systems to PHP 5.1 or higher.
451
452 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
453 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
454
455
456 == Upgrading ==
457
458 1.13 has several database changes since 1.12, and will not work without schema
459 updates.
460
461 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
462 new database fields are filled with data.
463
464 If upgrading from before 1.11, and you are using a wiki as a commons repository,
465 make sure that it is updated as well. Otherwise, errors may arise due to
466 database schema changes.
467
468 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
469 changes are made, and there is a slightly higher chance that things could
470 break. Don't forget to always back up your database before upgrading!
471
472 See the file UPGRADE for more detailed upgrade instructions.
473
474
475 === Caveats ===
476
477 Some output, particularly involving user-supplied inline HTML, may not
478 produce 100% valid or well-formed XHTML output. Testers are welcome to
479 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
480 cases, but this is not recommended on live sites. (This must be set for
481 MathML to display properly in Mozilla.)
482
483 For notes on 1.12.x and older releases, see HISTORY.
484
485
486 === Online documentation ===
487
488 Documentation for both end-users and site administrators is currently being
489 built up on MediaWiki.org, and is covered under the GNU Free Documentation
490 License (except for pages that explicitly state that their contents are in
491 the public domain) :
492
493 http://www.mediawiki.org/wiki/Documentation
494
495
496 === Mailing list ===
497
498 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
499 wikitech-l list:
500
501 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
502
503 A low-traffic announcements-only list is also available:
504
505 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
506
507 It's highly recommended that you sign up for one of these lists if you're
508 going to run a public MediaWiki, so you can be notified of security fixes.
509
510
511 === IRC help ===
512
513 There's usually someone online in #mediawiki on irc.freenode.net