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