Have timeanddate() change timestamp-looking timestampts to YYYYMMDDHH24MISS integer...
[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.10 ==
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 ==
22
23 === $wgCommandLineDarkBg ==
24
25 A new switch used by maintenance scripts (parserTests.php). It lets you specify
26 if your terminal use a dark background, the colorized output will be made
27 lighter making things easier to read.
28
29 == Major new features ==
30
31 == Changes since 1.9 ==
32
33 * (bug 7292) Fix site statistics when moving pages in/out of content namespaces
34 * (bug 6937) Introduce "statistics-footer" message, appended to Special:Statistics
35 * (bug 8531) Correct local name of Lingála (patch by Raymond)
36 * (bug 6638) List block flags in block log entries
37 * New script maintenance/language/checkExtensioni18n.php used to check i18n
38 progress in the extension repository.
39 * Running maintenance/parserTests.php with '--record' option, will now
40 automatically attempt to create the required tables
41 * Made the PLURAL: parser function return singular on -1 per default
42 * Fixed up the AjaxSearch
43 * (bugs 5051, 5376) Tooltips and accesskeys no longer require JavaScript
44 * Added SkinTemplateOutputPageBeforeExec hook before SkinTemplate::outputPage()
45 starts page output (http://lists.wikimedia.org/pipermail/wikitech-l/2007-January/028554.html)
46 * Fix SpecialVersion->formatCredits input. Version and Url parameters should be
47 null to be treated properly with isset.
48 * Page restrictions moved into a new, dedicated table
49 * Introduce "cascading protection" -- implicit protection on pages transcluded
50 into a page protected with this option enabled
51 * The minimum permissions needed to edit a page in each namespace can now be
52 customized via the $wgNamespaceProtection array. By default, editing pages in
53 the MediaWiki namespace requires "editinterface" permission, as before.
54 * (bug 8567) Added hook RawPageViewBeforeOutput just before the text is blown
55 out in action=raw, so extensions might influence the output.
56 * Correct tooltip accesskey hint for Opera on the Macintosh
57 (uses Shift-Esc-, not Ctrl-).
58 * (bug 3446) Add user preference to hide page content below diffs, can be
59 overridden by adding diffonly=1 or diffonly=0 to the URL of the diff page
60 * (bug 8002) Math should render left-to-right even in right-to-left wikis
61 * Pass e-mail and real name fields to AuthPlugin::addUser, as additional
62 optional fields, which may be considered useful at registration time.
63 * PostgreSQL upgrade scripts fixed and updated
64 * (bug 8613) Fix error when viewing "Recent Changes" and using Postgres.
65 * Initialise site_stats table at upgrade time if data was missing
66 * (bug 7250) Updated Unicode normalization tables to Unicode 5.0
67 * Add 'purge' privilege to replace the hardcoded check for login state in
68 determining whether action=purge can be done via GET. Switching the
69 permission on for anons can be helpful for benchmarking.
70 * Unmaintained Oracle support files have been removed.
71 * Use browser default for printing size, don't force to 11pt
72 * (bug 8632) Fix regression in page protection null edit update
73 * (bug 7842) Link back to deleted revision list from deleted revision preview
74 * (bug 8619) Add user-aware "unblock" link to Special:Blockip
75 * (bug 8407) Disallow indexing of "printable" versions
76 * (bug 8522) Provide a "delete" link on Special:Brokenredirects for users with
77 the appropriate permission
78 * (bug 8628) Add user-aware block list link to Special:Blockip
79 * (bug 8643) Correctly escape the page-specific CSS class for non-Monobook skins
80 * (bug 8629) Document $wgFilterCallback
81 * (bug 1000) Clarify warning about memory_limit in installer
82 * Suppress PHP warning about set_time_limit in installer when safe mode is on
83 * (bug 3000) Fall back to SCRIPT_NAME plus QUERY_STRING when REQUEST_URI is
84 not available, as on IIS with PHP-CGI
85 * (bug 8621) Log revisions marked as patrolled
86 * Introduce "BookInformation" hook; see docs/hooks.txt for more details
87 * Missing interwiki row for English Wikipedia restored (as "wikipedia:")
88 * use configured cache servers for mctest.php
89 * bucket details in mcc.php
90 * fix input validation and remove debugging code in compressOld
91 * full ID range for moveToExternal
92 * fix resolveStubs.php for compatibility with older serialized data
93 * maximum line length for bar graphs in getLagTimes.php
94 * recognize specieswiki in rebuildInterwiki.inc
95 * --purge option to do additional parser-cache purging for purgeList.php
96 * profile unicode cleanup in Xml
97 * log slow parses in Article.php
98 * profile wfMsgReal
99 * log mkdir failures
100 * profile AutoLoader
101 * rebuild empty DjVu metadata containing ''
102 * security fix for DjVu metadata retrieval
103 * Add title prefix search for Special:Undelete
104 * Remove full-archive list from Special:Undelete
105 * Undelete page list can use plural marker
106 * (bug 8638) Fix update from 1.4 and earlier
107 * Allow restriction of autoconfirmed permission by edit count. New global setting
108 $wgAutoConfirmCount (defaulting to zero, naturally).
109 * (bug 8641) Fix order of updates to ipblocks table
110 * (bug 8678) Fix detection of self-links for numeric titles in Parser
111 * (bug 6171) Magically close tags in tables when not using Tidy.
112 * Fix hardcoded background color in parserTests.php
113 * parserTests.php : removed the 'light' option for --color argument, replacing
114 it with a new global switch : $wgCommandLineDarkBg
115 * Sanitizer now correctly escapes lonely '>' occurring before the first wikitag.
116 * Ignore self closing on closing tags ( '</div />' now gives '</div>')
117 * (bug 8673) Minor fix for web service API content-type header
118 * Fix API revision list on PHP 5.2.1; bad reference assignment
119 * (bug 8136) Introduce 'ArticleUndelete' hook; see docs/hooks.txt for more info
120 * (bug 8688) Handle underscores/spaces in Special:Blockip and Special:Ipblocklist
121 in a consistent manner
122 * (bug 8701) Check database lock status when blocking/unblocking users
123 * ParserOptions and ParserOutput classes are now in their own files
124 * (bug 8708) Namespace translations for Zealandic language
125 * Renamed constructor methods to PHP 5 __construct reserved name
126 * (bug 8715) Warn users when editing an interface message whether or not the message page exists
127 * ar: fix the 'create a new page' on search page when no exact match found
128 * (bug 8703) Corrected Talk namespace name for Limburgish (li)
129 * (bug 8712) Expose user groups as a JavaScript global
130 * Introduce 'CustomEditor' hook; see docs/hooks.txt for more information
131 * (bug 8671) Expose "wpDestFile" as a parameter to "uploadtext"
132 * (bug 8403) Respect bad image list exceptions in galleries on wiki pages
133 * New special page, Special:Protectedpages, which shows all protected pages
134 and their protection status (full protection status is not pulled out due
135 to performance considerations, so it just shows "full protected" or
136 "semi protected".
137 * (bug 4133) Allow page protections to be made with an expiry date, in the same format
138 as block expiry dates. Existing protections are assumed to be infinite, as are protections
139 made with the new field left blank.
140 * Allow sending per-user contribution requests to "contributions" query group
141 * (bug 3717) Update user count for AuthPlugin account autocreation
142 * (bug 8719) Firefox release notes lie! Fix tooltips for Firefox 2 on x11;
143 accesskeys default settings appear to be same as Windows.
144 * Added an option to make Linker::userToolLinks() show the contribs link
145 red when the user has no edits. Linker::userToolLinksRedContribs() is an
146 alias to that which should be used to make it more self documentating.
147 * (bug 8749) Bring MySQL 5 table defs back into sync
148 * (bug 8751) Set session cookies to HTTPS-only to match other cookies
149 * (bug 8652) Catch exceptions generated by malformed XML in multipage media
150 * (bug 8782) Help text in Makefile
151 * (bug 8780) Clarify message for command-line scripts if LocalSettings.php exists but is not readable
152 * (bug 8777) Suppress 'previous' link on Special:Allpages when at first page
153 * (bug 8774) Fix path for GNU FDL rights icon on new installs
154 * Fix multipage selector drop-down for DjVu images to work when title
155 is passed as a query string parameter; we have to pass the title as
156 a form parameter or it gets dropped from the form submission URL
157 * (bug 8819) Fix full path disclosure in with skins dependencies
158 * Fixed bug affecting HTML formatting in sortable table column titles
159 * Merged table sorting code into wikibits.js
160 * (bug 8711) Stop floats in previews from spilling into edit area
161 * (bug 8535) Allow certain vertical alignment attributes to be used as image
162 keywords
163 * (bug 6987) Allow perrow, widths, and heights attributes for <gallery>
164 * (bug 8858) Safer handling when $wgImageLimits is changed. Added a note
165 in DefaultSettings to make it clear.
166 * (bug 4268) Fixed data-loss bug in compressOld batch text compression
167 affecting pages which had null edits (move, protect, etc) as second
168 edit in a batch group. Isolated and patched by Travis Derouin.
169 * Fix for paths in 1.4->1.5 special-case updater script
170 * (bug 8789) AJAX search: IE users can now use the return key
171 * (bug 6844) Use <ins> and <del> tags to emphase the differences
172 * (bug 6684) Fix improper javascript array iteration
173 * (bug 4347) use MailAddress object for reply-to
174 * Add AlphabeticPager abstract class
175 * Use faster AlphabeticPager for Special:Categories
176 * (bug 8875) Show printable link in MonoBook sidebar for locally nonexistent
177 pages; perhaps useful for categories and shared images
178 * Clean up session checks to better handle the case where the session was
179 opened during the current request. May help with some caching corner
180 cases.
181 * (bug 8897) Fix whitespace removal for interlanguage links with link prefix
182 * Add 'ParserTestTables' hook to expand the list of temporary tables copied
183 by the parser test harness; use for extensions which require the presence
184 of other tables while they work.
185 * Message names changed for AlphabeticPager introduced with r19758
186 for better localisations.
187 * (bug 8944) The deprecated is_a() function is used in StubObjects.php
188 * (bug 8978) Georgian i18n update
189 * (bug 8992) Fix a remaining raw use of REQUEST_URI in history
190 * (bug 3678) Allow disabling MediaWiki:aboutsite in the same way as
191 MediaWiki:Disclaimers; Also means that if any of the footer links are
192 disabled in the wiki's default language (by setting to "-"), they'll also
193 be disabled in other languages too (e.g. if the user specifies uselang=fr).
194 * (bug 8999) User.php gives "undefined user editcount" PHP notice.
195 * (bug 8984) Fix a database error in Special:Recentchangeslinked
196 when using the Postgres database.
197 * Sort log types in Special:Log
198 * Added a classname ("mw-toolbar-editbutton") and unique IDs to the edit
199 toolbar buttons
200 * Moved the main ob_start() from the default LocalSettings.php to WebStart.php.
201 The ob_start() section should preferably be removed from older
202 LocalSettings.php files.
203 * Give Content-Length header for HTTP/1.0 clients.
204 * Partial support for Flash cross-domain-policy filtering.
205 * Hide irrelevant block options in Special:Blockip based on whether an
206 IP address/range or username is listed. (Dynamic using JS.)
207 * Lazy-initialize site_stats row on load when empty. Somewhat kinder to
208 dump-based installations, avoiding PHP warnings when NUMBEROFARTICLES
209 and such are used.
210 * Add 'charset' to Content-Type headers on various HTTP error responses
211 to forestall additional UTF-7-autodetect XSS issues. PHP sends only
212 'text/html' by default when the script didn't specify more details,
213 which some inconsiderate browsers consider a license to autodetect
214 the deadly, hard-to-escape UTF-7.
215 This fixes an issue with the Ajax interface error message on MSIE when
216 $wgUseAjax is enabled (not default configuration); this UTF-7 variant
217 on a previously fixed attack vector was discovered by Moshe BA from BugSec:
218 http://www.bugsec.com/articles.php?Security=24
219 * Trackback responses now specify XML content type
220 * (bug 9044) Send a comment with action=raw pages in CSS/JS output mode
221 to work around IE/Mac bug where empty pages time out verrrrryyyyy slowly,
222 particularly with new keepalive-friendly HTTP on Wikipedia
223 * (bug 8919) Suppress paging links and related messages where there are no
224 rows to list for query pages
225 * (bug 9057) Standardize MediaWiki: namespace for oc
226 * (bug 9032) Make quickbarSettings localizable through Special:Allmessages
227 * (bug 8132) Suppress "Pages in this category" heading in categories when
228 there are none
229 * (bug 8958) Handle search operators better when using tsearch2 (Postgres)
230 * Added rate limiter for Special:Emailuser
231 * Have a checkered background on images on the description pages and in
232 galeries to make transparency visible.
233 * (bug 7782) Standardisation of file info at image description pages.
234 * (bug 8799) Use redirect table for Special:BrokenRedirects and
235 Special:DoubleRedirects
236 * (bug 1035) View contributions / recentchanges for an IP range.
237 * (bug 8918) Enable PLURAL option for MediaWiki:showingresults and
238 MediaWiki:showingresultsnum
239 * (bug 9122) Fix minor display issue in RTL with section edit link margin
240 * (bug 5805) Enable PLURAL option for some messages of watchlist and statistic
241 * (bug 3953) Work around poor display of parenthesis in the in other
242 languages section of MonoBook skin
243 * (bug 8539) Enable PLURAL option for another message of recentchanges.
244 * (bug 8728) MediaWiki:Badfiletype splitted into 3 messages
245 * (bug 9131) Be strict with offset values in SpecialContributions for Postgres
246 * (bug 8747) When unwatching pages from Special:Watchlist/edit, put the
247 confirmation messages in a proper list with a CSS class and id.
248 * (bug 9155) Allow footer info to wrap in Monobook
249 * (bug 8847) Strip spurious #fragments from request URI to fix redirect
250 loops on some server configurations
251 * (bug 9118) Show deletion log on confirmdelete
252 * (bug 9009) Add username entry field to Special:Contributions
253 * (bug 9097) column "pr_pagetype" does not exist
254 * (bug 9217) Balance wfProfile calls in Skin::outputPage
255 * (bug 9222) PostgreSQL updater should not be version-specific
256 * (bug 1723) Article size in history
257 * (bug 9223) Disallow magic tilde sequences in page titles and usernames
258 * dumpBackup / importDump now work with PostgreSQL
259 * (bug 6997) Link from Special:log/block to unblock form
260 * (bug 9117) Link from Special:log/delete to undelete form
261 * Link from Special:log/protect to change protection form
262 * Fix fallback implementation of mb_strlen so it works and isn't insanely
263 slow for large strings, since it's used for page edit lengths
264 * (bug 8815) Setting password in initUser() breaks LdapAuthentication plugin
265 * (bug 9256) Add a quick note to index.php header comments
266 * (bug 1196) Add IPv6 support added to blocks, more consistancy for IPv6 contribs
267 * Make Special:Listusers caseinsensitive for first letter
268 * Default tidy.conf has been moved from extensions module into includes.
269 * Ignore lonely '''''
270 * (bug 3984) Searching in logs by title%
271 * (bug 9244) When calling edit page for nonexistent section, generate error inside of just discarding edits, since edit links sometimes go to the wrong place.
272 * Private logs can now be created using $wgLogRestrictions
273 * Show thumbnail of existing image if image exists already under this filename
274 * (bug 5546) Watchlist reflects logged actions like move, protection, undelete
275 * (bug 9019) No warning during upload if image description page exists, but no
276 image
277 * (bug 8582) Allow thumbnailing when imagesize has a space.
278 * (bug 8716) Change math_inputhash and math_outputhash to byte for Postgres
279 * (bug 8558) Correct display of timestamps on some pages when using Postgres
280
281 Support protocols other than HTTP in LinkFilter
282
283 == Languages updated ==
284
285 * Arabic (ar)
286 * Aramaic (arc)
287 * Belarusian (be)
288 * Bulgarian (bg)
289 * Breton (br)
290 * Catalan (ca)
291 * Czech (cs)
292 * Danish (da)
293 * German (de)
294 * Greek (el)
295 * Esperanto (eo)
296 * Spanish (es)
297 * Estonian (et)
298 * Basque (eu)
299 * Finnish (fi)
300 * French (fr)
301 * Hebrew (he)
302 * Upper Sorbian (hsb)
303 * Indonesian (id)
304 * Italian (it)
305 * Japanese (ja)
306 * Georgian (ka)
307 * Kazakh (kk)
308 * Korean (ko)
309 * Ripuarian (ksh)
310 * Latin (la)
311 * Limburgish (li)
312 * Lithuanian (lt)
313 * Marathi (mr)
314 * Dutch (nl)
315 * Occitan (oc)
316 * Polish (pl)
317 * Romanian (ro)
318 * Russian (ru)
319 * Sicilian (scn)
320 * Slovak (sk)
321 * Swedish (sv)
322 * Ukrainian (uk)
323 * Zealandic (zea)
324 * Cantonese (zh-yue)
325
326 == Compatibility ==
327
328 MediaWiki 1.10 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
329
330 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
331 http://bugs.php.net/bug.php?id=34879
332 Upgrade affected systems to PHP 5.1 or higher.
333
334 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
335 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
336
337
338 == Upgrading ==
339
340 1.10 has several database changes since 1.9, and will not work without schema
341 updates.
342
343 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
344 new database fields are filled with data.
345
346 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
347 changes are made, and there is a slightly higher chance that things could
348 break. Don't forget to always back up your database before upgrading!
349
350 See the file UPGRADE for more detailed upgrade instructions.
351
352 === Caveats ===
353
354 Some output, particularly involving user-supplied inline HTML, may not
355 produce 100% valid or well-formed XHTML output. Testers are welcome to
356 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
357 cases, but this is not recommended on live sites. (This must be set for
358 MathML to display properly in Mozilla.)
359
360
361 For notes on 1.9.x and older releases, see HISTORY.
362
363
364 === Online documentation ===
365
366 Documentation for both end-users and site administrators is currently being
367 built up on Meta-Wikipedia, and is covered under the GNU Free Documentation
368 License:
369
370 http://www.mediawiki.org/wiki/Documentation
371
372
373 === Mailing list ===
374
375 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
376 wikitech-l list:
377
378 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
379
380 A low-traffic announcements-only list is also available:
381
382 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
383
384 It's highly recommended that you sign up for one of these lists if you're
385 going to run a public MediaWiki, so you can be notified of security fixes.
386
387
388 === IRC help ===
389
390 There's usually someone online in #mediawiki on irc.freenode.net