Tighten up the handling of $wgEmailConfirmToEdit , plus related functionality:
[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 == MediaWiki 1.12 ==
7
8 THIS IS NOT A RELEASE YET
9
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.
13
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.
17
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
20
21 === Configuration changes in 1.12 ===
22
23 === New features in 1.12 ===
24 * (bug 10735) Add a warning for non-descriptive filenames at Special:Upload
25 * Add {{filepath:}} parser function to get full path to an uploaded file,
26 complementing {{fullurl:}} for pages.
27 * (bug 11136) If using Postgres, search path is explicitly set if wgDBmwschema is
28 not set to 'mediawiki', allowing multiple mediawiki instances per user.
29 * (bug 11151) Add descriptive <title> to revision history page
30 * (bug 5412) Add feed links for the site to all pages
31 * (bug 11353) Add ability to retrieve raw section content via action=raw
32 * Show relevant deletion log lines when uploading a previously deleted file
33 * On SkinTemplate based skins (like MonoBook), omit confusing "edit"/"view source"
34 tab entirely if the page doesn't exist and the user isn't allowed to create it
35 * Clarify instructions given when an exception is thrown
36 * AuthPlugin added strictUserAuth() method to allow per-user override
37 of the strict() authentication behavior.
38
39
40 === Bug fixes in 1.12 ===
41
42 * Subpages are now indexed for searching properly when using PostgreSQL
43 * (bug 3846) Suppress warnings from, e.g. open_basedir when scanning for
44 ImageMagick, diff3 et al. during installation [patch by Jan Reininghaus]
45 * (bug 7027) Shift handling of deletion permissions-checking to
46 getUserPermissionsErrors.
47 * Login and signup forms are now more correct for right-to-left languages.
48 * (bug 5387) Block log items on RecentChanges don't make use of possible
49 translations
50 * (bug 11211) Pass, as a parameter to the protectedpagetext interface
51 message, the level of protection.
52 * (bug 9611) Supply the blocker and reason for the cantcreateaccounttext
53 message.
54 * (bug 8759) Fixed bug where rollback was allowed on protected pages for wikis
55 where rollback is given to non-sysops.
56 * (bug 8834) Split off permission for editing user JavaScript and CSS from
57 editinterface to a new permission key editusercssjs.
58 * (bug 11266) Set fallback language for Fulfulde (ff) to French
59 * (bug 11179) Include image version deletion comment in public log
60 * Fixed notice when accessing special page without read permission and whitelist
61 is not defined
62 * (bug 9252) Fix for tidy funkiness when using editintro mode
63 * (bug 4021) Fix for MySQL wildcard search
64 * (bug 10699) Fix for MySQL phrase search
65 * (bug 11321) Fix width of gallerybox when option "width=xxx" is used
66 * (bug 7890) Special:BrokenRedirects links deleted redirects to a non-existent page
67 * Fix initial statistics when installing: add correct values
68 * (bug 11342) Fix several 'returnto' links in permissions/error pages which
69 linked to the main page instead of targetted page
70 * Strike the link to the redirect rather than using an asterisk in Special:Listredirects
71 * (bug 11355) Fix false positives in Safe Mode and other config detection
72 when boolean settings are disabled with 'Off' via php_admin_value/php_value
73 * (bug 11292) Fixed unserialize errors with Postgres by creating special Blob object.
74 * (bug 11363) Make all metadata fields bytea when using Postgres.
75 * (bug 11331) Add buildConcat() and use CASE not IF for DB compatibility. Make oldimage
76 cascade delete via image table for Postgres, change fa_storage_key TEXT.
77 * (bug 11438) Live Preview chops returned text
78 * Show the right message on account creation when the user is blocked
79 * (bug 11450) Fix creation of objectcache table on upgrade
80 * Fix namespace selection after submit of Special:Newpages
81 * Make input form of Special:Newpages nicer for RTL wikis
82 * (bug 11462) Fix typo in LanguageGetSpecialPageAliases hook name
83 * (bug 11474) Fix unintentional fall-through in math error handling
84 * (bug 11478) Fix undefined method call in file deletion interface
85 * (bug 278) Search results no longer highlight incorrect partial word matches
86 * Compatibility with incorrectly detected old-style DJVU mime types
87 * (bug 11560) Fix broken HTML output from weird link nesting in edit comments.
88 Nested links (as in image caption text) still don't work _right_ but they're
89 less wrong
90 * (bug 9718) Remove unnecessary css from main.css causing spacing issues on
91 some browsers.
92 * (bug 11574) Add an interface message loginstart, which, similarly to loginend,
93 appears just before the login form. Patch by MinuteElectron.
94 * Do not cache category pages if using 'from' or 'until'
95 * Created new hook getUserPermissionsErrors, to go with userCan changes.
96 * Diff pages did not properly display css/js pages.
97 * (bug 11620) Add call to User::isValidEmailAddr during accout creation.
98 * (bug 11629) If $wgEmailConfirmToEdit is true, require people to supply an
99 email address when registering.
100
101
102 === API changes in 1.12 ===
103
104 Full API documentation is available at http://www.mediawiki.org/wiki/API
105
106 * (bug 11275) Enable descending sort in categorymembers
107 * (bug 11308) Allow the API to output the image metadata
108 * (bug 11296) Temporary fix for escaping of ampersands inside links in pretty-printed
109 help document.
110 * (bug 11405) Expand templates implementation in the API
111 * (bug 11218) Add option to feedwatchlist to display multiple revisions for each page.
112 * (bug 11404) Provide name of exception caught in error code field of internal api
113 error messages.
114 * (bug 11534) rvendid doesn't work
115 * Fixed rvlimit of the revisions query to only enforce the lower query limit if
116 revision content is requested.
117 * Include svn revision number (if install is checked-out from svn) in siteinfo query.
118 * (bug 11173) Allow limited wikicode rendering via api.php
119 * (bug 11572) API should provide interface for expanding templates
120 * (bug 11569) Login should return the cookie prefix
121
122 === Languages updated in 1.12 ===
123
124 * Amharic (am) (new)
125 * Arabic (ar)
126 * Mapudungun (arn) (new)
127 * Asturian (ast)
128 * Samogitian (bat-smg)
129 * Bikol Central (bcl)
130 * Belarusian Taraskievica orthography (be-tarask)
131 * Bulgarian (bg)
132 * Bislama (bi) (new)
133 * Bengali (bn)
134 * Bishnupriya Manipuri (bpy)
135 * Breton (br)
136 * Catalan (ca)
137 * Czech (cs)
138 * Cassubian (csb)
139 * Welsh (cy)
140 * Danish (da)
141 * German (de)
142 * Lower Sorbian (dsb) (new)
143 * Ewe (ee) (new)
144 * Greek (el)
145 * Spanish (es)
146 * Extremaduran (ext)
147 * Finnish (fi)
148 * Persian (fa)
149 * Võro (fiu-vro)
150 * Faroese (fo)
151 * French (fr)
152 * Cajun French (frc)
153 * Franco-Provençal (frp)
154 * Frisian (fy)
155 * Irish (ga)
156 * Gön-gnŷ (gan) (new)
157 * Galician (gl)
158 * Ancient Greek (grc) (new)
159 * Hakka (hak)
160 * Hebrew (he)
161 * Croatian (hr)
162 * Upper Sorbian (hsb)
163 * Armenian (hy)
164 * Indonesian (id)
165 * Icelandic (is)
166 * Italian (it)
167 * Japanese (ja)
168 * Kazakh (kk)
169 * Korean (ko)
170 * Latin (la)
171 * Limbugian (li)
172 * Lithuanian (lt)
173 * Malay (ms)
174 * Nahuatl (nah)
175 * Min-nan (nan)
176 * Low Saxon (nds)
177 * Dutch Low Saxon (nds-nl)
178 * Dutch (nl)
179 * Norwegian (no)
180 * Portugese (pt)
181 * Romanian (ro)
182 * Russian (ru)
183 * Sakha (sah)
184 * Sicilian (scn)
185 * Sassarese (sdc) (new)
186 * Seri (sei) (new)
187 * Tachelhit (shi)
188 * Slovak (sk)
189 * Serbian (Cyrillic) (sr-ec)
190 * Sundanese (su)
191 * Swedish (sv)
192 * Tamil (ta)
193 * Tetun (tet) (new)
194 * Tagalog (tl) (new)
195 * Walloon (wa)
196 * Yiddish (yi)
197 * Cantonese (yue)
198 * Zhuang (za)
199 * Zealandic (zea)
200 * Old Chinese/Late Time Chinese (zh-classical)
201 * Chinese (Simplified) (zh-hans)
202 * Chinese (Traditional) (zh-hant)
203
204 == Compatibility ==
205
206 MediaWiki 1.12 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
207
208 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
209 http://bugs.php.net/bug.php?id=34879
210 Upgrade affected systems to PHP 5.1 or higher.
211
212 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
213 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
214
215
216 == Upgrading ==
217
218 1.12 has several database changes since 1.11, and will not work without schema
219 updates.
220
221 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
222 new database fields are filled with data.
223
224 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
225 changes are made, and there is a slightly higher chance that things could
226 break. Don't forget to always back up your database before upgrading!
227
228 See the file UPGRADE for more detailed upgrade instructions.
229
230
231 === Caveats ===
232
233 Some output, particularly involving user-supplied inline HTML, may not
234 produce 100% valid or well-formed XHTML output. Testers are welcome to
235 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
236 cases, but this is not recommended on live sites. (This must be set for
237 MathML to display properly in Mozilla.)
238
239 For notes on 1.11.x and older releases, see HISTORY.
240
241
242 === Online documentation ===
243
244 Documentation for both end-users and site administrators is currently being
245 built up on MediaWiki.org, and is covered under the GNU Free Documentation
246 License (except for pages that explicitly state that their contents are in
247 the public domain) :
248
249 http://www.mediawiki.org/wiki/Documentation
250
251
252 === Mailing list ===
253
254 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
255 wikitech-l list:
256
257 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
258
259 A low-traffic announcements-only list is also available:
260
261 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
262
263 It's highly recommended that you sign up for one of these lists if you're
264 going to run a public MediaWiki, so you can be notified of security fixes.
265
266
267 === IRC help ===
268
269 There's usually someone online in #mediawiki on irc.freenode.net