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