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