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