* Trim whitespace from option values to weather line-ending corruption problems
[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
7 == MediaWiki 1.5 alpha 2 ==
8
9 June 3, 2005
10
11 MediaWiki 1.5 alpha 2 includes a lot of bug fixes, feature merges,
12 and a security update.
13
14 Incorrect handling of page template inclusions made it possible to
15 inject JavaScript code into HTML attributes, which could lead to
16 cross-site scripting attacks on a publicly editable wiki.
17
18 Vulnerable releases and fix:
19 * 1.5 prerelease: fixed in 1.5alpha2
20 * 1.4 stable series: fixed in 1.4.5
21 * 1.3 legacy series: fixed in 1.3.13
22 * 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended
23
24
25 == MediaWiki 1.5 alpha 1 ==
26
27 May 3, 2005
28
29 This is a testing preview release, being put out mainly to aid testers in
30 finding installation bugs and other major problems. It is strongly recommended
31 NOT to run a live production web site on this alpha release.
32
33 ** WARNING: USE OF THIS ALPHA RELEASE MAY INFEST YOUR HOUSE WITH **
34 ** TERMITES, ROT YOUR TEETH, GROW HAIR ON YOUR PALMS, AND PASTE **
35 ** INNUENDO INTO YOUR C.V. RIGHT BEFORE A JOB INTERVIEW! **
36 ** DON'T SAY WE DIDN'T WARN YOU, MAN. WE TOTALLY DID RIGHT HERE. **
37
38
39 === Big changes ===
40
41 Schema:
42 The core table schema has changed significantly. This should make better
43 use of the database's cache and disk I/O, and make significantly speed up
44 rename and delete operations on pages with very long edit histories.
45
46 Unfortunately this does mean upgrading a wiki of size from 1.4 will require
47 some downtime for the schema restructuring, but future storage backend
48 changes should be able to integrate into the new system more easily.
49
50 Permalinks:
51 The current revision of a page now has a permanent 'oldid' number assigned
52 immediately, and the id numbers are now preserved across deletion/undeletion.
53 A permanent reference to the current revision of a page is now just a matter
54 of going to the 'history' tab and copying the first link in the list.
55
56 Page move log:
57 Renames of pages are now recorded in Special:Log and the page history.
58 A handy revert link is available from the log for sysops.
59
60 Editing diff:
61 Ever lost track of what you'd done so far during an edit? A 'Show diff'
62 button on the edit page now makes it easy to remember.
63
64 Uploads:
65 It's now possible to specify the final filename of an upload distinct
66 from the original filename on your disk.
67
68 An image link for a missing file will now take you straight to the upload page.
69
70 More metadata is pre-extracted from uploaded images, which will ease pressure
71 on disk or NFS volumes used to store images. EXIF metadata is displayed on
72 the image description page if PHP is configured with the necessary module.
73
74 User accounts:
75 There are some changes to the user permissions system, with assignable
76 groups. This is still somewhat in flux; do not rely on the present system
77 that you see in this alpha to still be there.
78
79 E-mail:
80 User-to-user e-mail can now be restricted to require a mail-back confirmation
81 first to reduce potential for abuse with false addresses.
82
83 Updates to user talk pages and watchlist entries can optionally send e-mail
84 notifications.
85
86 External hooks:
87 A somewhat experimental interface for hooking in an external editor
88 application is included. This may not be on by default in final release,
89 depending on support.
90
91 And...
92 A bunch of stuff we forgot to mention.
93
94
95 === What's gone? ===
96
97 Latin-1:
98 Wikis must now be encoded in Unicode UTF-8; this has been the default for
99 some time, but some languages could optionally be installed in Latin-1 mode.
100 This is no longer supported.
101
102 MySQL 3.x:
103 Some optimization hacks for MySQL 3.x have been removed as part of the schema
104 clean-up (specifically, the inverse_timestamp fields). MediaWiki 1.5 should
105 still run, but wikis of significant size should very seriously consider
106 upgrading to a more modern release. MySQL 3.x support will probably be
107 entirely dropped in the next major release later this year.
108
109 Special:Maintenance
110 These tools were, ironically enough, not really maintained. This special
111 page has been removed; insofar as some of its pieces were useful and haven't
112 already been supplanted by other special pages they should be rewritten in
113 an efficient and safe manner in the future.
114
115
116 === What's still waiting? ===
117
118 These things should be fixed by the time 1.5.0 final is released:
119
120 Upgrade:
121 Wikis in Latin-1 encoding are no longer supported; only Unicode UTF-8.
122 A new option $wgLegacyEncoding is provided to allow on-the-fly recoding of
123 old page text entries, but other metadata fields (titles, comments etc) need
124 to be pre-converted. The upgrade process does not yet fully automate this.
125
126 In general the upgrade from 1.4 to 1.5 schema has not been tested for all
127 cases, and there may be problems.
128
129 Backups:
130 The text entries of deleted pages are no longer removed from the main
131 text table on deletion. If you provide public backup dumps of your databases,
132 you will probably want to use the new XML-format dump generator... but
133 this hasn't been finished yet.
134
135 PostgreSQL:
136 The table definitions for PostgreSQL install are out of date, and patches
137 to support PostgreSQL from the main installer are still pending.
138
139 MySQL 4.1+:
140 Proper charset encoding / collation configuration for installs on MySQL 4.1
141 and higher still needs to be fiddled with. Some bits may fail on the UTF-8
142 setting due to some long field keys.
143
144 Authentication plugin fixes:
145 The AuthPlugin interface needs some improvements to work better with LDAP,
146 HTTP basic auth, and other such environments. Some patches are pending.
147
148
149 === Smaller changes ===
150
151 Various bugfixes, small features, and a few experimental things:
152
153 * 'live preview' reduces preview reload burden on supported browsers
154 * support for external editors for files and wiki pages:
155 http://meta.wikimedia.org/wiki/Help:External_editors
156 * Schema reworking: http://meta.wikimedia.org/wiki/Proposed_Database_Schema_Changes/October_2004
157 * (bug 15) Allow editors to view diff of their change before actually submitting an edit
158 * (bug 190) Hide your own edits on the watchlist
159 * (bug 510): Special:Randompage now works for other namespaces than NS_MAIN.
160 * (bug 1015) support for the full wikisyntax in <gallery> captions.
161 * (bug 1105) A "Destination filename" (save as) added to Special:Upload Upload.
162 * (bug 1352) Images on description pages now get thumbnailed regardless of whether the thumbnail is larger than the original.
163 * (bug 1662) A new magicword, {{CURRENTMONTHABBREV}} returns the abbreviation of the current month
164 * (bug 1668) 'Date format' supported for other languages than English, see:
165 http://mail.wikipedia.org/pipermail/wikitech-l/2005-March/028364.html
166 * (bug 1739) A new magicword, {{REVISIONID}} give you the article or diff database
167 revision id, useful for proper citation.
168 * (bug 1998) Updated the Russian translation.
169 * (bug 2064) Configurable JavaScript mimetype with $wgJsMimeType
170 * (bug 2084) Fixed a regular expression in includes/Title.php that was accepting invalid syntax like #REDIRECT [[foo] in redirects
171 * It's now possible to invert the namespace selection at Special:Allpages and Special:Contributions
172 * No longer using sorbs.net to check for open proxies by default.
173 * What was $wgDisableUploads is now $wgEnableUploads, and should be set to true if one wishes to enable uploads.
174 * Supplying a reason for a block is no longer mandatory
175 * Language conversion support for category pages
176 * $wgStyleSheetDirectory is no longer an alias for $wgStyleDirectory;
177 * Special:Movepage can now take paramaters like Special:Movepage/Page_to_move
178 (used to just be able to take paramaters via a GET request like index.php?title=Special:Movepage&target=Page_to_move)
179 * (bug 2151) The delete summary now includes editor name, if only one has edited the article.
180 * (bug 2105) Fixed from argument to the PHP mail() function. A missing space could prevent sending mail with some versions of sendmail.
181 * (bug 2228) Updated the Slovak translation
182 * ...and more!
183
184
185 === Changes since 1.5alpha1 ===
186
187 * (bug 73) Category sort key is set to file name when adding category to
188 file description from upload page (previously it would be set to
189 "Special:Upload", causing problems with category paging)
190 * (bug 419) The contents of the navigation toolbar are now editable through
191 the MediaWiki namespace on the MediaWiki:navbar page.
192 * (bug 498) The Views heading in MonoBook.php is now localizable
193 * (bug 898) The wiki can now do advanced sanity check on uploaded files
194 including virus checks using external programs.
195 * (bug 1692) Fix margin on unwatch tab
196 * (bug 1906) Generalize project namespace for Latin localization, update namespaces
197 * (bug 1975) The name for Limburgish (li) changed from "Lèmburgs" to "Limburgs
198 * (bug 2019) Wrapped the output of Special:Version in <div dir='ltr'> in order
199 to preserve the correct flow of text on RTL wikis.
200 * (bug 2067) Fixed crash on empty quoted HTML attribute
201 * (bug 2075) Corrected namespace definitions in Tamil localization
202 * (bug 2079) Removed links to Special:Maintenance from movepagetext message
203 * (bug 2094) Multiple use of a template produced wrong results in some cases
204 * (bug 2095) Triple-closing-bracket thing partly fixed
205 * (bug 2110) "noarticletext" should not display on Image page for "sharedupload" media
206 * (bug 2150) Fix tab indexes on edit form
207 * (bug 2152) Add missing bgcolor to attribute whitelist for <td> and <th>
208 * (bug 2176) Section edit 'show changes' button works correctly now
209 * (bug 2178) Use temp dir from environment in parser tests
210 * (bug 2217) Negative ISO years were incorrectly converted to BC notation
211 * (bug 2234) allow special chars in database passwords during install
212 * Deprecated the {{msg:template}} syntax for referring to templates, {{msg: is
213 now the wikisyntax representation of wfMsgForContent()
214 * Fix for reading incorrectly re-gzipped HistoryBlob entries
215 * HistoryBlobStub: the last-used HistoryBlob is kept open to speed up
216 multiple-revision pulls
217 * Add $wgLegacySchemaConversion update-time option to reduce amount of
218 copying during the schema upgrade: creates HistoryBlobCurStub reference
219 records in text instead of copying all the cur_text fields. Requires
220 that the cur table be left in place until/unless such fields are migrated
221 into the main text store.
222 * Special:Export now includes page, revision, and user id numbers by
223 default (previously this was disabled for no particular reason)
224 * dumpBackup.php can dump the full database to Export XML, with current
225 revisions only or complete histories.
226 * The group table was renamed to groups because "group" is a reserved word in
227 SQL which caused some inconveniances.
228 * New fileicons for c, cpp, deb, dvi, exe, h, html, iso, java, mid, mov, o,
229 ogg, pdf, ps, rm, rpm, tar, tex, ttf and txt files based on the KDE
230 crystalsvg theme.
231 * Fixed a bug in Special:Newimages that made it impossible to search for '0'
232 * Added language variant support for Icelandic, now supports "Íslenzka"
233 * The #p-nav id in MonoBook is now #p-navigation
234 * Putting $4 in msg:userstatstext will now give the percentage of
235 admnistrators out of normal users.
236 * links and brokenlinks tables merged to pagelinks; this will reduce pain
237 dealing with moves and deletes of widely-linked pages.
238 * Add validate table and val_ip column through the updater.
239 * Simple rate limiter for edits and page moves; set $wgRateLimits
240 (somewhat experimental; currently needs memcached)
241 * (bug 2262) Hide math preferences when TeX is not enabled
242 * (bug 2267) Don't generate thumbnail at the same size as the source image.
243 * Fix rebuildtextindex.inc for new schema
244 * Remove linkscc table code, no longer used.
245 * (bug 2271) Use faster text-only link replacement in image alt text
246 instead of rerunning expensive link lookup and HTML generation.
247 * Only build the HTML attribute whitelist tree once.
248 * Replace wfMungeToUtf8 and do_html_entity_decode with a single function
249 that does both numeric and named chars: Sanitizer::decodeCharReferences
250 * Removed some obsolete UTF-8 converter functions
251 * Fix function comment in debug dump of SQL statements
252 * (bug 2275) Update search index more or less right on page move
253 * (bug 2053) Move comment whitespace trimming from edit page to save;
254 leaves the whitespace from the section comment there on preview.
255 * (bug 2274) Respect stub threshold in category page list
256 * (bug 2173) Fatal error when removing an article with an empty title from the watchlist
257 * Removed -f parameter from mail() usage, likely to cause failures and bounces.
258 * (bug 2130) Fixed interwiki links with fragments
259 * (bug 684) Accept an attribute parameter array on parser hook tags
260 * (bug 814) Integrate AuthPlugin changes to support Ryan Lane's external
261 LDAP authentication plugin
262 * (bug 2034) Armor HTML attributes against template inclusion and links munging
263
264 === Changes since 1.5alpha2 ===
265
266 * (bug 2319) Fix parse hook tag matching
267 * (bug 2329) Fix title formatting in several special pages
268 * (bug 2223) Add unique index on user_name field to prevent duplicate accounts
269 * (bug 1976) fix shared user database with a table prefix set
270 * (bug 2334) Accept null for attribs in wfElement without PHP warning
271 * (bug 2309) Allow templates and template parameters in HTML attribute zone,
272 with proper validation checks. (regression from fix for 2304)
273 * Disallow close tags and enforce empty tags for <hr> and <br>
274 * Changed user_groups format quite a bit.
275 * (bug 2368) Avoid fatally breaking PHP 4.1.2 in a debug line
276 * (bug 2367) Insert correct redirect link record on page move
277 * (bug 2372) Fix rendering of empty-title inline interwiki links
278 * (bug 2384) Fix typo in regex for IP address checking
279 * (bug 650) Prominently link MySQL 4.1 help page in installer if a possible
280 version conflict is detected
281 * (bug 2394) Undo incompatible breakage to {{msg:}} compatiblity includes
282 * (bug 1322) Use a shorter cl_sortkey field to avoid breaking on MySQL 4.1
283 when the default charset is set to utf8
284 * (bug 2400) don't send confirmation mail on account creation if
285 $wgEmailAuthentication is false.
286 * (bug 2172) Fix problem with nowiki beeing replaced by marker strings
287 when a template with a gallery was used.
288 * Guard Special:Userrights against form submission forgery
289 * (bug 2408) page_is_new was inverted (whoops!)
290 * Added wfMsgHtml() function for escaping messages and leaving params intact
291 * Fix ordering of Special:Listusers; fix groups list so it shows all groups
292 when searching for a specific group and can't be split across pages
293 * (bug 1702) Display a handy upload link instead of a useless blank link
294 for [[media:]] links to nonexistent files.
295 * (bug 873) Fix usage of createaccount permission; replaces $wgWhitelistAccount
296 * (bug 1805) Initialise $wgContLang before $wgUser
297 * (bug 2277) Added Friulian language file
298 * (bug 2457) The "Special page" href now links to the current special page
299 rather than to "".
300 * (bug 1120) Updated the Czech translation
301 * A new magic word, {{SCRIPTPATH}}, returns $wgScriptPath
302 * Special:Imagelist displays titles with " " instead of "_"
303 * Less gratuitous munging of content sample in delete summary
304 * badaccess/badaccesstext to supercede sysop*, developer* messages
305 * Changed $wgGroupPermissions to more cut-n-paste-friendly format
306 * 'developer' group deprecated by default
307 * Special:Upload now uses 'upload' permission instead of hardcoding login check
308 * Add 'importupload' permission to disable direct uploads to Special:Import
309 * (bug 2459) Correct escaping in Special:Log prev/next links
310 * (bug 2462 etc) Taking out the experimental dash conversion; it broke too many
311 things for the current parser to handle cleanly
312 * (bug 2467) Added a Turkish language file
313 * Fixed a bug in Special:Contributions that caused the namespace selection to
314 be forgotten between submits
315 * Special:Watchlist/edit now has namespace subheadings
316 * (bug 1714) the "Save page" button now has right margin to seperate it from
317 "Show preview" and "Show changes"
318 * Special:Statistics now supports action=raw, useful for bots designed to
319 harwest e.g. article counts from multiple wikis.
320 * The copyright confirmation box at Special:Upload is now turned off by default
321 and can be turned back on by setting $wgCopyrightAffirmation to a true value.
322 * Restored prior text for password reminder button and e-mail, replacing
323 the factually inaccurate text that was there.
324 * (bug 2178) Fix temp dir check again
325 * (bug 2488) Format 'deletedtext' message as wikitext
326 * (bug 750) Keep line endings consistent in LocalSettings.php
327 * (bug 1577) Add 'printable version' tab in MonoBook for people who don't
328 realize you can just hit print to get a nicely formatted printable page.
329 * Trim whitespace from option values to weather line-ending corruption problems
330
331
332 === Caveats ===
333
334 Some output, particularly involving user-supplied inline HTML, may not
335 produce 100% valid or well-formed XHTML output. Testers are welcome to
336 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
337 cases, but this is not recommended on live sites. (This must be set for
338 MathML to display properly in Mozilla.)
339
340
341 For notes on 1.4.x and older releases, see HISTORY.
342
343
344 === Online documentation ===
345
346 Documentation for both end-users and site administrators is currently being
347 built up on Meta-Wikipedia, and is covered under the GNU Free Documentation
348 License:
349
350 http://meta.wikipedia.org/wiki/Help:Contents
351
352
353 === Mailing list ===
354
355 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
356 wikitech-l list:
357
358 http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
359
360 A low-traffic announcements-only list is also available:
361 http://mail.wikipedia.org/mailman/listinfo/mediawiki-announce
362
363 It's highly recommended that you sign up for one of these lists if you're
364 going to run a public MediaWiki, so you can be notified of security fixes.
365
366
367 === IRC help ===
368
369 There's usually someone online in #mediawiki on irc.freenode.net