Revert r33565 pending some cleanup...
[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
210
211 === API changes in 1.13 ===
212
213 * Fixing main page display in meta=siteinfo
214 * (bug 13128) Added patrolled flag to list=recentchanges
215 * Implemented {bl,ei,iu}redirect (lists links through redirects as well)
216 * (bug 13154) Introduced subpages flag to meta=siteinfo&siprop=namespaces
217 * (bug 13157) Added ucuserprefix parameter to list=usercontibs
218 * (bug 12394) Added rctitles parameter to list=recentchanges, making rcid
219 retrieval easier
220 * (bug 13218) Fix inclusion of " character in hyperlinks
221 * Added watch and unwatch parameters to action=delete and action=move
222 * Added action=edit
223 * (bug 11401) Added xmldoublequote to xml formatter
224 * Added rvsection parameter to prop=revisions to allow fetching the content of
225 a certain section only
226 * Introduced list=allimages
227 * (bug 13371) Build page set from image hashes
228 * Mark non-existent messages in meta=allmessages as missing
229 * (bug 13390) One invalid title no longer kills an entire API query
230 * (bug 13419) Fix gblredirect so it actually works
231 * (bug 13418) Disable eiredirect because it's useless
232 * (bug 13395) list=allcategories should use category table
233 * (bug 13442) Missing pages in prop=langlinks and prop=extlinks are now
234 handled properly.
235 * (bug 13444) Add description to list=watchlist
236 * (bug 13482) Disabled search types handled properly
237 * Added inprop=talkid,subjectid to prop=info
238 * Added help text message that specifies whether a module is POST-only
239 * Added createonly parameter to action=edit
240 * Replaced $wgAPIUCUserPrefixMinLength by the more generic $wgAPIMaxDBRows
241 * (bug 11719) Remove trailing blanks in YAML output.
242 * (bug 13541) Added siprop=specialpagealiases to meta=siteinfo
243 * Added fallback8bitEncoding field to meta=siteinfo&siprop=general output
244 * (bug 13544) Added prop=revid to action=parse
245 * (bug 13603) Added siprop=usergroups to meta=siteinfo
246 * Cleaned up redirect resolution
247 * Added possibility to obtain all external links through list=exturlusage
248 * (bug 13606) Added archivename to iiprop
249 * (bug 11633) Explicitly convert redirect titles to strings due to PHP's
250 very weak typing on array keys.
251 * (bug 12136) Extend allowed characters in JSON callback to ][.'"_A-Za-z0-9
252 * (bug 11673) Return error 'unknown_action' in specified format
253 * (bug 13618) Added rcprop=redirect and rcshow=redirect to list=recentchanges
254 * (bug 13544) Added oldid parameter to action=parse to allow for parsing of old revisions
255 * (bug 13718) Return the proper continue parameter for cmsort=timestamp
256 * action=login now returns the correct waiting time in the details property
257
258 === Languages updated in 1.13 ===
259
260 * Afrikaans (af)
261 * Gheg Albanian (aln)
262 * Amharic (am)
263 * Aragonese (an)
264 * Old English (ang)
265 * Arabic (ar)
266 * Aramaic (arc)
267 * Araucanian (arn)
268 * Egyptian Spoken Arabic (arz) (new)
269 * Asturian (ast)
270 * Kotava (avk)
271 * Samogitian (bat-smg)
272 * Bikol Central (bcl)
273 * Belarusian (be)
274 * Bulgarian (bg)
275 * Bihari (bh)
276 * Bengali (bn)
277 * Breton (br)
278 * Bosnian (bs)
279 * Buginese (bug)
280 * Catalan (ca)
281 * Min Dong Chinese (cdo)
282 * Corsican (co)
283 * Crimean Turkish (Cyrillic) (crh-cyrl)
284 * Crimean Turkish (Latin) (crh-latn)
285 * Czech (cs)
286 * Kashubian (csb)
287 * Church Slavic (cu)
288 * Welsh (cy)
289 * Danish (da)
290 * Zazaki (diq)
291 * Dalecarlian (dlc)
292 * Lower Sorbian (dsb)
293 * Middle Dutch (dum) (removed)
294 * Divehi (dv)
295 * Dzongkha (dz)
296 * Greek (el)
297 * English (en)
298 * British English (en-gb) (new)
299 * Esperanto (eo)
300 * Spanish (es)
301 * Estonian (et)
302 * Basque (eu)
303 * Extremaduran (ext)
304 * Finnish (fi)
305 * Võro (fiu-vro)
306 * Faroese (fo)
307 * French (fr)
308 * Cajun French (frc)
309 * Franco-Provençal (frp)
310 * Friulian (fur)
311 * Western Frisian (fy)
312 * Irish (ga)
313 * Gagauz (gag)
314 * Gan (gan)
315 * Galician (gl)
316 * Swiss German (gsw)
317 * Gujarati (gu)
318 * Hakka (hak)
319 * Hawaiian (haw)
320 * Hindi (hi)
321 * Fiji Hindi (Latin) (hif-latn) (new)
322 * Croatian (hr)
323 * Upper Sorbian (hsb)
324 * Haitian (ht)
325 * Hungarian (hu)
326 * Armenian (hy)
327 * Interlingua (ia)
328 * Indonesian (id)
329 * Eastern Canadian (Unified Canadian Aboriginal Syllabics) (ike-cans)
330 * Eastern Canadian (Latin) (ike-latn)
331 * Iloko (ilo)
332 * Ido (io)
333 * Icelandic (is)
334 * Italian (it)
335 * Japanese (ja)
336 * Jutish (jut)
337 * Javanese (jv)
338 * Georgian (ka)
339 * Kara-Kalpak (kaa)
340 * Kabyle (kab)
341 * Kazakh (Arabic script) (kk-arab)
342 * Kazakh (Cyrillic script) (kk-cyrl)
343 * Kazakh (Latin script) (kk-latn)
344 * Kalaallisut (kl)
345 * Khmer (km)
346 * Kannada (kn)
347 * Korean (ko)
348 * Kinaray-a (krj)
349 * Karelian (krl)
350 * Kurdish (Latin)‬ (ku-latn)
351 * Latin (la)
352 * Luxembourgish (lb)
353 * Lezghian (lez)
354 * Lingua Franca Nova (lfn)
355 * Ganda (lg)
356 * Limburgish (li)
357 * Líguru (lij)
358 * Lumbaart (lmo)
359 * Lao (lo)
360 * Lozi (loz)
361 * Lithuanian (lt)
362 * Latvian (lv)
363 * Maithili (mai)
364 * Moksha (mdf)
365 * Malagasy (mg)
366 * Macedonian (mk)
367 * Malayalam (ml)
368 * Mongolian (mn)
369 * Moldavian (mo)
370 * Marathi (mr)
371 * Malay (ms)
372 * Mirandese (mwl)
373 * Burmese (my)
374 * Erzya (myv)
375 * Nahuatl (nah)
376 * Low German (nds)
377 * Nedersaksisch (nds-nl)
378 * Nepali (ne)
379 * Newari (new)
380 * Dutch (nl)
381 * Norwegian Nynorsk (nn)
382 * Norwegian (bokmål)‬ (no)
383 * Old Norse (non) (removed)
384 * Northern Sotho (nso)
385 * Classical Newari (nwc)
386 * Occitan (oc)
387 * Oriya (or)
388 * Pampanga (pam)
389 * Pali (pi)
390 * Polish (pl)
391 * Piemontèis (pms)
392 * Pontic (pnt)
393 * Pashto (ps)
394 * Portuguese (pt)
395 * Brazilian Portuguese (pt-br)
396 * Quechua (qu)
397 * Romani (rmy)
398 * Romanian (ro)
399 * Russian (ru)
400 * Yakut (sah)
401 * Sicilian (scn)
402 * Scots (sco)
403 * Sassaresu (sdc)
404 * Northern Sami (se)
405 * Cmique Itom (sei)
406 * Sinhalese (si)
407 * Slovak (sk)
408 * Slovenian (sl)
409 * Southern Sami (sma)
410 * Somali (so)
411 * Albanian (sq)
412 * Serbian Cyrillic ekavian (sr-ec)
413 * latinica (sr-el)
414 * Sranan Tongo (srn)
415 * Swati (ss)
416 * Southern Sotho (st)
417 * Seeltersk (stq)
418 * Sundanese (su)
419 * Swedish (sv)
420 * Swahili (sw)
421 * Silesian (szl) (new)
422 * Tamil (ta)
423 * Telugu (te)
424 * Tetum (tet)
425 * Tajik (tg-cyrl)
426 * Thai (th)
427 * Tigrinya (ti)
428 * Tagalog (tl)
429 * Tonga (to)
430 * Toki Pona (tokipona)
431 * Tok Pisin (tpi)
432 * Turkish (tr)
433 * Tatar (Cyrillic) (tt-cyrl)
434 * Tatar (Latin) (tt-latn)
435 * Tuvinian (tyv)
436 * Ukrainian (uk)
437 * Venda (ve)
438 * Venetian (vec)
439 * Vietnamese (vi)
440 * Volapük (vo)
441 * Walloon (wa)
442 * Waray (war)
443 * Wolof (wo)
444 * Mingrelian (xmf)
445 * Yiddish (yi)
446 * Yoruba (yo)
447 * Cantonese (yue)
448 * Zeeuws (zea)
449 * Old Chinese / Late Time Chinese (zh-classical)
450 * Simplified Chinese (zh-hans)
451 * Traditional Chinese (zh-hant)
452 * ‪Chinese (Taiwan) (zh-tw)
453
454 == Compatibility ==
455
456 MediaWiki 1.13 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
457
458 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
459 http://bugs.php.net/bug.php?id=34879
460 Upgrade affected systems to PHP 5.1 or higher.
461
462 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
463 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
464
465
466 == Upgrading ==
467
468 1.13 has several database changes since 1.12, and will not work without schema
469 updates.
470
471 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
472 new database fields are filled with data.
473
474 If upgrading from before 1.11, and you are using a wiki as a commons repository,
475 make sure that it is updated as well. Otherwise, errors may arise due to
476 database schema changes.
477
478 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
479 changes are made, and there is a slightly higher chance that things could
480 break. Don't forget to always back up your database before upgrading!
481
482 See the file UPGRADE for more detailed upgrade instructions.
483
484
485 === Caveats ===
486
487 Some output, particularly involving user-supplied inline HTML, may not
488 produce 100% valid or well-formed XHTML output. Testers are welcome to
489 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
490 cases, but this is not recommended on live sites. (This must be set for
491 MathML to display properly in Mozilla.)
492
493 For notes on 1.12.x and older releases, see HISTORY.
494
495
496 === Online documentation ===
497
498 Documentation for both end-users and site administrators is currently being
499 built up on MediaWiki.org, and is covered under the GNU Free Documentation
500 License (except for pages that explicitly state that their contents are in
501 the public domain) :
502
503 http://www.mediawiki.org/wiki/Documentation
504
505
506 === Mailing list ===
507
508 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
509 wikitech-l list:
510
511 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
512
513 A low-traffic announcements-only list is also available:
514
515 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
516
517 It's highly recommended that you sign up for one of these lists if you're
518 going to run a public MediaWiki, so you can be notified of security fixes.
519
520
521 === IRC help ===
522
523 There's usually someone online in #mediawiki on irc.freenode.net