Make filarchive width/height columns ints for Postgres (not smallint)
[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
41
42 === Bug fixes in 1.12 ===
43
44 * Subpages are now indexed for searching properly when using PostgreSQL
45 * (bug 3846) Suppress warnings from, e.g. open_basedir when scanning for
46 ImageMagick, diff3 et al. during installation [patch by Jan Reininghaus]
47 * (bug 7027) Shift handling of deletion permissions-checking to
48 getUserPermissionsErrors.
49 * Login and signup forms are now more correct for right-to-left languages.
50 * (bug 5387) Block log items on RecentChanges don't make use of possible
51 translations
52 * (bug 11211) Pass, as a parameter to the protectedpagetext interface
53 message, the level of protection.
54 * (bug 9611) Supply the blocker and reason for the cantcreateaccounttext
55 message.
56 * (bug 8759) Fixed bug where rollback was allowed on protected pages for wikis
57 where rollback is given to non-sysops.
58 * (bug 8834) Split off permission for editing user JavaScript and CSS from
59 editinterface to a new permission key editusercssjs.
60 * (bug 11266) Set fallback language for Fulfulde (ff) to French
61 * (bug 11179) Include image version deletion comment in public log
62 * Fixed notice when accessing special page without read permission and whitelist
63 is not defined
64 * (bug 9252) Fix for tidy funkiness when using editintro mode
65 * (bug 4021) Fix for MySQL wildcard search
66 * (bug 10699) Fix for MySQL phrase search
67 * (bug 11321) Fix width of gallerybox when option "width=xxx" is used
68 * (bug 7890) Special:BrokenRedirects links deleted redirects to a non-existent page
69 * Fix initial statistics when installing: add correct values
70 * (bug 11342) Fix several 'returnto' links in permissions/error pages which
71 linked to the main page instead of targetted page
72 * Strike the link to the redirect rather than using an asterisk in Special:Listredirects
73 * (bug 11355) Fix false positives in Safe Mode and other config detection
74 when boolean settings are disabled with 'Off' via php_admin_value/php_value
75 * (bug 11292) Fixed unserialize errors with Postgres by creating special Blob object.
76 * (bug 11363) Make all metadata fields bytea when using Postgres.
77 * (bug 11331) Add buildConcat() and use CASE not IF for DB compatibility. Make oldimage
78 cascade delete via image table for Postgres, change fa_storage_key TEXT.
79 * (bug 11438) Live Preview chops returned text
80 * Show the right message on account creation when the user is blocked
81 * (bug 11450) Fix creation of objectcache table on upgrade
82 * Fix namespace selection after submit of Special:Newpages
83 * Make input form of Special:Newpages nicer for RTL wikis
84 * (bug 11462) Fix typo in LanguageGetSpecialPageAliases hook name
85 * (bug 11474) Fix unintentional fall-through in math error handling
86 * (bug 11478) Fix undefined method call in file deletion interface
87 * (bug 278) Search results no longer highlight incorrect partial word matches
88 * Compatibility with incorrectly detected old-style DJVU mime types
89 * (bug 11560) Fix broken HTML output from weird link nesting in edit comments.
90 Nested links (as in image caption text) still don't work _right_ but they're
91 less wrong
92 * (bug 9718) Remove unnecessary css from main.css causing spacing issues on
93 some browsers.
94 * (bug 11574) Add an interface message loginstart, which, similarly to loginend,
95 appears just before the login form. Patch by MinuteElectron.
96 * Do not cache category pages if using 'from' or 'until'
97 * Created new hook getUserPermissionsErrors, to go with userCan changes.
98 * Diff pages did not properly display css/js pages.
99 * (bug 11620) Add call to User::isValidEmailAddr during accout creation.
100 * (bug 11629) If $wgEmailConfirmToEdit is true, require people to supply an
101 email address when registering.
102 * (bug 11612) Days to show in recent changes cannot be larger than 7
103 * (bug 11131) Change filearchive width/height columns to int for Postgres
104
105 === API changes in 1.12 ===
106
107 Full API documentation is available at http://www.mediawiki.org/wiki/API
108
109 * (bug 11275) Enable descending sort in categorymembers
110 * (bug 11308) Allow the API to output the image metadata
111 * (bug 11296) Temporary fix for escaping of ampersands inside links in pretty-printed
112 help document.
113 * (bug 11405) Expand templates implementation in the API
114 * (bug 11218) Add option to feedwatchlist to display multiple revisions for each page.
115 * (bug 11404) Provide name of exception caught in error code field of internal api
116 error messages.
117 * (bug 11534) rvendid doesn't work
118 * Fixed rvlimit of the revisions query to only enforce the lower query limit if
119 revision content is requested.
120 * Include svn revision number (if install is checked-out from svn) in siteinfo query.
121 * (bug 11173) Allow limited wikicode rendering via api.php
122 * (bug 11572) API should provide interface for expanding templates
123 * (bug 11569) Login should return the cookie prefix
124 * (bug 11632) Breaking change: Specify the type of a change in the recentchanges list
125 as 'edit', 'new', 'log' instead of 0, 1, 2, respectively.
126
127 === Languages updated in 1.12 ===
128
129 * Amharic (am) (new)
130 * Arabic (ar)
131 * Mapudungun (arn) (new)
132 * Asturian (ast)
133 * Samogitian (bat-smg)
134 * Bikol Central (bcl)
135 * Belarusian Taraskievica orthography (be-tarask)
136 * Bulgarian (bg)
137 * Bislama (bi) (new)
138 * Bengali (bn)
139 * Bishnupriya Manipuri (bpy)
140 * Breton (br)
141 * Catalan (ca)
142 * Czech (cs)
143 * Cassubian (csb)
144 * Welsh (cy)
145 * Danish (da)
146 * German (de)
147 * Lower Sorbian (dsb) (new)
148 * Ewe (ee) (new)
149 * Greek (el)
150 * Spanish (es)
151 * Extremaduran (ext)
152 * Finnish (fi)
153 * Persian (fa)
154 * Võro (fiu-vro)
155 * Faroese (fo)
156 * French (fr)
157 * Cajun French (frc)
158 * Franco-Provençal (frp)
159 * Frisian (fy)
160 * Irish (ga)
161 * Gön-gnŷ (gan) (new)
162 * Galician (gl)
163 * Ancient Greek (grc) (new)
164 * Hakka (hak)
165 * Hebrew (he)
166 * Croatian (hr)
167 * Upper Sorbian (hsb)
168 * Armenian (hy)
169 * Indonesian (id)
170 * Icelandic (is)
171 * Italian (it)
172 * Japanese (ja)
173 * Kazakh (kk)
174 * Korean (ko)
175 * Latin (la)
176 * Limbugian (li)
177 * Lithuanian (lt)
178 * Malay (ms)
179 * Nahuatl (nah)
180 * Min-nan (nan)
181 * Low Saxon (nds)
182 * Dutch Low Saxon (nds-nl)
183 * Dutch (nl)
184 * Norwegian (no)
185 * Portugese (pt)
186 * Romanian (ro)
187 * Russian (ru)
188 * Sakha (sah)
189 * Sicilian (scn)
190 * Sassarese (sdc) (new)
191 * Seri (sei) (new)
192 * Tachelhit (shi)
193 * Slovak (sk)
194 * Serbian (Cyrillic) (sr-ec)
195 * Sundanese (su)
196 * Swedish (sv)
197 * Tamil (ta)
198 * Tetun (tet) (new)
199 * Tagalog (tl) (new)
200 * Walloon (wa)
201 * Yiddish (yi)
202 * Cantonese (yue)
203 * Zhuang (za)
204 * Zealandic (zea)
205 * Old Chinese/Late Time Chinese (zh-classical)
206 * Chinese (Simplified) (zh-hans)
207 * Chinese (Traditional) (zh-hant)
208
209 == Compatibility ==
210
211 MediaWiki 1.12 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
212
213 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
214 http://bugs.php.net/bug.php?id=34879
215 Upgrade affected systems to PHP 5.1 or higher.
216
217 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
218 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
219
220
221 == Upgrading ==
222
223 1.12 has several database changes since 1.11, and will not work without schema
224 updates.
225
226 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
227 new database fields are filled with data.
228
229 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
230 changes are made, and there is a slightly higher chance that things could
231 break. Don't forget to always back up your database before upgrading!
232
233 See the file UPGRADE for more detailed upgrade instructions.
234
235
236 === Caveats ===
237
238 Some output, particularly involving user-supplied inline HTML, may not
239 produce 100% valid or well-formed XHTML output. Testers are welcome to
240 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
241 cases, but this is not recommended on live sites. (This must be set for
242 MathML to display properly in Mozilla.)
243
244 For notes on 1.11.x and older releases, see HISTORY.
245
246
247 === Online documentation ===
248
249 Documentation for both end-users and site administrators is currently being
250 built up on MediaWiki.org, and is covered under the GNU Free Documentation
251 License (except for pages that explicitly state that their contents are in
252 the public domain) :
253
254 http://www.mediawiki.org/wiki/Documentation
255
256
257 === Mailing list ===
258
259 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
260 wikitech-l list:
261
262 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
263
264 A low-traffic announcements-only list is also available:
265
266 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
267
268 It's highly recommended that you sign up for one of these lists if you're
269 going to run a public MediaWiki, so you can be notified of security fixes.
270
271
272 === IRC help ===
273
274 There's usually someone online in #mediawiki on irc.freenode.net