dc18d4031f2ecc331526e22d4069fc142bd293b4
[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 * $wgFileStore has been deprecated. The only usage $wgFileStore['deleted'] has
44 been turned into $wgDeletedDirectory.
45 * $wgDeletedDirectory has been added to specify what directory to place deleted
46 uploads in.
47 * IBM DB2 database no longer uses the db specific $wgDBport_db2 variable but the
48 normal $wgDBport.
49 * The upload link for missing files can now be set separately from the
50 navigation link with $wgUploadMissingFileUrl.
51 * $wgCategoryPrefixedDefaultSortkey was removed and is now always false. This
52 provides more sensible sorting behavior for categories.
53 * Removed unused globals: $wgEnableSerializedMessages, $wgCheckSerialized,
54 $wgUseMemCached, $wgDisableSearchContext, $wgColorErrors,
55 $wgUseZhdaemon, $wgZhdaemonHost and $wgZhdaemonPort.
56 * (bug 24408) The include_path is not modified in the default LocalSettings.php
57
58 === New features in 1.17 ===
59 * (bug 10183) Users can now add personal styles and scripts to all skins via
60 User:<name>/common.css and /common.js (if user css/js is enabled).
61 * (bug 22748) Add anchors on Special:ListGroupRights.
62 * (bug 21981) Add parameter 'showfilename' to <gallery> to automatically
63 apply the names of the individual files within the gallery.
64 * Future-proof redirection to fragments in Gecko, so things work a little nicer
65 if they fix <https://bugzilla.mozilla.org/show_bug.cgi?id=516293>.
66 * Support git:// and mms:// protocols by default for external links.
67 * (bug 15810) Blocked admins can no longer unblock themselves without the
68 'unblockself' permission (which they have by default).
69 * (bug 18499) Added "enhanced" URL parameter to switch between old and enhanced
70 changes list.
71 * (bug 22925) "sp-contributions-blocked-notice-anon" message now displayed when
72 viewing contributions of a blocked IP address.
73 * (bug 22474) {{urlencode:}} now takes an optional second paramter for type of
74 escaping.
75 * Special:Listfiles now supports a username parameter.
76 * Special:Random carries over query string parameters.
77 * (bug 23206) Add Special::Search hook for detecting successful "Go".
78 * When visiting a "red link" of a deleted file, a deletion and move log excerpt
79 is provided on the Upload form.
80 * (bug 22647) Add category details in search results.
81 * (bug 23276) Add hook to Special:NewPages to modify query.
82 * Add accesskey 's' and tooltip to 'Save' button at Special:Preferences.
83 * Add accesskey 'b' and tooltip to the summary field of edit mode.
84 * (bug 20186) Allow filtering Special:Contributions for RevisionDeleted edits.
85 * ajaxwatch now uses the API and JQuery, and can be used to animate arbitrary
86 watch links, not just to watch the page the link is on.
87 * (bug 20976) "searchmenu-new-nocreate" message now displayed when when there
88 is no title match in search and the user has no rights to create pages.
89 * (bug 23429) Added new hook WatchlistEditorBuildRemoveLine.
90 * (bug 18488) Added maintenance script refreshCategoryCounts.php
91 * (bug 22844) Added support for WinCache object caching.
92 * (bug 23580) Add two new events to LivePreview so that scripts can be
93 notified about the beginning and finishing of LivePreview actions.
94 * (bug 21278) Now the sidebar allows inclusion of wiki markup.
95 * (bug 23733) Add IDs to messages used on CSS/JS pages
96 * (bug 21312) RevisionMove allows moving individual revisions of a page to
97 another page. Introducing 'revisionmove' user right; disabled by default;
98 experimental feature.
99 * Show validity period of the login cookie in Special:UserLogin and
100 Special:Preferences
101 * Interlanguage links display the page title in their tooltip.
102 * (bug 23621) New Special:ComparePages to compare (diff) two articles.
103 * (bug 4597) Provide support in Special:Contributions to show only "current"
104 contributions
105 * (bug 17857) {{anchorencode}} acts more like how the parser creates section ids.
106 * (bug 21477) \& can now be used in <math>
107 * (bug 11641) \dotsc \dotsm \dotsi \dotso can now be used in <math>
108 * (bug 21475) \mathtt and \textsf can now be used in <math>
109 * texvc is now run via ulimit4.sh, to limit execution time.
110 * SQLite now supports $wgSharedDB.
111 * (bug 8507) Group file links by namespace:title on image pages
112 * Stop emitting named entities, so we can use <!DOCTYPE html> while still being
113 well-formed XML
114 * texvc now supports \bcancel and \xcancel in addition to \cancel and \cancelto
115 * Added scriptExtension setting to $wgForeignFileRepos
116 * ForeignApiRepo uses scriptDirUrl if apiBase not set
117 * (bug 24212) Added MediaWiki:Filepage.css which is also included on foreign
118 client wikis.
119 * (bug 14685) Double underscore magic word usage is now tracked in the
120 page_props table, as well as the behavioral magic words {{DEFAULTSORT}} and
121 {{DISPLAYTITLE}}
122 * (bug 24045) MediaWiki:Ipb-needreblock is now wrapped in a div with class
123 "mw-ipb-needreblock"
124 * (bug 24313) The preference to mark edits minor by default was removed,
125 because it encourages edits to be marked minor accidentally and it can be
126 easily replicated by custom user scripts for those who really want it.
127 * Non-file pages can no longer be moved to the file namespace, nor vice versa.
128 * (bug 671) The <dfn> element has been whitelisted in user input.
129 * (bug 24563) Entries on Special:WhatLinksHere now have a link to their history
130 * (bug 21503) There's now a "reason" field when creating account for other users
131 * (bug 24418) action=markpatrolled now requires a token
132 * A variety of category sort-related fixes, including:
133 ** (bug 164) In English, lowercase and uppercase letters now sort the same.
134 (This should be expanded to proper sorting for other languages before the
135 1.17 release.)
136 ** (bug 1211) Subcategories, ordinary pages, and files now page separately.
137 ** When several pages are given the same sort key, they sort by their names
138 instead of randomly.
139 * (bug 23848) Add {{ARTICLEPATH}} Magic Word.
140 * JavaScript-based password complexity checker on account creation and
141 password change.
142 * The HTML ID's generated for sections are now much prettier when they contain
143 punctuation or non-English letters, so a section named "Hello?" will now
144 result in a URL ending in "#Hello?" rather than "#Hello.3F".
145 * (bug 8140) Add dedicated CSS classes to Special:Newpages elements
146 * (bug 11005) Add CSS class to empty pages in Special:Newpages
147 * The parser cache is now shared amongst users whose different settings aren't
148 used in the page.
149
150 === Bug fixes in 1.17 ===
151 * (bug 17560) Half-broken deletion moved image files to deletion archive
152 without updating database.
153 * (bug 22666) Submitting user block form with an invalid user name no longer
154 throws an error.
155 * (bug 22665, bug 22667) User '0' can now be unblocked and have its block
156 settings changed.
157 * (bug 22606) The body of e-mail address confirmation message is now different
158 when the address changed.
159 * (bug 22664) Special:Userrights now accepts '0' as a valid user name.
160 * (bug 5210) Preload parser now parses <noinclude>, <includeonly> and redirects.
161 * (bug 22709) IIS7 mishandles redirects generated by OutputPage::output() when
162 the URL contains a colon.
163 * (bug 22353) Categorised recent changes now works again.
164 * (bug 22747) "Reveal my e-mail address in notification e-mails" preference is
165 now only displayed when relevant.
166 * (bug 22772) {{#special:}} parser function now works with subpages.
167 * (bug 18664) Relative URIs in interwiki links cause failed redirects.
168 * (bug 19270) Relative URIs in interwiki links break interwiki transclusion.
169 * (bug 22903) Revdelete log entries now show in the user preferred language.
170 * (bug 22905) Correctly handle <abbr> followed by ISBN.
171 * (bug 22940) Namespace aliases pointing to main namespace don't work.
172 * (bug 15810) Blocked admins can no longer block/unblock other users.
173 * (bug 22876) Avoid possible PHP Notice if $wgDefaultUserOptions is not
174 correctly set.
175 * (bug 14952) Page titles are renormalized after html entities are removed so
176 that links with non-NFC character references work correctly.
177 * (bug 22991) wgUserGroups JavaScript variable now reports * group for
178 anonymous users instead of null.
179 * (bug 22627) Remove PHP notice when deleting a page only hidden users edited.
180 * (bug 21520) Anonymous previews now also gives a warning about not being
181 logged in (anonpreviewwarning).
182 * (bug 22935) image/x-ms-bmp mime type added for BMP files.
183 * (bug 23024) Special:ListFiles now escapes file names correctly.
184 * (bug 22867) "View source" tab is now only displayed if there's source text.
185 * (bug 19393) Feeds now format dates in user language rather than content
186 language.
187 * (bug 22852) "Served in" comment is now the time used to cache a single page
188 when using rebuildFileCache.php
189 * (bug 22496) Viewing diff of a redirect page without specifying "oldid".
190 parameter no longer makes the page displayed as being the redirect target.
191 * (bug 22918) Feed cache keys now use $wgRenderHashAppend.
192 * (bug 21916) Last-Modified header is now correct when outputting cached feed.
193 * (bug 20049) Fixed PHP notice in search highlighter that occurs in some cases.
194 * (bug 23017) Special:Disambiguations now list pages in content namespaces
195 rather than only main namespace.
196 * (bug 23063) $wgMaxAnimatedGifArea is checked against the total size of all
197 frames, and $wgMaxImageArea against the size of the first frame, rather than
198 the other way around. Both now default to 12.5 megapixels. Also, images
199 exceeding $wgMaxImageArea can still be embedded at original size.
200 * (bug 23078) "All public logs" option on Special:Log is now always the first
201 item.
202 * (bug 16817) Group names in user rights log are now singular and in lowercase.
203 * Special:Preferences no longer crashes if the wiki default date formatting
204 style is not valid for the user's interface language.
205 * (bug 23167) Check the watch checkbox by default if the watchcreations
206 preference is set.
207 * Maintenance script cleanupTitles is now able to fix titles stored
208 in a negative namespace (which is invalid).
209 * (bug 19858) Removed obsolete <big> in interface messages.
210 * (bug 21456) "Bad title" error when showing non-local interwiki pages no longer
211 displays incorrect tabs.
212 * (bug 23190) Improved math representation for text browsers.
213 * (bug 22015) Improved upload-by-url error handling and error display.
214 * (bug 17941) $wgMaxUploadSize is now honored by all upload sources.
215 * (bug 23080) New usernames now limited to 235 bytes so that custom skin files
216 work.
217 * (bug 23075) Correct MediaTransformError default width in gallery.
218 * (bug 16487) The Anonymous user account used on Postgres is no longer
219 displayed on Special:Listusers.
220 * (bug 23313) Move watchlisthidepatrolled above token in watchlist preferences
221 to enhance preference grouping.
222 * (bug 23298) Interwiki links with prefix only in log summaries now link to the
223 correct link.
224 * (bug 23284) Times are now rounded correctly.
225 * (bug 23375) Added ogv, oga, spx as extensions for ogg files.
226 * (bug 18408) All required permissions for uploading (upload, edit, create)
227 are now checked when loading Special:Upload. Toolbar link for Special:Upload
228 is no longer shown if the user does not have the required permissions.
229 * (Bug 23397) texvc in html mode renders \sim as &tilde; not &sim;
230 * (Bug 23241) Remove License selector, because it is not used when uploading a
231 new version.
232 * (bug 23240) Add ID to namespace selector form on Special:Watchlist.
233 * The pipe | character in urls is now escaped.
234 * (bug 23422) mp3 files can now be moved.
235 * (bug 23448) MediaWiki:Summary-preview is now displayed instead of
236 MediaWiki:Subject-preview when previewing summary.
237 * (bug 23426) The {{REVISIONMONTH}} variable is now zero-padded and added
238 new variable {{REVISIONMONTH1}} when unpadded version is needed.
239 * Special:Userrights didn't recognize user as changing his/her own rights if
240 user did not capitalize first letter of username.
241 * (bug 23507) Add styles for printing wikitables.
242 * (bug 19586) Avoid JS errors in mwsuggest when using old browsers such
243 as Opera 8.
244 * (bug 23563) Old skins now support $wgUploadNavigationUrl and take into
245 account upload rights.
246 * (bug 1347) Render \phi in math using images, in order to create consistent
247 and correct render results.
248 * (bug 16573) Render \epsilon in math using images, in order to create
249 consistent and correct render results.
250 * (bug 22541) Support image redirects when using ForeignAPIRepo.
251 * (bug 22967) Make edit summary length cut-off behave correctly for
252 multibyte characters.
253 * (bug 8689) Long numeric lines no longer kill the parser.
254 * (bug 23740) Article::doRedirect() now use $extraQuery parameter correctly if
255 the $noRedir parameter is set to true
256 * (bug 23688) Correct mime types for Office 2007 OpenXML documents.
257 * (bug 23787) Corrected $wgDefaultSkin's comment in DefaultSettings.php
258 * (bug 23797) Xml::input() now allows '0' for the value parameter
259 * (bug 23747) Make sure that on History pages, the RevDel button is not
260 accidently activated when hitting enter.
261 * (bug 23845) Special:ListFiles now uses correct file names without underscores
262 * Ask for permanent login in Special:Preferences only if $wgCookieExpiration > 0
263 * (bug 16356) Repair dumpInterwiki.inc to use proper normalization.
264 * (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws
265 a fatal error
266 * (bug 23465) Don't ignore the predefined destination filename on
267 Special:Upload after following a red link
268 * Correct the escaping of the autosummary URI fragments.
269 * (bug 23642) Recognize mime types of MS OpenXML documents.
270 * (bug 22784) Normalise underscores and spaces in autocomments.
271 * (bug 19910) Headings of the form ===+\s+ are now displayed as valid headings
272 * (bug 24022) Only check file extensions on the uploadpage when needed.
273 * (bug 24076) Recognize Office 2003 files with OpenXML trailers
274 * (bug 24244) Updated comments in DefaultSettings.php to reflect Image: --> File:
275 namespace rename.
276 * Make wfTimestamp recognize negative unix timestamp values.
277 * (bug 24401) SimpleSearch: No button/text indicating 'Search' if image is disabled
278 * (bug 23293) Do not show change tags when special:recentchanges(linked)
279 or special:newpages is transcluded into another page as it messes up the
280 page.
281 * (bug 24517) LocalFile::newFromKey() and OldLocalFile::newFromKey() no longer
282 throw fatal errors
283 * (bug 23380) Uploaded files that are larger than allowed by PHP now show a
284 useful error message.
285 * Uploading to a protected title will allow the user to choose a new name
286 instead of showing an error page
287 * (bug 24425) Use Database::replace instead of delete/insert in SqlBagOStuff::set
288 to avoid query errors about duplicate keynames.
289 * (bug 15470) First letters of filenames are always capitalized by upload JS.
290 * (bug 21215) NoLocalSettings.php doesn't tolerate rewrite rules
291 * (bug 21052) Fix link color for stubs in NewPages
292 * (bug 24714) Usage of {{#dateformat: }} in wikis without $wgUseDynamicDates no
293 longer pollutes the parser cache.
294 * (bug 17031) Correct which characters the parser allows in tag attributes.
295
296 === API changes in 1.17 ===
297 * (bug 22738) Allow filtering by action type on query=logevent.
298 * (bug 22764) uselang parameter for action=parse.
299 * (bug 22944) API: watchlist options are inconsistent.
300 * (bug 22868) don't list infinite block expiry date as "now" in API logevents.
301 * (bug 22290) prop=revisions now outputs "comment" field even when comment.
302 is empty, for consistency with list=recentchanges.
303 * (bug 19721) API action=help should have a way to just list for a specific module.
304 * (bug 23458) Add support for pageid parameter to action=parse requests.
305 * (bug 23460) Parse action should have a section option.
306 * (bug 21346) Make deleted images searchable by hash.
307 * (bug 23461) Normalise usage of parameter names in parameter descriptions.
308 * (bug 23548) Allow access of another users watchlist through watchlistraw
309 using token and username.
310 * (bug 23524) Api Modules as followup to bug 14473 (Add iwlinks table to
311 track inline interwiki link usage.
312 * Add pltitles and tltemplates to prop=links and prop=templates respectively,
313 similar to prop=categories's clcategorie
314 * (bug 23834) Invalid "thumbwidth" and "thumbheight" in "imageinfo" query when
315 thumbnailing larger than original image
316 * (bug 23835) Need "thumbmime" result in "imageinfo" query
317 * (bug 23851) Repair diff for file redirect pages
318 * (bug 24009) Include implicit groups in action=query&list=users&usprop=groups
319 * (bug 24016) API: Handle parameters specified in simple string syntax
320 ( 'paramname' => 'defaultval' ) correctly when outputting help
321 * (bug 24089) Logevents causes PHP Notice if leprop=title isn't supplied
322 * (bug 23473) Give description of properties on all modules
323 * (bug 24136) unknownerror when adding new section without summary, but forceditsummary
324 * (bug 16886) Sister projects box moves down the extract of the first result in IE 7.
325 * (bug 22339) Added srwhat=nearmatch to list=search to get a "go" result
326 * (bug 24303) Added new &servedby parameter to all actions which adds the hostname
327 that served the request to the result. It is also added unconditionally on error
328 * (bug 24185) Titles in the Media and Special namespace are now supported for
329 title normalization in action=query. Special pages have their name resolved
330 to the local alias.
331 * (bug 24296) Added converttitles parameter to convert titles to their
332 canonical language variant.
333 * Fixed "link" parameter in image links with "thumb" parameter.
334 * (bug 23936) Add "displaytitle" to query/info API
335 * (bug 24485) Make iwbacklinks a generator, optionally display iwprefix and iwtitle
336 * (bug 24564) Fix fatal errors when using list=deletedrevs, prop=revisions or
337 one of the backlinks generators with limit=max.
338 * (bug 24656) API's parse module needs option to disable PP report
339 * PARAM_REQUIRED parameter flag added. If this flag is set, and the end user does not set
340 the parameter, the API will automatically throw an error.
341 * (bug 24665) When starttimestamp is not specified, fake it by setting it to NOW, not to
342 the timestamp of the last edit
343 * (bug 24677) axto= parameters added to allcategories, allimages, alllinks, allmessages,
344 allpages, and allusers
345 * (bug 24236) Add add, remove, add-self, remove-self tags to meta=siteinfo&siprop=usergroups
346 * (bug 24484) Add prop=pageprops module
347 * (bug 24330) Add &redirect parameter to ?action=edit
348 * (bug 24722) For list=allusers&auprop=blockinfo, only show blockedby and blockreason if
349 the user is actually blocked.
350 * Add format=dump and format=dumpfm, outputs results in PHP's var_dump() format.
351
352 === Languages updated in 1.17 ===
353
354 MediaWiki supports over 330 languages. Many localisations are updated
355 regularly. Below only new and removed languages are listed, as well as
356 changes to languages because of Bugzilla reports.
357
358 * Moroccan Spoken Arabic (ary) (new)
359 * Banjar (bjn) (new)
360 * Kabardian (kdb) (new, dummy)
361 * Kabardian (Cyrillic) (kbd-cyrl) (new)
362 * Latgalian (ltg) (new)
363 * Dutch (informal) (nl-informal) (new)
364 * Rusyn (rue) (new)
365
366 * (bug 23156) Commafy and search normalization updated for Belarusian
367 (Taraškievica)
368 * (bug 23283) Native name for Old English -> Ænglisc
369 * (bug 23364) Native name for Azerbaijani -> Azərbaycanca
370 * (bug 24593) Native name for Sorani now uses only Arabic script
371 * (bug 24628) Generic translations for NS_USER/NS_USER_TALK for Esperanto
372
373 == Compatibility ==
374
375 MediaWiki 1.17 requires PHP 5.1 (5.2 recommended). PHP 4 is no longer
376 supported.
377
378 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
379 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
380
381
382 == Upgrading ==
383
384 1.17 has several database changes since 1.16, and will not work without schema
385 updates.
386
387 If upgrading from before 1.11, and you are using a wiki as a commons reposito-
388 ry, make sure that it is updated as well. Otherwise, errors may arise due to
389 database schema changes.
390
391 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
392 new database fields are filled with data.
393
394 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
395 changes are made, and there is a slightly higher chance that things could
396 break. Don't forget to always back up your database before upgrading!
397
398 See the file UPGRADE for more detailed upgrade instructions.
399
400
401 === Caveats ===
402
403 Some output, particularly involving user-supplied inline HTML, may not
404 produce 100% valid or well-formed XHTML output. Testers are welcome to
405 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
406 cases, but this is not recommended on live sites. (This must be set for
407 MathML to display properly in Mozilla.)
408
409 For notes on 1.16.x and older releases, see HISTORY.
410
411
412 === Online documentation ===
413
414 Documentation for both end-users and site administrators is currently being
415 built up on MediaWiki.org, and is covered under the GNU Free Documentation
416 License (except for pages that explicitly state that their contents are in
417 the public domain) :
418
419 http://www.mediawiki.org/wiki/Documentation
420
421
422 === Mailing list ===
423
424 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
425 wikitech-l list:
426
427 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
428
429 A low-traffic announcements-only list is also available:
430
431 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
432
433 It's highly recommended that you sign up for one of these lists if you're
434 going to run a public MediaWiki, so you can be notified of security fixes.
435
436
437 === IRC help ===
438
439 There's usually someone online in #mediawiki on irc.freenode.net