* Ensure that rate-limiting is applied to rollbacks.
[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 * Marking edits as bot edits with Special:Contributions?bot=1 now requires the
23 markbotedit permission, rather than the rollback permission previously used.
24 This permission is assigned by default to the sysop group.
25
26 === New features in 1.12 ===
27 * (bug 10735) Add a warning for non-descriptive filenames at Special:Upload
28 * Add {{filepath:}} parser function to get full path to an uploaded file,
29 complementing {{fullurl:}} for pages.
30 * (bug 11136) If using Postgres, search path is explicitly set if wgDBmwschema is
31 not set to 'mediawiki', allowing multiple mediawiki instances per user.
32 * (bug 11151) Add descriptive <title> to revision history page
33 * (bug 5412) Add feed links for the site to all pages
34 * (bug 11353) Add ability to retrieve raw section content via action=raw
35 * Show relevant deletion log lines when uploading a previously deleted file
36 * On SkinTemplate based skins (like MonoBook), omit confusing "edit"/"view source"
37 tab entirely if the page doesn't exist and the user isn't allowed to create it
38 * Clarify instructions given when an exception is thrown
39 * AuthPlugin added strictUserAuth() method to allow per-user override
40 of the strict() authentication behavior.
41 * (bug 7872) Deleted revisions can now be viewed as diffs showing changes
42 against the previous revision, whether currently deleted or live.
43 * Added tooltips for the "Go" and "Search" buttons
44 * (bug 11649) Show input form when Special:Whatlinkshere has no parameters
45 * isValidEmailAddr hook added to User method of that name, to allow, e.g., re-
46 stricting e-mail addresses to a specific domain
47 * Removed "Clear" link in watchlist editor tools, as people were afraid to
48 click it. Existing clear links will fall back to the raw editor, which is
49 very easy to clear your watchlist with.
50 * (bug 1405) Add wgUseNPPatrol option to control patroling for new articles
51 on Special:Newpages
52 * LogLine hook added to allow formatting custom entries in Special:Log.
53 * Support for Iranian calendar
54 * (bug 1401) Allow hiding logged-in users, bots and patrolled pages on Special:Newpages
55 * ChangesListInsertArticleLink hook added for adding extra article info to RC.
56 * MediaWikiPerformAction hook added for diverting control after the main
57 globals have been set up but before any actions have been taken.
58 * BeforeWatchlist hook added for filtering or replacing watchlist.
59 * SkinTemplateTabAction hook added for altering the properties of tab links.
60 * OutputPage::getRedirect public method added.
61 * (bug 11848) Allow URL parameters 'editintro' and 'preload' in Special:Mypage
62 and Special:Mytalk
63 * Add ot=raw to Special:Allmessages
64 * Support for Hebrew calendar
65 * Support for Hebrew numerals in dates and times
66 * (bug 11315) Signatures can be configured in [[MediaWiki:Signature]] and
67 [[MediaWiki:Signature-anon]]
68 * Signatures for anonymous users link to Special:Contributions page rather than user page
69 * Added --override switch for disabled pages in updateSpecialPages.php
70 * Provide a unique message (ipb_blocked_as_range) if unblock of a single IP fails
71 because it is part of a blocked range.
72 * (bug 3973) Use a separate message for the email content when an account is
73 created by another user
74
75 === Bug fixes in 1.12 ===
76
77 * Subpages are now indexed for searching properly when using PostgreSQL
78 * (bug 3846) Suppress warnings from, e.g. open_basedir when scanning for
79 ImageMagick, diff3 et al. during installation [patch by Jan Reininghaus]
80 * (bug 7027) Shift handling of deletion permissions-checking to
81 getUserPermissionsErrors.
82 * Login and signup forms are now more correct for right-to-left languages.
83 * (bug 5387) Block log items on RecentChanges don't make use of possible
84 translations
85 * (bug 11211) Pass, as a parameter to the protectedpagetext interface
86 message, the level of protection.
87 * (bug 9611) Supply the blocker and reason for the cantcreateaccounttext
88 message.
89 * (bug 8759) Fixed bug where rollback was allowed on protected pages for wikis
90 where rollback is given to non-sysops.
91 * (bug 8834) Split off permission for editing user JavaScript and CSS from
92 editinterface to a new permission key editusercssjs.
93 * (bug 11266) Set fallback language for Fulfulde (ff) to French
94 * (bug 11179) Include image version deletion comment in public log
95 * Fixed notice when accessing special page without read permission and whitelist
96 is not defined
97 * (bug 9252) Fix for tidy funkiness when using editintro mode
98 * (bug 4021) Fix for MySQL wildcard search
99 * (bug 10699) Fix for MySQL phrase search
100 * (bug 11321) Fix width of gallerybox when option "width=xxx" is used
101 * (bug 7890) Special:BrokenRedirects links deleted redirects to a non-existent page
102 * Fix initial statistics when installing: add correct values
103 * (bug 11342) Fix several 'returnto' links in permissions/error pages which
104 linked to the main page instead of targetted page
105 * Strike the link to the redirect rather than using an asterisk in Special:Listredirects
106 * (bug 11355) Fix false positives in Safe Mode and other config detection
107 when boolean settings are disabled with 'Off' via php_admin_value/php_value
108 * (bug 11292) Fixed unserialize errors with Postgres by creating special Blob object.
109 * (bug 11363) Make all metadata fields bytea when using Postgres.
110 * (bug 11331) Add buildConcat() and use CASE not IF for DB compatibility. Make oldimage
111 cascade delete via image table for Postgres, change fa_storage_key TEXT.
112 * (bug 11438) Live Preview chops returned text
113 * Show the right message on account creation when the user is blocked
114 * (bug 11450) Fix creation of objectcache table on upgrade
115 * Fix namespace selection after submit of Special:Newpages
116 * Make input form of Special:Newpages nicer for RTL wikis
117 * (bug 11462) Fix typo in LanguageGetSpecialPageAliases hook name
118 * (bug 11474) Fix unintentional fall-through in math error handling
119 * (bug 11478) Fix undefined method call in file deletion interface
120 * (bug 278) Search results no longer highlight incorrect partial word matches
121 * Compatibility with incorrectly detected old-style DJVU mime types
122 * (bug 11560) Fix broken HTML output from weird link nesting in edit comments.
123 Nested links (as in image caption text) still don't work _right_ but they're
124 less wrong
125 * (bug 9718) Remove unnecessary css from main.css causing spacing issues on
126 some browsers.
127 * (bug 11574) Add an interface message loginstart, which, similarly to loginend,
128 appears just before the login form. Patch by MinuteElectron.
129 * Do not cache category pages if using 'from' or 'until'
130 * Created new hook getUserPermissionsErrors, to go with userCan changes.
131 * Diff pages did not properly display css/js pages.
132 * (bug 11620) Add call to User::isValidEmailAddr during accout creation.
133 * (bug 11629) If $wgEmailConfirmToEdit is true, require people to supply an
134 email address when registering.
135 * (bug 11612) Days to show in recent changes cannot be larger than 7
136 * (bug 11131) Change filearchive width/height columns to int for Postgres
137 * Support plural in undeleted{revisions,revisions-files,files}
138 * (bug 11343) If the database is read-only, ensure that undelete fails.
139 * (bug 11690) Show revert link for page moves in Special:Log to allowed users
140 only
141 * Initial-lowercase prefix checks in namespaceDupes.php now actually work.
142 * Fix regression in LinkBatch.php breaking PHP 5.0
143 * (bug 11452) wfMsgExt uses sometimes wrong language object for parsing magic
144 words when called with options ''parsemag'' or ''content''.
145 * (bug 11727) Support plural in 'historysize' message
146 * (bug 11744) Incorrect return value from Title::getParentCategories()
147 * (bug 11762) Fix native language name of Akan (ak)
148 * (bug 11722) Fix inconsistent case in unprotect tabs
149 * (bug 11795) Be more paranoid about confirming accept-encoding header is present
150 * (bug 11809) Use formatNum() for more numbers
151 * (bug 11818) Fix native language name of Inuktitut (iu)
152 * Remove all commas when parsing float numbers in sorted tables
153 * Limit text field of deletion, protection and user rights changes reasons to
154 255 characters (already restricted in the database)
155 * In the deletion default reasons, calculate how much text to get from the
156 article text, rather than getting 150 characters (which may be too much)
157 * Add two messages for Special:Blockme which were used but undefined
158 * (bug 11921) Support plural in message number_of_watching_users_pageview
159 * If an IP address is blocked as part of a rangeblock, attempting to unblock
160 the single IP should not unblock the entire range.
161 * (bug 6695) Fix native language name of Southern Sotho (Sesotho) (st)
162 * Make action=render follow redirects by default
163 * If restricted read access was enabled, whitelist didn't work with special
164 pages which had spaces in theirs names
165 * If restricted read access was enabled, requests for non-existing special pages
166 threw an exception
167 * Feeds for recent changes now provide correct URLs for the change, not just
168 the page
169 * Check for if IP is blocked as part of a range when unblocking (see above bug-
170 fix) was faulty. Now fixed.
171 * Fixed wpReason URL parameter to action=delete.
172 * Do not force a password for account creation by email
173 * Ensure that rate-limiting is applied to rollbacks.
174 * Make a better rate-limiting error message (i.e. a normal MW error,
175 rather than an "Internal Server Error").
176
177 === API changes in 1.12 ===
178
179 Full API documentation is available at http://www.mediawiki.org/wiki/API
180
181 * (bug 11275) Enable descending sort in categorymembers
182 * (bug 11308) Allow the API to output the image metadata
183 * (bug 11296) Temporary fix for escaping of ampersands inside links in pretty-printed
184 help document.
185 * (bug 11405) Expand templates implementation in the API
186 * (bug 11218) Add option to feedwatchlist to display multiple revisions for each page.
187 * (bug 11404) Provide name of exception caught in error code field of internal api
188 error messages.
189 * (bug 11534) rvendid doesn't work
190 * Fixed rvlimit of the revisions query to only enforce the lower query limit if
191 revision content is requested.
192 * Include svn revision number (if install is checked-out from svn) in siteinfo query.
193 * (bug 11173) Allow limited wikicode rendering via api.php
194 * (bug 11572) API should provide interface for expanding templates
195 * (bug 11569) Login should return the cookie prefix
196 * (bug 11632) Breaking change: Specify the type of a change in the recentchanges list
197 as 'edit', 'new', 'log' instead of 0, 1, 2, respectively.
198 * Compatibility fix for PHP 5.0.x.
199 * Add rctype parameter to list=recentchanges that filters by type
200 * Add apprtype and apprlevel parameters to filter list=allpages by protection types and levels
201 * Add apdir parameter to enable listing all pages from Z to A
202 * (bug 11721) Use a different title for results than for the help page.
203 * (bug 11562) Added a user_registration parameter/field to the list=allusers query.
204 * (bug 11588) Preserve document structure for empty dataset in backlinks query.
205 * Outputting list of all user preferences rather than having to request them by name
206 * (bug 11206) api.php should honor maxlag
207
208 === Languages updated in 1.12 ===
209
210 * Afrikaans (af)
211 * Akan (ak) (new)
212 * Amharic (am) (new)
213 * Aragonese (an)
214 * Old English (ang) (new)
215 * Arabic (ar)
216 * Aramaic (arc)
217 * Mapudungun (arn) (new)
218 * Assamese (as)
219 * Asturian (ast)
220 * Aymara (ay)
221 * Samogitian (bat-smg)
222 * Boarisch (bar)
223 * Bikol Central (bcl)
224 * Belarusian Taraskievica orthography (be-tarask)
225 * Bulgarian (bg)
226 * Bislama (bi) (new)
227 * Bamanankan (bm)
228 * Bengali (bn)
229 * Bishnupriya Manipuri (bpy)
230 * Breton (br)
231 * Buginese (bug) (new)
232 * Catalan (ca)
233 * Zamboangueño (cbk-zam) (new)
234 * Chechen (ce)
235 * Cebuano (ceb) (new)
236 * Czech (cs)
237 * Cassubian (csb)
238 * Old Church Slavonic (cu)
239 * Welsh (cy)
240 * Danish (da)
241 * German (de)
242 * Lower Sorbian (dsb) (new)
243 * Divehi (dv)
244 * Ewe (ee) (new)
245 * Greek (el)
246 * English (en)
247 * Spanish (es)
248 * Extremaduran (ext)
249 * Finnish (fi)
250 * Persian (fa)
251 * Fulah (ff)
252 * Võro (fiu-vro)
253 * Faroese (fo)
254 * French (fr)
255 * Cajun French (frc)
256 * Franco-Provençal (frp)
257 * Frisian (fy)
258 * Irish (ga)
259 * Gön-gnŷ (gan) (new)
260 * Galician (gl)
261 * Gilaki (glk) (new)
262 * Ancient Greek (grc) (new)
263 * Swiss German (gsw)
264 * Hakka (hak)
265 * Hebrew (he)
266 * Croatian (hr)
267 * Upper Sorbian (hsb)
268 * Hungarian (hu)
269 * Armenian (hy)
270 * Interlingua (ia)
271 * Indonesian (id)
272 * Ingush (inh) (new)
273 * Icelandic (is)
274 * Italian (it)
275 * Japanese (ja)
276 * Georgian (ka)
277 * Kara-Kalpak (kaa)
278 * Kabyle (kab)
279 * Kazakh (kk)
280 * Kannada (kn)
281 * Korean (ko)
282 * Kölsch (ksh)
283 * Kurdish (Latin) (ku-latn)
284 * Cornish (kw) (new)
285 * Latin (la)
286 * Luxembourgish (lb) (new)
287 * Lak (lbe) (new)
288 * Limbugian (li)
289 * Lozi (loz) (new)
290 * Lingala (ln)
291 * Lithuanian (lt)
292 * Malayalam (ml)
293 * Macedonian (mk)
294 * Malay (ms)
295 * Erzya (myv) (new)
296 * Nahuatl (nah)
297 * Min-nan (nan)
298 * Low Saxon (nds)
299 * Dutch Low Saxon (nds-nl)
300 * Newari (new) (new)
301 * Dutch (nl)
302 * Norwegian (no)
303 * Occitan (oc)
304 * Deitsch (pdc) (new)
305 * Polish (pl)
306 * Piemontèis (pms)
307 * Pontic (pnt) (new)
308 * Pashto (ps)
309 * Portugese (pt)
310 * Quechua (qu)
311 * Rhaeto-Romance (rm) (new)
312 * Romanian (ro)
313 * Russian (ru)
314 * Sakha (sah)
315 * Sardinian (sc)
316 * Sicilian (scn)
317 * Sindhi (sd)
318 * Sassarese (sdc) (new)
319 * Seri (sei) (new)
320 * Tachelhit (shi)
321 * Slovak (sk)
322 * Serbian (Cyrillic) (sr-ec)
323 * Swati (ss) (new)
324 * Saterland Frisian (stq) (new)
325 * Sundanese (su)
326 * Swedish (sv)
327 * Tamil (ta)
328 * Teluga (te)
329 * Tetun (tet) (new)
330 * Tajik (tg)
331 * Tagalog (tl) (new)
332 * Turkish (tr)
333 * Tuvinian (tyv)
334 * Uyghur (ug)
335 * Venitian (vec)
336 * Vietnamese (vi)
337 * West Flemish (vls)
338 * Volapük (vo)
339 * Walloon (wa)
340 * Wolof (wo)
341 * Wu (wuu) (new)
342 * Yiddish (yi)
343 * Cantonese (yue)
344 * Zhuang (za)
345 * Zealandic (zea)
346 * Old Chinese/Late Time Chinese (zh-classical)
347 * Chinese (Simplified) (zh-hans)
348 * Chinese (Traditional) (zh-hant)
349
350 == Compatibility ==
351
352 MediaWiki 1.12 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
353
354 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
355 http://bugs.php.net/bug.php?id=34879
356 Upgrade affected systems to PHP 5.1 or higher.
357
358 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
359 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
360
361
362 == Upgrading ==
363
364 1.12 has several database changes since 1.11, and will not work without schema
365 updates.
366
367 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
368 new database fields are filled with data.
369
370 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
371 changes are made, and there is a slightly higher chance that things could
372 break. Don't forget to always back up your database before upgrading!
373
374 See the file UPGRADE for more detailed upgrade instructions.
375
376
377 === Caveats ===
378
379 Some output, particularly involving user-supplied inline HTML, may not
380 produce 100% valid or well-formed XHTML output. Testers are welcome to
381 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
382 cases, but this is not recommended on live sites. (This must be set for
383 MathML to display properly in Mozilla.)
384
385 For notes on 1.11.x and older releases, see HISTORY.
386
387
388 === Online documentation ===
389
390 Documentation for both end-users and site administrators is currently being
391 built up on MediaWiki.org, and is covered under the GNU Free Documentation
392 License (except for pages that explicitly state that their contents are in
393 the public domain) :
394
395 http://www.mediawiki.org/wiki/Documentation
396
397
398 === Mailing list ===
399
400 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
401 wikitech-l list:
402
403 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
404
405 A low-traffic announcements-only list is also available:
406
407 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
408
409 It's highly recommended that you sign up for one of these lists if you're
410 going to run a public MediaWiki, so you can be notified of security fixes.
411
412
413 === IRC help ===
414
415 There's usually someone online in #mediawiki on irc.freenode.net