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