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