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