* Parser tests no longer fail when $wgExternalLinkTarget is set in LocalSettings
[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
29 === New features in 1.15 ===
30
31 * (bug 2242) Add an expiry time to temporary passwords
32 * Special:Upload can now have a custom upload message instead of uploadtext by
33 passing "uploadmsg" parameter in the url
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 17145) Specific categories can be excluded from Special:UnusedCategories
64 with __IGNOREUNUSED__
65 * (bug 13040) Gender switch in user preferences
66 * (bug 13040) {{GENDER:}} magic word for interface messages
67 * (bug 3301) Optionally sort user list according to account creation time
68
69 === Bug fixes in 1.15 ===
70 * (bug 16968) Special:Upload no longer throws useless warnings.
71 * (bug 17000) Special:RevisionDelete now checks if the database is locked
72 before trying to delete the edit.
73 * (bug 16852) padleft and padright now handle multibyte characters correctly
74 * (bug 17010) maintenance/namespaceDupes.php now add the suffix recursively if
75 the destination page exists
76 * (bug 17035) Special:Upload now fails gracefully if PHP's file_uploads has
77 been disabled
78 * Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with
79 LanguageConverter class)
80 * Improving the efficiency by using -{A|xxx}- syntax (only applies on wiki with
81 LanguageConverter class)
82 * (bug 17054) Added more descriptive errors in Special:RevisionDelete
83 * (bug 11527) Diff on page with one revision shows "Next" link to same diff
84 * (bug 15936) New page's patrol button should always be visible
85 * (bug 8065) Fix summary forcing for new pages
86 * (bug 10569) redirects to Special:Mypage and Special:Mytalk are no longer
87 allowed by default. Change $wgInvalidRedirectTargets to re-enable.
88 * (bug 3043) Feed links of given page are now preceded by standard feed icon
89 * (bug 17150) escapeLike now escapes literal \ properly
90 * Inconsistent use of sysop, admin, administrator in system messages changed
91 to 'administrator'
92 * (bug 14423) Check block flag validity for block logging
93 * DB transaction and slave-lag avoidance tweaks for Email Notifications
94 * (bug 17104) Removed [Mark as patrolled] link for already patrolled revisions
95 * (bug 17106) Added 'redirect=no' and 'mw-redirect' class to redirects at
96 "user contributions"
97 * Rollback links on new pages removed from "user contributions"
98 * (bug 15811) Re-upload form tweaks: license fields removed, destination locked,
99 comment label uses better message
100 * Whole HTML validation ($wgValidateAllHtml) now works with external tidy
101 * Parser tests no longer fail when $wgExternalLinkTarget is set in LocalSettings
102
103 == API changes in 1.15 ==
104 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
105 and listing all deleted pages possible
106 * (bug 16844) Added clcategories parameter to prop=categories
107 * (bug 17025) Add "fileextension" parameter to meta=siteinfo&siprop=
108 * (bug 17048) Show the 'new' flag in list=usercontribs for the revision that
109 created the page, even if it's not the top revision
110 * (bug 17069) Added ucshow=patrolled|!patrolled to list=usercontribs
111 * action=delete respects $wgDeleteRevisionsLimit and the bigdelete user right
112 * (bug 15949) Add undo functionality to action=edit
113 * (bug 17142) Added redirects parameter to action=opensearch to control redirect
114 resolution
115
116 === Languages updated in 1.15 ===
117
118 MediaWiki supports over 300 languages. Many localisations are updated
119 regularly. Below only new and removed languages are listed.
120
121 * Literary Chinese (lzh) (new)
122 * Võro (vro) (renamed from fiu-vro)
123
124 == Compatibility ==
125
126 MediaWiki 1.15 requires PHP 5 (5.2 recommended). PHP 4 is no longer supported.
127
128 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
129 http://bugs.php.net/bug.php?id=34879
130 Upgrade affected systems to PHP 5.1 or higher.
131
132 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
133 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
134
135
136 == Upgrading ==
137
138 1.15 has several database changes since 1.14, and will not work without schema
139 updates.
140
141 If upgrading from before 1.11, and you are using a wiki as a commons reposito-
142 ry, make sure that it is updated as well. Otherwise, errors may arise due to
143 database schema changes.
144
145 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
146 new database fields are filled with data.
147
148 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
149 changes are made, and there is a slightly higher chance that things could
150 break. Don't forget to always back up your database before upgrading!
151
152 See the file UPGRADE for more detailed upgrade instructions.
153
154
155 === Caveats ===
156
157 Some output, particularly involving user-supplied inline HTML, may not
158 produce 100% valid or well-formed XHTML output. Testers are welcome to
159 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
160 cases, but this is not recommended on live sites. (This must be set for
161 MathML to display properly in Mozilla.)
162
163 For notes on 1.14.x and older releases, see HISTORY.
164
165
166 === Online documentation ===
167
168 Documentation for both end-users and site administrators is currently being
169 built up on MediaWiki.org, and is covered under the GNU Free Documentation
170 License (except for pages that explicitly state that their contents are in
171 the public domain) :
172
173 http://www.mediawiki.org/wiki/Documentation
174
175
176 === Mailing list ===
177
178 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
179 wikitech-l list:
180
181 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
182
183 A low-traffic announcements-only list is also available:
184
185 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
186
187 It's highly recommended that you sign up for one of these lists if you're
188 going to run a public MediaWiki, so you can be notified of security fixes.
189
190
191 === IRC help ===
192
193 There's usually someone online in #mediawiki on irc.freenode.net