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