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