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