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