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