* Assign rollback permission to ALL logged-in users by default. This seems to be...
[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.12 ==
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.12 ===
22 * Marking edits as bot edits with Special:Contributions?bot=1 now requires the
23 markbotedit permission, rather than the rollback permission previously used.
24 This permission is assigned by default to the sysop group.
25 * MediaWiki now checks if serialized files are out of date. New configuration
26 variable $wgCheckSerialized can be set to false to enable old behavior (i.e.
27 to not check and assume they are always up to date)
28 * The rollback permission is now assigned by default to all logged-in users. It
29 can also now be rate-limited using the normal mechanism.
30
31 === New features in 1.12 ===
32 * (bug 10735) Add a warning for non-descriptive filenames at Special:Upload
33 * Add {{filepath:}} parser function to get full path to an uploaded file,
34 complementing {{fullurl:}} for pages.
35 * (bug 11136) If using Postgres, search path is explicitly set if wgDBmwschema
36 is not set to 'mediawiki', allowing multiple mediawiki instances per user.
37 * (bug 11151) Add descriptive <title> to revision history page
38 * (bug 5412) Add feed links for the site to all pages
39 * (bug 11353) Add ability to retrieve raw section content via action=raw
40 * (bug 6909) Show relevant deletion log lines when uploading a previously
41 deleted file
42 * On SkinTemplate based skins (like MonoBook), omit confusing "edit"/"view
43 source" tab entirely if the page doesn't exist and the user isn't allowed to
44 create it
45 * Clarify instructions given when an exception is thrown
46 * AuthPlugin added strictUserAuth() method to allow per-user override
47 of the strict() authentication behavior.
48 * (bug 7872) Deleted revisions can now be viewed as diffs showing changes
49 against the previous revision, whether currently deleted or live.
50 * Added tooltips for the "Go" and "Search" buttons
51 * (bug 11649) Show input form when Special:Whatlinkshere has no parameters
52 * isValidEmailAddr hook added to User method of that name, to allow, e.g., re-
53 stricting e-mail addresses to a specific domain
54 * Removed "Clear" link in watchlist editor tools, as people were afraid to
55 click it. Existing clear links will fall back to the raw editor, which is
56 very easy to clear your watchlist with.
57 * (bug 1405) Add wgUseNPPatrol option to control patroling for new articles
58 on Special:Newpages
59 * LogLine hook added to allow formatting custom entries in Special:Log.
60 * Support for Iranian calendar
61 * (bug 1401) Allow hiding logged-in users, bots and patrolled pages on
62 Special:Newpages
63 * ChangesListInsertArticleLink hook added for adding extra article info to RC.
64 * MediaWikiPerformAction hook added for diverting control after the main
65 globals have been set up but before any actions have been taken.
66 * BeforeWatchlist hook added for filtering or replacing watchlist.
67 * SkinTemplateTabAction hook added for altering the properties of tab links.
68 * OutputPage::getRedirect public method added.
69 * (bug 11848) Allow URL parameters 'editintro' and 'preload' in Special:Mypage
70 and Special:Mytalk
71 * Add ot=raw to Special:Allmessages
72 * Support for Hebrew calendar
73 * Support for Hebrew numerals in dates and times
74 * (bug 11315) Signatures can be configured in [[MediaWiki:Signature]] and
75 [[MediaWiki:Signature-anon]]
76 * Signatures for anonymous users link to Special:Contributions page rather than
77 user page
78 * Added --override switch for disabled pages in updateSpecialPages.php
79 * Provide a unique message (ipb_blocked_as_range) if unblock of a single IP
80 fails
81 because it is part of a blocked range.
82 * (bug 3973) Use a separate message for the email content when an account is
83 created by another user
84 * dumpTextPass.php can spawn fetchText.php as a subprocess, which should restart
85 cleanly if database connections fail unpleasantly.
86 * (bug 12028) Add Special:Listbots as shortcut for Special:Listusers/bot
87 * (bug 9633) Add a predefined list of delete reasons to the deletion form
88 * Show a warning message when creating/editing a user (talk) page but the user
89 does not exists
90 * (bug 8396) Ignore out-of-date serialised message caches
91 * (bug 12195) Undeleting pages now requires 'undelete' permission
92
93 === Bug fixes in 1.12 ===
94
95 * Subpages are now indexed for searching properly when using PostgreSQL
96 * (bug 3846) Suppress warnings from, e.g. open_basedir when scanning for
97 ImageMagick, diff3 et al. during installation [patch by Jan Reininghaus]
98 * (bug 7027) Shift handling of deletion permissions-checking to
99 getUserPermissionsErrors.
100 * Login and signup forms are now more correct for right-to-left languages.
101 * (bug 5387) Block log items on RecentChanges don't make use of possible
102 translations
103 * (bug 11211) Pass, as a parameter to the protectedpagetext interface
104 message, the level of protection.
105 * (bug 9611) Supply the blocker and reason for the cantcreateaccounttext
106 message.
107 * (bug 8759) Fixed bug where rollback was allowed on protected pages for wikis
108 where rollback is given to non-sysops.
109 * (bug 8834) Split off permission for editing user JavaScript and CSS from
110 editinterface to a new permission key editusercssjs.
111 * (bug 11266) Set fallback language for Fulfulde (ff) to French
112 * (bug 11179) Include image version deletion comment in public log
113 * Fixed notice when accessing special page without read permission and whitelist
114 is not defined
115 * (bug 9252) Fix for tidy funkiness when using editintro mode
116 * (bug 4021) Fix for MySQL wildcard search
117 * (bug 10699) Fix for MySQL phrase search
118 * (bug 11321) Fix width of gallerybox when option "width=xxx" is used
119 * (bug 7890) Special:BrokenRedirects links deleted redirects to a non-existent
120 page
121 * Fix initial statistics when installing: add correct values
122 * (bug 11342) Fix several 'returnto' links in permissions/error pages which
123 linked to the main page instead of targetted page
124 * Strike the link to the redirect rather than using an asterisk in
125 Special:Listredirects
126 * (bug 11355) Fix false positives in Safe Mode and other config detection
127 when boolean settings are disabled with 'Off' via php_admin_value/php_value
128 * (bug 11292) Fixed unserialize errors with Postgres by creating special Blob
129 object.
130 * (bug 11363) Make all metadata fields bytea when using Postgres.
131 * (bug 11331) Add buildConcat() and use CASE not IF for DB compatibility. Make
132 oldimage cascade delete via image table for Postgres, change fa_storage_key
133 TEXT.
134 * (bug 11438) Live Preview chops returned text
135 * Show the right message on account creation when the user is blocked
136 * (bug 11450) Fix creation of objectcache table on upgrade
137 * Fix namespace selection after submit of Special:Newpages
138 * Make input form of Special:Newpages nicer for RTL wikis
139 * (bug 11462) Fix typo in LanguageGetSpecialPageAliases hook name
140 * (bug 11474) Fix unintentional fall-through in math error handling
141 * (bug 11478) Fix undefined method call in file deletion interface
142 * (bug 278) Search results no longer highlight incorrect partial word matches
143 * Compatibility with incorrectly detected old-style DJVU mime types
144 * (bug 11560) Fix broken HTML output from weird link nesting in edit comments.
145 Nested links (as in image caption text) still don't work _right_ but they're
146 less wrong
147 * (bug 9718) Remove unnecessary css from main.css causing spacing issues on
148 some browsers.
149 * (bug 11574) Add an interface message loginstart, which, similarly to loginend,
150 appears just before the login form. Patch by MinuteElectron.
151 * Do not cache category pages if using 'from' or 'until'
152 * Created new hook getUserPermissionsErrors, to go with userCan changes.
153 * Diff pages did not properly display css/js pages.
154 * (bug 11620) Add call to User::isValidEmailAddr during accout creation.
155 * (bug 11629) If $wgEmailConfirmToEdit is true, require people to supply an
156 email address when registering.
157 * (bug 11612) Days to show in recent changes cannot be larger than 7
158 * (bug 11131) Change filearchive width/height columns to int for Postgres
159 * Support plural in undeleted{revisions,revisions-files,files}
160 * (bug 11343) If the database is read-only, ensure that undelete fails.
161 * (bug 11690) Show revert link for page moves in Special:Log to allowed users
162 only
163 * Initial-lowercase prefix checks in namespaceDupes.php now actually work.
164 * Fix regression in LinkBatch.php breaking PHP 5.0
165 * (bug 11452) wfMsgExt uses sometimes wrong language object for parsing magic
166 words when called with options ''parsemag'' or ''content''.
167 * (bug 11727) Support plural in 'historysize' message
168 * (bug 11744) Incorrect return value from Title::getParentCategories()
169 * (bug 11762) Fix native language name of Akan (ak)
170 * (bug 11722) Fix inconsistent case in unprotect tabs
171 * (bug 11795) Be more paranoid about confirming accept-encoding header is
172 present
173 * (bug 11809) Use formatNum() for more numbers
174 * (bug 11818) Fix native language name of Inuktitut (iu)
175 * Remove all commas when parsing float numbers in sorted tables
176 * Limit text field of deletion, protection and user rights changes reasons to
177 255 characters (already restricted in the database)
178 * In the deletion default reasons, calculate how much text to get from the
179 article text, rather than getting 150 characters (which may be too much)
180 * Add two messages for Special:Blockme which were used but undefined
181 * (bug 11921) Support plural in message number_of_watching_users_pageview
182 * If an IP address is blocked as part of a rangeblock, attempting to unblock
183 the single IP should not unblock the entire range.
184 * (bug 6695) Fix native language name of Southern Sotho (Sesotho) (st)
185 * Make action=render follow redirects by default
186 * If restricted read access was enabled, whitelist didn't work with special
187 pages which had spaces in theirs names
188 * If restricted read access was enabled, requests for non-existing special pages
189 threw an exception
190 * Feeds for recent changes now provide correct URLs for the change, not just
191 the page
192 * Check for if IP is blocked as part of a range when unblocking (see above bug-
193 fix) was faulty. Now fixed.
194 * Fixed wpReason URL parameter to action=delete.
195 * Do not force a password for account creation by email
196 * Ensure that rate-limiting is applied to rollbacks.
197 * Make a better rate-limiting error message (i.e. a normal MW error,
198 rather than an "Internal Server Error").
199 * Do not present an image bigger than the source when 'frameless' option is used
200 (to be consistent with the 'thumb' option now)
201 * Support {{PLURAL}} for import log
202 * Make sure that the correct log entries are shown on Special:Userrights even
203 for users with special characters in their names
204 * The number of watching users in watchlists was always reported as 1
205 * namespaceDupes.php no longer dies when coming across an illegal title
206 * (bug 12143) Do not show a link to patrol new pages for non existent pages
207 * (bug 12166) Fix XHTML validity for Special:Emailuser
208 * (bug 11346) Users who cannot edit a page can now no longer unprotect it.
209 * (bug 451) Add a generic Traditional / Simplified Chinese conversion table,
210 instead of a Traditional conversion with Taiwan variant, and a Simplified
211 conversion with China variant.
212 * (bug 12178) Fix wpReason parameter to action=delete, again.
213 * Graceful behavior for updateRestrictions.php if a page already has records
214 in the page_restrictions matching its old page_restrictions field.
215 May help with odd upgrade issues or race condition.
216 * (bug 11993) Remove contentsub "revision history"
217
218 == Parser changes in 1.12 ==
219
220 The parser pass order has changed from
221
222 * Extension tag strip and render
223 * HTML normalisation and security
224 * Template expansion
225 * Main section...
226
227 to
228
229 * Template and extension tag parse to intermediate representation
230 * Template expansion and extension rendering
231 * HTML normalisation and security
232 * Main section...
233
234 The main effect of this for the user is that the rules for uncovered syntax
235 have changed.
236
237 Uncovered main-pass syntax, such as HTML tags, are now generally valid, whereas
238 previously in some cases they were escaped. For example, you could have "<ta" in
239 one template, and "ble>" in another template, and put them together to make a
240 valid <table> tag. Previously the result would have been "&lt;table&gt;".
241
242 Uncovered preprocessor syntax is generally not recognised. For example, if you
243 have "{{a" in Template:A and "b}}" in Template:B, then "{{a}}{{b}}" will be
244 converted to a literal "{{ab}}" rather than the contents of Template:Ab. This
245 was the case previously in HTML output mode, and is now uniformly the case in
246 the other modes as well. HTML-style comments uncovered by template expansion
247 will not be recognised by the preprocessor and hence will not prevent template
248 expansion within them, but they will be stripped by the following HTML security
249 pass.
250
251 The rules for template expansion during message transformation were
252 counterintuitive, mostly accidental and buggy. There are a few small changes in
253 this version: for example, templates with dynamic names, as in "{{ {{a}} }}",
254 are fully expanded as they are in HTML mode, whereas previously only the inner
255 template was expanded. I'd like to make some larger breaking changes to message
256 transformation, after a review of typical use cases.
257
258 The header identification routines for section edit and for numbering section
259 edit links have been merged. This removes a significant failure mode and fixes a
260 whole category of bugs (tracked by bug #4899). Wikitext headings uncovered by
261 template expansion or comment removal will still be rendered into a heading tag,
262 and will get an entry in the TOC, but will not have a section edit link.
263 HTML-style headings will also not have a section edit link. Valid wikitext
264 headings present in the template source text will get a template section edit
265 link. This is a major break from previous behaviour, but I believe the effects
266 are almost entirely beneficial.
267
268 The main motivation for making these changes was performance. The new two-pass
269 preprocessor can skip "dead branches" in template expansion, such as unfollowed
270 #switch cases and unused defaults for template arguments. This provides a
271 significant performance improvement in template-heavy test cases taken from
272 Wikipedia. Parser function hooks can participate in this performance improvement
273 by using the new SFH_OBJECT_ARGS flag during registration.
274
275 The pre-expand include size limit has been removed, since there's no efficient
276 way to calculate such a figure, and it would now be meaningless for performance
277 anyway. The "preprocessor node count" takes its place, with a generous default
278 limit.
279
280 The context in which XML-style extension tags are called has changed, so
281 extensions which make use of the parser state may need compatibility changes.
282
283 === API changes in 1.12 ===
284
285 Full API documentation is available at http://www.mediawiki.org/wiki/API
286
287 * (bug 11275) Enable descending sort in categorymembers
288 * (bug 11308) Allow the API to output the image metadata
289 * (bug 11296) Temporary fix for escaping of ampersands inside links in
290 pretty-printed
291 help document.
292 * (bug 11405) Expand templates implementation in the API
293 * (bug 11218) Add option to feedwatchlist to display multiple revisions for each
294 page.
295 * (bug 11404) Provide name of exception caught in error code field of internal
296 api error messages.
297 * (bug 11534) rvendid doesn't work
298 * Fixed rvlimit of the revisions query to only enforce the lower query limit if
299 revision content is requested.
300 * Include svn revision number (if install is checked-out from svn) in siteinfo
301 query.
302 * (bug 11173) Allow limited wikicode rendering via api.php
303 * (bug 11572) API should provide interface for expanding templates
304 * (bug 11569) Login should return the cookie prefix
305 * (bug 11632) Breaking change: Specify the type of a change in the recentchanges
306 list as 'edit', 'new', 'log' instead of 0, 1, 2, respectively.
307 * Compatibility fix for PHP 5.0.x.
308 * Add rctype parameter to list=recentchanges that filters by type
309 * Add apprtype and apprlevel parameters to filter list=allpages by protection
310 types and levels
311 * Add apdir parameter to enable listing all pages from Z to A
312 * (bug 11721) Use a different title for results than for the help page.
313 * (bug 11562) Added a user_registration parameter/field to the list=allusers
314 query.
315 * (bug 11588) Preserve document structure for empty dataset in backlinks query.
316 * Outputting list of all user preferences rather than having to request them by
317 name
318 * (bug 11206) api.php should honor maxlag
319 * Make prop=info check for restrictions in the old format too.
320 * Add apihighlimits permission, default for sysops and bots
321 * Add limit=max to use maximal limit
322 * Add action=parse to render parser output. Use it instead of action=render which is deprecated.
323 * Add rvtoken=rollback to prop=revisions
324 * Add meta=allmessages to get messages from site's messages cache.
325 * Use bold and italics highlighting only in API help
326 * Added action={block,changerights,delete,move,protect,rollback,unblock,undelete} and list={blocks,deletedrevs}
327 * Fixed sessionid attribute in action=login
328 * Standardized limits. Revisions and Deletedrevisions formerly using 200 / 10000,
329 now 500 / 5000, in line with other modules.
330
331 === Languages updated in 1.12 ===
332
333 * Afrikaans (af)
334 * Akan (ak) (new)
335 * Amharic (am) (new)
336 * Aragonese (an)
337 * Old English (ang) (new)
338 * Arabic (ar)
339 * Aramaic (arc)
340 * Mapudungun (arn) (new)
341 * Assamese (as)
342 * Asturian (ast)
343 * Aymara (ay)
344 * Samogitian (bat-smg)
345 * Boarisch (bar)
346 * Bikol Central (bcl)
347 * Belarusian Taraskievica orthography (be-tarask)
348 * Bulgarian (bg)
349 * Bislama (bi) (new)
350 * Bamanankan (bm)
351 * Bengali (bn)
352 * Bishnupriya Manipuri (bpy)
353 * Breton (br)
354 * Buginese (bug) (new)
355 * Catalan (ca)
356 * Zamboangueño (cbk-zam) (new)
357 * Min Dong (cdo) (new)
358 * Chechen (ce)
359 * Cebuano (ceb) (new)
360 * Crimean Tatar (Cyrillic) (crh-cyrl) (new)
361 * Crimean Tatar (Latin) (crh-latn) (new)
362 * Czech (cs)
363 * Cassubian (csb)
364 * Old Church Slavonic (cu)
365 * Welsh (cy)
366 * Danish (da)
367 * German (de)
368 * Lower Sorbian (dsb) (new)
369 * Middle Dutch (dum) (new)
370 * Divehi (dv)
371 * Ewe (ee) (new)
372 * Greek (el)
373 * English (en)
374 * Spanish (es)
375 * Estonian (et)
376 * Euskara (eu)
377 * Extremaduran (ext)
378 * Finnish (fi)
379 * Persian (fa)
380 * Fulah (ff)
381 * Võro (fiu-vro)
382 * Faroese (fo)
383 * French (fr)
384 * Cajun French (frc)
385 * Franco-Provençal (frp)
386 * Frisian (fy)
387 * Irish (ga)
388 * Gön-gnŷ (gan) (new)
389 * Galician (gl)
390 * Gilaki (glk) (new)
391 * Ancient Greek (grc) (new)
392 * Swiss German (gsw)
393 * Hakka (hak)
394 * Hebrew (he)
395 * Croatian (hr)
396 * Upper Sorbian (hsb)
397 * Hungarian (hu)
398 * Armenian (hy)
399 * Interlingua (ia)
400 * Indonesian (id)
401 * Interlingue (ie) (new)
402 * Ingush (inh) (new)
403 * Ido (io) (new)
404 * Icelandic (is)
405 * Italian (it)
406 * Japanese (ja)
407 * Georgian (ka)
408 * Kara-Kalpak (kaa)
409 * Kabyle (kab)
410 * Kazakh (kk)
411 * Kannada (kn)
412 * Korean (ko)
413 * Kölsch (ksh)
414 * Kurdish (Latin) (ku-latn)
415 * Cornish (kw) (new)
416 * Latin (la)
417 * Luxembourgish (lb) (new)
418 * Lak (lbe) (new)
419 * Limbugian (li)
420 * Lozi (loz) (new)
421 * Lingala (ln)
422 * Lithuanian (lt)
423 * Malayalam (ml)
424 * Macedonian (mk)
425 * Malay (ms)
426 * Erzya (myv) (new)
427 * Nahuatl (nah)
428 * Min-nan (nan)
429 * Napolitan (nap)
430 * Low Saxon (nds)
431 * Dutch Low Saxon (nds-nl)
432 * Newari (new) (new)
433 * Dutch (nl)
434 * Norwegian (no)
435 * Novial (nov) (new)
436 * Occitan (oc)
437 * Deitsch (pdc) (new)
438 * Polish (pl)
439 * Piemontèis (pms)
440 * Pontic (pnt) (new)
441 * Pashto (ps)
442 * Portugese (pt)
443 * Quechua (qu)
444 * Rhaeto-Romance (rm) (new)
445 * Romanian (ro)
446 * Russian (ru)
447 * Sakha (sah)
448 * Sardinian (sc)
449 * Sicilian (scn)
450 * Scots (sco) (new)
451 * Sindhi (sd)
452 * Sassarese (sdc) (new)
453 * Seri (sei) (new)
454 * Tachelhit (shi)
455 * Slovak (sk)
456 * Serbian (Cyrillic) (sr-ec)
457 * Swati (ss) (new)
458 * Saterland Frisian (stq) (new)
459 * Sundanese (su)
460 * Swedish (sv)
461 * Tamil (ta)
462 * Teluga (te)
463 * Tetun (tet) (new)
464 * Tajik (tg)
465 * Tagalog (tl) (new)
466 * Turkish (tr)
467 * Tuvinian (tyv)
468 * Uyghur (ug)
469 * Uzbek (uz)
470 * Venitian (vec)
471 * Vietnamese (vi)
472 * West Flemish (vls)
473 * Volapük (vo)
474 * Walloon (wa)
475 * Wolof (wo)
476 * Wu (wuu) (new)
477 * Yiddish (yi)
478 * Cantonese (yue)
479 * Zhuang (za)
480 * Zealandic (zea)
481 * Chinese (zh)
482 * Old Chinese/Late Time Chinese (zh-classical)
483 * Chinese (Simplified) (zh-hans)
484 * Chinese (Traditional) (zh-hant)
485 * Chinese (Taiwan) (zh-tw)
486
487 == Compatibility ==
488
489 MediaWiki 1.12 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
490
491 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
492 http://bugs.php.net/bug.php?id=34879
493 Upgrade affected systems to PHP 5.1 or higher.
494
495 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
496 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
497
498
499 == Upgrading ==
500
501 1.12 has several database changes since 1.11, and will not work without schema
502 updates.
503
504 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
505 new database fields are filled with data.
506
507 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
508 changes are made, and there is a slightly higher chance that things could
509 break. Don't forget to always back up your database before upgrading!
510
511 See the file UPGRADE for more detailed upgrade instructions.
512
513
514 === Caveats ===
515
516 Some output, particularly involving user-supplied inline HTML, may not
517 produce 100% valid or well-formed XHTML output. Testers are welcome to
518 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
519 cases, but this is not recommended on live sites. (This must be set for
520 MathML to display properly in Mozilla.)
521
522 For notes on 1.11.x and older releases, see HISTORY.
523
524
525 === Online documentation ===
526
527 Documentation for both end-users and site administrators is currently being
528 built up on MediaWiki.org, and is covered under the GNU Free Documentation
529 License (except for pages that explicitly state that their contents are in
530 the public domain) :
531
532 http://www.mediawiki.org/wiki/Documentation
533
534
535 === Mailing list ===
536
537 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
538 wikitech-l list:
539
540 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
541
542 A low-traffic announcements-only list is also available:
543
544 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
545
546 It's highly recommended that you sign up for one of these lists if you're
547 going to run a public MediaWiki, so you can be notified of security fixes.
548
549
550 === IRC help ===
551
552 There's usually someone online in #mediawiki on irc.freenode.net