(bug 26929) Introduced the edittools-upload message, which will be inserted under...
[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.18 ==
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.18 ===
22 * The WantedPages::getSQL hook has been removed and replaced with
23 WantedPages::getQueryInfo . This may break older extensions.
24 * $wgUseCombinedLoginLink controls whether to output a combined login / create account
25 link in the personal bar, or to output separate login and create account links
26 * Skin names are no longer created based on a ucfirst version of the key in $wgValidSkinNames but now
27 the value. This means for $wgValidSkinNames["monobook"] = "MonoBook"; the skin
28 loader will no longer try loading SkinMonobook and will instead load SkinMonoBook.
29 * The parser now attempts to output markers for editsection tokens and defer the rendering
30 of them so skin and language specific markup does not need to be saved inside the parser cache
31 note that this changes the cache key making all old entries in the parser cache invalid you
32 can set $wgUseEditSectionTokens to false to disable this and keep your old parser cache entries.
33 Note that this feature should reduce parser cache fragmentation when enabled.
34 * $wgMaxUploadSize may now be set to an array to specify the upload size limit
35 per upload type.
36 * $wgAPICacheHelp added in 1.16 is now removed. To disable API help caching, set
37 $wgAPICacheHelpTimeout = 0;
38
39 === New features in 1.18 ===
40 * Added a special page, disabled by default, that allows users with the
41 'disableaccount' privilege to permanently deactivate user accounts.
42 * (bug 8130) Query pages should limit to content namespaces, not just main namespace
43 * Search suggestions (other than in the Vector skin) will now use the HTML5
44 datalist feature where supported, currently only Firefox 4.
45 * Special:Contribs now redirects to Special:Contributions
46 * (bug 6672) Images are now autorotated according to their EXIF orientation.
47 This only affects thumbnails; the source remains unrotated.
48 * (bug 25708) Update case mappings and normalization to Unicode 6.0.0
49 * New hook ArticlePrepareTextForEdit added, called when preparing text to be saved.
50 * New parser option PreSaveTransform added, allows the pre-save transformation
51 to be selectively disabled.
52 * Alternative to $wgHooks implemented, using the new Hooks class.
53 * Add width parameter to Special:Filepath to allow getting the file path of a thumbnail.
54 * (bug 26870) Add size to {{filepath:}}
55 * Upload warnings now show a thumbnail of the uploaded file
56 * Introduced the edittools-upload message, which will be inserted under the
57 upload form instead of edittools if available
58
59 === Bug fixes in 1.18 ===
60 * (bug 23119) WikiError class and subclasses are now marked as deprecated
61 * (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
62 treated as wikitext on preview.
63 * (bug 22753) Output from update.php is more clear when things changed, entries
64 indicating nothing changed are now all prefixed by "..."
65 * Page existence is now not revealed (in the colour of the tabs) to users who
66 cannot read the page in question.
67 * (bug 19006) {{REVISIONUSER}} no longer acts like {{CURRENTUSER}} in some cases
68 * (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions
69 * (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown as
70 "Permitted file types" on the upload form
71 * (bug 26379) importImages.php gives more descriptive error message on failure.
72 * (bug 26410) + signs are no longer treated as spaces in internal links if
73 link has a % sign in it.
74 * (bug 26412) Search results headers no longer show a bogus edit link.
75 * (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater
76 * (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
77 pages to be queried via the API and Special:ProtectedPages, and allowing
78 disabling upload protection by removing it from $wgRestrictionTypes.
79 * If an edit summary exceeds 250 bytes and is truncated, add an ellipse
80 * (bug 26638) Database error pages display correctly in RTL languages
81 * (bug 26187) Confirmrecreate no longer parses the edit summary
82 * (bug 25506) Exception is thrown if OutputPage::parse is called inside a tag hook,
83 which would reset parser state
84 * (bug 26208) Mark directionality of some interlanguage links
85 * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
86 selected when the action is "purge".
87 * (bug 14267) Support a MediaWiki:Mainpage-nstab override for the subject namespace
88 tab on the mainpage of a wiki.
89 * (bug 10158) Do not mention allowing others to contact you when the feature
90 is disabled ($wgEnableUserEmail=false)
91 * (bug 26733) Wrap initial table creation in transaction
92 * (bug 26729) Category pages should return 404 if they do not exist and have no
93 members.
94 * (bug 2585) Image pages should send 404 if no image, no shared image and no
95 description page.
96 * Custom editintro's using the editintro url parameter will no longer show <noinclude>
97 sections on pages they are included on.
98 * (bug 26449) Keep underlines from headings outside of tables and thumbs by
99 adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
100 * (bug 26708) Remove background-color:white from tables in Monobook and Vector.
101 * (bug 26781) {{PAGENAME}} and related parser functions escape their output better.
102 * (bug 26716) Provide link to instructions for external editor related preferences
103 and add a comment to the ini control file explaining what is going on.
104 * Trying to upload a file with no extension or with a disallowed MIME type now gives
105 the right message instead of complaining about a MIME/extension mismatch
106 * (bug 26809) Uploading files with multiple extensions where one of the extensions
107 is blacklisted now gives the proper extension in the error message.
108
109 === API changes in 1.18 ===
110 * (bug 26339) Throw warning when truncating an overlarge API result
111 * (bug 14869) Add API module for accessing QueryPage-based special pages
112 * (bug 14020) API for Special:Unwatchedpages
113 * (bug 24287) Wrap API Help output at 100 characters
114 * Add a realname uiprop option to query=userinfo so a user's realname can be extracted
115 * Add a &watchuser option to ApiBlock
116 * (bug 26541) Generator-ise ApiQueryRecentChanges
117 * action=parse now correctly returns an error for nonexistent pages
118 * (bug 25767) Add userrights properties to allusers and users query lists
119 * (bug 26558) list=allusers auprop=groups does not list groups a user is automatically a member of
120 * (bug 26559) list=allusers auprop=rights does not match list=users usprop=rights
121 * (bug 26560) On allusers if limit < total number of users, last user gets duplicate
122 * (bug 25135) add "normalized" to action=parse
123 * (bug 26460) Add support for listing category members by category pageid
124 * (bug 26482) add a imimages param to prop=images
125 * (bug 26498) allow LinksUpdate with API
126 * (bug 26485) add a elextlinks param to prop=extlinks
127 * (bug 26483) add a iwtitles param to prop=iwlinks
128 * (bug 26484) add a lltitles param to prop=langlinks
129 * (bug 26480) add a pppageprops param to prop=pageprops
130 * (bug 26650) Remove $wgAPICacheHelp in favour of $wgAPICacheHelpTimeout
131 * (bug 24650) Fix API to work with categorylinks changes
132 * Expose list of skins in meta=siteinfo
133
134 === Languages updated in 1.18 ===
135
136 MediaWiki supports over 330 languages. Many localisations are updated
137 regularly. Below only new and removed languages are listed, as well as
138 changes to languages because of Bugzilla reports.
139
140 == Compatibility ==
141
142 MediaWiki 1.18 requires PHP 5.1 (5.2 recommended). PHP 4 is no longer
143 supported.
144
145 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
146 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
147
148
149 == Upgrading ==
150
151 1.18 has several database changes since 1.17, and will not work without schema
152 updates.
153
154 If upgrading from before 1.11, and you are using a wiki as a commons reposito-
155 ry, make sure that it is updated as well. Otherwise, errors may arise due to
156 database schema changes.
157
158 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
159 new database fields are filled with data.
160
161 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
162 changes are made, and there is a slightly higher chance that things could
163 break. Don't forget to always back up your database before upgrading!
164
165 See the file UPGRADE for more detailed upgrade instructions.
166
167
168 === Caveats ===
169
170 Some output, particularly involving user-supplied inline HTML, may not
171 produce 100% valid or well-formed XHTML output. Testers are welcome to
172 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
173 cases, but this is not recommended on live sites. (This must be set for
174 MathML to display properly in Mozilla.)
175
176 For notes on 1.17.x and older releases, see HISTORY.
177
178
179 === Online documentation ===
180
181 Documentation for both end-users and site administrators is currently being
182 built up on MediaWiki.org, and is covered under the GNU Free Documentation
183 License (except for pages that explicitly state that their contents are in
184 the public domain) :
185
186 http://www.mediawiki.org/wiki/Documentation
187
188
189 === Mailing list ===
190
191 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
192 wikitech-l list:
193
194 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
195
196 A low-traffic announcements-only list is also available:
197
198 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
199
200 It's highly recommended that you sign up for one of these lists if you're
201 going to run a public MediaWiki, so you can be notified of security fixes.
202
203
204 === IRC help ===
205
206 There's usually someone online in #mediawiki on irc.freenode.net