Expand a bit
[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.15 ==
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.15 ===
22
23 * Added $wgNewPasswordExpiry, to specify an expiry time (in seconds) to
24 temporary passwords
25 * Added $wgUseTwoButtonsSearchForm to choose the Search form behavior/look
26 * Added $wgNoFollowDomainExceptions to allow exempting particular domain names
27 from rel="nofollow" on external links
28 * (bug 12970) Added $wgForceClientThumbnails to force client rendering of thumbs,
29 instead of falling back to GD.
30
31 === New features in 1.15 ===
32
33 * (bug 2242) Add an expiry time to temporary passwords
34 * (bug 9947) Add PROTECTIONLEVEL parser function to return the protection level
35 for the current page for a given action
36 * (bug 17002) Add &minor= and &summary= as parameters in the url when editing,
37 to automatically add a summary or a minor edit.
38 * (bug 16852) padleft and padright now accept multiletter pad characters
39 * When using 'UserCreateForm' hook to add new checkboxes into
40 Special:UserLogin/signup, the messages can now contain HTML to allow
41 hyperlinking to the site's Terms of Service page, for example
42 * Add new hook 'UserLoadFromDatabase' that is called while loading a user
43 from the database.
44 * (bug 17045) Options on the block form are prefilled with the options of the
45 existing block when modifying an existing block.
46 * (bug 17055) "(show/hide)" links to Special:RevisionDelete now use a CSS class
47 rather than hardcoded HTML tags
48 * Added new hook 'WantedPages::getSQL' into SpecialWantedpages.php to allow
49 extensions to alter the SQL query which is used to get the list of wanted
50 pages
51 * (bugs 16957/16969) Add show/hide to preferences for RC patrol options on
52 specialpages
53 * (bug 11443) Auto-noindex user/user talk pages for blocked user
54 * (bug 11644) Add $wgMaxRedirects variable to control how many redirects are
55 recursed through until the "destination" page is reached.
56 * Add $wgInvalidRedirectTargets variable to prevent redirects to certain
57 special pages.
58 * Use HTML5 rel attributes for some links, where appropriate
59 * Added optional alternative Search form look - Go button & Advanced search
60 link instead of Go button & Search button
61 * (bug 2314) Add links to user custom CSS and JS to Special:Preferences
62 * More helpful error message on raw page access if PHP_SELF isn't set
63 * (bug 13040) Gender switch in user preferences
64 * (bug 13040) {{GENDER:}} magic word for interface messages
65 * (bug 3301) Optionally sort user list according to account creation time
66 * Remote description pages for foreign file repos are now fetched in the
67 content language.
68 * (bug 17180) If $wgUseFileCache is enabled, $wgShowIPinHeader is automatically
69 set to false.
70 * (bug 16604) Mark non-patrolled edits in feeds with "!"
71 * (bug 16604) Show title/rev in IRC for patrol log
72 * (bug 16854) Whether a page is being parsed as a preview or section preview
73 can now be determined and set with ParserOptions.
74 * Wrap message 'confirmemail_pending' into a div with CSS classes "error" and
75 "mw-confirmemail-pending"
76 * (bug 8249) The magic words for namespaces and pagenames can now be used as
77 parser functions to return the desired namespace or normalized title/title
78 part for a given title.
79 * (bug 17110) Styled #mw-data-after-content in cologneblue.css to match the
80 rest of the font
81 * (bug 7556) Time zone names in signatures lack i18n
82 * (bug 3311) Automatic category redirects
83 * (bug 17236) Suppress 'watch user page link' for IP range blocks
84 * Wrap message 'searchresulttext' (Special:Search) into a div with
85 class "mw-searchresult"
86 * (bug 15283) Interwiki imports can now fetch included templates
87 * Treat svn:// URLs as external links by default
88 * New function to convert namespace text for display (only applies on wiki with
89 LanguageConverter class)
90 * (bug 17379) Contributions-title is now parsed for magic words.
91 * Preprocessor output now cached in memcached.
92 * (bug 14468) Lines in classic RecentChanges and Watchlist have classes
93 "mw-line-odd" and "mw-line-even" to make styling using css possible.
94 * (bug 17311) Add a note beside the gender selection menu to tell users that
95 this information will be public
96 * Localize time zone regions in Special:Preferences
97 * Add NUMBEROFACTIVEUSERS magic word, which is like NUMBEROFUSERS, but uses
98 the active users data from site_stats.
99 * Add a <link rel="canonical"> tag on redirected page views
100 * Replace hardcoded '...' as indication of a truncation with the
101 'ellipsis' message
102 * Wrap warning message 'editinginterface' into a div with class
103 'mw-editinginterface'
104 * (bug 17497) Oasis opendocument added to mime.types
105 * Remove the link to Special:FileDuplicateSearch from the "file history" section
106 of image description pages as the list of duplicated files is shown in the
107 next section anyway.
108 * Added $wgRateLimitsExcludedIPs, to allow specific IPs to be whitelisted from
109 rate limits.
110 * (bug 14981) Shared repositories can now have display names, located at
111 Mediawiki:Shared-repo-name-REPONAME, where REPONAME is the name in
112 $wgForeignFileRepos
113 * Special:ListUsers: Sort list of usergroups by alphabet
114 * (bug 16762) Special:Movepage now shows a list of subpages when possible
115 * (bug 17585) Hide legend on Special:Specialpages from non-privileged users
116 * (bug 15876) Users with 'reset-passwords' right can change the passwords of
117 other users.
118 * Add an ID if 'missingsummary' is triggered to allow styling of the summary
119 line
120 * Add logging to password resets if not resetting your own
121 * Added $wgUseTagFilter to control enabling of filter-by-change-tag
122 * (bug 17291) MediaWiki:Nocontribs now has an optional $1 parameter for the
123 username
124 * Wrap special page summary message '$specialPageName-summary' into a div
125 with class 'mw-specialpage-summary'
126 * $wgSummarySpamRegex added to handle edit summary spam. This is used *instead*
127 of $wgSpamRegex for edit summary checks. Text checks still use $wgSpamRegex.
128
129 === Bug fixes in 1.15 ===
130 * (bug 16968) Special:Upload no longer throws useless warnings.
131 * (bug 17000) Special:RevisionDelete now checks if the database is locked
132 before trying to delete the edit.
133 * (bug 16852) padleft and padright now handle multibyte characters correctly
134 * (bug 17010) maintenance/namespaceDupes.php now add the suffix recursively if
135 the destination page exists
136 * (bug 17035) Special:Upload now fails gracefully if PHP's file_uploads has
137 been disabled
138 * Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with
139 LanguageConverter class)
140 * Improving the efficiency by using -{A|xxx}- syntax (only applies on wiki with
141 LanguageConverter class)
142 * (bug 17054) Added more descriptive errors in Special:RevisionDelete
143 * (bug 11527) Diff on page with one revision shows "Next" link to same diff
144 * (bug 8065) Fix summary forcing for new pages
145 * (bug 10569) redirects to Special:Mypage and Special:Mytalk are no longer
146 allowed by default. Change $wgInvalidRedirectTargets to re-enable.
147 * (bug 3043) Feed links of given page are now preceded by standard feed icon
148 * (bug 17150) escapeLike now escapes literal \ properly
149 * Inconsistent use of sysop, admin, administrator in system messages changed
150 to 'administrator'
151 * (bug 14423) Check block flag validity for block logging
152 * DB transaction and slave-lag avoidance tweaks for Email Notifications
153 * (bug 17104) Removed [Mark as patrolled] link for already patrolled revisions
154 * (bug 17106) Added 'redirect=no' and 'mw-redirect' class to redirects at
155 "user contributions"
156 * Rollback links on new pages removed from "user contributions"
157 * (bug 15811) Re-upload form tweaks: license fields removed, destination locked,
158 comment label uses better message
159 * Whole HTML validation ($wgValidateAllHtml) now works with external tidy
160 * Parser tests no longer fail when $wgExternalLinkTarget is set in
161 LocalSettings
162 * (bug 15391) catch DBQueryErrors on external storage insertion. This avoids
163 error messages on save were the edit in fact is saved.
164 * (bug 17184) Remove duplicate "z" accesskey in MonoBook
165 * Parser tests no longer fail when $wgAlwaysUseTidy is set in LocalSettings.php
166 * Removed redundant dupe warnings on reupload for the same title. Dupe warnings
167 for identical files at different titles are still given.
168 * Add 'change tagging' facility, where changes can be tagged internally with
169 certain designations, which are displayed on various summaries of changes,
170 and the entries can be styled with CSS.
171 * (bug 17207) Fix regression breaking category page display on PHP 5.1
172 * Categoryfinder utility class no longer fails on invalid input or gives wrong
173 results for category names that include pseudo-namespaces
174 * (bug 17252) Galician numbering format
175 * (bug 17146) Fix for UTF-8 and short word search for some possible MySQL
176 configs
177 * (bug 7480) Internationalize database error message
178 * (bug 16555) Number of links to mediawiki.org scaled back on post-installation
179 * (bug 14938) Removing a section no longer leaves excess whitespace
180 * (bug 17304) Fixed fatal error when thumbnails couldn't be generated for file
181 history
182 * (bug 17283) Remove double URL escaping in show/hide links for log entries
183 and RevisionDeleteForm::__construct
184 * (bug 17105) Numeric table sorting broken
185 * (bug 17231) Transcluding special pages on wikis using language conversion no
186 longer affects the page title
187 * (bug 6702) Default system messages updated/improved
188 * (bug 17190) User ID on preference page no longer has delimeters
189 * (bug 17341) "Powered by MediaWiki" should be on the left on RTL wikis
190 * (bug 17404) "userrights-interwiki" right was missing in User::$mCoreRights
191 * (bug 7509) Separation strings should be configurable
192 * (bug 17420) Send the correct content type from action=raw when the HTML file
193 cache is enabled.
194 * (bug 12746) Do not allow new password e-mails when wiki is in read-only mode
195 * (bug 17478) Fixed a PHP Strict standards error in
196 maintenance/cleanupWatchlist.php
197 * (bug 17488) RSS/Atom links in left toolbar are now localized in classic skin
198 * (bug 17472) use print <<<EOF in maintenance/importTextFile.php
199 * Special:PrefixIndex: Move table styling to shared.css, add CSS IDs to tables
200 use correct message 'allpagesprefix' for input form label, replace _ with ' '
201 in next page link
202 * (bug 17506) Exceptions within exceptions now respect $wgShowExceptionDetails
203 * Fixed excessive job queue utilisation
204 * File dupe messages for remote repos are now shown only once.
205 * (bug 14980) Messages 'shareduploadwiki' and 'shareduploadwiki-desc' are now
206 used as a parameter in 'sharedupload' for easier styling and customization.
207 * (bug 17482) Formatting error in Special:Preferences#Misc (Opera)
208 * (bug 17556) <link> parameters in Special:Contributions feeds (RSS and Atom)
209 now point to the actual contributors' feed.
210 * ForeignApiRepos now fetch MIME types, rather than trying to figure it locally
211 * Special:Import: Do not show input field for import depth if
212 $wgExportMaxLinkDepth == 0
213 * (bug 17570) $wgMaxRedirects is now correctly respected when following
214 redirects (was previously one more than $wgMaxRedirects)
215 * (bug 16335) __NONEWSECTIONLINK__ magic word to suppress new section link.
216 * (bug 17581) Wrong index name in PostgreSQL's updater: was rc_timestamp_nobot,
217 changed to rc_timestamp_bot
218 * (bug 17437) Fixed incorrect link to web-based installer
219 * (bug 17538) Use shorter URLs in <link> elements
220 * (bug 13778) Hidden input added to the search form so that using the Enter key
221 on IE will do a fulltext search like clicking the button does
222 * (bug 1061) CSS-added icons next to links display through the text and makes
223 it unreadable in RTL
224 * Special:Wantedtemplates now works on PostgreSQL
225 * (bug 14414) maintenance/updateSpecialPages.php no longer throws error with
226 PostgreSQL
227 * (bug 17546) Correct Tongan language native name is "lea faka-Tonga"
228 * (bug 17621) Special:WantedFiles has no link to Special:Whatlinkshere
229 * (bug 17460) Client ecoding is now correctly set for PostgreSQL
230 * (bug 17648) Prevent floats from intruding into edit area in previews if no
231 toolbar present
232 * (bug 16899) DISPLAYTITLE should allow Arabic and Persian harakats
233 * (bug 17692) Added (list of members) link to 'user' in Special:Listgrouprights
234 * (bug 17707) Show file destination as plain text if &wpForReUpload=1
235 * (bug 10172) Moved setting of "changed since last visit" flags out of the job
236 queue
237 * (bug 17761) "show/hide" link in page history in now works for the first
238 displayed revision if it's not the current one
239 * (bug 17722) Fix regression where users are unable to change temporary passwords
240
241 == API changes in 1.15 ==
242 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
243 and listing all deleted pages possible
244 * (bug 16844) Added clcategories parameter to prop=categories
245 * (bug 17025) Add "fileextension" parameter to meta=siteinfo&siprop=
246 * (bug 17048) Show the 'new' flag in list=usercontribs for the revision that
247 created the page, even if it's not the top revision
248 * (bug 17069) Added ucshow=patrolled|!patrolled to list=usercontribs
249 * action=delete respects $wgDeleteRevisionsLimit and the bigdelete user right
250 * (bug 15949) Add undo functionality to action=edit
251 * (bug 16483) Kill filesort in ApiQueryBacklinks caused by missing parentheses.
252 Building query properly now using makeList()
253 * (bug 17182) Fix pretty printer so URLs with parentheses in them are
254 autolinked correctly
255 * (bug 17224) Added siprop=rightsinfo to meta=siteinfo
256 * (bug 17239) Added prop=displaytitle to action=parse
257 * (bug 17317) Added watch parameter to action=protect
258 * (bug 17007) Added export and exportnowrap parameters to action=query
259 * (bug 17326) BREAKING CHANGE: Changed output format for iiprop=metadata
260 * (bug 17355) Added auwitheditsonly parameter to list=allusers
261 * (bug 17007) Added action=import
262 * BREAKING CHANGE: Removed rctitles parameter from list=recentchanges because
263 of performance concerns
264 * Listing (semi-)deleted revisions and log entries as well in prop=revisions
265 and list=logevents
266 * (bug 11430) BREAKING CHANGE: Modules may return fewer results than the
267 limit and still set a query-continue in some cases
268 * (bug 17357) Added movesubpages parameter to action=move
269 * (bug 17433) Added bot flag to list=watchlist&wlprop=flags output
270 * (bug 16740) Added list=protectedtitles
271 * Added mainmodule and pagesetmodule parameters to action=paraminfo
272 * (bug 17502) meta=siteinfo&siprop=namespacealiases no longer lists namespace
273 aliases already listed in siprop=namespaces
274 * (bug 17529) rvend ignored when rvstartid is specified
275 * (bug 17626) Added uiprop=email to list=userinfo
276 * (bug 13209) Added rvdiffto parameter to prop=revisions
277
278 === Languages updated in 1.15 ===
279
280 MediaWiki supports over 300 languages. Many localisations are updated
281 regularly. Below only new and removed languages are listed, as well as
282 changes to languages because of MediaZilla reports.
283
284 * Austrian German (de-at) (new)
285 * Swiss Standard German (de-ch) (new)
286 * Literary Chinese (lzh) (new)
287 * Uyghur (Latin script) (ug-latn) (renamed from 'ug')
288 * Võro (vro) (renamed from fiu-vro)
289 * (bug 17151) Add magic word alias for #redirect for Vietnamese
290 * (bug 17288) Messages improved for default language (English)
291 * (bug 12937) Update native name for Afar
292 * (bug 16909) 'histlegend' now reuses messages instead of copying them
293
294 == Compatibility ==
295
296 MediaWiki 1.15 requires PHP 5 (5.2 recommended). PHP 4 is no longer supported.
297
298 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
299 http://bugs.php.net/bug.php?id=34879
300 Upgrade affected systems to PHP 5.1 or higher.
301
302 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
303 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
304
305
306 == Upgrading ==
307
308 1.15 has several database changes since 1.14, and will not work without schema
309 updates.
310
311 If upgrading from before 1.11, and you are using a wiki as a commons reposito-
312 ry, make sure that it is updated as well. Otherwise, errors may arise due to
313 database schema changes.
314
315 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
316 new database fields are filled with data.
317
318 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
319 changes are made, and there is a slightly higher chance that things could
320 break. Don't forget to always back up your database before upgrading!
321
322 See the file UPGRADE for more detailed upgrade instructions.
323
324
325 === Caveats ===
326
327 Some output, particularly involving user-supplied inline HTML, may not
328 produce 100% valid or well-formed XHTML output. Testers are welcome to
329 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
330 cases, but this is not recommended on live sites. (This must be set for
331 MathML to display properly in Mozilla.)
332
333 For notes on 1.14.x and older releases, see HISTORY.
334
335
336 === Online documentation ===
337
338 Documentation for both end-users and site administrators is currently being
339 built up on MediaWiki.org, and is covered under the GNU Free Documentation
340 License (except for pages that explicitly state that their contents are in
341 the public domain) :
342
343 http://www.mediawiki.org/wiki/Documentation
344
345
346 === Mailing list ===
347
348 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
349 wikitech-l list:
350
351 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
352
353 A low-traffic announcements-only list is also available:
354
355 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
356
357 It's highly recommended that you sign up for one of these lists if you're
358 going to run a public MediaWiki, so you can be notified of security fixes.
359
360
361 === IRC help ===
362
363 There's usually someone online in #mediawiki on irc.freenode.net