* Removed leftover token check of unhide=1 that was removed elsewhere
[mediawiki.git] / RELEASE-NOTES
blob30a271c6cf9f2cf1be380bf7da994673315608e6
1 = MediaWiki release notes =
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.
6 == MediaWiki 1.17 ==
8 THIS IS NOT A RELEASE YET
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.
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.
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
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
42 === New features in 1.17 ===
43 * (bug 10183) Users can now add personal styles and scripts to all skins via
44   User:<name>/common.css and /common.js (if user css/js is enabled)
45 * (bug 22748) Add anchors on Special:ListGroupRights
46 * (bug 21981) Add parameter 'showfilename' to <nowiki><gallery></nowiki> to
47   automatically apply the names of the individual files within the gallery
48 * Future-proof redirection to fragments in Gecko, so things work a little nicer
49   if they fix <https://bugzilla.mozilla.org/show_bug.cgi?id=516293>.
50 * Support git:// and mms:// protocols by default for external links
51 * (bug 15810) Blocked admins can no longer unblock themselves without the
52   'unblockself' permission (which they have by default)
53 * (bug 18499) Added "enhanced" URL parameter to switch between old and enhanced
54   changes list
55 * (bug 22925) "sp-contributions-blocked-notice-anon" message now displayed when
56   viewing contributions of a blocked IP address
57 * (bug 22474) {{urlencode:}} now takes an optional second paramter for type of
58   escaping.
59 * Special:Listfiles now supports a username parameter
60 * Special:Random carries over query string parameters
61 * (bug 23206) Add Special::Search hook for detecting successful "Go"
62 * When visiting a "red link" of a deleted file, a deletion and move log excerpt
63   is provided on the Upload form.
64 * (bug 22647) Add category details in search results.
65 * (bug 23276) Add hook to Special:NewPages to modify query
66 * Add accesskey 's' and tooltip to 'Save' button at Special:Preferences
67 * Add accesskey 'b' and tooltip to the summary field of edit mode
68 * (bug 20186) Allow filtering Special:Contributions for RevisionDeleted edits
69 * ajaxwatch now uses the API and JQuery, and can be used to animate arbitrary 
70   watch links, not just to watch the page the link is on.
71 * (bug 20976) "searchmenu-new-nocreate" message now displayed when when there
72   is no title match in search and the user has no rights to create pages.
73 * (bug 23429) Added new hook WatchlistEditorBuildRemoveLine
74 * (bug 18488) Added maintenance script refreshCategoryCounts.php
75 * (bug 22844) Added support for WinCache object caching
76 * (bug 23580) Add two new events to LivePreview so that scripts can be
77   notified about the beginning and finishing of LivePreview actions
79 === Bug fixes in 1.17 ===
80 * (bug 17560) Half-broken deletion moved image files to deletion archive
81   without updating database
82 * (bug 22666) Submitting user block form with an invalid user name no longer
83   throws an error
84 * (bug 22665, bug 22667) User '0' can now be unblocked and have its block
85   settings changed
86 * (bug 22606) The body of e-mail address confirmation message is now different
87   when the address changed
88 * (bug 22664) Special:Userrights now accepts '0' as a valid user name
89 * (bug 5210) preload parser now parses <noinclude>, <includeonly> and redirects
90 * (bug 22709) IIS7 mishandles redirects generated by OutputPage::output() when
91   the URL contains a colon.
92 * (bug 22353) Categorised recent changes now works again
93 * (bug 22747) "Reveal my e-mail address in notification e-mails" preference is
94   now only displayed when relevant
95 * (bug 22772) {{#special:}} parser function now works with subpages
96 * (bug 18664) Relative URIs in interwiki links cause failed redirects
97 * (bug 19270) Relative URIs in interwiki links break interwiki transclusion
98 * (bug 22903) Revdelete log entries now show in the user preferred language.
99 * (bug 22905) Correctly handle <abbr> followed by ISBN
100 * (bug 22940) Namespace aliases pointing to main namespace don't work
101 * (bug 15810) Blocked admins can no longer block/unblock other users
102 * (bug 22876) Avoid possible PHP Notice if $wgDefaultUserOptions is not
103   correctly set
104 * (bug 14952) Page titles are renormalized after html entities are removed so
105   that links with non-NFC character references work correctly.
106 * (bug 22991) wgUserGroups JavaScript variable now reports * group for
107   anonymous users instead of null.
108 * (bug 22627) Remove PHP notice when deleting a page only hidden users edited.
109 * (bug 21520) Anonymous previews now also gives a warning about not being
110   logged in (anonpreviewwarning).
111 * (bug 22935) image/x-ms-bmp mime type added for BMP files
112 * (bug 23024) Special:ListFiles now escapes file names correctly
113 * (bug 22867) "View source" tab is now only displayed if there's source text
114 * (bug 19393) Feeds now format dates in user language rather than content
115   language
116 * (bug 22852) "Served in" comment is now the time used to cache a single page
117   when using rebuildFileCache.php
118 * (bug 22496) Viewing diff of a redirect page without specifying "oldid"
119   parameter no longer makes the page displayed as being the redirect target
120 * (bug 22918) Feed cache keys now use $wgRenderHashAppend
121 * (bug 21916) Last-Modified header is now correct when outputting cached feed
122 * (bug 20049) Fixed PHP notice in search highlighter that occurs in some cases
123 * (bug 23017) Special:Disambiguations now list pages in content namespaces
124   rather than only main namespace
125 * (bug 23063) $wgMaxAnimatedGifArea is checked against the total size of all
126   frames, and $wgMaxImageArea against the size of the first frame, rather than
127   the other way around.  Both now default to 12.5 megapixels.  Also, images
128   exceeding $wgMaxImageArea can still be embedded at original size
129 * (bug 23078) "All public logs" option on Special:Log is now always the first
130   item
131 * (bug 16817) Group names in user rights log are now singular and in lowercase
132 * Special:Preferences no longer crashes if the wiki default date formatting
133   style is not valid for the user's interface language
134 * (bug 23167) Check the watch checkbox by default if the watchcreations
135   preference is set
136 * Maintenance script cleanupTitles is now able to fix titles stored
137 in a negative namespace (which is invalid).
138 * (bug 19858) Removed obsolete <big> in interface messages.
139 * (bug 21456) "Bad title" error when showing non-local interwiki pages no longer
140   displays incorrect tabs
141 * (bug 23190) Improved math representation for text browsers.
142 * (bug 22015) Improved upload-by-url error handling and error display
143 * (bug 17941) $wgMaxUploadSize is now honored by all upload sources
144 * (bug 23080) New usernames now limited to 235 bytes so that custom skin files
145   work.
146 * (bug 23075) Correct MediaTransformError default width in gallery.
147 * (bug 16487) The Anonymous user account used on Postgres is no longer
148   displayed on Special:Listusers.
149 * (bug 23313) Move watchlisthidepatrolled above token in watchlist preferences
150   to enhance preference grouping.
151 * (bug 23298) Interwiki links with prefix only in log summaries now link to the
152   correct link
153 * (bug 23284) Times are now rounded correctly
154 * (bug 23375) Added ogv, oga, spx as extensions for ogg files 
155 * (bug 18408) All required permissions for uploading (upload, edit, create) 
156   are now checked when loading Special:Upload. Toolbar link for Special:Upload
157   is no longer shown if the user does not have the required permissions.
158 * (Bug 23397) texvc in html mode renders \sim as &tilde; not &sim;
159 * (Bug 23241) Remove License selector, because it is not used when uploading a
160   new version.
161 * (bug 23240) Add ID to namespace selector form on Special:Watchlist
162 * The pipe | character in urls is now escaped.
163 * (bug 23422) mp3 files can now be moved
164 * (bug 23448) MediaWiki:Summary-preview is now displayed instead of
165   MediaWiki:Subject-preview when previewing summary
166 * (bug 23426) The {{REVISIONMONTH}} variable is now zero-padded and added new
167   variable {{REVISIONMONTH1}} when unpadded version is needed.
168 * Special:Userrights didn't recognize user as changing his/her own rights if user did not capitalize first letter of username.
169 * (bug 23507) Add styles for printing wikitables
170 * (bug 19586) Avoid JS errors in mwsuggest when using old browsers such as Opera 8.
171 * (bug 23563) Old skins now support $wgUploadNavigationUrl and take into account upload rights.
172 * (bug 1347) Render \phi in math using images, in order to create consistent and correct render results.
173 * (bug 16573) Render \epsilon in math using images, in order to create consistent and correct render results.
174 * (bug 22541) Support image redirects when using ForeignAPIRepo
176 === API changes in 1.17 ===
177 * (bug 22738) Allow filtering by action type on query=logevent
178 * (bug 22764) uselang parameter for action=parse
179 * (bug 22944) API: watchlist options are inconsistent
180 * (bug 22339) "Go" result should be available through the API
181 * (bug 22868) don't list infinite block expiry date as "now" in API logevents
182 * (bug 22290) prop=revisions now outputs "comment" field even when comment
183   is empty, for consistency with list=recentchanges
184 * (bug 19721) API action=help should have a way to just list for a specific module
185 * (bug 23458) Add support for pageid parameter to action=parse requests
186 * (bug 23460) Parse action should have a section option
187 * (bug 21346) Make deleted images searchable by hash
188 * (bug 23461) Normalise usage of parameter names in parameter descriptions
189 * (bug 23548) Allow access of another users watchlist through watchlistraw using token and username
191 === Languages updated in 1.17 ===
193 MediaWiki supports over 330 languages. Many localisations are updated
194 regularly. Below only new and removed languages are listed, as well as
195 changes to languages because of MediaZilla reports.
197 * Latgalian (ltg) (new)
198 * Rusyn (rue) (new)
200 * (bug 23156) Commafy and search normalization updated for Belarusian
201   (Taraškievica)
202 * (bug 23283) Native name for Old English -> Ænglisc
203 * (bug 23364) Native name for Azerbaijani -> Azərbaycanca
205 == Compatibility ==
207 MediaWiki 1.17 requires PHP 5.1 (5.2 recommended). PHP 4 is no longer
208 supported.
210 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
211 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
214 == Upgrading ==
216 1.17 has several database changes since 1.16, and will not work without schema
217 updates.
219 If upgrading from before 1.11, and you are using a wiki as a commons reposito-
220 ry, make sure that it is updated as well. Otherwise, errors may arise due to
221 database schema changes.
223 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
224 new database fields are filled with data.
226 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
227 changes are made, and there is a slightly higher chance that things could
228 break. Don't forget to always back up your database before upgrading!
230 See the file UPGRADE for more detailed upgrade instructions.
233 === Caveats ===
235 Some output, particularly involving user-supplied inline HTML, may not
236 produce 100% valid or well-formed XHTML output. Testers are welcome to
237 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
238 cases, but this is not recommended on live sites. (This must be set for
239 MathML to display properly in Mozilla.)
241 For notes on 1.16.x and older releases, see HISTORY.
244 === Online documentation ===
246 Documentation for both end-users and site administrators is currently being
247 built up on MediaWiki.org, and is covered under the GNU Free Documentation
248 License (except for pages that explicitly state that their contents are in
249 the public domain) :
251   http://www.mediawiki.org/wiki/Documentation
254 === Mailing list ===
256 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
257 wikitech-l list:
259   http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
261 A low-traffic announcements-only list is also available:
263   http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
265 It's highly recommended that you sign up for one of these lists if you're
266 going to run a public MediaWiki, so you can be notified of security fixes.
269 === IRC help ===
271 There's usually someone online in #mediawiki on irc.freenode.net