Divert a river through the Augean Stables that is SpecialBlockip.php.
[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 === PHP 5.2 now required ==
22 In 1.18, the lowest supported version of MediaWiki is now 5.2.x. Please upgrade
23 PHP if you have not done so prior to upgrading MediaWiki.
24
25 === Configuration changes in 1.18 ===
26 * The WantedPages::getSQL hook has been removed and replaced with
27 WantedPages::getQueryInfo . This may break older extensions.
28 * $wgUseCombinedLoginLink controls whether to output a combined
29 login / create account link in the personal bar, or to output separate login
30 and create account links
31 * Skin names are no longer created based on a ucfirst version of the key in
32 $wgValidSkinNames but now the value. This means for
33 $wgValidSkinNames["monobook"] = "MonoBook"; the skin loader will no longer try
34 loading SkinMonobook and will instead load SkinMonoBook.
35 * The parser now attempts to output markers for editsection tokens and defer the
36 rendering of them so skin and language specific markup does not need to be
37 saved inside the parser cache note that this changes the cache key making all
38 old entries in the parser cache invalid you can set $wgUseEditSectionTokens to
39 false to disable this and keep your old parser cache entries.
40 Note that this feature should reduce parser cache fragmentation when enabled.
41 * $wgMaxUploadSize may now be set to an array to specify the upload size limit
42 per upload type.
43 * $wgAPICacheHelp added in 1.16 is now removed. To disable API help caching, set
44 $wgAPICacheHelpTimeout = 0;
45 * OutputPage::isUserJsAllowed() no longer returns false when scripts are allowed
46 by the page, but $wgAllowUserJs is set to false.
47 * Pure "Skin" class based custom skins are no longer supported, all custom skins
48 should be put together using SkinTemplate and BaseTemplate or QuickTemplate.
49 * The transliteration for passwords in case they were migrated from an old Latin-1
50 install (previous to MediaWiki 1.5) is now only done for wikis with
51 $wgLegacyEncoding set.
52 * (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an svg we
53 look at when finding metadata to prevent excessive resource usage.
54 * $wgSysopUserBans and $wgSysopRangeBans (deprecated in 1.17) are now removed.
55 Use $wgBlockCIDRLimit = array( 'IPv4' => 43, 'IPv6' => 128 ) to achieve the same
56 functionality as $wgSysopRangeBans; you can use the BlockIp hook to replicate
57 $wgSysopUserBans functionality.
58 * The options on the block form have been standardised such that checking a box
59 makes the block 'more serious'; so while "check to prevent account creation" and
60 "check to enable autoblock" remain the same, "check to allow user-talk edit" is
61 reversed to "check to *disable* user-talk edit", and "check to block anon-only"
62 becomes "check to block logged-in users too". The default settings remain the same.
63 * Most of the field names on the Special:Block form have been changed, which will
64 probably break screen-scraping bots.
65
66 === New features in 1.18 ===
67 * Added a special page, disabled by default, that allows users with the
68 'disableaccount' privilege to permanently deactivate user accounts.
69 * (bug 8130) Query pages should limit to content namespaces, not just main
70 namespace
71 * Search suggestions (other than in the Vector skin) will now use the HTML5
72 datalist feature where supported, currently only Firefox 4.
73 * Special:Contribs now redirects to Special:Contributions
74 * (bug 6672) Images are now autorotated according to their EXIF orientation.
75 This only affects thumbnails; the source remains unrotated.
76 * (bug 25708) Update case mappings and normalization to Unicode 6.0.0
77 * New hook ArticlePrepareTextForEdit added, called when preparing text to be
78 saved.
79 * New parser option PreSaveTransform added, allows the pre-save transformation
80 to be selectively disabled.
81 * Alternative to $wgHooks implemented, using the new Hooks class.
82 * Add width parameter to Special:Filepath to allow getting the file path of a
83 thumbnail.
84 * (bug 26870) Add size to {{filepath:}}
85 * Upload warnings now show a thumbnail of the uploaded file
86 * Introduced the edittools-upload message, which will be inserted under the
87 upload form instead of edittools if available
88 * (bug 26285) Extensions will be automatically generated on upload if the user
89 specified a filename without extension.
90 * (bug 26851) Special:UserRights now allows to prefill the reason field
91 * New maintenance script to fix double redirects
92 (maintenance/fixDoubleRedirects.php)
93 * (bug 23315) New body classes to allow easier styling of special pages
94 * (bug 27159) Make email confirmation code expiration time configurable
95 * CSS/JS for each user group is imported from MediaWiki:Sysop.js,
96 MediaWiki:Autoconfirmed.css, etc.
97 * (bug 24230) Uploads of ZIP types, such as MS Office or OpenOffice can now be
98 safely enabled. A ZIP file reader was added which can scan a ZIP file for
99 potentially dangerous Java applets. This allows applets to be blocked
100 specifically, rather than all ZIP files being blocked.
101 * (bug 2429) Allow selection of associated namespace in recent changes
102 * (bug 26217) File size is now checked before uploading in HTML5 browsers
103 * CSS stylesheet MediaWiki:Noscript.css is now loaded for users with JavaScript
104 disabled (enclosed in the head in a <noscript> tag)
105 * Added UserGetLanguageObject hook to change the language used in $wgLang
106 * (bug 14645) When $wgMiserMode is on, expensive special pages are styled
107 differently (italicized by default) on Special:SpecialPages
108 * Added $wgAggregateStatsID, which allows UDP stats to be aggregated over
109 several wikis.
110 * When $wgAllowMicrodataAttributes is true, all itemtypes are allowed, not just
111 the three that were defined in the original specification.
112 * (bug 14706) Added support for the Imagick PHP extension.
113 * (bug 18691) Added support for SVG rasterization using the Imagick PHP
114 extension
115
116 === Bug fixes in 1.18 ===
117 * (bug 23119) WikiError class and subclasses are now marked as deprecated
118 * (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
119 treated as wikitext on preview.
120 * (bug 22753) Output from update.php is more clear when things changed, entries
121 indicating nothing changed are now all prefixed by "..."
122 * Page existence is now not revealed (in the colour of the tabs) to users who
123 cannot read the page in question.
124 * (bug 19006) {{REVISIONUSER}} no longer acts like {{CURRENTUSER}} in some cases
125 * (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions
126 * (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown
127 as "Permitted file types" on the upload form
128 * (bug 26379) importImages.php gives more descriptive error message on failure.
129 * (bug 26410) + signs are no longer treated as spaces in internal links if
130 link has a % sign in it.
131 * (bug 26412) Search results headers no longer show a bogus edit link.
132 * (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater
133 * (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
134 pages to be queried via the API and Special:ProtectedPages, and allowing
135 disabling upload protection by removing it from $wgRestrictionTypes.
136 * If an edit summary exceeds 250 bytes and is truncated, add an ellipse
137 * (bug 26638) Database error pages display correctly in RTL languages
138 * (bug 26187) Confirmrecreate no longer parses the edit summary
139 * (bug 25506) Exception is thrown if OutputPage::parse is called inside a tag
140 hook, which would reset parser state
141 * (bug 26208) Mark directionality of some interlanguage links
142 * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
143 selected when the action is "purge".
144 * (bug 14267) Support a MediaWiki:Mainpage-nstab override for the subject
145 namespace tab on the mainpage of a wiki.
146 * (bug 10158) Do not mention allowing others to contact you when the feature
147 is disabled ($wgEnableUserEmail=false)
148 * (bug 26733) Wrap initial table creation in transaction
149 * (bug 26729) Category pages should return 404 if they do not exist and have no
150 members.
151 * (bug 2585) Image pages should send 404 if no image, no shared image and no
152 description page.
153 * Custom editintro's using the editintro url parameter will no longer show
154 <noinclude> sections on pages they are included on.
155 * (bug 26449) Keep underlines from headings outside of tables and thumbs by
156 adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
157 * (bug 26708) Remove background-color:white from tables in Monobook and Vector.
158 * (bug 26781) {{PAGENAME}} and related parser functions escape their output
159 better.
160 * (bug 26716) Provide link to instructions for external editor related
161 preferences and add a comment to the ini control file explaining what is
162 going on.
163 * Trying to upload a file with no extension or with a disallowed MIME type now
164 gives the right message instead of complaining about a MIME/extension mismatch
165 * (bug 26809) Uploading files with multiple extensions where one of the
166 extensions is blacklisted now gives the proper extension in the error message.
167 * (bug 26961) Hide anon edits in watchlist preference now actually works.
168 * (bug 19751) Filesystem is now checked during image undeletion
169 * Send last modified headers for Special:Recentchanges when RC patrol is
170 enabled, but user cannot see rc patrol links.
171 * (bug 26548) ForeignAPIRepo (InstantCommons) now works with PDF files
172 and other multi-paged file formats.
173 * Files with a mime type that does not match the extension are now properly
174 thumbnailed
175 * (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs
176 * (bug 15905) Nostalgia skin could become more usable by including a Talk:
177 link at the top of the page
178 * (bug 27560) Search queries no longer fail in walloon language
179 * (bug 27679) Broken embedded files with special characters are no longer
180 double HTML escaped
181 * (bug 27700) The upload protection can now also be set for files that do not
182 exist.
183 * (bug 27763) Article::getParserOutput() no longer throws a fatal given when an
184 incorrect revision ID is passed.
185 * Trim the form field for uploading by url to remove extra spaces which could
186 cause confusing error messages.
187 * (bug 27854) Http::isValidURI is way too lax.
188 * Do not show enotifminoredits preference, if disabled by $wgEnotifMinorEdits.
189 * AbortLogin returning "ABORTED" now handled. Also allows message identifier
190 for "ABORTED" reason to be returned and displayed to user.
191
192 === API changes in 1.18 ===
193 * (bug 26339) Throw warning when truncating an overlarge API result
194 * (bug 14869) Add API module for accessing QueryPage-based special pages
195 * (bug 14020) API for Special:Unwatchedpages
196 * (bug 24287) Wrap API Help output at 100 characters
197 * Add a realname uiprop option to query=userinfo so a user's realname can be
198 extracted
199 * Add a &watchuser option to ApiBlock
200 * (bug 26541) Generator-ise ApiQueryRecentChanges
201 * action=parse now correctly returns an error for nonexistent pages
202 * (bug 25767) Add userrights properties to allusers and users query lists
203 * (bug 26558) list=allusers auprop=groups does not list groups a user is
204 automatically a member of
205 * (bug 26559) list=allusers auprop=rights does not match
206 list=users usprop=rights
207 * (bug 26560) On allusers if limit < total number of users, last user gets
208 duplicate
209 * (bug 25135) add "normalized" to action=parse
210 * (bug 26460) Add support for listing category members by category pageid
211 * (bug 26482) add a imimages param to prop=images
212 * (bug 26498) allow LinksUpdate with API
213 * (bug 26485) add a elextlinks param to prop=extlinks
214 * (bug 26483) add a iwtitles param to prop=iwlinks
215 * (bug 26484) add a lltitles param to prop=langlinks
216 * (bug 26480) add a pppageprops param to prop=pageprops
217 * (bug 26650) Remove $wgAPICacheHelp in favour of $wgAPICacheHelpTimeout
218 * (bug 24650) Fix API to work with categorylinks changes
219 * Expose list of skins in meta=siteinfo
220 * (bug 26548) Add iiurlparam param to query=imageinfo and query=stashimageinfo
221 * (bug 27205) aiprop=metadata and aiprop=parsedcomment need help text
222 * Add a amtitle param to meta=allmessages
223 * (bug 25832) query=allimages now outputs ns/title as well
224 * (bug 27199) Thumbnail urls can be fetched for old files as well
225 * (bug 27376) when using ApiBase::PARAM_TYPE => 'integer' without a min or
226 max value, api doesn't validate the input is actually an integer
227 * (bug 27479) API error when using both prop=pageprops and
228 prop=info&inprop=displaytitle
229 * (bug 27554) Update api information text to reflect change in bug 26125
230 * (bug 27611) list=blocks: Use ipb_by_text instead of join with user table
231 * (bug 27616) Add userid of blocked user and blocker to list=blocks
232 * (bug 27688) Simplify queries to list user block information
233 * (bug 27708) list=users does not have a property to return user id
234 * (bug 27715) imageinfo didn't respect revdelete
235 * (bug 27862) Useremail module didn't properly return success on success.
236 * (bug 27590) prop=imageinfo now allows querying the media type
237 * (bug 27587) list=filearchive now outputs full title info
238 * (bug 27018) Added action=filerevert to revert files to an old version
239 * (bug 27897) list=allusers and list=users list hidden users
240 * (bug 27717) API's exturlusage module does not respect $wgMiserMode
241 * (bug 27588) list=filearchive&faprop=sha1 returns empty attribute
242
243 === Languages updated in 1.18 ===
244
245 MediaWiki supports over 330 languages. Many localisations are updated
246 regularly. Below only new and removed languages are listed, as well as
247 changes to languages because of Bugzilla reports.
248
249 * Liv (liv) (new)
250
251 * (bug 17160) Gender specific display text for User namespace
252 * Link trail added for sl and sh
253 * (bug 27633) Add characters to linkTrail for Potuguese (pt and pt-br)
254 * (bug 27426) Set $namespaceGenderAliases for Arabic (ar)
255 * (bug 27385) Set Polish $namespaceGenderAliases
256 * (bug 27681) Set $namespaceGenderAliases for Portuguese (pt and pt-br)
257 * (bug 27785) Fallback language for Kabardian (kbd) is English now.
258 * (bug 27825) Raw watchlist edit message now uses formatted numbers.
259
260 == Compatibility ==
261
262 MediaWiki 1.18 requires PHP 5.1 (5.2 recommended). PHP 4 is no longer
263 supported.
264
265 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
266 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
267
268
269 == Upgrading ==
270
271 1.18 has several database changes since 1.17, and will not work without schema
272 updates.
273
274 If upgrading from before 1.11, and you are using a wiki as a commons reposito-
275 ry, make sure that it is updated as well. Otherwise, errors may arise due to
276 database schema changes.
277
278 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
279 new database fields are filled with data.
280
281 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
282 changes are made, and there is a slightly higher chance that things could
283 break. Don't forget to always back up your database before upgrading!
284
285 See the file UPGRADE for more detailed upgrade instructions.
286
287
288 === Caveats ===
289
290 Some output, particularly involving user-supplied inline HTML, may not
291 produce 100% valid or well-formed XHTML output. Testers are welcome to
292 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
293 cases, but this is not recommended on live sites. (This must be set for
294 MathML to display properly in Mozilla.)
295
296 For notes on 1.17.x and older releases, see HISTORY.
297
298
299 === Online documentation ===
300
301 Documentation for both end-users and site administrators is currently being
302 built up on MediaWiki.org, and is covered under the GNU Free Documentation
303 License (except for pages that explicitly state that their contents are in
304 the public domain) :
305
306 http://www.mediawiki.org/wiki/Documentation
307
308
309 === Mailing list ===
310
311 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
312 wikitech-l list:
313
314 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
315
316 A low-traffic announcements-only list is also available:
317
318 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
319
320 It's highly recommended that you sign up for one of these lists if you're
321 going to run a public MediaWiki, so you can be notified of security fixes.
322
323
324 === IRC help ===
325
326 There's usually someone online in #mediawiki on irc.freenode.net