* (bug 23119) WikiError class and subclasses are now marked as deprecated
[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 === New installer in 1.17 ===
22 MediaWiki 1.17 is shipping with a completely redesigned installer to fix
23 a lot of outstanding bugs, cleanup the code quality, and make it easier to
24 use. Notably, you can now run upgrades from the web without having to move
25 LocalSettings.php. The specific bugs are listed below in the general notes.
26
27 === Configuration changes in 1.17 ===
28 * DatabaseFunctions.php that was needed for compatibility with pre-1.3
29 extensions has been removed.
30 * $wgLogAutocreatedAccounts controls whether autocreation of accounts is logged
31 to new users log.
32 * $wgAllowImageTag can be set to true to whitelist the <img> tag in wikitext.
33 * (bug 12797) Add $wgGalleryOptions for adjusting of default gallery display
34 options.
35 * $wgAllowUserCssPrefs option allows disabling CSS-based preferences; which can
36 improve page loading speed.
37 * (bug 22858) $wgLocalStylePath is by default set to the same value as
38 $wgStylePath but should never point to a different domain than the site is
39 on, allowing skins to use .htc files which are not cross-domain friendly.
40 * (bug 20193) Added $wgVectorShowVariantName global configuration variable
41 which causes Vector to render the variants drop-down menu with a label
42 showing the current variant name. This is off by default, pending further
43 research into its user experience implications.
44 * XmlFunctions.php has been removed. Use the Xml or Html classes as appropriate.
45 * Added $wgSQLMode for setting database SQL modes - either performance (null)
46 or other reasons (such as enabling stricter checks)
47 * $wgFileStore has been deprecated. The only usage $wgFileStore['deleted'] has
48 been turned into $wgDeletedDirectory.
49 * $wgDeletedDirectory has been added to specify what directory to place deleted
50 uploads in.
51 * IBM DB2 database no longer uses the db specific $wgDBport_db2 variable but the
52 normal $wgDBport.
53 * The upload link for missing files can now be set separately from the
54 navigation link with $wgUploadMissingFileUrl.
55 * $wgCategoryPrefixedDefaultSortkey was removed and is now always false. This
56 provides more sensible sorting behavior for categories.
57 * Removed unused globals: $wgEnableSerializedMessages, $wgCheckSerialized,
58 $wgUseMemCached, $wgDisableSearchContext, $wgColorErrors,
59 $wgUseZhdaemon, $wgZhdaemonHost and $wgZhdaemonPort.
60 * (bug 24408) The include_path is not modified in the default LocalSettings.php
61 * $wgVectorExtraStyles was removed, and is no longer in use.
62 * $wgLoadScript was added to specify alternative locations for ResourceLoader
63 requests.
64 * $wgResourceLoaderMaxage was added to specify maxage and smaxage times for
65 responses from ResourceLoader based on whether the request's URL contained a
66 version parameter or not.
67 * $wgResourceLoaderDebug was added to specify the default state of debug mode;
68 this will still be overridden with the debug URL parameter a la
69 $wgLanguageCode.
70 * $wgResourceLoaderInlinePrivateModules was added to specify whether private
71 modules such as user.options should be embedded in the HTML output or
72 delivered through a resource loader request, which bypasses server cache (like
73 squid) and checks the user parameter against $wgUser. The former adds more
74 data to all pages, while the latter adds a request which cannot be cached
75 server side.
76 * Removed $wgUpdates for database updates; extension should use
77 DatabaseUpdater::addExtensionUpdate().
78 * Removed $wgServerName. It doesn't need to be set anymore and is no longer
79 available as input for other configuration items, either.
80 * Remove $wgRemoteUploads. It was not well supported and superseded by
81 $wgUploadNavigationUrl.
82 * (bug 198) $wgUpgradeKey allows unlocking the web installer for upgrades
83 without having to move LocalSettings.php
84 * The FailFunction "error handling" method has now been removed
85 * $wgAdditionalMailParams added to allow setting extra options to mail() calls.
86 * $wgSecureLogin & $wgSecureLoginStickHTTPS to optionaly login using HTTPS
87 * (bug 25728) Added $wgPasswordSenderName to allow customise the name associed
88 with $wgPasswordSender
89 * Sysops now have the "suppressredirect" right by default
90 * (bug 22463) $wgFooterIcons added to allow configuration of the icons shown in
91 the footers of skins.
92 * $wgFileCacheDepth can be used to set the depth of the subdirectory hierarchy
93 used for the file cache. Default value is 2, which matches former behavior
94
95 === New features in 1.17 ===
96 * (bug 10183) Users can now add personal styles and scripts to all skins via
97 User:<name>/common.css and /common.js (if user css/js is enabled).
98 * (bug 22748) Add anchors on Special:ListGroupRights.
99 * (bug 21981) Add parameter 'showfilename' to <gallery> to automatically
100 apply the names of the individual files within the gallery.
101 * Future-proof redirection to fragments in Gecko, so things work a little nicer
102 if they fix <https://bugzilla.mozilla.org/show_bug.cgi?id=516293>.
103 * Support git:// and mms:// protocols by default for external links.
104 * (bug 15810) Blocked admins can no longer unblock themselves without the
105 'unblockself' permission (which they have by default).
106 * (bug 18499) Added "enhanced" URL parameter to switch between old and enhanced
107 changes list.
108 * (bug 22925) "sp-contributions-blocked-notice-anon" message now displayed when
109 viewing contributions of a blocked IP address.
110 * (bug 22474) {{urlencode:}} now takes an optional second paramter for type of
111 escaping.
112 * Special:Listfiles now supports a username parameter.
113 * Special:Random carries over query string parameters.
114 * (bug 23206) Add Special::Search hook for detecting successful "Go".
115 * When visiting a "red link" of a deleted file, a deletion and move log excerpt
116 is provided on the Upload form.
117 * (bug 22647) Add category details in search results.
118 * (bug 23276) Add hook to Special:NewPages to modify query.
119 * Add accesskey 's' and tooltip to 'Save' button at Special:Preferences.
120 * Add accesskey 'b' and tooltip to the summary field of edit mode.
121 * (bug 20186) Allow filtering Special:Contributions for RevisionDeleted edits.
122 * ajaxwatch now uses the API and JQuery, and can be used to animate arbitrary
123 watch links, not just to watch the page the link is on.
124 * (bug 20976) "searchmenu-new-nocreate" message now displayed when when there
125 is no title match in search and the user has no rights to create pages.
126 * (bug 23429) Added new hook WatchlistEditorBuildRemoveLine.
127 * (bug 22844) Added support for WinCache object caching.
128 * (bug 23580) Add two new events to LivePreview so that scripts can be
129 notified about the beginning and finishing of LivePreview actions.
130 * (bug 21278) Now the sidebar allows inclusion of wiki markup.
131 * (bug 23733) Add IDs to messages used on CSS/JS pages
132 * (bug 21312) RevisionMove allows moving individual revisions of a page to
133 another page. Introducing 'revisionmove' user right; disabled by default;
134 experimental feature.
135 * Show validity period of the login cookie in Special:UserLogin and
136 Special:Preferences
137 * Interlanguage links display the page title in their tooltip.
138 * (bug 23621) New Special:ComparePages to compare (diff) two articles.
139 * (bug 4597) Provide support in Special:Contributions to show only "current"
140 contributions
141 * (bug 17857) {{anchorencode}} acts more like how the parser creates section ids
142 * (bug 21477) \& can now be used in <math>
143 * (bug 11641) \dotsc \dotsm \dotsi \dotso can now be used in <math>
144 * (bug 21475) \mathtt and \textsf can now be used in <math>
145 * texvc is now run via ulimit4.sh, to limit execution time.
146 * SQLite now supports $wgSharedDB.
147 * (bug 8507) Group file links by namespace:title on image pages
148 * Stop emitting named entities, so we can use <!DOCTYPE html> while still being
149 well-formed XML
150 * texvc now supports \bcancel and \xcancel in addition to \cancel and \cancelto
151 * Added scriptExtension setting to $wgForeignFileRepos
152 * ForeignApiRepo uses scriptDirUrl if apiBase not set
153 * (bug 24212) Added MediaWiki:Filepage.css which is also included on foreign
154 client wikis.
155 * (bug 14685) Double underscore magic word usage is now tracked in the
156 page_props table, as well as the behavioral magic words {{DEFAULTSORT}} and
157 {{DISPLAYTITLE}}
158 * (bug 24045) MediaWiki:Ipb-needreblock is now wrapped in a div with class
159 "mw-ipb-needreblock"
160 * Non-file pages can no longer be moved to the file namespace, nor vice versa.
161 * (bug 671) The <dfn>, <kbd> and <samp> elements have been whitelisted in user
162 input
163 * (bug 24563) Entries on Special:WhatLinksHere now have a link to their history
164 * (bug 21503) There's now a "reason" field when creating account for other users
165 * (bug 24418) action=markpatrolled now requires a token
166 * A variety of category sort-related fixes, including:
167 ** (bug 164) In English, lowercase and uppercase letters now sort the same.
168 (This should be expanded to proper sorting for other languages before the
169 1.17 release.)
170 ** (bug 1211) Subcategories, ordinary pages, and files now page separately.
171 ** When several pages are given the same sort key, they sort by their names
172 instead of randomly.
173 * (bug 23848) Add {{ARTICLEPATH}} Magic Word.
174 * JavaScript-based password complexity checker on account creation and
175 password change.
176 * The HTML ID's generated for sections are now much prettier when they contain
177 punctuation or non-English letters, so a section named "Hello?" will now
178 result in a URL ending in "#Hello?" rather than "#Hello.3F".
179 * (bug 8140) Add dedicated CSS classes to Special:Newpages elements
180 * (bug 11005) Add CSS class to empty pages in Special:Newpages
181 * The parser cache is now shared amongst users whose different settings aren't
182 used in the page.
183 * Any attribute beginning with "data-" can now be used in wikitext, per HTML5.
184 * (bug 24007) Diff pages now mention the number of users having edited
185 intermediate revisions
186 * Added new hook GetIP
187 * Special:Version now displays whether a SQLite database supports full-text
188 search.
189 * TS_ISO_8691_BASIC was added as a time format, which is used by ResourceLoader
190 for versioning
191 * Maintenance scripts get a --memory-limit option to override defaults (which
192 is usually to set it to -1 to disable the limit)
193 * (bug 25397) Allow uploading (not displaying) of WebP images, disabled
194 by default
195 * (bug 23194) Special:ListFiles now has thumbnails
196 * Use hreflang to specify canonical and alternate links, search engine friendly
197 when a wiki has multiple variant languages.
198 * (bug 19593) Specifying --server in now works for all maintenance scripts
199 * Now rebuildtextindex.php warns if SQLite doesn't support full-text search.
200 * (bug 10541) Front/backend separation of installation/upgrade code
201 * (bug 10596) Allow installer to enable extensions already in extensions folder
202 * (bug 17394) Make installer check for latest version against MediaWiki.org
203 * (bug 20627) Installer should be in languages other than English
204 * Support for metadata in SVG files (title, description).
205 * Special:Search: Add CSS classes to 'none found' and 'create link' messages
206 * Add CSS classes (including namespace and pagename) to the enhanced recent
207 changes/watchlist entries
208 * (bug 22463) Add hook 'SkinGetPoweredBy' to make 'powered by' icon/text
209 customizable
210 * Added CSS print pagination to the print stylesheets
211 * (bug 25960) Add <link rel=canonical"> for File pages of shared/foreign
212 file repositories.
213 * When viewing a redirect, the redirect arrow and redirection target are both
214 wrapped in a div that has the class "redirectMsg" so that the redirection
215 arrow can be customized with CSS
216 * (bug 21911) Hard coded limit for long page warning removed. New message
217 [[MediaWiki:Longpage-hint]] (empty per default) can be used instead.
218 Parameters: $1 shows the formatted textsize in Byte/KB/MB, $2 is the raw
219 number of the textsize in Byte
220 * (bug 3276) Give image <gallery>s fluid width
221 * Added uploads link to page subtitle in Special:Contributions
222 * Added Special:Myuploads special page that redirects to Special:Listfiles
223 * The footerlinks used in Monobook/Vector/Modern are now part of common skin
224 code, SkinTemplateOutputPageBeforeExec can be used to customize the list.
225 * Special wrapping setups can now define MW_CONFIG_FILE to load a config file
226 other than LocalSettings.php. This is like MW_CONFIG_CALLBACK but works in
227 some cases where MW_CONFIG_CALLBACK will not work.
228
229 === Bug fixes in 1.17 ===
230 * (bug 17560) Half-broken deletion moved image files to deletion archive
231 without updating database.
232 * (bug 22666) Submitting user block form with an invalid user name no longer
233 throws an error.
234 * (bug 22665, bug 22667) User '0' can now be unblocked and have its block
235 settings changed.
236 * (bug 22606) The body of e-mail address confirmation message is now different
237 when the address changed.
238 * (bug 22664) Special:Userrights now accepts '0' as a valid user name.
239 * (bug 5210) Preload parser now parses <noinclude>, <includeonly> and
240 redirects.
241 * (bug 22709) IIS7 mishandles redirects generated by OutputPage::output() when
242 the URL contains a colon.
243 * (bug 22353) Categorised recent changes now works again.
244 * (bug 22747) "Reveal my e-mail address in notification e-mails" preference is
245 now only displayed when relevant.
246 * (bug 22772) {{#special:}} parser function now works with subpages.
247 * (bug 18664) Relative URIs in interwiki links cause failed redirects.
248 * (bug 19270) Relative URIs in interwiki links break interwiki transclusion.
249 * (bug 22903) Revdelete log entries now show in the user preferred language.
250 * (bug 22905) Correctly handle <abbr> followed by ISBN.
251 * (bug 22940) Namespace aliases pointing to main namespace don't work.
252 * (bug 15810) Blocked admins can no longer block/unblock other users.
253 * (bug 22876) Avoid possible PHP Notice if $wgDefaultUserOptions is not
254 correctly set.
255 * (bug 14952) Page titles are renormalized after html entities are removed so
256 that links with non-NFC character references work correctly.
257 * (bug 22991) wgUserGroups JavaScript variable now reports * group for
258 anonymous users instead of null.
259 * (bug 22627) Remove PHP notice when deleting a page only hidden users edited.
260 * (bug 21520) Anonymous previews now also gives a warning about not being
261 logged in (anonpreviewwarning).
262 * (bug 22935) image/x-ms-bmp mime type added for BMP files.
263 * (bug 23024) Special:ListFiles now escapes file names correctly.
264 * (bug 22867) "View source" tab is now only displayed if there's source text.
265 * (bug 19393) Feeds now format dates in user language rather than content
266 language.
267 * (bug 22852) "Served in" comment is now the time used to cache a single page
268 when using rebuildFileCache.php
269 * (bug 22496) Viewing diff of a redirect page without specifying "oldid".
270 parameter no longer makes the page displayed as being the redirect target.
271 * (bug 22918) Feed cache keys now use $wgRenderHashAppend.
272 * (bug 21916) Last-Modified header is now correct when outputting cached feed.
273 * (bug 20049) Fixed PHP notice in search highlighter that occurs in some cases.
274 * (bug 23017) Special:Disambiguations now list pages in content namespaces
275 rather than only main namespace.
276 * (bug 23063) $wgMaxAnimatedGifArea is checked against the total size of all
277 frames, and $wgMaxImageArea against the size of the first frame, rather than
278 the other way around. Both now default to 12.5 megapixels. Also, images
279 exceeding $wgMaxImageArea can still be embedded at original size.
280 * (bug 23078) "All public logs" option on Special:Log is now always the first
281 item.
282 * (bug 16817) Group names in user rights log are now singular and in lowercase.
283 * Special:Preferences no longer crashes if the wiki default date formatting
284 style is not valid for the user's interface language.
285 * (bug 23167) Check the watch checkbox by default if the watchcreations
286 preference is set.
287 * Maintenance script cleanupTitles is now able to fix titles stored
288 in a negative namespace (which is invalid).
289 * (bug 19858) Removed obsolete <big> in interface messages.
290 * (bug 21456) "Bad title" error when showing non-local interwiki pages no longer
291 displays incorrect tabs.
292 * (bug 23190) Improved math representation for text browsers.
293 * (bug 22015) Improved upload-by-url error handling and error display.
294 * (bug 17941) $wgMaxUploadSize is now honored by all upload sources.
295 * (bug 23080) New usernames now limited to 235 bytes so that custom skin files
296 work.
297 * (bug 23075) Correct MediaTransformError default width in gallery.
298 * (bug 16487) The Anonymous user account used on Postgres is no longer
299 displayed on Special:Listusers.
300 * (bug 23313) Move watchlisthidepatrolled above token in watchlist preferences
301 to enhance preference grouping.
302 * (bug 23298) Interwiki links with prefix only in log summaries now link to the
303 correct link.
304 * (bug 23284) Times are now rounded correctly.
305 * (bug 23375) Added ogv, oga, spx as extensions for ogg files.
306 * (bug 18408) All required permissions for uploading (upload, edit, create)
307 are now checked when loading Special:Upload. Toolbar link for Special:Upload
308 is no longer shown if the user does not have the required permissions.
309 * (Bug 23397) texvc in html mode renders \sim as &tilde; not &sim;
310 * (Bug 23241) Remove License selector, because it is not used when uploading a
311 new version.
312 * (bug 23240) Add ID to namespace selector form on Special:Watchlist.
313 * The pipe | character in urls is now escaped.
314 * (bug 23422) mp3 files can now be moved.
315 * (bug 23448) MediaWiki:Summary-preview is now displayed instead of
316 MediaWiki:Subject-preview when previewing summary.
317 * (bug 23426) The {{REVISIONMONTH}} variable is now zero-padded and added
318 new variable {{REVISIONMONTH1}} when unpadded version is needed.
319 * Special:Userrights didn't recognize user as changing his/her own rights if
320 user did not capitalize first letter of username.
321 * (bug 23507) Add styles for printing wikitables.
322 * (bug 19586) Avoid JS errors in mwsuggest when using old browsers such
323 as Opera 8.
324 * (bug 23563) Old skins now support $wgUploadNavigationUrl and take into
325 account upload rights.
326 * (bug 1347) Render \phi in math using images, in order to create consistent
327 and correct render results.
328 * (bug 16573) Render \epsilon in math using images, in order to create
329 consistent and correct render results.
330 * (bug 22541) Support image redirects when using ForeignAPIRepo.
331 * (bug 22967) Make edit summary length cut-off behave correctly for
332 multibyte characters.
333 * (bug 8689) Long numeric lines no longer kill the parser.
334 * (bug 23740) Article::doRedirect() now use $extraQuery parameter correctly if
335 the $noRedir parameter is set to true
336 * (bug 23688) Correct mime types for Office 2007 OpenXML documents.
337 * (bug 23787) Corrected $wgDefaultSkin's comment in DefaultSettings.php
338 * (bug 23797) Xml::input() now allows '0' for the value parameter
339 * (bug 23747) Make sure that on History pages, the RevDel button is not
340 accidently activated when hitting enter.
341 * (bug 23845) Special:ListFiles now uses correct file names without underscores
342 * Ask for permanent login in Special:Preferences only if $wgCookieExpiration > 0
343 * (bug 16356) Repair dumpInterwiki.inc to use proper normalization.
344 * (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws
345 a fatal error
346 * (bug 23465) Don't ignore the predefined destination filename on
347 Special:Upload after following a red link
348 * (bug 23642) Recognize mime types of MS OpenXML documents.
349 * (bug 22784) Normalise underscores and spaces in autocomments.
350 * (bug 19910) Headings of the form ===+\s+ are now displayed as valid headings
351 * (bug 24022) Only check file extensions on the uploadpage when needed.
352 * (bug 24076) Recognize Office 2003 files with OpenXML trailers
353 * (bug 24244) Updated comments in DefaultSettings.php to reflect
354 Image: --> File: namespace rename.
355 * Make wfTimestamp recognize negative unix timestamp values.
356 * (bug 24401) SimpleSearch: No button/text indicating 'Search' if image is
357 disabled
358 * (bug 23293) Do not show change tags when special:recentchanges(linked)
359 or special:newpages is transcluded into another page as it messes up the
360 page.
361 * (bug 24517) LocalFile::newFromKey() and OldLocalFile::newFromKey() no longer
362 throw fatal errors
363 * (bug 23380) Uploaded files that are larger than allowed by PHP now show a
364 useful error message.
365 * Uploading to a protected title will allow the user to choose a new name
366 instead of showing an error page
367 * (bug 24425) Use Database::replace instead of delete/insert in
368 SqlBagOStuff::set to avoid query errors about duplicate keynames.
369 * (bug 15470) First letters of filenames are always capitalized by upload JS.
370 * (bug 21215) NoLocalSettings.php doesn't tolerate rewrite rules
371 * (bug 21052) Fix link color for stubs in NewPages
372 * (bug 24714) Usage of {{#dateformat: }} in wikis without $wgUseDynamicDates no
373 longer pollutes the parser cache.
374 * (bug 17031) Correct which characters the parser allows in tag attributes (a
375 letter, colon or underscore followed by 0 or more letters, numbers, colons,
376 underscores, hyphens, and/or periods).
377 * Save 200 useless queries on each category page view
378 * Shell commands will now work on Linux in filesystems mounted noexec
379 * (bug 24804) Corrected commafying in Polish and Ukrainian
380 * "Difference between pages" is now displayed instead of "Difference between
381 revisions" on diffs when appropriate.
382 * (bug 23703) ForeignAPIRepo fails on findBySha1() when using a 1.14 install as
383 a repository due to missing 'name' attribute from the API list=allimages
384 * (bug 24898) MediaWiki uses /tmp even if a vHost-specific tempdir is set, also
385 make wfTempDir() return a sane value for Windows on worst-case
386 * (bug 24824) Support ImageMagick 6.5.6-2+ JPEG decoder size hint, to reduce
387 memory usage when such an ImageMagick is used for scaling.
388 * Disable multithreaded behaviour in recent ImageMagick, to avoid a deadlock
389 when a resource limit such as $wgMaxShellMemory is hit.
390 * (bug 24981) Allow extensions to access SpecialUpload variables again
391 * (bug 20744) Wiki forgets about an uploaded file
392 * (bug 17913) Don't show "older edit" when no older edit available
393 * (bug 6204) TOC not properly rendered when using $wgMaxTocLevel
394 * (bug 24977) The accesskey in history page now lead directly to the diff
395 instead of alterning focus between the two buttons.
396 * (bug 24987) Special:ListUsers does not take external groups into account
397 * (bug 20633) update.php has mixed language output
398 * SQLite system table names are now never prefixed.
399 * (bug 25292) SkinSubPageSubtitle hook now passes the Skin object as second
400 parameter
401 * (bug 25167) Correctly load JS fixes for IE6 (fixing a regression in 1.16)
402 * (bug 25367) wfShellExec() is more explicit when failing due to disabled
403 passthru()
404 * (bug 25462) Fix double-escaping for section edit link tooltips
405 * action=raw was removed for Special:Statistics. This information is still
406 available via the API
407 * (bug 23934) Groups defined in $wgRevokePermissions but not in
408 $wgGroupPermissions now appear on Special:ListGroupRights
409 * (bug 23923) Special:Prefixindex no longer shows results if nothing was
410 requested.
411 * (bug 22308) Search now finds text in default main page immediately after setup
412 * (bug 25697) Make sure empty lines render in diff view.
413 * Use an actual minus sign in diff views, instead of a hyphen.
414 * (bug 23732) Clarified "n links" message on Special:MostLinkedFiles
415 * (bug 23731) Clarified "n links" message on Special:MostLinkedTemplates
416 * (bug 25642) A exception is now thrown instead of a fatal error when using
417 $wgSMTP without PEAR mail package
418 * (bug 19633) When possible, Upscale small SVGs when creating thumbnails.
419 * (bug 25725) Unwanted linebreaks in diffs.
420 * (bug 11013) Database driver detection needs rewriting for robustness
421 * (bug 13409) Installer prompts could use clarification--now has help boxes
422 * (bug 16902) Installer spews warnings when exec() and dl() are not available
423 * (bug 19129) Only show MyISAM/InnoDB when supported
424 * (bug 17762) Only show other e-mail options when e-mail is globally enabled
425 * Cache multiple sizes of InstantCommons thumbnails
426 * (bug 25488) Disallowing anonymous users to read pages no longer throws error
427 on discussion pages with vector as default skin
428 * (bug 24833) Files name in includes/diff/ are now less confusing
429 * (bug 25713) SpecialPage::resolveAlias() now normalise spaces to underscores
430 * (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir
431 parameters
432 * (bug 25175) HTML file cache now honor $wgCacheDirectory if
433 $wgFileCacheDirectory is not set
434 * (bug 13353) Diff3 version checks were too strict, did not detect working diff3
435 * (bug 25843) Links to special pages using link= attribute on images are now
436 normalised like normal links to special pages
437 * (bug 21364) External links using link= attribute on images now respect
438 $wgExternalLinkTarget
439 * (bug 17789) Added a note to the total views on Special:Statistics saying that
440 is doesn't count non-existing pages and special pages
441 * (bug 17996) HTTP redirects are now combined when requesting a special page
442 * (bug 19944) Link on image thumbnails no longer link to "Media:" namespace in
443 some cases
444 * (bug 25670) wfFindFile() now checks the namespace of the given title, only
445 "File" and "Media" are allowed now
446 * (bug 25872) Rename the HttpRequest class to MWHttpRequest to avoid conflict
447 with php extension that defines same class.
448 * (bug 20591) There's now a different message on Special:MovePage when
449 $wgFixDoubleRedirects is set to false.
450 * Fixed PHP warnings when updating a broken MySQL database.
451 * (bug 26023) Corrected deleteBacth.php's documentation
452 * (bug 25451) Improved datetime representation in 32 bit php >= 5.2.
453 * Show "skin does not exist error" only when the skin is inputted in the wrong
454 case.
455 * (bug 26164) Potential html injection when the database server isn't available
456 * (bug 26160) Upload description set by extensions are not propagated
457 * (bug 9675) generateSitemap.php now takes an --urlpath parameter to allow
458 absolute URLs in the sitemap index (as required e.g. by Google)
459 * Partial workaround for bug 6220: at least make files on shared repositories
460 show up as (struck-out) bluelinks instead of redlinks on Special:WantedFiles
461 * rebuildFileCache.php no longer creates inappropriate cache files for redirects
462 * (bug 23119) WikiError class and subclasses are now marked as deprecated
463
464 === API changes in 1.17 ===
465 * (bug 22738) Allow filtering by action type on query=logevent.
466 * (bug 22764) uselang parameter for action=parse.
467 * (bug 22944) API: watchlist options are inconsistent.
468 * (bug 22868) don't list infinite block expiry date as "now" in API logevents.
469 * (bug 22290) prop=revisions now outputs "comment" field even when comment.
470 is empty, for consistency with list=recentchanges.
471 * (bug 19721) API action=help should have a way to just list for a specific
472 module.
473 * (bug 23458) Add support for pageid parameter to action=parse requests.
474 * (bug 23460) Parse action should have a section option.
475 * (bug 21346) Make deleted images searchable by hash.
476 * (bug 23461) Normalise usage of parameter names in parameter descriptions.
477 * (bug 23548) Allow access of another users watchlist through watchlistraw
478 using token and username.
479 * (bug 23524) Api Modules as followup to bug 14473 (Add iwlinks table to
480 track inline interwiki link usage).
481 * Add pltitles and tltemplates to prop=links and prop=templates respectively,
482 similar to prop=categories's clcategorie
483 * (bug 23834) Invalid "thumbwidth" and "thumbheight" in "imageinfo" query when
484 thumbnailing larger than original image
485 * (bug 23835) Need "thumbmime" result in "imageinfo" query
486 * (bug 23851) Repair diff for file redirect pages
487 * (bug 24009) Include implicit groups in action=query&list=users&usprop=groups
488 * (bug 24016) API: Handle parameters specified in simple string syntax
489 ( 'paramname' => 'defaultval' ) correctly when outputting help
490 * (bug 24089) Logevents causes PHP Notice if leprop=title isn't supplied
491 * (bug 23473) Give description of properties on all modules
492 * (bug 24136) unknownerror when adding new section without summary, but
493 forceditsummary
494 * (bug 16886) Sister projects box moves down the extract of the first result
495 in IE 7.
496 * (bug 22339) Added srwhat=nearmatch to list=search to get a "go" result
497 * (bug 24303) Added new &servedby parameter to all actions which adds the
498 hostname that served the request to the result. It is also added
499 unconditionally on error
500 * (bug 24185) Titles in the Media and Special namespace are now supported for
501 title normalization in action=query. Special pages have their name resolved
502 to the local alias.
503 * (bug 24296) Added converttitles parameter to convert titles to their
504 canonical language variant.
505 * (bug 17398) Fixed "link" parameter in image links with "thumb" or "frame"
506 parameter.
507 * (bug 23936) Add "displaytitle" to query/info API
508 * (bug 24485) Make iwbacklinks a generator, optionally display iwprefix and
509 iwtitle
510 * (bug 24564) Fix fatal errors when using list=deletedrevs, prop=revisions or
511 one of the backlinks generators with limit=max.
512 * (bug 24656) API's parse module needs option to disable PP report
513 * PARAM_REQUIRED parameter flag added. If this flag is set, and the end user
514 does not set the parameter, the API will automatically throw an error.
515 * (bug 24665) When starttimestamp is not specified, fake it by setting it to
516 NOW, not to the timestamp of the last edit
517 * (bug 24677) axto= parameters added to allcategories, allimages, alllinks,
518 allmessages, allpages, and allusers
519 * (bug 24236) Add add, remove, add-self, remove-self tags to
520 meta=siteinfo&siprop=usergroups
521 * (bug 24484) Add prop=pageprops module
522 * (bug 24330) Add &redirect parameter to ?action=edit
523 * (bug 24722) For list=allusers&auprop=blockinfo, only show blockedby and
524 blockreason if the user is actually blocked.
525 * Add format=dump and format=dumpfm, outputs results in PHP's var_dump() format
526 * For required string parameters, if '' is provided, this is now classed as
527 missing
528 * (bug 24724) list=allusers is out by 1 (shows total users - 1)
529 * (bug 24166) API error when using rvprop=tags
530 * Introduced "asynchronous download" mode for upload-by-url. Requires
531 $wgAllowAsyncCopyUploads to be true.
532 * sinumberingroup correctly gives size of 'user' group, and omits size of
533 implicit groups rather than showing 0.
534 * (bug 25248) API: paraminfo errors with certain modules
535 * (bug 25303) Fix API parameter integer validation to actually enforce
536 validation on the input values in addition to giving a warning. Also add flag
537 to enforce (die) if integer out of range (breaking change!)
538 * (bug 24792) API help for action=purge sometimes wrongly stated whether a
539 POST request was needed due to cache pollution
540 * Added iiprop=parsedcomment to prop=imageinfo, similar to prop=revisions
541 * Added rvparse to parse revisions. For performance reasons if this option is
542 used, rvlimit is enforced to 1.
543 * (bug 25748) If a action=parse request provides an oldid that is actually the
544 current revision id, try the parser cache, and save it to it if necessary
545 * (bug 25463) Export header should not be shown if no pages were requested, to
546 reduce confusion
547 * (bug 25648) API discovery information has been added as RSD link in page
548 <head> and by providing an API module action=rsd. Added hook
549 ApiRsdServiceApis for extensions to add their own service to the services
550 list.
551 * The HTML of diff output markers has changed. Hyphens are now minus signs,
552 empty markers are now filled with non-breaking-space characters
553 * (bug 25741) Add more data to list=search's srprop
554 * (bug 25760) counter property still reported by the API when
555 $wgDisableCounters enabled
556 * (bug 25987) prop=info&inprop=watched now also works for missing pages
557 * (bug 26006) prop=langlinks now allows obtaining full URL
558 * (bug 26075) ApiDelete.php now calls correctly ArticleDelete hook
559 * (bug 26089) add block expiration to blockinfo
560 * (bug 26125) prop=imageinfo&iiprop=size now returns the page count if the
561 file is a multi-page file
562 * (bug 10268) Added linktodiffs parameter on action=feedwatchlist
563 * (bug 26219) Show API limits for multi values in description
564
565 === Languages updated in 1.17 ===
566
567 MediaWiki supports over 330 languages. Many localisations are updated
568 regularly. Below only new and removed languages are listed, as well as
569 changes to languages because of Bugzilla reports.
570
571 * Moroccan Spoken Arabic (ary) (new)
572 * Banjar (bjn) (new)
573 * Danish (dk) (removed deprecated language code)
574 * Fiji Hindi (Devangari script) (removed)
575 * Kabardian (kdb) (new, dummy)
576 * Kabardian (Cyrillic) (kbd-cyrl) (new)
577 * Latgalian (ltg) (new)
578 * Minangkabau (min) (new)
579 * Dutch (informal) (nl-informal) (new)
580 * Rusyn (rue) (new)
581
582 * (bug 23156) Commafy and search normalization updated for Belarusian
583 (Taraškievica).
584 * (bug 23283) Native name for Old English -> Ænglisc.
585 * (bug 23364) Native name for Azerbaijani -> Azərbaycanca.
586 * (bug 24593) Native name for Sorani now uses only Arabic script.
587 * (bug 24628) Generic translations for NS_USER/NS_USER_TALK for Esperanto.
588 * (bug 24917) Polish as fallback for Kashubia.
589 * (bug 24794) Tatar link trail updated.
590 * Esperanto date format corrected.
591
592 == Compatibility ==
593
594 MediaWiki 1.17 requires PHP 5.1 (5.2 recommended). PHP 4 is no longer
595 supported.
596
597 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
598 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
599
600
601 == Upgrading ==
602
603 1.17 has several database changes since 1.16, and will not work without schema
604 updates.
605
606 If upgrading from before 1.11, and you are using a wiki as a commons reposito-
607 ry, make sure that it is updated as well. Otherwise, errors may arise due to
608 database schema changes.
609
610 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
611 new database fields are filled with data.
612
613 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
614 changes are made, and there is a slightly higher chance that things could
615 break. Don't forget to always back up your database before upgrading!
616
617 See the file UPGRADE for more detailed upgrade instructions.
618
619
620 === Caveats ===
621
622 Some output, particularly involving user-supplied inline HTML, may not
623 produce 100% valid or well-formed XHTML output. Testers are welcome to
624 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
625 cases, but this is not recommended on live sites. (This must be set for
626 MathML to display properly in Mozilla.)
627
628 For notes on 1.16.x and older releases, see HISTORY.
629
630
631 === Online documentation ===
632
633 Documentation for both end-users and site administrators is currently being
634 built up on MediaWiki.org, and is covered under the GNU Free Documentation
635 License (except for pages that explicitly state that their contents are in
636 the public domain) :
637
638 http://www.mediawiki.org/wiki/Documentation
639
640
641 === Mailing list ===
642
643 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
644 wikitech-l list:
645
646 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
647
648 A low-traffic announcements-only list is also available:
649
650 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
651
652 It's highly recommended that you sign up for one of these lists if you're
653 going to run a public MediaWiki, so you can be notified of security fixes.
654
655
656 === IRC help ===
657
658 There's usually someone online in #mediawiki on irc.freenode.net