Profiling points. Bump version to 1.4.0beta0; update HISTORY notes to current 1.3...
[lhc/web/wiklou.git] / HISTORY
1 Change notes from older releases. For current info see 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 == Version 1.3.9, ****-**-** ==
7
8 Changes from 1.3.8:
9 * Backported "Templates used in this page"-feature of EditPage
10 * Allow "MySkin" as a default skin.
11 * (bug 938) Parse namespaces correctly on self-interwiki links
12
13 == Version 1.3.8, 2004-11-15 ==
14
15 MediaWiki 1.3.8 is a bugfix release. Those running wikis with uploads
16 enabled are strongly recommended to upgrade as this fixes several problems
17 with overwriting previously-uploaded files.
18
19 Changes from 1.3.7:
20 * (bug 506) fix array_key_exists() warning for IIS servers using
21 ISAPI mode
22 * (bug 718) fix bad charset in (file) cached pages
23 * use local numerals in category page (for Hindi et al)
24 * alias month abbreviations to month names in Hindi
25 * add localized numerals for Gujarati and Kannada
26 * fix Category and project namespaces for Hindi
27 * Don't output bogus timestamp on Special:Recentchanges if no entries
28 * Correct template include path which broke some but not all Windows installs
29 * Fix edit form submission problem with some PHP versions
30 * Disallow unreachable titles with %XX hex codes
31 * Allow page [[0]] to be renamed
32 * (bug 774) when saving with section=new, return to the anchor as with
33 existing numbered section edits
34 * Experimental shared upload overlay area (disabled by default)
35 * (bug 806) Removed some "Wikipedia" hardcoding in German localization
36 * User option localization fix for some extensions
37 * (bug 809) now try to load the mysql php extension if it isn't loaded
38 * (bug 848) fix error message in Special:Newpages RSS and Atom feeds
39 * (bug 26) fix cache headers on anon talk page notification
40 * (bug 874) added 'cgi' to wgFileBlacklist
41 * (bug 862) localize date and time format for Finnish
42 * (bug 548) Don't overwrite images until the user confirms it
43
44
45 == Version 1.3.7, 2004-10-18 ==
46 Changes from 1.3.6:
47 * Fix protected-page related security issue.
48
49
50 == Version 1.3.6, 2004-10-14 ==
51
52 Changes from 1.3.5:
53 * (bug 296) Variables in user interface messages are no longer substituted
54 at install time, so changes to the site name etc should be easier to make
55 * (bug 149) Special:Recentchanges "changes from" link preserves limit
56 * (bug 433) tooltip for "Undelete" tab now labeled correctly
57 * (bug 439) unclickable "Move" tab no longer displays on protected pages
58 * (bug 484) graceful deletion of images where the actual file is missing
59 * (bug 686) fixed [[plural]]s in Catalan localization
60 * Fixed potential HTML/JavaScript injection attack in the UnicodeConverter
61 extension. (This extension is not enabled by default.)
62 * Fixed potential HTML/JavaScript injection attack via raw page views to
63 a maliciously crafted wiki page.
64 * (bug 187, bug 669) Fixed centered thumbnails, using <div> instead of
65 <span>.
66 * catch MySQL error 2000 during installation.
67 * (bug 704) Removed misleading LocalSettings.sample
68 * Fix cross site scripting bugs in SpecialIpblocklist, SpecialEmailuser
69 * Fix SQL injection and cross site scripting bugs in SpecialMaintenance
70 * Fix cross site scripting bugs and possible filename validation vulnerability
71 in ImagePage.
72 * and more of that sort
73
74
75 == Version 1.3.5, 2004-09-30 ==
76
77 Changes from 1.3.4:
78 * Clean up input validation in 'raw' page output mode which was a potential
79 cross-site scripting opportunity.
80
81
82 == Version 1.3.4, 2004-09-28 ==
83
84 ************************** SECURITY NOTE! ******************************
85
86 As of 1.3.4, MediaWiki performs some screening of newly uploaded files for
87 validity. (Some) corrupt image files, and HTML files mistakenly or
88 maliciously masquerading as images, should now be rejected.
89
90 These checks protect against Internet Explorer security holes relating
91 to type autodetection which are a potential cross-site scripting attack
92 vector, and also rejects at least one known version of the "JPEG virus"
93 which might attack unpatched clients.
94
95 If you already have invalid files uploaded this will not protect against
96 them. If you have expanded the filetype whitelist or disabled the strict
97 type checking, other dangerous file types may still get through. You should
98 always be careful when allowing uploads!
99
100
101 Changes from 1.3.3:
102 * Fixed lots of template-related bugs, esp. for cases where template
103 variables are used for links, images, etc.
104 * Fixed transformation of page messages when viewing Special:Allmessages
105 * Handle "ISBN ISBN 1234" correctly
106 * Fixed warning on Category pages
107 * Fixed some bad error messages on login page
108 * Fixed history entry for initial main page on install
109 * Removed problematic { and } from legal title characters
110 * Strip leading blank from output in preformated text.
111 * Fixed problem when moving pages to titles with '#' in
112 * Optional $wgRawHtml for raw <html> sections. Use only on limited-
113 participation 'trusted' wikis, as it does not protect against cross-site
114 scripting attacks. For security, this option can only be enabled if in
115 $wgWhitelistEdit mode.
116 * Fixed problem where pages which were created as a redirect following
117 a move never showed on Special:Randompage.
118 * Fixed line spacing on printed table of contents
119 * Allow links to pages with names of the form [[RFC 1234]]
120 * Fixed broken edit links being shown for sections from included templates
121 * Verify that uploaded image files are of the claimed type.
122
123
124 == Version 1.3.3, 2004-09-09 ==
125
126 Changes from 1.3.2:
127 * Fix for long numeric page titles
128 * Fix Go search for "0", numeric almost-self-links
129 * Avoid caching of pages with "You have new messages" headers
130 * Fix for upgrades as non-root users from 1.2 command-line installs.
131 * Fix for $wgDebugDumpSql debug mode.
132 * $wgExtraNamespaces setting for configuring additional namespaces
133 (see note in DefaultSettings.php)
134 * 'recache' on query pages now disabled when miser mode is on; special case the
135 global settings in your LocalSettings.php to do automatic updates.
136 * Don't block UTF-8 titles containing byte 0xA0 (bug added in 1.3.2)
137 * Watch/unwatch tabs now shown on edit pages in MonoBook.
138 * Fix default skin in Irish localization (ga)
139 * Add Traditional Chinese localization (zh-tw)
140 * Changed default sortkey of subcategories. Don't include "Category:"-prefix
141 any longer
142 * More helpful info on spam catcher.
143 * Allow larger offsets for queries such as Special:Listusers
144 * Semicolon (;) added to French non-break space rules
145 * Possible fix for some install errors with path names permission problems.
146 * Removed [[Project:All system messages]], which has been superceded by
147 the much faster [[Special:Allmessages]]. This speeds up installation
148 considerably.
149
150 == Version 1.3.2, 2004-08-30 ==
151
152 Changes from 1.3.1:
153 * Fix namespaced page creation links when no go match
154 * When cookies are disabled, don't show login screen twice
155 * Install should no longer die when PHP is pre-configured to compress output
156 * Fixed bug that caused long Japanese pages to time out with Tidy active
157 * When session.handler is set incorrectly, try automatic override to 'files'
158 * Watch/Unwatch links back to the affected page instead of Main Page
159 * Upload link no longer displayed on Monobook if uploading is disabled
160 * Special:Allmessages faster, shows correct original text, works in safe mode
161
162
163 == Version 1.3.1, 2004-08-14 ==
164
165 Changes from 1.3.0:
166 * Watchlist parameters now work with register_globals off
167 * Fixed parsing of ''italics'' and '''bold''' mark-up (again)
168 * Special:Allpages display is more sensible on smaller wikis
169 * Fixed XHTML parsing error in classic skins
170 * Moved pages update watchlist correctly
171 * Fixed rebuildall.php on case-sensitive Unix filesystems
172 * Disabled file cache compression by default due to incompatibility
173 with output buffer compression (ob_gzhandler)
174 * New magic word PAGENAMEE (URL-escaped version of PAGENAME)
175 * Installation avoids blank username; better message on missing XML module
176 * $wgWhitelistAccount no longer breaks all logins.
177
178 == Version 1.3.0, 2004-08-11 ==
179
180 Look & layout:
181 * New default layout 'MonoBook' (available on PHP4 only currently)
182 * Print stylesheet now built-in to every page
183 * More or less correct XHTML 1.0 (served as text/html by default)
184
185 Wiki features:
186 * Image captions can now include links and other basic formatting
187 * Image bounding box can be specified instead of width, e.g. as
188 100x100px, making the image not wider than 100px and not higher
189 than 100px, keeping aspect ratio.
190 * Templates have been expanded with parameters, and separated from
191 the MediaWiki: localization scheme.
192 * Categories more or less work
193 * added a special page for listing users with sysop rights.
194
195 Editing:
196 * Automatic merging of edit conflicts that don't directly interfere
197 * Edit summaries can now include basic formatting and links
198
199 Metadata and output:
200 * Linked Creative Commons copyright metadata (optional)
201 * RSS 2.0 & Atom 0.3 feeds for Recent Changes, New Pages
202
203 Optional modules:
204 * WikiHiero hieroglyphic module can be added (separate download)
205 * Timeline module can be added (separate download).
206 Requires ploticus.
207 * TeX now has an experimental MathML output mode (incomplete!)
208
209 Installation and upgrading:
210 * The old install.php and update.php have been removed. In-place
211 installation introduced in 1.2 is now the standard installation
212 and upgrade method, see INSTALL and UPGRADE for directions.
213
214 Database:
215 * The links table has been changed to use a cur_id for l_from.
216 The link tables must be converted on upgrade, which may entail
217 some downtime.
218
219 Code and compatibility:
220 * Should now run clean with error reporting set to E_ALL.
221 * register_globals hack from 1.2 has been replaced with safer code
222 * Bundled PHPTAL 0.7.0 from http://phptal.sourceforge.net/
223 (with some patches)
224 * Most image-related code moved to Image.php
225 * More fixes for PHP 4.1.2 (thanks to Asheesh Laroia)
226 * URL encoding fix for anchors
227 * All languages now available in UTF-8 mode
228 * Various other fixes
229
230 === Caveats ===
231
232 Some output, particularly involving user-supplied inline HTML, may not
233 produce 100% valid or well-formed XHTML output. Testers are welcome to
234 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
235 cases, but this is not recommended on live sites. (This must be set for
236 MathML to display properly in Mozilla.)
237
238 The new 'MonoBook' skin is not compatible with PHP 5 due to bugs in the
239 underlying PHPTAL library. It will be automatically disabled when running
240 on PHP5; the older look and feel will be used instead.
241
242
243 == Version 1.2.6, 2004-05-24 ==
244 * Spam blocker ($wgSpamRegex - refuses to save edits that match)
245 * Updated documentation about $wgWhitelistRead
246 * Ensure that searchindex table is created as MyISAM
247 * Interwiki cache timeout (memcached)
248 * Fix uploads on Windows with magic_quotes_gpc
249 * Some config fixes for Windows (slashes etc)
250 * Local interwiki URL redirects
251 * Fixed obscure deletion problem in squid mode on corrupt entries
252 * Language files updated to remove more hard-coded "Wikipedia" strings
253
254 == Version 1.2.5, 2004-05-01 ==
255 * Fixed install problem with blank root password
256 * Fixed Special:Emailuser/Username links
257 * Fixed main-page edit links on fuzzy search results
258 * Fixed wikipedia-interwiki.sql
259 * Fixed install with apache2filter (ugly URLs)
260 * IP in 'go' search brings up contributions
261 * Switch from broken & to ? on top-level wiki URL hack
262
263 == Version 1.2.4, 2004-04-13 ==
264
265 * Fixed edit toolbar in Mozilla
266 * Diff links in Contributions for 'top' edits
267 * Fixed Nostalgia skin drop-down for register_globals off
268 * Backported optional open proxy blocker
269 * Backported $wgWhitelistRead
270 * $wgCapitalLinks option to force full case sensitivity in titles
271 * Cleaned up error handling when can't talk to database
272 * Disabled unsafe command-line installer (remove the "die()" call to use)
273
274 == Version 1.2.3, 2004-04-02 ==
275
276 * Fixed an in-place install bug with non-root MySQL user
277 * Fixed history diff checkboxes bug on titles with ampersands
278 * Fixed printable link bug on special pages with parameters
279 * Fixed bug that broke IP blocking w/o memcached
280 * Turns off E_NOTICE warnings if PHP settings have them on
281 (you can grope in and turn this off if you like to debug)
282
283 == Version 1.2.2, 2004-03-28 ==
284
285 * Fixed an upgrade bug introduced in 1.2.1.
286 * Disabled $wgUseCategoryMagic, which feature is incomplete broken
287
288 == Version 1.2.1, 2004-03-27 ==
289
290 Installation, compatibility, security fixlets:
291 * Detect use of PHP as CGI and disable index.php/Title URLs
292 * Try to auto-create math tmp & output directories if not present
293 * Disable Asksql in default install ($wgAllowSysopQueries)
294 * Better handling of get_magic_quotes_gpc (apostrophe problems)
295 * French localisation no longer hard-codes "Wikipedia" name
296
297 == Version 1.2.0 ==
298
299 New features in 1.2:
300 * Image resizing/thumbnail generation
301 * Stricter upload file extension blacklist and whitelist options
302 * More flexible blocking system; time period may be set
303 * Handier sysop account management. An account marked "bureaucrat"
304 may assign sysop access to other accounts via Special:Makesysop.
305 (The exact details of this may change in the future)
306 * Support for a squid cache with explicit purging of cached anon pages
307 * Optional compression of old revision text (requires zlib support)
308 * Fuzzy title search (experimental, requires memcached)
309 * Page rendering cache (experimental)
310 * Editing toolbar to demonstrate wiki syntax to newbies
311 (off by default in user preferences)
312 * Support for authenticated SMTP outgoing e-mail (experimental)
313 * It's now possible to assign sysop accounts from within the wiki.
314 An account with this ability must be labeled with the "bureaucrat"
315 privilege, such as the 'Developer' account created by the install.
316
317 Fixes and tweaks:
318 * Now works with register_globals off!
319 * Works with short tags disabled.
320 * Should work out of the box on MySQL 3.2.x again. On 4.x set
321 $wgEnablePersistentLC = true; to turn on the link cache table
322 for a slight rendering speed boost.
323 * rebuildMessages.php can now selectively update new messages, or
324 overwrite everything.
325 * Various bug fixes.
326 * Other stuff we forgot.
327 * Documentation more out of date than ever before!
328
329 === Behavior changes ===
330
331 * wiki.phtml and redirect.phtml are now renamed to index.php and redirect.php
332 The old names are provided too for compatibility, but make sure they don't
333 conflict if you've been putting other files in your wiki.
334 * Uploaded filenames are more strictly checked than before. See bits in
335 DefaultSettings.php to tweak this behavior to your needs.
336 * Database messages are now enabled by default, so the interface messages can
337 be tweaked through the wiki with a sysop account. Disable this if you
338 don't want the performance hit.
339
340 === Database changes ===
341
342 An index was added to recentchanges table to speed up Newpages
343 (patch-rc-newindex.sql for manual updaters).
344
345 Expiration date field has been added to ipblocks table
346 (patch-ipb_expiry.sql for manual updaters).
347
348
349 == Version 1.1.0, 2003-12-08 ==
350
351 This is the new production release. Any following 1.1.x releases are expected
352 to contain only bug fixes; developments of new features will go towards a 1.2.0
353 release.
354
355 New features in 1.1:
356 * New wiki table syntax:
357 http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide:_Using_tables
358 * User-editable interface messages:
359 http://meta.wikipedia.org/wiki/MediaWiki_namespace
360 * XML-wrapped page source export with optional history:
361 http://meta.wikipedia.org/wiki/XML_import_and_export
362 (There is not yet an import function!)
363 * "Magic words"
364
365 Fixes and tweaks:
366 * linkscc table caches link data for rendering; faster rebuildlinks.php
367 * Numerous bugs in Cologne Blue skin fixed
368 * Login gives warning about missing cookies
369 * Block log, protection log added; deletion log now includes undeletions
370 * Deletion & upload logs now escape comment text properly
371 * Problems with <nowiki> segments in section titles etc mitigated
372 * Contributions offset and minor edit bugs fixed
373 * Whatlinkshere now sorted alphabetically
374 * Various exciting new profiling options.
375 * Debug log is off by default.
376 * Various small bugs fixed.
377
378 Internal changes:
379 * wfQuery has had a second parameter inserted, DB_READ or DB_WRITE. This value
380 is not actually used so far.
381 * Partial code for categories and Smarty template-based skins is in the tree
382 but disabled.
383 * Parts of Article.php have been moved to EditPage.php and ImagePage.php.
384
385 New translations:
386 * fi - Finnish
387 * ia - Interlingua
388 * no - Norwegian
389 * sk - Slovak
390 * ta - Tamil
391
392 === Database changes ===
393
394 "linkscc" table added. If upgrading manually (rather than with update.php),
395 run maintenance/archives/patch-linkscc.sql to create the table.
396
397 Older releases were dated snapshots from the old 'stable' branch:
398
399 == mediawiki-20031118 ==
400
401 * Image deletion fixed.
402 * Deletion of image old revisions now restricted to sysops
403 (this is an irreversible action and not well logged)
404 * Fixed maintenance scripts broken by last release's security fix
405 * Many errors in rebuildlinks script fixed.
406
407 == mediawiki-20031117 ==
408
409 * SECURITY FIX: stricter checking of include path
410 * Fixed user contributions next/prev bug
411 * Login cookies now have the database name prefixed to allow wikis
412 to coexist in the same domain. This will invalidate any old saved
413 password cookies.
414 * Update cache timestamp when talk pages are created
415 * Saving the login form in Mozilla no longer blanks password in prefs.
416 * Check existence of source page before performing a move.
417 * Detect invalid titles in Special:Allpages
418 * Q-encode headers on outgoing inter-user e-mail
419 * Updates to some translations.
420 * Added table of contents border/bg to Cologne Blue, Nostalgia skins
421 * Protected pages no longer appear unprotected when visited via redirect
422 * Swapped old Wikipedia logo for the MediaWiki sunflower logo
423 * install.php, update.php print warning on old PHP versions,
424 added compatibility functions that might or might not help
425
426 No database changes since 20031107; upgrading should be clean.
427
428
429 == mediawiki-20031107 ==
430
431 * Fixed various bugs!
432 * Some speed improvements from tweaks to the table indexes
433 * Limited support for memcached (see below)
434 * New translations (see below)
435 * Interwiki link data now kept in database for flexibility
436 * Friendlier read-only source view if asked to edit a page when
437 the db is locked or the page is protected.
438 * Normal IP blocks auto-expire after 24 hours
439 * Optional support for blocking usernames
440 * Uploads disabled by default (see below)
441
442
443 === Security note ===
444
445 Uploads are now disabled by default. If you've set up a secure configuration
446 you can reenable uploads by putting:
447
448 $wgDisableUploads = false;
449
450 into LocalSettings.php.
451
452 Earlier versions of MediaWiki included a bug that potentially allows logged-
453 in users to delete arbitrary files in directories writable by the web server
454 user by manually feeding false form data; this is now fixed.
455
456 As a reminder, disable PHP script execution in the upload directory!
457 You may also wish to serve HTML pages as plaintext to prevent cookie-
458 stealing JavaScript attacks. Example Apache config fragment:
459
460 <Directory "/Library/MediaWiki/web/upload">
461 # Ignore .htaccess files
462 AllowOverride None
463
464 # Serve HTML as plaintext
465 AddType text/plain .html .htm .shtml
466
467 # Don't run arbitrary PHP code.
468 php_admin_flag engine off
469
470 # If you've other scripting languages, disable them too.
471 </Directory>
472
473
474 === Database updates ===
475
476 If you're using update.php, the necessary database changes should
477 be made automatically.
478
479 To manually upgrade your database from the 2003-08-29 release, run the
480 following SQL scripts from the maintenance subdirectory:
481
482 archives/patch-ipblocks.sql
483 archives/patch-interwiki.sql
484 archives/patch-indexes.sql
485 interwiki.sql
486
487 To copy in the Wikipedia language-prefix interwikis as well, add:
488
489 wikipedia-interwiki.sql
490
491
492 === Translations ===
493
494 New interface localization files are included for:
495 fy Frisian
496 ro Romanian
497 sl Slovene
498 sq Albanian
499 sr Serbian
500
501
502 === Memcached ===
503
504 Memcached is a distributed cache system. See http://www.danga.com/memcached/
505 MediaWiki can optionally use memcached to store some data between calls
506 to reduce load on the database. Currently this is limited to user and
507 talk page notification data, interwiki prefix/URL matches, and the
508 UTF-8 conversion tables.
509
510 MediaWiki includes version 1.0.10 of the (GPL'd) PHP memcached client by
511 Ryan Gilfether; if memcached is disabled it acts as a dummy object with
512 minimal overhead.
513
514 To use memcached you'll need PHP installed with sockets support (this is not
515 in the default configure options). See docs/memcached for some more details.
516
517 Additionally, you can store login session data in memcached instead of the
518 local filesystem, which can help to enable load-balancing by letting login
519 sessions transparently work on multiple front-end web servers. (The primary
520 other issue is with uploads, which requires some care in handling.)
521
522 To enable this, set $wgSessionsInMemcached = true; and set $wgCookieDomain
523 appropriately if exposing multiple hostnames. This system is new and may be
524 volatile; login sessions will fail dramatically if memcached is unavailable
525 when this option is turned on.
526
527
528 === Online documentation ===
529
530 Documentation for both end-users and site administrators is currently being
531 built up on Meta-Wikipedia, and is covered under the GNU Free Documentation
532 License:
533
534 http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide
535
536
537 === Mailing list ===
538
539 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
540 wikitech-l list:
541
542 http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
543
544
545 === UseModWiki import script ===
546
547 A stripped-down UseModWiki import script is available in the maintenance
548 subdirectory. It is incomplete and requires a lot of manual clean-up, but
549 does function for the brave and pure of heart.
550
551
552 === Test suite removed ===
553
554 The unmaintained Java-based test suite has been removed from the tarball
555 release. If you really want it you can check it out from CVS.
556
557
558 == mediawiki-20030829 ==
559
560 First release under MediaWiki name.