* (bug 23276) Add hook to Special:NewPages to modify query
[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
28 === New features in 1.17 ===
29 * (bug 10183) Users can now add personal styles and scripts to all skins via
30 User:<name>/common.css and /common.js (if user css/js is enabled)
31 * (bug 22748) Add anchors on Special:ListGroupRights
32 * (bug 21981) Add parameter 'showfilename' to <gallery> to automatically apply
33 the names of the individual files within the gallery
34 * (bug 12797) Add $wgGalleryOptions for adjusting of default gallery display
35 options
36 * $wgAllowUserCssPrefs option allows disabling CSS-based preferences; which can
37 improve page loading speed.
38 * Future-proof redirection to fragments in Gecko, so things work a little nicer
39 if they fix <https://bugzilla.mozilla.org/show_bug.cgi?id=516293>.
40 * Support git:// and mms:// protocols by default for external links
41 * (bug 15810) Blocked admins can no longer unblock themselves without the
42 'unblockself' permission (which they have by default)
43 * (bug 18499) Added "enhanced" URL parameter to switch between old and enhanced
44 changes list
45 * (bug 22925) "sp-contributions-blocked-notice-anon" message now displayed when
46 viewing contributions of a blocked IP address
47 * (bug 22474) {{urlencode:}} now takes an optional second paramter for type of
48 escaping.
49 * Special:Listfiles now supports a username parameter
50 * Special:Random carries over query string parameters
51 * (bug 23206) Add Special::Search hook for detecting successful "Go"
52 * When visiting a "red link" of a deleted file, a deletion and move log excerpt
53 is provided on the Upload form.
54 * (bug 22647) Add category details in search results.
55 * (bug 23276) Add hook to Special:NewPages to modify query
56
57 === Bug fixes in 1.17 ===
58 * (bug 17560) Half-broken deletion moved image files to deletion archive
59 without updating database
60 * (bug 22666) Submitting user block form with an invalid user name no longer
61 throws an error
62 * (bugs 22665 and 22667) User '0' can now be unblocked and have its block
63 settings changed
64 * (bug 22606) The body of e-mail address confirmation message is now different
65 when the address changed
66 * (bug 22664) Special:Userrights now accepts '0' as a valid user name
67 * (bug 5210) preload parser now parses <noinclude>, <includeonly> and redirects
68 * (bug 22709) IIS7 mishandles redirects generated by OutputPage::output() when
69 the URL contains a colon.
70 * (bug 22353) Categorised recent changes now works again
71 * (bug 22747) "Reveal my e-mail address in notification e-mails" preference is
72 now only displayed when relevant
73 * (bug 22772) {{#special:}} parser function now works with subpages
74 * (bug 18664) Relative URIs in interwiki links cause failed redirects
75 * (bug 19270) Relative URIs in interwiki links break interwiki transclusion
76 * (bug 22903) Revdelete log entries now show in the user preferred language.
77 * (bug 22905) Correctly handle <abbr> followed by ISBN
78 * (bug 22940) Namespace aliases pointing to main namespace don't work
79 * (bug 15810) Blocked admins can no longer block/unblock other users
80 * (bug 22876) Avoid possible PHP Notice if $wgDefaultUserOptions is not
81 correctly set
82 * (bug 14952) Page titles are renormalized after html entities are removed so
83 that links with non-NFC character references work correctly.
84 * (bug 22991) wgUserGroups JavaScript variable now reports * group for
85 anonymous users instead of null.
86 * (bug 22627) Remove PHP notice when deleting a page only hidden users edited.
87 * (bug 21520) Anonymous previews now also gives a warning about not being
88 logged in (anonpreviewwarning).
89 * (bug 22935) image/x-ms-bmp mime type added for BMP files
90 * (bug 23024) Special:ListFiles now escapes file names correctly
91 * (bug 22867) "View source" tab is now only displayed if there's source text
92 * (bug 19393) Feeds now format dates in user language rather than content
93 language
94 * (bug 22852) "Served in" comment is now the time used to cache a single page
95 when using rebuildFileCache.php
96 * (bug 22496) Viewing diff of a redirect page without specifying "oldid"
97 parameter no longer makes the page displayed as being the redirect target
98 * (bug 22918) Feed cache keys now use $wgRenderHashAppend
99 * (bug 21916) Last-Modified header is now correct when outputting cached feed
100 * (bug 20049) Fixed PHP notice in search highlighter that occurs in some cases
101 * (bug 23017) Special:Disambiguations now list pages in content namespaces
102 rather than only main namespace
103 * (bug 23063) $wgMaxAnimatedGifArea is checked against the total size of all
104 frames, and $wgMaxImageArea against the size of the first frame, rather than
105 the other way around. Both now default to 12.5 megapixels. Also, images
106 exceeding $wgMaxImageArea can still be embedded at original size
107 * (bug 23078) "All public logs" option on Special:Log is now always the first
108 item
109 * (bug 16817) Group names in user rights log are now singular and in lowercase
110 * Special:Preferences no longer crashes if the wiki default date formatting
111 style is not valid for the user's interface language
112 * (bug 23167) Check the watch checkbox by default if the watchcreations
113 preference is set
114 * Maintenance script cleanupTitles is now able to fix titles stored
115 in a negative namespace (which is invalid).
116 * (bug 19858) Removed obsolete <big> in interface messages.
117 * (bug 21456) "Bad title" error when showing non-local interwiki pages no longer
118 displays incorrect tabs
119 * (bug 23190) Improved math representation for text browsers.
120 * (bug 22015) Improved upload-by-url error handling and error display
121 * (bug 17941) $wgMaxUploadSize is now honored by all upload sources
122 * (bug 23080) New usernames now limited to 235 bytes so that custom skin files
123 work.
124 * (bug 23075) Correct MediaTransformError default width in gallery.
125 * (bug 16487) The Anonymous user account used on Postgres is no longer
126 displayed on Special:Listusers.
127
128 === API changes in 1.17 ===
129 * (bug 22738) Allow filtering by action type on query=logevent
130 * (bug 22764) uselang parameter for action=parse
131 * (bug 22944) API: watchlist options are inconsistent
132 * (bug 22339) "Go" result should be available through the API
133 * (bug 22868) don't list infinite block expiry date as "now" in API logevents
134 * (bug 22290) prop=revisions now outputs "comment" field even when comment
135 is empty, for consistency with list=recentchanges
136
137 === Languages updated in 1.17 ===
138
139 MediaWiki supports over 330 languages. Many localisations are updated
140 regularly. Below only new and removed languages are listed, as well as
141 changes to languages because of MediaZilla reports.
142
143 * Latgalian (ltg) (new)
144 * Rusyn (rue) (new)
145
146 * (bug 23156) Commafy and search normalization updated for Belarusian
147 (Taraškievica)
148 * (bug 23283) Native name for Old English -> Ænglisc
149
150 == Compatibility ==
151
152 MediaWiki 1.17 requires PHP 5.1 (5.2 recommended). PHP 4 is no longer
153 supported.
154
155 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
156 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
157
158
159 == Upgrading ==
160
161 1.17 has several database changes since 1.16, and will not work without schema
162 updates.
163
164 If upgrading from before 1.11, and you are using a wiki as a commons reposito-
165 ry, make sure that it is updated as well. Otherwise, errors may arise due to
166 database schema changes.
167
168 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
169 new database fields are filled with data.
170
171 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
172 changes are made, and there is a slightly higher chance that things could
173 break. Don't forget to always back up your database before upgrading!
174
175 See the file UPGRADE for more detailed upgrade instructions.
176
177
178 === Caveats ===
179
180 Some output, particularly involving user-supplied inline HTML, may not
181 produce 100% valid or well-formed XHTML output. Testers are welcome to
182 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
183 cases, but this is not recommended on live sites. (This must be set for
184 MathML to display properly in Mozilla.)
185
186 For notes on 1.16.x and older releases, see HISTORY.
187
188
189 === Online documentation ===
190
191 Documentation for both end-users and site administrators is currently being
192 built up on MediaWiki.org, and is covered under the GNU Free Documentation
193 License (except for pages that explicitly state that their contents are in
194 the public domain) :
195
196 http://www.mediawiki.org/wiki/Documentation
197
198
199 === Mailing list ===
200
201 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
202 wikitech-l list:
203
204 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
205
206 A low-traffic announcements-only list is also available:
207
208 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
209
210 It's highly recommended that you sign up for one of these lists if you're
211 going to run a public MediaWiki, so you can be notified of security fixes.
212
213
214 === IRC help ===
215
216 There's usually someone online in #mediawiki on irc.freenode.net