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