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