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