Support for $wgSharedDB in SQlite
[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.17 ==
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.17 ===
22 * DatabaseFunctions.php that was needed for compatibility with pre-1.3
23 extensions has been removed.
24 * $wgLogAutocreatedAccounts controls whether autocreation of accounts is logged
25 to new users log.
26 * $wgAllowImageTag can be set to true to whitelist the <img> tag in wikitext.
27 * (bug 12797) Add $wgGalleryOptions for adjusting of default gallery display
28 options.
29 * $wgAllowUserCssPrefs option allows disabling CSS-based preferences; which can
30 improve page loading speed.
31 * (bug 22858) $wgLocalStylePath is by default set to the same value as
32 $wgStylePath but should never point to a different domain than the site is
33 on, allowing skins to use .htc files which are not cross-domain friendly.
34 * (bug 20193) Added $wgVectorShowVariantName global configuration variable
35 which causes Vector to render the variants drop-down menu with a label
36 showing the current variant name. This is off by default, pending further
37 research into its user experience implications.
38 * Added $wgJQueryVersion, $wgJQueryMinified and $wgJQueryOnEveryPage (true by
39 default) to configure loading of jQuery by MediaWiki.
40 * XmlFunctions.php has been removed. Use the Xml or Html classes as appropriate.
41 * Added $wgSQLMode for setting database SQL modes - either performance (null)
42 or other reasons (such as enabling stricter checks)
43
44 === New features in 1.17 ===
45 * (bug 10183) Users can now add personal styles and scripts to all skins via
46 User:<name>/common.css and /common.js (if user css/js is enabled).
47 * (bug 22748) Add anchors on Special:ListGroupRights.
48 * (bug 21981) Add parameter 'showfilename' to <gallery> to automatically
49 apply the names of the individual files within the gallery.
50 * Future-proof redirection to fragments in Gecko, so things work a little nicer
51 if they fix <https://bugzilla.mozilla.org/show_bug.cgi?id=516293>.
52 * Support git:// and mms:// protocols by default for external links.
53 * (bug 15810) Blocked admins can no longer unblock themselves without the
54 'unblockself' permission (which they have by default).
55 * (bug 18499) Added "enhanced" URL parameter to switch between old and enhanced
56 changes list.
57 * (bug 22925) "sp-contributions-blocked-notice-anon" message now displayed when
58 viewing contributions of a blocked IP address.
59 * (bug 22474) {{urlencode:}} now takes an optional second paramter for type of
60 escaping.
61 * Special:Listfiles now supports a username parameter.
62 * Special:Random carries over query string parameters.
63 * (bug 23206) Add Special::Search hook for detecting successful "Go".
64 * When visiting a "red link" of a deleted file, a deletion and move log excerpt
65 is provided on the Upload form.
66 * (bug 22647) Add category details in search results.
67 * (bug 23276) Add hook to Special:NewPages to modify query.
68 * Add accesskey 's' and tooltip to 'Save' button at Special:Preferences.
69 * Add accesskey 'b' and tooltip to the summary field of edit mode.
70 * (bug 20186) Allow filtering Special:Contributions for RevisionDeleted edits.
71 * ajaxwatch now uses the API and JQuery, and can be used to animate arbitrary
72 watch links, not just to watch the page the link is on.
73 * (bug 20976) "searchmenu-new-nocreate" message now displayed when when there
74 is no title match in search and the user has no rights to create pages.
75 * (bug 23429) Added new hook WatchlistEditorBuildRemoveLine.
76 * (bug 18488) Added maintenance script refreshCategoryCounts.php
77 * (bug 22844) Added support for WinCache object caching.
78 * (bug 23580) Add two new events to LivePreview so that scripts can be
79 notified about the beginning and finishing of LivePreview actions.
80 * (bug 21278) Now the sidebar allows inclusion of wiki markup.
81 * (bug 23733) Add IDs to messages used on CSS/JS pages
82 * (bug 21312) RevisionMove allows moving individual revisions of a page to
83 another page. Introducing 'revisionmove' user right; disabled by default;
84 experimental feature.
85 * Show validity period of the login cookie in Special:UserLogin and
86 Special:Preferences
87 * Interlanguage links display the page title in their tooltip.
88 * (bug 23621) New Special:ComparePages to compare (diff) two articles.
89 * (bug 4597) Provide support in Special:Contributions to show only "current"
90 contributions
91 * (bug 17857) {{anchorencode}} acts more like how the parser creates section ids.
92 * (bug 21477) \& can now be used in <math>
93 * (bug 11641) \dotsc \dotsm \dotsi \dotso can now be used in <math>
94 * (bug 21475) \mathtt and \textsf can now be used in <math>
95 * texvc is now run via ulimit4.sh, to limit execution time.
96 * SQLite now supports $wgSharedDB.
97
98 === Bug fixes in 1.17 ===
99 * (bug 17560) Half-broken deletion moved image files to deletion archive
100 without updating database.
101 * (bug 22666) Submitting user block form with an invalid user name no longer
102 throws an error.
103 * (bug 22665, bug 22667) User '0' can now be unblocked and have its block
104 settings changed.
105 * (bug 22606) The body of e-mail address confirmation message is now different
106 when the address changed.
107 * (bug 22664) Special:Userrights now accepts '0' as a valid user name.
108 * (bug 5210) Preload parser now parses <noinclude>, <includeonly> and redirects.
109 * (bug 22709) IIS7 mishandles redirects generated by OutputPage::output() when
110 the URL contains a colon.
111 * (bug 22353) Categorised recent changes now works again.
112 * (bug 22747) "Reveal my e-mail address in notification e-mails" preference is
113 now only displayed when relevant.
114 * (bug 22772) {{#special:}} parser function now works with subpages.
115 * (bug 18664) Relative URIs in interwiki links cause failed redirects.
116 * (bug 19270) Relative URIs in interwiki links break interwiki transclusion.
117 * (bug 22903) Revdelete log entries now show in the user preferred language.
118 * (bug 22905) Correctly handle <abbr> followed by ISBN.
119 * (bug 22940) Namespace aliases pointing to main namespace don't work.
120 * (bug 15810) Blocked admins can no longer block/unblock other users.
121 * (bug 22876) Avoid possible PHP Notice if $wgDefaultUserOptions is not
122 correctly set.
123 * (bug 14952) Page titles are renormalized after html entities are removed so
124 that links with non-NFC character references work correctly.
125 * (bug 22991) wgUserGroups JavaScript variable now reports * group for
126 anonymous users instead of null.
127 * (bug 22627) Remove PHP notice when deleting a page only hidden users edited.
128 * (bug 21520) Anonymous previews now also gives a warning about not being
129 logged in (anonpreviewwarning).
130 * (bug 22935) image/x-ms-bmp mime type added for BMP files.
131 * (bug 23024) Special:ListFiles now escapes file names correctly.
132 * (bug 22867) "View source" tab is now only displayed if there's source text.
133 * (bug 19393) Feeds now format dates in user language rather than content
134 language.
135 * (bug 22852) "Served in" comment is now the time used to cache a single page
136 when using rebuildFileCache.php
137 * (bug 22496) Viewing diff of a redirect page without specifying "oldid".
138 parameter no longer makes the page displayed as being the redirect target.
139 * (bug 22918) Feed cache keys now use $wgRenderHashAppend.
140 * (bug 21916) Last-Modified header is now correct when outputting cached feed.
141 * (bug 20049) Fixed PHP notice in search highlighter that occurs in some cases.
142 * (bug 23017) Special:Disambiguations now list pages in content namespaces
143 rather than only main namespace.
144 * (bug 23063) $wgMaxAnimatedGifArea is checked against the total size of all
145 frames, and $wgMaxImageArea against the size of the first frame, rather than
146 the other way around. Both now default to 12.5 megapixels. Also, images
147 exceeding $wgMaxImageArea can still be embedded at original size.
148 * (bug 23078) "All public logs" option on Special:Log is now always the first
149 item.
150 * (bug 16817) Group names in user rights log are now singular and in lowercase.
151 * Special:Preferences no longer crashes if the wiki default date formatting
152 style is not valid for the user's interface language.
153 * (bug 23167) Check the watch checkbox by default if the watchcreations
154 preference is set.
155 * Maintenance script cleanupTitles is now able to fix titles stored
156 in a negative namespace (which is invalid).
157 * (bug 19858) Removed obsolete <big> in interface messages.
158 * (bug 21456) "Bad title" error when showing non-local interwiki pages no longer
159 displays incorrect tabs.
160 * (bug 23190) Improved math representation for text browsers.
161 * (bug 22015) Improved upload-by-url error handling and error display.
162 * (bug 17941) $wgMaxUploadSize is now honored by all upload sources.
163 * (bug 23080) New usernames now limited to 235 bytes so that custom skin files
164 work.
165 * (bug 23075) Correct MediaTransformError default width in gallery.
166 * (bug 16487) The Anonymous user account used on Postgres is no longer
167 displayed on Special:Listusers.
168 * (bug 23313) Move watchlisthidepatrolled above token in watchlist preferences
169 to enhance preference grouping.
170 * (bug 23298) Interwiki links with prefix only in log summaries now link to the
171 correct link.
172 * (bug 23284) Times are now rounded correctly.
173 * (bug 23375) Added ogv, oga, spx as extensions for ogg files.
174 * (bug 18408) All required permissions for uploading (upload, edit, create)
175 are now checked when loading Special:Upload. Toolbar link for Special:Upload
176 is no longer shown if the user does not have the required permissions.
177 * (Bug 23397) texvc in html mode renders \sim as &tilde; not &sim;
178 * (Bug 23241) Remove License selector, because it is not used when uploading a
179 new version.
180 * (bug 23240) Add ID to namespace selector form on Special:Watchlist.
181 * The pipe | character in urls is now escaped.
182 * (bug 23422) mp3 files can now be moved.
183 * (bug 23448) MediaWiki:Summary-preview is now displayed instead of
184 MediaWiki:Subject-preview when previewing summary.
185 * (bug 23426) The {{REVISIONMONTH}} variable is now zero-padded and added
186 new variable {{REVISIONMONTH1}} when unpadded version is needed.
187 * Special:Userrights didn't recognize user as changing his/her own rights if
188 user did not capitalize first letter of username.
189 * (bug 23507) Add styles for printing wikitables.
190 * (bug 19586) Avoid JS errors in mwsuggest when using old browsers such
191 as Opera 8.
192 * (bug 23563) Old skins now support $wgUploadNavigationUrl and take into
193 account upload rights.
194 * (bug 1347) Render \phi in math using images, in order to create consistent
195 and correct render results.
196 * (bug 16573) Render \epsilon in math using images, in order to create
197 consistent and correct render results.
198 * (bug 22541) Support image redirects when using ForeignAPIRepo.
199 * (bug 22967) Make edit summary length cut-off behave correctly for
200 multibyte characters.
201 * (bug 8689) Long numeric lines no longer kill the parser.
202 * (bug 23740) Article::doRedirect() now use $extraQuery parameter correctly if
203 the $noRedir parameter is set to true
204 * (bug 23688) Correct mime types for Office 2007 OpenXML documents.
205 * (bug 23787) Corrected $wgDefaultSkin's comment in DefaultSettings.php
206 * (bug 23797) Xml::input() now allows '0' for the value parameter
207 * (bug 23747) Make sure that on History pages, the RevDel button is not
208 accidently activated when hitting enter.
209 * (bug 23845) Special:ListFiles now uses correct file names without underscores
210 * Ask for permanent login in Special:Preferences only if $wgCookieExpiration > 0
211 * (bug 16356) Repair dumpInterwiki.inc to use proper normalization.
212 * (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws
213 a fatal error
214 * (bug 23465) Don't ignore the predefined destination filename on
215 Special:Upload after following a red link
216 * Correct the escaping of the autosummary URI fragments.
217 * (bug 23642) Recognize mime types of MS OpenXML documents.
218 * (bug 22784) Normalise underscores and spaces in autocomments.
219 * (bug 19910) Headings of the form ===+\s+ are now displayed as valid headings
220
221 === API changes in 1.17 ===
222 * (bug 22738) Allow filtering by action type on query=logevent.
223 * (bug 22764) uselang parameter for action=parse.
224 * (bug 22944) API: watchlist options are inconsistent.
225 * (bug 22339) "Go" result should be available through the API.
226 * (bug 22868) don't list infinite block expiry date as "now" in API logevents.
227 * (bug 22290) prop=revisions now outputs "comment" field even when comment.
228 is empty, for consistency with list=recentchanges.
229 * (bug 19721) API action=help should have a way to just list for a specific module.
230 * (bug 23458) Add support for pageid parameter to action=parse requests.
231 * (bug 23460) Parse action should have a section option.
232 * (bug 21346) Make deleted images searchable by hash.
233 * (bug 23461) Normalise usage of parameter names in parameter descriptions.
234 * (bug 23548) Allow access of another users watchlist through watchlistraw
235 using token and username.
236 * (bug 23524) Api Modules as followup to bug 14473 (Add iwlinks table to
237 track inline interwiki link usage.
238 * Add pltitles and tltemplates to prop=links and prop=templates respectively,
239 similar to prop=categories's clcategorie
240 * (bug 23834) Invalid "thumbwidth" and "thumbheight" in "imageinfo" query when
241 thumbnailing larger than original image
242 * (bug 23835) Need "thumbmime" result in "imageinfo" query
243 * (bug 23851) Repair diff for file redirect pages
244 * (bug 24009) Include implicit groups in action=query&list=users&usprop=groups
245 * (bug 24016) API: Handle parameters specified in simple string syntax
246 ( 'paramname' => 'defaultval' ) correctly when outputting help
247 * (bug 24089) Logevents causes PHP Notice if leprop=title isn't supplied
248 * (bug 23473) - Give description of properties on all modules
249
250 === Languages updated in 1.17 ===
251
252 MediaWiki supports over 330 languages. Many localisations are updated
253 regularly. Below only new and removed languages are listed, as well as
254 changes to languages because of MediaZilla reports.
255
256 * Latgalian (ltg) (new)
257 * Rusyn (rue) (new)
258
259 * (bug 23156) Commafy and search normalization updated for Belarusian
260 (Taraškievica)
261 * (bug 23283) Native name for Old English -> Ænglisc
262 * (bug 23364) Native name for Azerbaijani -> Azərbaycanca
263
264 == Compatibility ==
265
266 MediaWiki 1.17 requires PHP 5.1 (5.2 recommended). PHP 4 is no longer
267 supported.
268
269 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
270 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
271
272
273 == Upgrading ==
274
275 1.17 has several database changes since 1.16, and will not work without schema
276 updates.
277
278 If upgrading from before 1.11, and you are using a wiki as a commons reposito-
279 ry, make sure that it is updated as well. Otherwise, errors may arise due to
280 database schema changes.
281
282 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
283 new database fields are filled with data.
284
285 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
286 changes are made, and there is a slightly higher chance that things could
287 break. Don't forget to always back up your database before upgrading!
288
289 See the file UPGRADE for more detailed upgrade instructions.
290
291
292 === Caveats ===
293
294 Some output, particularly involving user-supplied inline HTML, may not
295 produce 100% valid or well-formed XHTML output. Testers are welcome to
296 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
297 cases, but this is not recommended on live sites. (This must be set for
298 MathML to display properly in Mozilla.)
299
300 For notes on 1.16.x and older releases, see HISTORY.
301
302
303 === Online documentation ===
304
305 Documentation for both end-users and site administrators is currently being
306 built up on MediaWiki.org, and is covered under the GNU Free Documentation
307 License (except for pages that explicitly state that their contents are in
308 the public domain) :
309
310 http://www.mediawiki.org/wiki/Documentation
311
312
313 === Mailing list ===
314
315 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
316 wikitech-l list:
317
318 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
319
320 A low-traffic announcements-only list is also available:
321
322 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
323
324 It's highly recommended that you sign up for one of these lists if you're
325 going to run a public MediaWiki, so you can be notified of security fixes.
326
327
328 === IRC help ===
329
330 There's usually someone online in #mediawiki on irc.freenode.net