Use shared.css as a common CSS file for all skins, and oldshared.css in place of...
[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 keyword '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 * (bug 6072) Introducing 'border' keyword to the [[Image:]] syntax
43 * Introducing 'frameless' keyword to [[Image:]] syntax which respects the
44 user preferences for image width like 'thumb' but without a frame.
45 * (bug 7960) Link to "what links here" for each "what links here" entry
46 * Added support for configuration of an arbitrary number of commons-style
47 file repositories.
48 * Added a Content-Disposition header to thumb.php output
49 * Improved thumb.php error handling
50 * Display file history on local image description pages of shared images
51 * Added $wgArticleRobotPolicies
52 * (bug 10076) Additional parameter $7 added to MediaWiki:Blockedtext
53 containing, the ip, ip range, or username whose block is affecting the
54 * (bug 7691) Show relevant lines from the deletion log when re-creating a
55 previously deleted article
56 * Added variables 'wgRestrictionEdit' and 'wgRestrictionMove' for JS to header
57 * (bug 9898) Allow viewing all namespaces in Special:Newpages
58 * (bug 10139) Introduce 'EditSectionLink' and 'EditSectionLinkForOther' hooks;
59 see docs/hooks.txt for details
60 * (bug 9769) Provide "watch this page" toggle on protection form
61 * (bug 9886) Provide clear example "stub link" in Special:Preferences
62 * (bug 10055) Populate email address and real name properties of User objects
63 passed to the 'AbortNewAccount' hook
64 * Show result of Special:Booksources in wiki content language always, it's
65 normally better maintained than the generic list from the standard message
66 files
67 * (bug 7997) Allow users to be blocked from using Special:Emailuser
68 * (bug 8989) Blacklist 'mhtml' and 'mht' files from upload
69 * (bug 8760) Allow wiki links in "protectexpiry" message
70 * (bug 5908) Add "DEFAULTSORTKEY" and "DEFAULTCATEGORYSORT" aliases for
71 "DEFAULTSORT" magic word
72 * (bug 10181) Support the XCache object caching mechanism
73 * (bug 9058) Introduce '--aconf' option for all maintenance scripts, to provide
74 a path to the AdminSettings.php file
75 * (bug 8781) Remind users to check file permissions for LocalSettings.php
76 post-installation
77 * (bug 10196) Add classes and dir="ltr" to the <pre>s on user CSS and JS pages
78 (new classes: mw-user-css, mw-user-js)
79 * Use shared.css for all skins and oldshared.css in place of common.css for
80 pre-Monobook skins. As always, modifications should go in-wiki to MediaWiki:
81 Common.css and MediaWiki:Monobook.css.
82
83 == Bugfixes since 1.10 ==
84
85 * (bug 9712) Use Arabic comma in date/time formats for Arabic and Farsi
86 * (bug 9670) Follow redirects when render edit section links to transcluded
87 templates.
88 * (bug 6204) Fix incorrect unindentation with $wgMaxTocLevel
89 * (bug 3431) Suppress "next page" link in Special:Search at end of results
90 * Don't show unblock form if the user doesn't have permission to use it
91 (cosmetic change, no vulnerabilities existed)
92 * Subtitle success message when unblocking a block ID instead of a pseudo link
93 like [[User:#123|#123]]
94 * Use the standard HTTP fetch functions when retrieving remote wiki pages
95 through transwiki, so we can take advantage of cURL goodies if available
96 * Disable custom user javascript in Special:Preferences, to avoid the risk
97 of a compromised script sniffing passwords etc.
98 * (bug 9854, 3770) Clip overflow text in gallery boxes for visual cleanliness
99 instead of letting it flow outside the box or trigger ugly scroll bars.
100 * Tooltips for print version and permalink
101 * Links to the MediaWiki namespace for system messages having their default
102 values are no longer shown as nonexistent (e.g., in red)
103 * Special:Ipblocklist differentiates between empty list and no search results.
104 * (bug 5375) profiling does not respect read-only mode.
105 * (bug 7070) monobook/user.gif has antialias artifacts
106 * (bug 9123) Safer way when applying $wgLocalTZoffset
107 * (bug 9896) Documentation for $wgSquidServers and X-FORWARDED-FOR
108 * (bug 9417) Uploading new versions of images when using Postgres no longer
109 throws warnings.
110 * (bug 9908) Using tsearch2 with Postgres 8.1 no longer gives an error.
111 * (bug 1438) Fix for diff table layout on very wide lines.
112 Diff style rules have been broken out to common/diff.css,
113 and the dupes removed from the default skin files.
114 Skins can still override the default rules.
115 * (bug 1229) Balance columns in diff display evenly
116 * Right-align diff line numbers in RTL language display
117 * (bug 9332) Fix instructions in tests/README
118 * (bug 9813) Reject usernames containing '#' to avoid silent truncation
119 of fragments during the normalisation process
120 * (bug 7989) RSS feeds content now use black text when using white background.
121 * (bug 9971) Typo in a french language message.
122 * (bug 9973) Changed size was shown in advanced recentchanges collapsible items
123 with $wgRCShowChangedSized = false.
124 * Fix PHP strict standards warning in enhanced recent changes.
125 * (bug 5850) Added hexadecimal html entities comments for $digitTransformTable
126 entries.
127 * (bug 7432) Change language name for Aromanian (roa-rup)
128 * (bug 908) Unexistent special pages now generate a red link.
129 * (bug 7899) Added \hline and \vline to the list of allowed TeX commands
130 * (bug 7993) support mathematical symbol classes
131 * (bug 10007) Allow Block IP to work with Postgrs again.
132 * Add Google Wireless Transcoder to the Unicode editing blacklist
133 * (bug 10083) Fix for Special:Version breakage on PHP 5.2 with some hooks
134 * (bug 3624) TeX: \ker, \hom, \arg, \dim treated like \sin & \cos
135 * (bug 10132, 10134) Restore back-compatibility Image::imageUrl() function
136 * (bug 10113) Fix double-click for view source on protected pages
137 * (bug 10117) Special:Wantedpages doesn't handle invalid titles in result
138 set [now prints out a warning]
139 * (bug 10118) Introduced Special:Mostlinkedtemplates, report which lists
140 templates with a high number of inclusion links
141 * (bug 10104) Fixed Database::getLag() for PostgreSQL and Oracle
142 * (bug 9820) session.save_path check no longer halts installation, but
143 warns of possible bad values
144 * (bug 9978) Fixed session.save_path validation when using extended
145 configuration format, e.g. "5;/tmp"
146 * Don't generate a diff link in the patrol log if the page doesn't exist
147 * (bug 10067) Translations for former skins removed from message files
148 * (bug 9993) Force $wgShowExceptionDetails on during installation
149 * (bug 9980) Validate administrator username and password during
150 installation
151 * (bug 9383) Don't set a default value for BLOB column in rc-deleted
152 database patch
153 * (bug 10149) Don't show full template list on section-0 edit
154 * Fix maintenance/importImages.php so it doesn't barf PHP errors when no suitable
155 files are found, and make the list of extensions an option (defaults to
156 $wgFileExtensions)
157 * (bug 9909) Ensure access to binary fields in the math table use encodeBlob()
158 and decodeBlob()
159 * (bug 6743) Don't link broken image links to the upload form when uploads
160 are disabled
161
162 == MediaWiki API changes since 1.10 ==
163
164 (For ongoing development discussion, see http://www.mediawiki.org/wiki/API)
165
166 * New properties: links, templates, images, langlinks, categories, external links
167 * Breaking Change: imagelinks renamed into imageusage (il->iu)
168 * Bug fix: incorrect generator behavior in some cases
169 * JSON format allows an optional callback function to wrap the result.
170 * Login module disabled until a more secure solution can be implemented
171 * (bug 9938) Querying by revision identifier returns the most recent revision
172 for the corresponding page, rather than the requested revision
173 * (bug 8772) Filter page revision queries by user
174 * (bug 9927) User contributions queries do not accept IP addresses
175 * Watchlist feed now reports a proper feed item when the user is not logged in
176 * Watchlist feed date bug fixed - automatically shows one last day
177 * Watchlist feed now allows to specify number of hours to monitor
178 * list=allpages now returns a list instead of a map in json format
179 * Breaking Change: in json, revisions are now returned as a list, not as a map.
180 * Add: prop=info can show page is new flag, current page length, and visit counter.
181 * Change: Query watchlist now shows flags only when explicitly requested with wlparam=flags
182 rc_this_oldid (textid) is no longer accessible from query watchlist
183 * action=usercontribs: additional filtering by ucshow=; selection of needed fields with ucprop=;
184 the textid (rev_text_id) is no longer being exposed
185 * breaking change: backlinks, embeddedin & imageusage now return lists in json instead of a map,
186 and do not return anything when titles do not exist. (bug 9970)
187 * added query parameter indexpageids to list the page ids of all returned page items (bug 9121)
188
189 == Maintenance script changes since 1.10 ==
190
191 * Add support for wgMaxTocLevel option in parserTests
192 * (bug 6823) dumpHTML: explicitly disable article view counter
193
194 == Languages updated since 1.10 ==
195
196 * Arabic (ar)
197 * Catalan (ca)
198 * Danish (da)
199 * German (de)
200 * Greek (el)
201 * Spanish (es)
202 * Farsi (fa)
203 * Finnish (fi)
204 * Võro (fiu-vro)
205 * French (fr)
206 * Galician (gl)
207 * Hakka (hak)
208 * Hebrew (he)
209 * Indonesian (id)
210 * Italian (it)
211 * Japanese (ja)
212 * Georgian (ka)
213 * Kabyle (kab)
214 * Kazakh (kk)
215 * Kurdish (ku)
216 * Lithuanian (lt)
217 * Burmese (my)
218 * Norwegian (no)
219 * Polish (pl)
220 * Portuguese (pt)
221 * Romanian (ro)
222 * Russian (ru)
223 * Slovak (sk)
224 * Shona (sn)
225 * Somali (so)
226 * Sundanese (su)
227 * Swedish (sv)
228 * Volapük (vo)
229 * Old Chinese / Late Middle Chinese (zh-classical)
230 * Chinese (PRC) (zh-cn)
231 * Chinese (Taiwan) (zh-tw)
232 * Cantonese (zh-yue)
233
234 == Compatibility ==
235
236 MediaWiki 1.11 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
237
238 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
239 http://bugs.php.net/bug.php?id=34879
240 Upgrade affected systems to PHP 5.1 or higher.
241
242 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
243 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
244
245
246 == Upgrading ==
247
248 1.11 has several database changes since 1.10, and will not work without schema
249 updates.
250
251 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
252 new database fields are filled with data.
253
254 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
255 changes are made, and there is a slightly higher chance that things could
256 break. Don't forget to always back up your database before upgrading!
257
258 See the file UPGRADE for more detailed upgrade instructions.
259
260 === Caveats ===
261
262 Some output, particularly involving user-supplied inline HTML, may not
263 produce 100% valid or well-formed XHTML output. Testers are welcome to
264 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
265 cases, but this is not recommended on live sites. (This must be set for
266 MathML to display properly in Mozilla.)
267
268
269 For notes on 1.10.x and older releases, see HISTORY.
270
271
272 === Online documentation ===
273
274 Documentation for both end-users and site administrators is currently being
275 built up on MediaWiki.org, and is covered under the GNU Free Documentation
276 License (except for pages that explicitly state that their contents are in
277 the public domain) :
278
279 http://www.mediawiki.org/wiki/Documentation
280
281
282 === Mailing list ===
283
284 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
285 wikitech-l list:
286
287 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
288
289 A low-traffic announcements-only list is also available:
290
291 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
292
293 It's highly recommended that you sign up for one of these lists if you're
294 going to run a public MediaWiki, so you can be notified of security fixes.
295
296
297 === IRC help ===
298
299 There's usually someone online in #mediawiki on irc.freenode.net