Introducing new image parameter 'upright' and corresponding variable $wgThumbUpright.
[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 * $wgThumbUpright - Adjust width of upright images when parameter 'upright' is
23 used
24
25 == New features since 1.10 ==
26
27 * (bug 8868) Separate "blocked" message for autoblocks
28 * Adding expiry of block to block messages
29 * Bulk mail options ($wgEnotifImpersonal, $wgEnotifUseJobQ) for large sites
30 * Links to redirect pages in categories are wrapped in
31 <span class="redirect-in-category"></span>
32 * Introduced 'ImageOpenShowImageInlineBefore' hook; see docs/hooks.txt for
33 more information
34 * (bug 9628) Show warnings about slave lag on Special:Contributions,
35 Special:Watchlist
36 * (bug 8818) Expose "wpDestFile" as parameter $1 to "uploaddisabledtext"
37 * Introducing new image parameter 'upright' and corresponding variable
38 $wgThumbUpright. This allows better proportional view of upright images
39 related to landscape images on a page without nailing the width of upright
40 images to a fix value which makes views for anon unproportional and user
41 preferences useless
42
43 == Bugfixes since 1.10 ==
44
45 * (bug 9712) Use Arabic comma in date/time formats for Arabic and Farsi
46 * (bug 9670) Follow redirects when render edit section links to transcluded
47 templates.
48 * (bug 6204) Fix incorrect unindentation with $wgMaxTocLevel
49 * (bug 3431) Suppress "next page" link in Special:Search at end of results
50 * Don't show unblock form if the user doesn't have permission to use it
51 (cosmetic change, no vulnerabilities existed)
52 * Subtitle success message when unblocking a block ID instead of a pseudo link
53 like [[User:#123|#123]]
54 * Use the standard HTTP fetch functions when retrieving remote wiki pages
55 through transwiki, so we can take advantage of cURL goodies if available
56 * Disable custom user javascript in Special:Preferences, to avoid the risk
57 of a compromised script sniffing passwords etc.
58 * (bug 9854, 3770) Clip overflow text in gallery boxes for visual cleanliness
59 instead of letting it flow outside the box or trigger ugly scroll bars.
60 * Tooltips for print version and permalink
61 * Links to the MediaWiki namespace for system messages having their default
62 values are no longer shown as nonexistent (e.g., in red)
63 * Special:Ipblocklist differentiates between empty list and no search results.
64 * (bug 5375) profiling does not respect read-only mode.
65 * (bug 7070) monobook/user.gif has antialias artifacts
66 * (bug 9123) Safer way when applying $wgLocalTZoffset
67 * (bug 9896) Documentation for $wgSquidServers and X-FORWARDED-FOR
68 * (bug 9417) Uploading new versions of images when using Postgres no longer
69 throws warnings.
70 * (bug 9908) Using tsearch2 with Postgres 8.1 no longer gives an error.
71 * (bug 1438) Fix for diff table layout on very wide lines.
72 Diff style rules have been broken out to common/diff.css,
73 and the dupes removed from the default skin files.
74 Skins can still override the default rules.
75 * (bug 1229) Balance columns in diff display evenly
76 * Right-align diff line numbers in RTL language display
77 * (bug 9332) Fix instructions in tests/README
78 * (bug 9813) Reject usernames containing '#' to avoid silent truncation
79 of fragments during the normalisation process
80 * (bug 7989) RSS feeds content now use black text when using white background.
81 * (bug 9971) Typo in a french language message.
82 * (bug 9973) Changed size was shown in advanced recentchanges collapsible items
83 with $wgRCShowChangedSized = false.
84 * Fix PHP strict standards warning in enhanced recent changes.
85 * (bug 5850) Added hexadecimal html entities comments for $digitTransformTable
86 entries.
87
88 == MediaWiki API changes since 1.10 ==
89
90 (For ongoing development discussion, see http://www.mediawiki.org/wiki/API)
91
92 * New properties: links, templates, images, langlinks, categories, external links
93 * Breaking Change: imagelinks renamed into imageusage (il->iu)
94 * Bug fix: incorrect generator behavior in some cases
95 * JSON format allows an optional callback function to wrap the result.
96 * Login module disabled until a more secure solution can be implemented
97 * (bug 9938) Querying by revision identifier returns the most recent revision
98 for the corresponding page, rather than the requested revision
99 * (bug 8772) Filter page revision queries by user
100 * (bug 9927) User contributions queries do not accept IP addresses
101 * Watchlist feed now reports a proper feed item when the user is not logged in
102 * Watchlist feed date bug fixed - automatically shows one last day
103 * Watchlist feed now allows to specify number of hours to monitor
104 * list=allpages now returns a list instead of a map in json format
105 * Breaking Change: in json, revisions are now returned as a list, not as a map.
106 * Add: prop=info can show page is new flag, current page length, and visit counter.
107 * Change: Query watchlist now shows flags only when explicitly requested with wlparam=flags
108 rc_this_oldid (textid) is no longer accessible from query watchlist
109 * action=usercontribs: additional filtering by ucshow=; selection of needed fields with ucprop=;
110 the textid (rev_text_id) is no longer being exposed
111 * breaking change: backlinks, embeddedin & imageusage now return lists in json instead of a map,
112 and do not return anything when titles do not exist. (bug 9970)
113 * added query parameter indexpageids to list the page ids of all returned page items (bug 9121)
114
115 == Maintenance script changes since 1.10 ==
116
117 * Add support for wgMaxTocLevel option in parserTests
118 * (bug 6823) dumpHTML: explicitly disable article view counter
119
120 == Languages updated since 1.10 ==
121
122 * Arabic (ar)
123 * Catalan (ca)
124 * Danish (da)
125 * German (de)
126 * Spanish (es)
127 * Farsi (fa)
128 * Finnish (fi)
129 * French (fr)
130 * Hebrew (he)
131 * Indonesian (id)
132 * Italian (it)
133 * Japanese (ja)
134 * Kabyle (kab)
135 * Kazakh (kk)
136 * Kurdish (ku)
137 * Lithuanian (lt)
138 * Norwegian (no)
139 * Polish (pl)
140 * Russian (ru)
141 * Somali (so)
142 * Sundanese (su)
143 * Swedish (sv)
144 * Chinese (PRC) (zh-cn)
145 * Chinese (Taiwan) (zh-tw)
146 * Cantonese (zh-yue)
147
148 == Compatibility ==
149
150 MediaWiki 1.11 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
151
152 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
153 http://bugs.php.net/bug.php?id=34879
154 Upgrade affected systems to PHP 5.1 or higher.
155
156 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
157 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
158
159
160 == Upgrading ==
161
162 1.11 has several database changes since 1.10, and will not work without schema
163 updates.
164
165 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
166 new database fields are filled with data.
167
168 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
169 changes are made, and there is a slightly higher chance that things could
170 break. Don't forget to always back up your database before upgrading!
171
172 See the file UPGRADE for more detailed upgrade instructions.
173
174 === Caveats ===
175
176 Some output, particularly involving user-supplied inline HTML, may not
177 produce 100% valid or well-formed XHTML output. Testers are welcome to
178 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
179 cases, but this is not recommended on live sites. (This must be set for
180 MathML to display properly in Mozilla.)
181
182
183 For notes on 1.10.x and older releases, see HISTORY.
184
185
186 === Online documentation ===
187
188 Documentation for both end-users and site administrators is currently being
189 built up on MediaWiki.org, and is covered under the GNU Free Documentation
190 License (except for pages that explicitly state that their contents are in
191 the public domain) :
192
193 http://www.mediawiki.org/wiki/Documentation
194
195
196 === Mailing list ===
197
198 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
199 wikitech-l list:
200
201 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
202
203 A low-traffic announcements-only list is also available:
204
205 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
206
207 It's highly recommended that you sign up for one of these lists if you're
208 going to run a public MediaWiki, so you can be notified of security fixes.
209
210
211 === IRC help ===
212
213 There's usually someone online in #mediawiki on irc.freenode.net