* RELEASE-NOTES from last commit
[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.11 ==
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 since 1.10 ==
22
23 * $wgThumbUpright - Adjust width of upright images when parameter 'upright' is
24 used
25 * $wgAddGroups, $wgRemoveGroups - Finer control over who can assign which
26 usergroups
27 * $wgEnotifImpersonal, $wgEnotifUseJobQ - Bulk mail options for large sites
28 * $wgShowHostnames - Expose server host names through the API and HTML comments
29
30 == New features since 1.10 ==
31
32 * (bug 8868) Separate "blocked" message for autoblocks
33 * Adding expiry of block to block messages
34 * Links to redirect pages in categories are wrapped in
35 <span class="redirect-in-category"></span>
36 * Introduced 'ImageOpenShowImageInlineBefore' hook; see docs/hooks.txt for
37 more information
38 * (bug 9628) Show warnings about slave lag on Special:Contributions,
39 Special:Watchlist
40 * (bug 8818) Expose "wpDestFile" as parameter $1 to "uploaddisabledtext"
41 * Introducing new image keyword 'upright' and corresponding variable
42 $wgThumbUpright. This allows better proportional view of upright images
43 related to landscape images on a page without nailing the width of upright
44 images to a fix value which makes views for anon unproportional and user
45 preferences useless
46 * (bug 6072) Introducing 'border' keyword to the [[Image:]] syntax
47 * Introducing 'frameless' keyword to [[Image:]] syntax which respects the
48 user preferences for image width like 'thumb' but without a frame.
49 * (bug 7960) Link to "what links here" for each "what links here" entry
50 * Added support for configuration of an arbitrary number of commons-style
51 file repositories.
52 * Added a Content-Disposition header to thumb.php output
53 * Improved thumb.php error handling
54 * Display file history on local image description pages of shared images
55 * Added $wgArticleRobotPolicies
56 * (bug 10076) Additional parameter $7 added to MediaWiki:Blockedtext
57 containing, the ip, ip range, or username whose block is affecting the
58 * (bug 7691) Show relevant lines from the deletion log when re-creating a
59 previously deleted article
60 * Added variables 'wgRestrictionEdit' and 'wgRestrictionMove' for JS to header
61 * (bug 9898) Allow viewing all namespaces in Special:Newpages
62 * (bug 10139) Introduce 'EditSectionLink' and 'EditSectionLinkForOther' hooks;
63 see docs/hooks.txt for details
64 * (bug 9769) Provide "watch this page" toggle on protection form
65 * (bug 9886) Provide clear example "stub link" in Special:Preferences
66 * (bug 10055) Populate email address and real name properties of User objects
67 passed to the 'AbortNewAccount' hook
68 * Show result of Special:Booksources in wiki content language always, it's
69 normally better maintained than the generic list from the standard message
70 files
71 * (bug 7997) Allow users to be blocked from using Special:Emailuser
72 * (bug 8989) Blacklist 'mhtml' and 'mht' files from upload
73 * (bug 8760) Allow wiki links in "protectexpiry" message
74 * (bug 5908) Add "DEFAULTSORTKEY" and "DEFAULTCATEGORYSORT" aliases for
75 "DEFAULTSORT" magic word
76 * (bug 10181) Support the XCache object caching mechanism
77 * (bug 9058) Introduce '--aconf' option for all maintenance scripts, to provide
78 a path to the AdminSettings.php file
79 * (bug 8781) Remind users to check file permissions for LocalSettings.php
80 post-installation
81 * Use shared.css for all skins and oldshared.css in place of common.css for
82 pre-Monobook skins. As always, modifications should go in-wiki to MediaWiki:
83 Common.css and MediaWiki:Monobook.css.
84 * (bug 8869) Introduce Special:Uncategorizedtemplates
85 * (bug 8734) Different log message when article protection level is changed
86 * (bug 8458, 10338) Limit custom signature length to $wgMaxSigChars Unicode
87 characters
88 * (bug 10096) Added an ability to query interwiki map table
89 * On reupload, add a null revision to the image description page
90 * Group log output by date
91 * Kurdish interface latin/arabic writing system with transliteration
92 * Support wiki text in all query page headers
93 * Add 'Orphanedpages' as an alias to Special:Lonelypages
94 * (bug 9328) Use "revision-info-current" message in place of "revision-info"
95 when viewing the current revision of a page, if available
96 * (bug 8890) Enable wiki text for "license" message
97 * Throw a showstopper exception when a hook function fails to return a value.
98 Forgetting to give a 'true' return value is a very common error which tends
99 to cause hard-to-track-down interactions between extensions.
100 * Use $wgJobClasses to determine the correct Job to instantiate for a particular
101 queued task; allows extensions to introduce custom jobs
102 * (bug 10326) AJAX-based page watching and unwatching has been cleaned up and
103 enabled by default.
104 * Added option to install to MyISAM
105 * (bug 9250) Remove hardcoded minimum image name length of three characters
106 * Fixed DISPLAYTITLE behaviour to reject titles which don't normalise to the
107 same title as the current page, and enabled per default
108 * Wrap site CSS and JavaScript in a <pre> tag, like user JS/CSS
109 * (bug 10196) Add classes and dir="ltr" to the <pre>s on CSS and JS pages (new
110 classes: mw-code, mw-css, mw-js)
111 * (bug 6711) Add $wgAddGroups and $wgRemoveGroups to allow finer control over
112 usergroup assignment.
113 * Introduce 'UserEffectiveGroups' hook; see docs/hooks.txt for more information
114 * (bug 10387) Detect and handle '.php5' extension environments at install time
115 Patch by Edward Z. Yang.
116 * Introduce 'ShowRawCssJs' hook; see docs/hooks.txt for more information
117 * (bug 10404) Show rights log for the selected user in Special:Userrights
118 * New javascript for upload page that will show a warning if a file with the
119 "destination filename" already exists.
120 * Add 'editsection-brackets' message to allow localization (or removal) of the
121 brackets in the "[edit]" link for sections
122 * (bug 10437) Move texvc styling to shared.css
123 * (bug 10438) HTML TeX formulas should not wrap
124 * Introduce "raw editing" mode for the watchlist, to allow bulk additions,
125 removals, and convenient exporting of watchlist contents
126 * Show "undo" links in page histories
127 * Option to jump to specified time period in user contributions
128 * Improved feedback on "rollback success" page
129 * Show distinct 'namespaceprotected' message to users when namespace protection
130 prevents page editing
131 * (bug 9936) Per-edit suppression of preview-on-first edit with "preview=no"
132 * Allow showing a one-off preview on first edit with "preview=yes"
133 * (bug 9151) Remove timed redirects on "Return to X" pages for accessibility.
134 * Link to user logs in toolbox when viewing a user page
135 * (bug 10508) Allow HTML attributes on <gallery>
136 * (bug 1962) Allow HTML attributes on <math>
137 * (bug 10530) Introduce optional "sp-contributions-explain" message for
138 additional explanation in Special:Contributions
139 * (bug 10520) Preview licences during upload via AJAX (toggle with
140 $wgAjaxLicencePreview)
141 * New Parser::setTransparentTagHook for parser extension and template
142 compatibility
143 * Introduced 'ContributionsToolLinks' hook; see docs/hooks.txt for more
144 information
145 * Add a message if category is empty
146 * Add CSS compatibility for Opera 9.5
147 * Remove largely untested handheld stylesheet, which was causing more trouble
148 than good. Proper handheld support will be added at a future date. For now,
149 display should be acceptable either with CSS turned off or when using a so-
150 phisticated handheld browser.
151
152 == Bugfixes since 1.10 ==
153
154 * (bug 9712) Use Arabic comma in date/time formats for Arabic and Farsi
155 * (bug 9670) Follow redirects when render edit section links to transcluded
156 templates.
157 * (bug 6204) Fix incorrect unindentation with $wgMaxTocLevel
158 * (bug 3431) Suppress "next page" link in Special:Search at end of results
159 * Don't show unblock form if the user doesn't have permission to use it
160 (cosmetic change, no vulnerabilities existed)
161 * Subtitle success message when unblocking a block ID instead of a pseudo link
162 like [[User:#123|#123]]
163 * Use the standard HTTP fetch functions when retrieving remote wiki pages
164 through transwiki, so we can take advantage of cURL goodies if available
165 * Disable user JavaScript on Special:Userlogin, Special:Resetpass and
166 Special:Preferences, to avoid a compromised script sniffing passwords, etc.
167 * (bug 9854, 3770) Clip overflow text in gallery boxes for visual cleanliness
168 instead of letting it flow outside the box or trigger ugly scroll bars.
169 * Tooltips for print version and permalink
170 * Links to the MediaWiki namespace for system messages having their default
171 values are no longer shown as nonexistent (e.g., in red)
172 * Special:Ipblocklist differentiates between empty list and no search results.
173 * (bug 5375) profiling does not respect read-only mode.
174 * (bug 7070) monobook/user.gif has antialias artifacts
175 * (bug 9123) Safer way when applying $wgLocalTZoffset
176 * (bug 9896) Documentation for $wgSquidServers and X-FORWARDED-FOR
177 * (bug 9417) Uploading new versions of images when using Postgres no longer
178 throws warnings.
179 * (bug 9908) Using tsearch2 with Postgres 8.1 no longer gives an error.
180 * (bug 1438) Fix for diff table layout on very wide lines.
181 Diff style rules have been broken out to common/diff.css,
182 and the dupes removed from the default skin files.
183 Skins can still override the default rules.
184 * (bug 1229) Balance columns in diff display evenly
185 * Right-align diff line numbers in RTL language display
186 * (bug 9332) Fix instructions in tests/README
187 * (bug 9813) Reject usernames containing '#' to avoid silent truncation
188 of fragments during the normalisation process
189 * (bug 7989) RSS feeds content now use black text when using white background.
190 * (bug 9971) Typo in a french language message.
191 * (bug 9973) Changed size was shown in advanced recentchanges collapsible items
192 with $wgRCShowChangedSized = false.
193 * Fix PHP strict standards warning in enhanced recent changes.
194 * (bug 5850) Added hexadecimal html entities comments for $digitTransformTable
195 entries.
196 * (bug 7432) Change language name for Aromanian (roa-rup)
197 * (bug 908) Unexistent special pages now generate a red link.
198 * (bug 7899) Added \hline and \vline to the list of allowed TeX commands
199 * (bug 7993) support mathematical symbol classes
200 * (bug 10007) Allow Block IP to work with Postgrs again.
201 * Add Google Wireless Transcoder to the Unicode editing blacklist
202 * (bug 10083) Fix for Special:Version breakage on PHP 5.2 with some hooks
203 * (bug 3624) TeX: \ker, \hom, \arg, \dim treated like \sin & \cos
204 * (bug 10132, 10134) Restore back-compatibility Image::imageUrl() function
205 * (bug 10113) Fix double-click for view source on protected pages
206 * (bug 10117) Special:Wantedpages doesn't handle invalid titles in result
207 set [now prints out a warning]
208 * (bug 10118) Introduced Special:Mostlinkedtemplates, report which lists
209 templates with a high number of inclusion links
210 * (bug 10104) Fixed Database::getLag() for PostgreSQL and Oracle
211 * (bug 9820) session.save_path check no longer halts installation, but
212 warns of possible bad values
213 * (bug 9978) Fixed session.save_path validation when using extended
214 configuration format, e.g. "5;/tmp"
215 * Don't generate a diff link in the patrol log if the page doesn't exist
216 * (bug 10067) Translations for former skins removed from message files
217 * (bug 9993) Force $wgShowExceptionDetails on during installation
218 * (bug 9980) Validate administrator username and password during
219 installation
220 * (bug 9383) Don't set a default value for BLOB column in rc-deleted
221 database patch
222 * (bug 10149) Don't show full template list on section-0 edit
223 * (bug 9909) Ensure access to binary fields in the math table use encodeBlob()
224 and decodeBlob()
225 * (bug 6743) Don't link broken image links to the upload form when uploads
226 are disabled
227 * (bug 9679) Improve documentation for $wgSiteNotice
228 * (bug 10215) Show custom editing introduction when editing existing pages
229 * (bug 10223) Fix edit link in noarticletext localizations for fr, oc
230 * (bug 10247) Fix IP address regex to avoid false positive IPv6 matches
231 * (bug 9948) Workaround for diff regression with old Mozilla versions
232 * (bug 10265) Fix regression in category image gallery paging
233 * (bug 8577) Fix some weird misapplications of time zones.
234 {{CURRENT*}} functions now consistently use UTC as intended, while
235 {{LOCAL*}} functions return local time per server config or $wgLocaltimezone.
236 Signature dates for Japanese and other languages including weekday now show
237 the correct day to match the rest of the time in local time.
238 * Escape the output of magic variables that return page name or part of it
239 * (bug 10309) Initialise parser state properly in extractSections(), fixes
240 some cases where section edits broke because tags were improperly stripped
241 * Avoid PHP notice errors when doing HTTP proxy purges for an empty list
242 * As intended, *skip* the HTTP proxy purges when doing HTCP purges
243 * (bug 9696) Fix handling of brace transformations in "pagemovedtext"
244 * (bug 10325) Fix regression in form action on Special:Listusers
245 * Fixed installation on MyISAM or old InnoDB with charset=utf8, was giving
246 overlong key errors.
247 * Fixed zero-padding issues with MySQL 5 binary schema
248 * (bug 10344) Don't follow a redirect after changing its protection level
249 * (bug 10333) Correct date format in Slovenian
250 * (bug 10160) Show error message for unknown namespace on Special:Allpages and
251 Special:Prefixindex; making forms prettier for RTL wikis.
252 * (bug 10334) Replace normal spaces before percent (%) signs with non-breaking
253 spaces
254 * (bug 10372) namespaceDupes.php no longer ignores namespace aliases
255 * (bug 10198) namespaceDupes.php no longer ignores interwiki prefixes
256 * namespaceDupes.php should work better for initial-lowercase wikis
257 * (bug 10377) "Permanent links" to revisions still work if the page is moved
258 and the redirect deleted
259 * (bug 7071) Properly handle an 'oldid' passed to view or edit that doesn't
260 match the given title. Fixes inconsistencies with talk, history, edit links.
261 * (bug 10397) Fix AJAX watch error fallback when we receive a bogus result
262 * (bug 10396) Fix AJAX error when $wgScriptPath/index.php is not valid;
263 using $wgScript now included in JS info
264 * Use native XMLHttpRequest class in preference to ActiveX on IE 7; this
265 avoids the "ActiveX "Do you want to allow ActiveX?" prompt when something
266 security settings are cranked this way and AJAX-y gets used.
267 * Delay AJAX watch initialization until click so IE 6 with ugly security
268 settings doesn't prompt you until you use the link.
269 * (bug 10401) Provide non-redirecting link to original title in Special:Movepage
270 * Fix broken handling of log views for page titles consisting of one
271 or more zeros, e.g. "0", "00" etc.
272 * Fix read permission check for special pages with subpage parameters, e.g.
273 Special:Confirmemail
274 * Fix read permission check for unreadable page titles which are numerically
275 equivalent to a whitelisted title
276 * '?>' closing tag removed from all files to help avoid problems with extraneous
277 whitespace (broken XML feeds, etc.)
278 * Don't use garbled parser cache output when viewing custom CSS or JavaScript
279 pages
280 * (bug 10406) Fix Special:Listusers filter form for non-ASCII localizations
281 * Fix empty message checks for message names containing &
282 This corrects some odd behavior with sidebar items and custom namespaces
283 containing ampersands.
284 * (bug 10375) Change thousands separator character to &nbsp; for Latin (la)
285 * (bug 10477) Fix AJAX watch for Farsi on Firefox: JavaScript encoding tweak
286 * (bug 10496) Fix broken DISTINCT option logic in database backend
287 * Fix CSS media declaration for "screen, projection"; was causing some
288 validation issues
289 * (bug 10495) $wgMemcachedDebug set twice in includes/DefaultSettings.php
290 * (bug 10316) Prevent inconsistent cached skin settings in gen=js by setting
291 the intended skin directly in the URL.
292 * (bug 9903) Don't mark redirects in categories as stubs
293 * (bug 6965) Cannot include "Template:R" with {{R}} (magic word conflict)
294 * Padding parser functions now work with strings like '0' that evaluate to false
295 * (bug 10332) Title->userCan( 'edit' ) may return false positive
296 * Fix bug with <nowiki> in front of links for wikis where linkPrefixExtension is true
297 * (bug 10552) Suppress rollback link in history for single-revision pages
298 * (bug 10538) Gracefully handle invalid input on move success page
299 * Fix for Esperanto double-x-encoding in move success page
300 * (bug 10526) Fix toolbar/insertTags behavior for IE 6/7 and Opera (8+)
301 Now matches the selection behavior on Mozilla / Safari.
302 Patch by Alex Smotrov.
303 * Don't show non-functional toolbar buttons on Opera 7 anymore
304 * (bug 9151) Fix relative subpage links with section fragments
305 * (bug 10560) Adding a space between category letter heading and "continues"
306 * Don't allow retrieving non-JavaScript/CSS pages with "text/css" or "text/javascript"
307 MIME types
308 * (bug 1629) Stop section edit links from being shoved down by other floats
309
310 == API changes since 1.10 ==
311
312 Full API documentation is available at http://www.mediawiki.org/wiki/API
313
314 * New properties: links, templates, images, langlinks, categories, external
315 links
316 * Breaking Change: imagelinks renamed into imageusage (il->iu)
317 * Bug fix: incorrect generator behavior in some cases
318 * JSON format allows an optional callback function to wrap the result.
319 * Login module disabled until a more secure solution can be implemented
320 * (bug 9938) Querying by revision identifier returns the most recent revision
321 for the corresponding page, rather than the requested revision
322 * (bug 8772) Filter page revision queries by user
323 * (bug 9927) User contributions queries do not accept IP addresses
324 * Watchlist feed now reports a proper feed item when the user is not logged in
325 * Watchlist feed date bug fixed - automatically shows one last day
326 * Watchlist feed now allows to specify number of hours to monitor
327 * list=allpages now returns a list instead of a map in JSON format
328 * Breaking Change: in json, revisions are now returned as a list, not as a map.
329 * Add: prop=info can show page is new flag, current page length, and visit
330 counter.
331 * Change: Query watchlist now shows flags only when explicitly requested with
332 wlparam=flags
333 * rc_this_oldid (textid) is no longer accessible from query watchlist
334 * action=usercontribs: additional filtering by ucshow=; selection of needed
335 fields with ucprop=; the textid (rev_text_id) is no longer being exposed
336 * (bug 9970) Breaking Change: backlinks, embeddedin and imageusage now return
337 lists in JSON instead of a map, and do not return anything when titles do
338 not exist
339 * (bug 9121) Introduced indexpageids query parameter to list the page_id
340 values of all returned page items
341 * (bug 10147) Now interwiki titles are not processed but added to a separate
342 "interwiki" section of the output.
343 * Added categorymembers list to query for pages in a category.
344 * (bug 10260) Show page protection status
345 * (bug 10392) Include MediaWiki version details in version output
346 * (bug 10411) Site language in meta=siteinfo
347 * (bug 10391) action=help doesn't return help if format is fancy markup
348 * backlinks, embeddedin and imageusage lists should use (bl|ei|iu)title parameter
349 instead of titles. Titles for these lists is obsolete and might stop working soon.
350 * Added prop=imageinfo - gets image properties and upload history
351 * (bug 10211) Added db server replication lag information in meta=siteinfo
352 * Added external url search within wiki pages (list=exturlusage)
353 * Added link enumeration (list=alllinks)
354 * Added registered users enumeration (list=allusers)
355
356 == Maintenance script changes since 1.10 ==
357
358 * Add support for wgMaxTocLevel option in parserTests
359 * (bug 6823) Disable article view counter in maintenance/dumpHTML.php
360 * Fix maintenance/importImages.php so it doesn't barf PHP errors when no
361 suitable files are found, and make the list of extensions an option (defaults
362 to $wgFileExtensions)
363 * Add option to maintenance/createAndPromote.php to give the user bureaucrat
364 permissions (--bureaucrat)
365
366 == Languages updated since 1.10 ==
367
368 * Afrikaans (af)
369 * Arabic (ar)
370 * Bulgarian (bg)
371 * Catalan (ca)
372 * Danish (da)
373 * German (de)
374 * Greek (el)
375 * Spanish (es)
376 * Farsi (fa)
377 * Finnish (fi)
378 * Võro (fiu-vro)
379 * French (fr)
380 * Galician (gl)
381 * Hakka (hak)
382 * Hebrew (he)
383 * Indonesian (id)
384 * Italian (it)
385 * Japanese (ja)
386 * Georgian (ka)
387 * Kabyle (kab)
388 * Kazakh (kk)
389 * Kurdish (ku)
390 * Latin (la)
391 * Lithuanian (lt)
392 * Malayalam (ml)
393 * Burmese (my)
394 * Dutch (nl)
395 * Norwegian (no)
396 * Polish (pl)
397 * Piedmontese (pms)
398 * Portuguese (pt)
399 * Romanian (ro)
400 * Aromanian (roa-rup)
401 * Russian (ru)
402 * Slovak (sk)
403 * Slovenian (sl)
404 * Shona (sn)
405 * Somali (so)
406 * Albanian (sq)
407 * Sundanese (su)
408 * Swedish (sv)
409 * Thai (th)
410 * Tigrinya (ti)
411 * Volapük (vo)
412 * Old Chinese / Late Middle Chinese (zh-classical)
413 * Chinese (PRC) (zh-cn)
414 * Chinese (Taiwan) (zh-tw)
415 * Cantonese (zh-yue)
416
417 == Compatibility ==
418
419 MediaWiki 1.11 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
420
421 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
422 http://bugs.php.net/bug.php?id=34879
423 Upgrade affected systems to PHP 5.1 or higher.
424
425 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
426 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
427
428
429 == Upgrading ==
430
431 1.11 has several database changes since 1.10, and will not work without schema
432 updates.
433
434 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
435 new database fields are filled with data.
436
437 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
438 changes are made, and there is a slightly higher chance that things could
439 break. Don't forget to always back up your database before upgrading!
440
441 See the file UPGRADE for more detailed upgrade instructions.
442
443 === Caveats ===
444
445 Some output, particularly involving user-supplied inline HTML, may not
446 produce 100% valid or well-formed XHTML output. Testers are welcome to
447 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
448 cases, but this is not recommended on live sites. (This must be set for
449 MathML to display properly in Mozilla.)
450
451
452 For notes on 1.10.x and older releases, see HISTORY.
453
454
455 === Online documentation ===
456
457 Documentation for both end-users and site administrators is currently being
458 built up on MediaWiki.org, and is covered under the GNU Free Documentation
459 License (except for pages that explicitly state that their contents are in
460 the public domain) :
461
462 http://www.mediawiki.org/wiki/Documentation
463
464
465 === Mailing list ===
466
467 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
468 wikitech-l list:
469
470 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
471
472 A low-traffic announcements-only list is also available:
473
474 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
475
476 It's highly recommended that you sign up for one of these lists if you're
477 going to run a public MediaWiki, so you can be notified of security fixes.
478
479
480 === IRC help ===
481
482 There's usually someone online in #mediawiki on irc.freenode.net