Make RC patroling an optional feature that can be turned off by setting wgUseRCPatrol...
[mediawiki.git] / RELEASE-NOTES
blob81a411a40dccf93172fad87e2a3665eb08315a9b
1 = MediaWiki release notes =
3 == Version 1.3.0beta4, 2004-06-26 ==
5 **** THIS IS A BETA AND MAY STUNT YOUR GROWTH OR KILL YOUR PETS ****
7 Look & layout:
8 * New default layout 'MonoBook'
9 * Print stylesheet now built-in to every page
10 * More or less correct XHTML 1.0 (served as text/html by default)
12 Wiki features:
13 * Image captions can now include links and other basic formatting
14 * Image bounding box can be specified instead of width, e.g. as
15   100x100px, making the image not wider than 100px and not higher
16   than 100px, keeping aspect ratio.
17 * Templates have been expanded with parameters, and separated from
18   the MediaWiki: localization scheme.
19 * Categories more or less work
20 * added a special page for listing users with sysop rights.
22 Editing:
23 * Automatic merging of edit conflicts that don't directly interfere
24 * Edit summaries can now include basic formatting and links
26 Metadata and output:
27 * Linked Creative Commons copyright metadata (optional)
28 * RSS 2.0 & Atom 0.3 feeds for Recent Changes, New Pages
30 Optional modules:
31 * WikiHiero hieroglyphic module can be added (separate download)
32 * Timeline module can be added (separate download).
33   Requires ploticus.
34 * TeX now has an experimental MathML output mode (incomplete)
36 Installation and upgrading:
37 * The old install.php and update.php have been removed. In-place
38   installation introduced in 1.2 is now the standard installation
39   and upgrade method, see INSTALL for directions.
41 Database:
42 * The links table has been changed to use a cur_id for l_from.
43   The link tables must be converted on upgrade, which may entail
44   some downtime.
46 Code and compatibility:
47 * Should now run clean with error reporting set to E_ALL.
48 * register_globals hack from 1.2 has been replaced with safer code
49 * Bundled PHPTAL 0.7.0 from http://phptal.sourceforge.net/
50   (with some patches)
51 * Most image-related code moved to Image.php
52 * More fixes for PHP 4.1.2 (thanks to Asheesh Laroia)
53 * URL encoding fix for anchors
54 * All languages now available in UTF-8 mode
55 * Various other fixes
57 === Caveats ===
59 Some output, particularly involving user-supplied inline HTML, may not
60 produce 100% valid or well-formed XHTML output. Testers are welcome to
61 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
62 cases, but this is not recommended on live sites. (This must be set for
63 MathML to display properly in Mozilla.)
66 == Version 1.2.6, 2004-05-24 ==
67 * Spam blocker ($wgSpamRegex - refuses to save edits that match)
68 * Updated documentation about $wgWhitelistRead
69 * Ensure that searchindex table is created as MyISAM
70 * Interwiki cache timeout (memcached)
71 * Fix uploads on Windows with magic_quotes_gpc
72 * Some config fixes for Windows (slashes etc)
73 * Local interwiki URL redirects
74 * Fixed obscure deletion problem in squid mode on corrupt entries
75 * Language files updated to remove more hard-coded "Wikipedia" strings
77 == Version 1.2.5, 2004-05-01 ==
78 * Fixed install problem with blank root password
79 * Fixed Special:Emailuser/Username links
80 * Fixed main-page edit links on fuzzy search results
81 * Fixed wikipedia-interwiki.sql
82 * Fixed install with apache2filter (ugly URLs)
83 * IP in 'go' search brings up contributions
84 * Switch from broken & to ? on top-level wiki URL hack
86 == Version 1.2.4, 2004-04-13 ==
88 * Fixed edit toolbar in Mozilla
89 * Diff links in Contributions for 'top' edits
90 * Fixed Nostalgia skin drop-down for register_globals off
91 * Backported optional open proxy blocker
92 * Backported $wgWhitelistRead
93 * $wgCapitalLinks option to force full case sensitivity in titles
94 * Cleaned up error handling when can't talk to database
95 * Disabled unsafe command-line installer (remove the "die()" call to use)
97 == Version 1.2.3, 2004-04-02 ==
99 * Fixed an in-place install bug with non-root MySQL user
100 * Fixed history diff checkboxes bug on titles with ampersands
101 * Fixed printable link bug on special pages with parameters
102 * Fixed bug that broke IP blocking w/o memcached
103 * Turns off E_NOTICE warnings if PHP settings have them on
104   (you can grope in and turn this off if you like to debug)
106 == Version 1.2.2, 2004-03-28 ==
108 * Fixed an upgrade bug introduced in 1.2.1.
109 * Disabled $wgUseCategoryMagic, which feature is incomplete broken
111 == Version 1.2.1, 2004-03-27 ==
113 Installation, compatibility, security fixlets:
114 * Detect use of PHP as CGI and disable index.php/Title URLs
115 * Try to auto-create math tmp & output directories if not present
116 * Disable Asksql in default install ($wgAllowSysopQueries)
117 * Better handling of get_magic_quotes_gpc (apostrophe problems)
118 * French localisation no longer hard-codes "Wikipedia" name
120 == Version 1.2.0 ==
122 New features in 1.2:
123 * Image resizing/thumbnail generation
124 * Stricter upload file extension blacklist and whitelist options
125 * More flexible blocking system; time period may be set
126 * Handier sysop account management. An account marked "bureaucrat"
127   may assign sysop access to other accounts via Special:Makesysop.
128   (The exact details of this may change in the future)
129 * Support for a squid cache with explicit purging of cached anon pages
130 * Optional compression of old revision text (requires zlib support)
131 * Fuzzy title search (experimental, requires memcached)
132 * Page rendering cache (experimental)
133 * Editing toolbar to demonstrate wiki syntax to newbies
134   (off by default in user preferences)
135 * Support for authenticated SMTP outgoing e-mail (experimental)
136 * It's now possible to assign sysop accounts from within the wiki.
137   An account with this ability must be labeled with the "bureaucrat"
138   privilege, such as the 'Developer' account created by the install.
140 Fixes and tweaks:
141 * Now works with register_globals off!
142 * Works with short tags disabled.
143 * Should work out of the box on MySQL 3.2.x again. On 4.x set
144   $wgEnablePersistentLC = true; to turn on the link cache table
145   for a slight rendering speed boost.
146 * rebuildMessages.php can now selectively update new messages, or
147   overwrite everything.
148 * Various bug fixes.
149 * Other stuff we forgot.
150 * Documentation more out of date than ever before!
152 === Behavior changes ===
154 * wiki.phtml and redirect.phtml are now renamed to index.php and redirect.php
155   The old names are provided too for compatibility, but make sure they don't
156   conflict if you've been putting other files in your wiki.
157 * Uploaded filenames are more strictly checked than before. See bits in
158   DefaultSettings.php to tweak this behavior to your needs.
159 * Database messages are now enabled by default, so the interface messages can
160   be tweaked through the wiki with a sysop account. Disable this if you
161   don't want the performance hit.
163 === Database changes ===
165 An index was added to recentchanges table to speed up Newpages
166 (patch-rc-newindex.sql for manual updaters).
168 Expiration date field has been added to ipblocks table
169 (patch-ipb_expiry.sql for manual updaters).
172 == Version 1.1.0, 2003-12-08 ==
174 This is the new production release. Any following 1.1.x releases are expected
175 to contain only bug fixes; developments of new features will go towards a 1.2.0
176 release.
178 New features in 1.1:
179 * New wiki table syntax:
180   http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide:_Using_tables
181 * User-editable interface messages:
182   http://meta.wikipedia.org/wiki/MediaWiki_namespace
183 * XML-wrapped page source export with optional history:
184   http://meta.wikipedia.org/wiki/XML_import_and_export
185   (There is not yet an import function!)
186 * "Magic words"
188 Fixes and tweaks:
189 * linkscc table caches link data for rendering; faster rebuildlinks.php
190 * Numerous bugs in Cologne Blue skin fixed
191 * Login gives warning about missing cookies
192 * Block log, protection log added; deletion log now includes undeletions
193 * Deletion & upload logs now escape comment text properly
194 * Problems with <nowiki> segments in section titles etc mitigated
195 * Contributions offset and minor edit bugs fixed
196 * Whatlinkshere now sorted alphabetically
197 * Various exciting new profiling options.
198 * Debug log is off by default.
199 * Various small bugs fixed.
201 Internal changes:
202 * wfQuery has had a second parameter inserted, DB_READ or DB_WRITE. This value
203   is not actually used so far.
204 * Partial code for categories and Smarty template-based skins is in the tree
205   but disabled.
206 * Parts of Article.php have been moved to EditPage.php and ImagePage.php.
208 New translations:
209 * fi - Finnish
210 * ia - Interlingua
211 * no - Norwegian
212 * sk - Slovak
213 * ta - Tamil
215 === Database changes ===
217 "linkscc" table added. If upgrading manually (rather than with update.php),
218 run maintenance/archives/patch-linkscc.sql to create the table.
220 Older releases were dated snapshots from the old 'stable' branch:
222 == mediawiki-20031118 ==
224 * Image deletion fixed.
225 * Deletion of image old revisions now restricted to sysops
226   (this is an irreversible action and not well logged)
227 * Fixed maintenance scripts broken by last release's security fix
228 * Many errors in rebuildlinks script fixed.
230 == mediawiki-20031117 ==
232 * SECURITY FIX: stricter checking of include path
233 * Fixed user contributions next/prev bug
234 * Login cookies now have the database name prefixed to allow wikis
235   to coexist in the same domain. This will invalidate any old saved
236   password cookies.
237 * Update cache timestamp when talk pages are created
238 * Saving the login form in Mozilla no longer blanks password in prefs.
239 * Check existence of source page before performing a move.
240 * Detect invalid titles in Special:Allpages
241 * Q-encode headers on outgoing inter-user e-mail
242 * Updates to some translations.
243 * Added table of contents border/bg to Cologne Blue, Nostalgia skins
244 * Protected pages no longer appear unprotected when visited via redirect
245 * Swapped old Wikipedia logo for the MediaWiki sunflower logo
246 * install.php, update.php print warning on old PHP versions,
247   added compatibility functions that might or might not help
249 No database changes since 20031107; upgrading should be clean.
252 == mediawiki-20031107 ==
254 * Fixed various bugs!
255 * Some speed improvements from tweaks to the table indexes
256 * Limited support for memcached (see below)
257 * New translations (see below)
258 * Interwiki link data now kept in database for flexibility
259 * Friendlier read-only source view if asked to edit a page when
260   the db is locked or the page is protected.
261 * Normal IP blocks auto-expire after 24 hours
262 * Optional support for blocking usernames
263 * Uploads disabled by default (see below)
266 === Security note ===
268 Uploads are now disabled by default. If you've set up a secure configuration
269 you can reenable uploads by putting:
271   $wgDisableUploads = false;
273 into LocalSettings.php.
275 Earlier versions of MediaWiki included a bug that potentially allows logged-
276 in users to delete arbitrary files in directories writable by the web server
277 user by manually feeding false form data; this is now fixed.
279 As a reminder, disable PHP script execution in the upload directory!
280 You may also wish to serve HTML pages as plaintext to prevent cookie-
281 stealing JavaScript attacks. Example Apache config fragment:
283   <Directory "/Library/MediaWiki/web/upload">
284      # Ignore .htaccess files
285      AllowOverride None
286      
287      # Serve HTML as plaintext
288      AddType text/plain .html .htm .shtml
289      
290      # Don't run arbitrary PHP code.
291      php_admin_flag engine off
292      
293      # If you've other scripting languages, disable them too.
294   </Directory>
297 === Database updates ===
299 If you're using update.php, the necessary database changes should
300 be made automatically.
302 To manually upgrade your database from the 2003-08-29 release, run the
303 following SQL scripts from the maintenance subdirectory:
305   archives/patch-ipblocks.sql
306   archives/patch-interwiki.sql
307   archives/patch-indexes.sql
308   interwiki.sql
310 To copy in the Wikipedia language-prefix interwikis as well, add:
312   wikipedia-interwiki.sql
315 === Translations ===
317 New interface localization files are included for:
318   fy Frisian
319   ro Romanian
320   sl Slovene
321   sq Albanian
322   sr Serbian
325 === Memcached ===
327 Memcached is a distributed cache system. See http://www.danga.com/memcached/
328 MediaWiki can optionally use memcached to store some data between calls
329 to reduce load on the database. Currently this is limited to user and
330 talk page notification data, interwiki prefix/URL matches, and the
331 UTF-8 conversion tables.
333 MediaWiki includes version 1.0.10 of the (GPL'd) PHP memcached client by
334 Ryan Gilfether; if memcached is disabled it acts as a dummy object with
335 minimal overhead.
337 To use memcached you'll need PHP installed with sockets support (this is not
338 in the default configure options). See docs/memcached for some more details.
340 Additionally, you can store login session data in memcached instead of the
341 local filesystem, which can help to enable load-balancing by letting login
342 sessions transparently work on multiple front-end web servers. (The primary
343 other issue is with uploads, which requires some care in handling.)
345 To enable this, set $wgSessionsInMemcached = true; and set $wgCookieDomain
346 appropriately if exposing multiple hostnames. This system is new and may be
347 volatile; login sessions will fail dramatically if memcached is unavailable
348 when this option is turned on.
351 === Online documentation ===
353 Documentation for both end-users and site administrators is currently being
354 built up on Meta-Wikipedia, and is covered under the GNU Free Documentation
355 License:
357   http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide
360 === Mailing list ===
362 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
363 wikitech-l list:
365   http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
368 === UseModWiki import script ===
370 A stripped-down UseModWiki import script is available in the maintenance
371 subdirectory. It is incomplete and requires a lot of manual clean-up, but
372 does function for the brave and pure of heart.
375 === Test suite removed ===
377 The unmaintained Java-based test suite has been removed from the tarball
378 release. If you really want it you can check it out from CVS.
381 == mediawiki-20030829 ==
383 First release under MediaWiki name.