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