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