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