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