Revert r26762 -- destroys article and talk tab text. Reversed condition and/or genera...
[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 * (bug 11343) If the database is read-only, ensure that undelete fails.
108
109 === API changes in 1.12 ===
110
111 Full API documentation is available at http://www.mediawiki.org/wiki/API
112
113 * (bug 11275) Enable descending sort in categorymembers
114 * (bug 11308) Allow the API to output the image metadata
115 * (bug 11296) Temporary fix for escaping of ampersands inside links in pretty-printed
116 help document.
117 * (bug 11405) Expand templates implementation in the API
118 * (bug 11218) Add option to feedwatchlist to display multiple revisions for each page.
119 * (bug 11404) Provide name of exception caught in error code field of internal api
120 error messages.
121 * (bug 11534) rvendid doesn't work
122 * Fixed rvlimit of the revisions query to only enforce the lower query limit if
123 revision content is requested.
124 * Include svn revision number (if install is checked-out from svn) in siteinfo query.
125 * (bug 11173) Allow limited wikicode rendering via api.php
126 * (bug 11572) API should provide interface for expanding templates
127 * (bug 11569) Login should return the cookie prefix
128 * (bug 11632) Breaking change: Specify the type of a change in the recentchanges list
129 as 'edit', 'new', 'log' instead of 0, 1, 2, respectively.
130 * Compatibility fix for PHP 5.0.x.
131 * Add rctype parameter to list=recentchanges that filters by type
132 * Add apprtype and apprlevel parameters to filter list=allpages by protection types and levels
133 * Add apdir parameter to enable listing all pages from Z to A
134
135 === Languages updated in 1.12 ===
136
137 * Amharic (am) (new)
138 * Arabic (ar)
139 * Mapudungun (arn) (new)
140 * Asturian (ast)
141 * Samogitian (bat-smg)
142 * Bikol Central (bcl)
143 * Belarusian Taraskievica orthography (be-tarask)
144 * Bulgarian (bg)
145 * Bislama (bi) (new)
146 * Bengali (bn)
147 * Bishnupriya Manipuri (bpy)
148 * Breton (br)
149 * Catalan (ca)
150 * Czech (cs)
151 * Cassubian (csb)
152 * Welsh (cy)
153 * Danish (da)
154 * German (de)
155 * Lower Sorbian (dsb) (new)
156 * Ewe (ee) (new)
157 * Greek (el)
158 * Spanish (es)
159 * Extremaduran (ext)
160 * Finnish (fi)
161 * Persian (fa)
162 * Võro (fiu-vro)
163 * Faroese (fo)
164 * French (fr)
165 * Cajun French (frc)
166 * Franco-Provençal (frp)
167 * Frisian (fy)
168 * Irish (ga)
169 * Gön-gnŷ (gan) (new)
170 * Galician (gl)
171 * Ancient Greek (grc) (new)
172 * Hakka (hak)
173 * Hebrew (he)
174 * Croatian (hr)
175 * Upper Sorbian (hsb)
176 * Armenian (hy)
177 * Indonesian (id)
178 * Ingush (inh) (new)
179 * Icelandic (is)
180 * Italian (it)
181 * Japanese (ja)
182 * Kazakh (kk)
183 * Korean (ko)
184 * Latin (la)
185 * Limbugian (li)
186 * Lithuanian (lt)
187 * Malay (ms)
188 * Nahuatl (nah)
189 * Min-nan (nan)
190 * Low Saxon (nds)
191 * Dutch Low Saxon (nds-nl)
192 * Dutch (nl)
193 * Norwegian (no)
194 * Portugese (pt)
195 * Romanian (ro)
196 * Russian (ru)
197 * Sakha (sah)
198 * Sicilian (scn)
199 * Sassarese (sdc) (new)
200 * Seri (sei) (new)
201 * Tachelhit (shi)
202 * Slovak (sk)
203 * Serbian (Cyrillic) (sr-ec)
204 * Sundanese (su)
205 * Swedish (sv)
206 * Tamil (ta)
207 * Tetun (tet) (new)
208 * Tagalog (tl) (new)
209 * Walloon (wa)
210 * Yiddish (yi)
211 * Cantonese (yue)
212 * Zhuang (za)
213 * Zealandic (zea)
214 * Old Chinese/Late Time Chinese (zh-classical)
215 * Chinese (Simplified) (zh-hans)
216 * Chinese (Traditional) (zh-hant)
217
218 == Compatibility ==
219
220 MediaWiki 1.12 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
221
222 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
223 http://bugs.php.net/bug.php?id=34879
224 Upgrade affected systems to PHP 5.1 or higher.
225
226 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
227 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
228
229
230 == Upgrading ==
231
232 1.12 has several database changes since 1.11, and will not work without schema
233 updates.
234
235 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
236 new database fields are filled with data.
237
238 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
239 changes are made, and there is a slightly higher chance that things could
240 break. Don't forget to always back up your database before upgrading!
241
242 See the file UPGRADE for more detailed upgrade instructions.
243
244
245 === Caveats ===
246
247 Some output, particularly involving user-supplied inline HTML, may not
248 produce 100% valid or well-formed XHTML output. Testers are welcome to
249 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
250 cases, but this is not recommended on live sites. (This must be set for
251 MathML to display properly in Mozilla.)
252
253 For notes on 1.11.x and older releases, see HISTORY.
254
255
256 === Online documentation ===
257
258 Documentation for both end-users and site administrators is currently being
259 built up on MediaWiki.org, and is covered under the GNU Free Documentation
260 License (except for pages that explicitly state that their contents are in
261 the public domain) :
262
263 http://www.mediawiki.org/wiki/Documentation
264
265
266 === Mailing list ===
267
268 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
269 wikitech-l list:
270
271 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
272
273 A low-traffic announcements-only list is also available:
274
275 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
276
277 It's highly recommended that you sign up for one of these lists if you're
278 going to run a public MediaWiki, so you can be notified of security fixes.
279
280
281 === IRC help ===
282
283 There's usually someone online in #mediawiki on irc.freenode.net