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