Fill up, and synchronise RELEASE-NOTES-1.18
[lhc/web/wiklou.git] / RELEASE-NOTES-1.18
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 This is a release candidate of the MediaWiki 1.18 branch. Please test it and let us
11 know what you think of it. Beta releases are not recommended for use in
12 production.
13
14 === Changes since 1.18 beta 1 ===
15 * (bug 31886) Wrong titles redirecting to Special:Badtitle in the 1.18 deployment.
16 * (bug 32051) Fix description for wlprop=sizes.
17 * (bug 31913) Special:MostLinkedTemplates had an incorrect GROUP BY clause
18 under Microsoft SQL.
19 * (bug 32100) installer complains about suhosin GET limit.
20 * (bug 31933) fix 1.18 regression in Monobook sidebar: huge spacing between portlets
21 on IE 7 and IE 8/9 in compatibility view.
22 * (bug 32126) Fix 1.18 regression in watchlist editor when items already removed
23 from watchlist.
24 * (bug 32183) remove the client-* classes added from user-agent-sniffing onto
25 the <html> element.
26 * (bug 29912) Unit tests break if parsertest tables are still present.
27 * (bug 31694) During installation, tabbing order (cursor focus) goes to logo
28 instead of 'continue'.
29 * (bug 29102) Upgrade fails "Unknown character set: 'mysql4".
30 * (bug 31990) justify paragraphs pref adds extra space to category listing.
31 * (bug 20148) Better title for [[Special:Disambiguations]] page.
32 * (bug 31502) TOC is missing on Special:EditWatchlist.
33 * (bug 32256) API list=search stops at first invalid result.
34 * (bug 32047) jquery.tablesorter.js: thead is before caption.
35 * (bug 29854) Store protocol-relative links twice in the externallinks table,
36 one with http: in el_index and once with https.
37 * (bug 31822) Error during upgrade due to output buffer reset in stdout.
38
39 === Configuration changes in 1.18 ===
40 * The WantedPages::getSQL hook has been removed and replaced with
41 WantedPages::getQueryInfo. This may break older extensions.
42 * The SkinTemplateBuildContentActionUrlsAfterSpecialPage,
43 SkinTemplateContentActions and SkinTemplateTabs hooks have been removed in
44 favor of SkinTemplateNavigation and SkinTemplateNavigation::SpecialPage
45 * $wgUseCombinedLoginLink controls whether to output a combined
46 login / create account link in the personal bar, or to output separate login
47 and create account links.
48 * Skin names are no longer created based on a ucfirst version of the key in
49 $wgValidSkinNames but now the value. This means for
50 $wgValidSkinNames["monobook"] = "MonoBook"; the skin loader will no longer try
51 loading SkinMonobook and will instead load SkinMonoBook.
52 * $wgMaxUploadSize may now be set to an array to specify the upload size limit
53 per upload type.
54 * $wgAPICacheHelp added in 1.16 is now removed. To disable API help caching, set
55 $wgAPICacheHelpTimeout = 0;
56 * OutputPage::isUserJsAllowed() no longer returns false when scripts are allowed
57 by the page, but $wgAllowUserJs is set to false.
58 * Pure "Skin" class based custom skins are no longer supported, all custom skins
59 should be put together using SkinTemplate and BaseTemplate or QuickTemplate.
60 * The transliteration for passwords in case they were migrated from an old
61 Latin-1 install (previous to MediaWiki 1.5) is now only done for wikis with
62 $wgLegacyEncoding set.
63 * (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an SVG we
64 look at when finding metadata to prevent excessive resource usage.
65 * $wgSysopUserBans and $wgSysopRangeBans (deprecated in 1.17) are now removed.
66 Use $wgBlockCIDRLimit = array( 'IPv4' => 43, 'IPv6' => 128 ) to achieve the
67 same functionality as $wgSysopRangeBans; you can use the BlockIp hook to
68 replicate $wgSysopUserBans functionality.
69 * The options on the block form have been standardised such that checking a box
70 makes the block 'more serious'; so while "check to prevent account creation"
71 and "check to enable autoblock" remain the same, "check to allow user-talk
72 edit" is reversed to "check to *disable* user-talk edit", and "check to block
73 anon-only" becomes "check to block logged-in users too". The default settings
74 remain the same.
75 * Most of the field names on the Special:Block form have been changed, which
76 will probably break screen-scraping bots.
77 * (bug 26866) The 'trackback' right is no longer granted to sysops by default.
78 $wgUseTrackbacks is already false by default.
79 * (bug 17009) the hiddenStructure CSS class, a highly hackish way of at least
80 *appearing* to hide article elements, has been removed. Use the
81 ParserFunctions extension to actually remove unwanted elements from the
82 output.
83 * (bug 14202) $wgUseTeX has been superseded by the Math extension. To re-enable
84 math conversion after upgrading, obtain the Math extension from SVN or from
85 http://www.mediawiki.org/wiki/Extension:Math and add to LocalSettings.php:
86 require_once "$IP/extensions/Math/Math.php";
87 * $wgProfiler is now a configuration array, see StartProfiler.sample for
88 details.
89 * $wgProfiling has been removed.
90 * The spyc library is now no longer included in phase3.
91 * (bug 28343) Unused preferences contextlines/contextchars have been removed
92 * $wgSkinExtensionFunctions has been removed. Use $wgExtensionFunctions instead.
93 * $wgProto has been removed. You now only need to set $wgServer to change the
94 URL protocol.
95 * $wgRateLimitsExcludedGroups (deprecated in 1.13) has been removed
96 * $wgInputEncoding and $wgOutputEncoding (deprecated in 1.5) have now been removed
97 * $wgAllowUserSkin (deprecated in 1.16) has now been removed
98 * $wgExtraRandompageSQL (deprecated in 1.16) has now been removed
99 * LogReader and LogViewer classes (deprecated in 1.14) have now been removed
100 * (bug 26033) Added $wgArticleCountMethod to select the method to use to say
101 whether a page is an article or not. $wgUseCommaCount is now deprecated.
102 * $wgEnableDublinCoreRdf and $wgEnableCreativeCommonsRdf no longer work in core,
103 and the functionality has been moved to the relevant extensions. See
104 http://www.mediawiki.org/wiki/Extension:DublinCoreRdf and
105 http://www.mediawiki.org/wiki/Extension:CreativeCoreRdf as appropriate
106 * (bug 21107) Split error "customcssjsprotected" into separate messages for JS and CSS
107 * Removed $wgCheckCopyrightUpload from DefaultSettings, since the relevant feature
108 was removed in about 1.5.
109 * LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText
110 hooks have been removed.
111 * New hook "Collation::factory" to allow extensions to create custom
112 category collations.
113 * $wgGroupPermissions now supports per namespace permissions.
114 * $wgEnableAutoRotation enables or disables auto-rotation. Leaving it set to
115 null will cause MediaWiki to determine if auto-rotation is available.
116
117 === New features in 1.18 ===
118 * BREAKING CHANGE: action=watch / action=unwatch now requires a token.
119 * BREAKING CHANGE: Article class heirarchy split into WikiPage (backend)
120 and Article (frontend) hierarchies. Several hooks now pass a WikiPage object instead
121 of an Article object. These hooks all use an $article paramater as documented in hooks.txt.
122 Extensions should be updated to account for this, though most won't require any changes.
123 * (bug 27860) Minor edit after clicking 'new section' tab
124 Now the "This is a minor edit" checkbox is not available when you
125 create a page or new section.
126 * (bug 8130) Query pages should limit to content namespaces, not just main
127 namespace.
128 * Search suggestions (other than in the Vector skin) will now use the HTML5
129 datalist feature where supported, currently only Firefox 4.
130 * Special:Contribs now redirects to Special:Contributions.
131 * (bug 6672) Images are now autorotated according to their EXIF orientation.
132 This only affects thumbnails; the source remains unrotated.
133 * (bug 25708) Update case mappings and normalization to Unicode 6.0.0
134 * New hook ArticlePrepareTextForEdit added, called when preparing text to be
135 saved.
136 * New parser option PreSaveTransform added, allows the pre-save transformation
137 to be selectively disabled.
138 * Alternative to $wgHooks implemented, using the new Hooks class.
139 * Add width parameter to Special:Filepath to allow getting the file path of a
140 thumbnail.
141 * (bug 26870) Add size to {{filepath:}}.
142 * Upload warnings now show a thumbnail of the uploaded file.
143 * Introduced the edittools-upload message, which will be inserted under the
144 upload form instead of edittools if available.
145 * (bug 26285) Extensions will be automatically generated on upload if the user
146 specified a filename without extension.
147 * (bug 26851) Special:UserRights now allows to prefill the reason field
148 * New maintenance script to fix double redirects
149 (maintenance/fixDoubleRedirects.php).
150 * (bug 23315) New body classes to allow easier styling of special pages.
151 * (bug 27159) Make email confirmation code expiration time configurable.
152 * (bug 29047) CSS/JS for each user group is imported from MediaWiki:Group-sysop.js,
153 MediaWiki:Group-autoconfirmed.css, etc.
154 * (bug 24230) Uploads of ZIP types, such as MS Office or OpenOffice can now be
155 safely enabled. A ZIP file reader was added which can scan a ZIP file for
156 potentially dangerous Java applets. This allows applets to be blocked
157 specifically, rather than all ZIP files being blocked.
158 * (bug 2429) Allow selection of associated namespace in recent changes.
159 * (bug 26217) File size is now checked before uploading in HTML5 browsers.
160 * CSS stylesheet MediaWiki:Noscript.css is now loaded for users with JavaScript
161 disabled (enclosed in the head in a <noscript> tag).
162 * Added UserGetLanguageObject hook to change the language used in $wgLang.
163 * (bug 14645) When $wgMiserMode is on, expensive special pages are styled
164 differently (italicized by default) on Special:SpecialPages.
165 * Added $wgAggregateStatsID, which allows UDP stats to be aggregated over
166 several wikis.
167 * When $wgAllowMicrodataAttributes is true, all itemtypes are allowed, not just
168 the three that were defined in the original specification.
169 * (bug 14706) Added support for the Imagick PHP extension.
170 * (bug 18691) Added support for SVG rasterization using the Imagick PHP
171 extension.
172 * (bug 2581, bug 6834) Added links to thumbnail in several resolutions to the
173 file description page. The sizes are set by $wgImageLimits.
174 * (bug 28031) Add pageCount support to ArchivedFile.
175 * (bug 27924) PhpHttpRequest doesn't return response body if HTTP != 200.
176 * Added hook BitmapHandlerTransform to allow extension to transform a file
177 without overriding the entire handler.
178 * The parser now attempts to output markers for editsection tokens and defer the
179 rendering of them post-cache to reduce parser cache fragmentation and ensure
180 skin customizability of edit section links.
181 * (bug 24755) AuthPlugin auto-creation of local accounts can now be aborted by
182 other extensions by handling the 'AbortAutoAccount' hook, similar to the
183 'AbortNewAccount' triggered by explicit account creations. (They are separate
184 to avoid loops and confusion; auth plugins like CentralAuth need to handle
185 AbortNewAccount separately.
186 * Special:ListFiles is now transcludable.
187 * (bug 13879) Special:Emailuser asks for suitable target user if called without.
188 * (bug 16956) IPTC and XMP metadata now extracted from images.
189 * (bug 23816) A tracking category is now added for any pages with broken images.
190 * (bug 23495) Allow createAndPromote.php to create non-sysop users
191 * (bug 28916) A way to to toggle mw.config legacy globals settings from
192 LocalSettings.php has been created by introducing $wgLegacyJavaScriptGlobals.
193 * (bug 28503) Support for ircs:// URL protocols
194 * (bug 26033) It is now possible to count all non-redirect pages in content
195 namespaces as articles
196 * Images can now be embedded in an XML dump stream using backupDump.php
197 --include-files and can be imported using importDump.php --uploads;
198 furthermore, it can import files from the filesystem using --image-base-path
199 * Three new hooks in Special:Undelete, 'UndeleteForm::showHistory',
200 'UndeleteForm::showRevision' and 'UndeleteForm::undelete', so that extensions
201 may override the usage of PageArchive class and replace it with their own
202 class that extends PageArchive.
203 * (bug 28915) Implement QUnit test suite for MediaWiki JavaScript.
204 Also built-in support for distribution through a TestSwarm instance.
205 * (bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is
206 added to the textarea on the edit form.
207 * mw.util.wikiScript has been implemented (like wfScript in GlobalFunctions.php)
208 * (bug 29067) Expose user.tokens (like we do user.options) in ResourceLoader.
209 * New 'Debug' hook used by wfDebug() and wfDebugLog()
210 * (bug 27655) Require token for watching/unwatching pages)
211 * (bug 28904) (bug 29773) Update jQuery version from 1.4.4 to 1.6.2 (the latest version)
212 * (bug 29441) Expose CapitalLinks config in JS to allow modules to properly
213 handle titles on case-sensitive wikis.
214 * (bug 29397) Implement mw.Title module in core.
215 * In MySQL 4.1.9+ with replication enabled, fetch the slave lag from SHOW SLAVE
216 STATUS instead of SHOW PROCESSLIST. This ensures that lag is reported
217 correctly in the case where there are no write events occurring. Note that
218 the DB user now needs to have the REPLICATION CLIENT privilege if you are
219 using replication.
220 * Language codes in $wgDummyLanguageCodes are now excluded on localization
221 statistics (maintenance/language/transstat.php)
222 * (bug 29586) Make the (next 200) links on categories link directly to
223 the relevant section of the category.
224 * (bug 29109) Allow the automatic edit summary for redirect creation
225 show the first bit of the new redirect page.
226 * (bug 29723) mw.util.wikiGetlink() now defaults to wgPageName.
227 * (bug 29680) Add GetDefaultSortkey hook to override the default sortkey.
228 * (bug 16699) {{#language:}} accepts second parameter to specify the language in
229 which the language name is wanted. Coverage depends on the cldr extension.
230 * (bug 15802) An easy way to look up messages: language qqx which returns
231 the message keys.
232 * (bug 29868) Add support for passing parameters to mw.msg in jquery.localize.
233 * (bug 29558) $wgMiserMode now disables update.php by default
234 * AjaxCategories: Easily add, edit or delete categories on article pages.
235 Suggests possible categories when typing, all saves are done via AJAX.
236 Supports editing of multiple categories and then saving them in one batch.
237 * $wgAutopromoteOnce was added, allowing for users to be automatically promoted to explicit usergroups.
238 If a group is removed from a user via Special:UserRights, it will not automatically be re-added.
239 Configuration is similar to $wgAutopromote (see DefaultSettings.php)
240 * The PerformRetroactiveAutoblock hook was added to allow overriding or complementing
241 retroactive autoblock handling. This runs when blocking a user with the 'autoblock' option.
242 * MediaWiki now supports using protocol-relative URLs in links, interwiki
243 targets and $wgServer.
244 * Introduced $wgVaryOnXFPForAPI which will cause the API to send
245 Vary: X-Forwarded-Proto headers.
246 * New maintenance script to refresh image metadata (maintenance/refreshImageMetadata.php)
247 * (bug 16428) Include permalink in printable version
248 * (bug 30722) Add an identity collation that sorts things based on what the
249 unicode code point is (aka pre-1.17 behaviour)
250 * (bug 30940) Add a hook in User:getDefaultOptions.
251 To give extensions a better and more flexible way of providing default
252 values for preferences a hook has been introdiced in User:getDefaultOptions().
253 Setting preferences in $wgDefaultUserOptions still work fine, but when reading
254 them (i.e. with array_keys) to get a list of all preferences, then
255 $wgDefaultUserOptions should no longer be used as it will contain those set via
256 User:getDefaultOptions().
257 * (bug 30497) Add client-nojs and client-js classes on document element
258 to let styles easily hide or show things based on general JS availability
259 * (bug 31293) If Special:Userlogin is loaded over HTTPS, display
260 MediaWiki:loginend-https instead of MediaWiki:loginend, if it's not empty.
261 Same for signupend on the account creation page.
262 * (bug 31233) New OutputPage::addJsConfigVars() method to make the output page specific
263 mw.config map extendable.
264
265 === Bug fixes in 1.18 ===
266 * (bug 27860) Minor edit after clicking 'new section' tab
267 * mw.util.getScript has been implemented (like wfScript in GlobalFunctions.php)
268 * (bug 23119) WikiError class and subclasses are now marked as deprecated.
269 * (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
270 treated as wikitext on preview.
271 * (bug 22753) Output from update.php is more clear when things changed, entries
272 indicating nothing changed are now all prefixed by "...".
273 * Page existence is now not revealed (in the colour of the tabs) to users who
274 cannot read the page in question.
275 * (bug 19006) {{REVISIONUSER}} no longer acts like {{CURRENTUSER}} in some
276 cases.
277 * (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions.
278 * (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown
279 as "Permitted file types" on the upload form.
280 * (bug 26379) importImages.php gives more descriptive error message on failure.
281 * (bug 26410) + signs are no longer treated as spaces in internal links if
282 link has a % sign in it.
283 * (bug 26412) Search results headers no longer show a bogus edit link.
284 * (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater.
285 * (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
286 pages to be queried via the API and Special:ProtectedPages, and allowing
287 disabling upload protection by removing it from $wgRestrictionTypes.
288 * If an edit summary exceeds 250 bytes and is truncated, add an ellipse.
289 * (bug 26638) Database error pages display correctly in RTL languages.
290 * (bug 26187) Confirmrecreate no longer parses the edit summary.
291 * (bug 26208) Mark directionality of some interlanguage links.
292 * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
293 selected when the action is "purge".
294 * (bug 14267) Support a MediaWiki:Mainpage-nstab override for the subject
295 namespace tab on the mainpage of a wiki.
296 * (bug 10158) Do not mention allowing others to contact you when the feature
297 is disabled ($wgEnableUserEmail=false).
298 * (bug 26733) Wrap initial table creation in transaction.
299 * (bug 26729) Category pages should return 404 if they do not exist and have no
300 members.
301 * (bug 2585) Image pages should send 404 if no image, no shared image and no
302 description page.
303 * Custom editintro's using the editintro url parameter will no longer show
304 <noinclude> sections on pages they are included on.
305 * (bug 26449) Keep underlines from headings outside of tables and thumbs by
306 adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
307 * (bug 26708) Remove background-color:white from tables in Monobook and Vector.
308 * (bug 28422) Remove color:black from tables in Monobook and Vector. And add it
309 to table.wikitable instead.
310 * (bug 26781) {{PAGENAME}} and related parser functions escape their output
311 better.
312 * (bug 26716) Provide link to instructions for external editor related
313 preferences and add a comment to the ini control file explaining what is
314 going on.
315 * Trying to upload a file with no extension or with a disallowed MIME type now
316 gives the right message instead of complaining about a MIME/extension
317 mismatch.
318 * (bug 26809) Uploading files with multiple extensions where one of the
319 extensions is blacklisted now gives the proper extension in the error message.
320 * (bug 26961) Hide anon edits in watchlist preference now actually works.
321 * (bug 19751) Filesystem is now checked during image undeletion.
322 * Send last modified headers for Special:Recentchanges when RC patrol is
323 enabled, but user cannot see rc patrol links.
324 * (bug 26548) ForeignAPIRepo (InstantCommons) now works with PDF files
325 and other multi-paged file formats.
326 * Files with a mime type that does not match the extension are now properly
327 thumbnailed.
328 * (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs.
329 * (bug 15905) Nostalgia skin could become more usable by including a Talk:
330 link at the top of the page.
331 * (bug 27560) Search queries no longer fail in Walloon language.
332 * (bug 27679) Broken embedded files with special characters are no longer
333 double HTML escaped.
334 * (bug 27700) The upload protection can now also be set for files that do not
335 exist.
336 * (bug 27763) Article::getParserOutput() no longer throws a fatal given when an
337 incorrect revision ID is passed.
338 * Trim the form field for uploading by url to remove extra spaces which could
339 cause confusing error messages.
340 * (bug 27854) Http::isValidURI is way too lax.
341 * Do not show enotifminoredits preference, if disabled by $wgEnotifMinorEdits.
342 * AbortLogin returning "ABORTED" now handled. Also allows message identifier
343 for "ABORTED" reason to be returned and displayed to user.
344 * (bug 28034) uploading file to local wiki when file exists on shared repository
345 (commons) gives spurious info in the warning message.
346 * Usernames get lost when selecting different sorts on Special:listfiles.
347 * (bug 14005) editing section 0 of an existing but empty page gives no such
348 section error.
349 * (bug 26939) Installer does not set $wgMetaNamespace.
350 * (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per
351 page restrictions.
352 * Make truncate function automatically consider length of '...' string,
353 since length can vary by localization.
354 * (bug 28242) Make redirects generated by urls containing a local interwiki
355 prefix be a 301 instead of a 302.
356 * (bug 15641) blocked administrators are now prevented from deleting or
357 protecting their own talk page; and all blocked users are more
358 comprehensively prevented from performing other actions.
359 * (bug 27893) Edit-on-doubleclick now applies only on view and purge actions;
360 no longer triggers unexpectedly on delete, history etc.
361 * (bug 28417) Fix PHP notice when importing revision without a listed id.
362 * (bug 28430) Make html and TeX output of <math> always be left-to-right.
363 * (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo.
364 * (bug 28372) Fix bogus link to suppressed file versions in ForeignDBRepo.
365 * (bug 27473) Fix regression: bold, italic no longer interfere with linktrail
366 for ca, kaa.
367 * (bug 28444) Fix regression: edit-on-doubleclick retains revision id again.
368 * &apos; character entity is now allowed in wikitext.
369 * UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if
370 intl installed.
371 * (bug 28561) The css class small will no longer make nested elements even
372 smaller.
373 * (bug 13172) Array type exif data (like GPS) was not being extracted from
374 images.
375 * (bug 28532) wfMsgExt() and wfMsgWikiHtml() use $wgOut->parse()
376 * (bug 16129) Transcluded special pages expose strip markers when they output
377 parsed messages.
378 * (bug 27249) "Installed software" table in Special:Version should always be
379 left-to-right.
380 * (bug 28719) Do not call mLinkHolders __destruct explicitly
381 * (bug 21196) Article::getContributors() no longer fails on PostgreSQL.
382 * (bug 28752) XCache doesn't work in CLI mode.
383 * (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles
384 * (bug 22227) Special:Listfiles no longer throws an error on bogus file entries
385 * (bug 19408) user_properties.up_property: 32 bytes is not enough.
386 * (bug 25262) Fix for minification of hardcoded data: URIs in CSS
387 * (bug 29263) Add LTR class to the shared CSS to be used for left-to-right text
388 such as SQL queries shown in dberrortext and similar messages in RTL
389 environments
390 * (bug 14977) Fixed $wgServer detection in cases where an IPv6 address is used
391 as the server name.
392 * The View X deleted revisions is now shown again on Special:Upload.
393 * (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API.
394 * (bug 28868) Show total pages in the subtitle of an image on the
395 file description page for multi-paged documents.
396 * (bug 28883) Message names for different compression types commonly
397 used in Tiff files.
398 * When translcuding a special page, do not let it interpret url parameters.
399 * (bug 28887) Special page classes are no longer re-used during 1 request.
400 * (bug 28888) Searching for something starting with a # sign no longer tells
401 the user a page named [[:]] already exists.
402 * (bug 23002) Imagelinks table not updated after imagemove.
403 * (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all
404 pages.
405 * (bug 18803) JPEG2000 images should not be uploadable as .jpg files.
406 * (bug 11868) If using links to count articles, the checking will now be based
407 on the real presence of an internal link instead of the "[[" string
408 * (bug 28287) The "your changes" box for edit conflicts is now read-only.
409 * (bug 28940) When making a thumb of an SVG, and only specifying the height
410 make the width be the max SVG size, not the natrual width of the SVG.
411 * (bug 1780) Uploading files with non-ascii characters are now forbidden on
412 Windows.
413 * (bug 23464) File: prefixes are now chopped off during uploading.
414 * (bug 28174) Message config-logo-help amended to not explicitly assume any
415 LTR/RTL screen layout.
416 * (bug 28992) Revision numbers in the patrol log are transformed in the user
417 language.
418 * (bug 27073) ResourceLoaderDynamicStyles marker should be dynamically appended to
419 the document head if it doesn't exist.
420 * (bug 27023) After the document is ready, mw.loader is broken (calls callback
421 before module is parsed).
422 * (bug 4330) External URLs without a custom title should be treated as LTR,
423 even in RTL text.
424 * (bug 29055) Make "don't send email on minor edits" preference apply to
425 changes to talk page in addition to watchlist edits.
426 * (bug 28272) Special:AllMessages should have only one "Go" button.
427 * (bug 29101) Special:FileDuplicateSearch no longer shows silly message.
428 * (bug 29048) jQuery.tabIndex: firstTabIndex() should not output the same
429 as lastTabIndex().
430 * (bug 29332) Warn if user requests mediawiki-announce subscription but does not
431 enter an e-mail address.
432 * (bug 25375) Add canonical namespaces to "wgNamespaceIds" in mw.config.
433 * The class JpegOrTiffHandler was renamed ExifBitmapHandler.
434 * (bug 29443) Special:Undelete should use JavaScript to invert all checkboxes
435 instead of reloading the page.
436 * (bug 29325) Setting $wgStrictFileExtensions to false no longer gives incorrect warning
437 * (bug 29437) Multiple apostrophes in deleted article title cause odd rendering
438 * (bug 29485) RSS feed of Special:RecentChange grouped together multiple
439 consecutive edits by same user in included diff, but then linked to
440 a single ungrouped diff.
441 * Do not try to group together a page creation and edit in the RSS feed of RC.
442 * (bug 29342) Patrol preferences shouldn't be visible to users who don't have
443 patrol permissions
444 * (bug 29471) Exception no longer thrown for files with invalid date in metadata
445 * (bug 29492) Long-running steps in the installer (such as Upgrade and Install)
446 no longer cause timeouts
447 * (bug 29507) Change 'image link' to 'file link' in Special:Whatlinkshere
448 * If the db is really screwed up, and doesn't have a recentchanges table,
449 make the updater throw an exception instead of a fatal.
450 * wfArrayToCGI() and wfCgiToArray() now handle nested and associative arrays
451 correctly.
452 * (bug 29567) mw.util.addPortletLink should only wrap link in <span> for
453 "vectorTabs" portlets.
454 * (bug 8556) Incorrect session failure warning on preview-on-open
455 namespaces (categories) when combined with $wgRawHtml.
456 * Use content language in formatting of dates in revertpage message
457 (rollback revert edit summary) and do not adjust for user timezone.
458 * (bug 29277) MediaWiki:Filepage.css is also shown on the local wiki
459 * Make sure Backlink cache does not retrieve interwiki redirects when looking for
460 redirects to a local page.
461 * (bug 6100) Allow different directionality (LTR/RTL) for user interface
462 and wiki content, along with many other RTL and directionality improvements
463 (such as bugs 28030, 12406, 28349)
464 * (bug 29712) Removed broken defaultUserOptionOverrides in MessagesXx files and
465 unneeded CSS flipping of quickbar. Instead, introduce option 5 which sets
466 left/right according to the directionality of your interface language.
467 * (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit)
468 * (bug 27410) The tag filter on a history page is now within a <label> element
469 * (bug 29779) DairikiDiff/WikiDiff <ins> and <del> should undo browser default
470 styling (strike/underline).
471 * (bug 28630) Add iwlinks, langlinks, redirect to
472 RefreshLinks::deleteLinksFromNonexistent
473 * (bug 29797) Error: "Tried to load block with invalid type" when subpages
474 are disabled for user pages.
475 * (bug 12205) Bidirectional names in action=credits are split and displayed
476 incorrectly when wrapped to the next line.
477 * (bug 20781) Move 'mainpagetext' messages to installer's .i18n file.
478 * (bug 29737) "MediaWiki:Qbsettings-directionality" should refer to script,
479 not language.
480 * (bug 26360) $wgSessionHandler was overriding system settings unconditionally.
481 * Removed AjaxFunctions.php. The last remaining function js_unescape() was moved
482 to the FCKEditor extension.
483 * (bug 28762) Resizing to specified height broken for very thin images
484 * (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user
485 tries to subsribe to mediawiki-announce.
486 * (bug 27427) mw.util.getParamValue shouldn't return value from hash even if
487 param is only present in hash.
488 * Installer checked for magic_quotes_runtime instead of register_globals.
489 * (bug 30131) XCache with variable caching disabled no longer used for variable caching (CACHE_ACCEL)
490 * $wgSVGMaxSize is now applied to the smaller of width or height, making very wide pano/timeline/diagram SVGs renderable at saner sizes
491 * (bug 30219) The page shown when LocalSettings.php does not exist was broken on
492 Windows servers.
493 * (bug 30074) Moving user JS subpages resulted in JS errors because
494 #REDIRECT [[Foo]] is invalid JS
495 * (bug 30335) Fix for HTMLForms using GET breaking when non-friendly URLs
496 are used
497 * (bug 30264) Changed installer-generated LocalSettings.php to use require_once()
498 instead require() for included extensions.
499 * Tracking categories are no longer shown in footer for special pages
500 * (bug 30684) Fix bad escaping in mw.message for inexistent messages (i.e. <key>)
501 * $wgOverrideSiteFeed no longer double escapes urls.
502 * The preprocessor no longer fails with a PHP warning about XML_PARSE_HUGE when
503 processing complex pages using newer versions of libxml2.
504 * (bug 30907) Special:Unusedcategories should sort ascendingly.
505 * (bug 28545) When using the uca-default collation, sortkey's starting with a
506 space (U+20) will sort under an invisible header like in 1.16 rather than a U+6DE
507 * (bug 30192) Thumbnails of archived files are now deleted
508 * (bug 30843) mediawiki.Title should not convert extensions (anything after the
509 last full stop) to lower case)
510 * (bug 31213) Exception thrown when trying to move file cross-namespace
511 * (bug 18424) Special:Prefixindex and Special:Allpages paging links are
512 really small, and somewhat inconsistent with each other.
513 * (bug 30466) Entries in iwlinks table are now cleared when moving a page over
514 redirect
515 * (bug 31674) Can't edit watchlist if it contains special pages
516 * (bug 32100) Installer complains about Suhosin GET limit even if it is
517 already set above 1024 bytes
518 * (bug 32086) Special:PermanentLink now show an error message when no subpage
519 was specified.
520
521 === API changes in 1.18 ===
522 * BREAKING CHANGE: action=watch now requires POST and token.
523 * (bug 26339) Throw warning when truncating an overlarge API result.
524 * (bug 14869) Add API module for accessing QueryPage-based special pages.
525 * (bug 14020) API for Special:Unwatchedpages.
526 * (bug 24287) Wrap API Help output at 100 characters.
527 * Add a realname uiprop option to query=userinfo so a user's realname can be
528 extracted.
529 * Add a &watchuser option to ApiBlock.
530 * (bug 26541) Generator-ise ApiQueryRecentChanges.
531 * action=parse now correctly returns an error for nonexistent pages.
532 * (bug 25767) Add userrights properties to allusers and users query lists.
533 * (bug 26558) list=allusers auprop=groups does not list groups a user is
534 automatically a member of.
535 * (bug 26559) list=allusers auprop=rights does not match
536 list=users usprop=rights.
537 * (bug 26560) On allusers if limit < total number of users, last user gets
538 duplicate.
539 * (bug 25135) add "normalized" to action=parse.
540 * (bug 26460) Add support for listing category members by category pageid.
541 * (bug 26482) add a imimages param to prop=images.
542 * (bug 26498) allow LinksUpdate with API.
543 * (bug 26485) add a elextlinks param to prop=extlinks.
544 * (bug 26483) add a iwtitles param to prop=iwlinks.
545 * (bug 26484) add a lltitles param to prop=langlinks.
546 * (bug 26480) add a pppageprops param to prop=pageprops.
547 * (bug 26650) Remove $wgAPICacheHelp in favour of $wgAPICacheHelpTimeout.
548 * (bug 24650) Fix API to work with categorylinks changes.
549 * Expose list of skins in meta=siteinfo.
550 * (bug 26548) Add iiurlparam param to query=imageinfo and query=stashimageinfo.
551 * (bug 27205) aiprop=metadata and aiprop=parsedcomment need help text.
552 * Add a amtitle param to meta=allmessages.
553 * (bug 25832) query=allimages now outputs ns/title as well.
554 * (bug 27199) Thumbnail urls can be fetched for old files as well.
555 * (bug 27376) when using ApiBase::PARAM_TYPE => 'integer' without a min or
556 max value, API doesn't validate the input is actually an integer.
557 * (bug 27479) API error when using both prop=pageprops and
558 prop=info&inprop=displaytitle.
559 * (bug 27554) Update API information text to reflect change in bug 26125.
560 * (bug 27611) list=blocks: Use ipb_by_text instead of join with user table.
561 * (bug 27616) Add userid of blocked user and blocker to list=blocks.
562 * (bug 27688) Simplify queries to list user block information.
563 * (bug 27708) list=users does not have a property to return user id.
564 * (bug 27715) imageinfo didn't respect revdelete.
565 * (bug 27862) Useremail module didn't properly return success on success.
566 * (bug 27590) prop=imageinfo now allows querying the media type.
567 * (bug 27587) list=filearchive now outputs full title info.
568 * (bug 27018) Added action=filerevert to revert files to an old version.
569 * (bug 27897) list=allusers and list=users list hidden users.
570 * (bug 27717) API's exturlusage module does not respect $wgMiserMode.
571 * (bug 27588) list=filearchive&faprop=sha1 returns empty attribute.
572 * (bug 28010) Passing a non existant user to list=users gives internal error.
573 * (bug 27549) action=query&list=users&usprop=groups doesn't show implicit
574 groups if a user doesn't have explicit groups.
575 * (bug 27670) Ordering by timestamp (and usage of start and end) isn't as clear
576 in auto generated document, as it is on mediawiki.org.
577 * (bug 27182) API: Add filter by prefix for meta=allmessages.
578 * (bug 27183) API: Add filter by customisation state for meta=allmessages.
579 * (bug 27340) API: Allow listing of "small" categories.
580 * (bug 27342) Add audir param to list=allusers.
581 * (bug 27203) add fato param to list=filearchive.
582 * (bug 27341) Add drto param to list=deletedrevs.
583 * (bug 26630) Add API for Special:ActiveUsers.
584 * (bug 27020) API: Allow title prefix search of logevents (only when not in
585 miser mode).
586 * (bug 26629) add Special:MIMESearch to API.
587 * (bug 27585) add pagecount to list=filearchive.
588 * (bug 28104) Namespace for local pages in interwiki backlinks (iwbacklinks)
589 is missing.
590 * (bug 27343) Add parseddescription to list=filearchive.
591 * (bug 27469) label implicit groups in list=allusers&auprop=groups/
592 list=users&usprop=groups.
593 * Addition of APIQuerySiteInfoGeneralInfo hook to add extra information to
594 the general site info results.
595 * (bug 16288) API: consider making closure status of wikis more clear
596 with meta=siteinfo.
597 * (bug 27589) list=allimages&aiprop=archivename is useless.
598 * (bug 27586) Remove duplication of props in ApiQueryStashImageInfo
599 by using ApiQueryImageInfo.
600 * (bug 28226) prop=extlinks&eloffset should be an integer.
601 * (bug 28070) Fix watchlist RSS for databases that store timestamps in a
602 real timestamp field.
603 * API upload errors may now return the parameter that needs to be changed and
604 a sessionkey to fix the error.
605 * (bug 28249) allow dupes in meta=allmessages&amargs.
606 * (bug 28263) cannot import xml with the API, when have not "import" user
607 right, but "importupload".
608 * (bug 28365) Added description for uiprop=preferencestoken in meta=userinfo.
609 * (bug 28394) Set forgotten parameters types in ApiUnblock.
610 * (bug 28395) Set forgotten parameters types in ApiParse.
611 * (bug 28368) add hint for multipart/form-data to API information of
612 action=import&xml=.
613 * (bug 28391) action=feedwatchlist&allrev should be a bool.
614 * (bug 28364) add registration date to meta=userinfo.
615 * (bug 28254) action=paraminfo: Extract type from PARAM_DFLT if
616 PARAM_TYPE is not set.
617 * (bug 27712) add parent_id to list=deletedrevs.
618 * (bug 28455) Add 'toponly' to recentchanges API module.
619 * (bug 26873) API: Add 'toponly' filter in usercontribs module.
620 * (bug 28586) YAML: strings that are the same as boolean literals.
621 * (bug 28591) Update/replace/supplement spyc (YAML parsing library).
622 * YAML API output is now 1.2 compliant, using JSON as the formatter.
623 * (bug 28672) give information about misermode on API.
624 * (bug 28558) Add iw_api and iw_wikiid to meta=siteinfo&siprop=interwikimap
625 * (bug 26882) Allow listing of indefinite protections with the API.
626 * (bug 27344) add drprefix param to list=deletedrevs.
627 * (bug 28560) list=deletedrevs should die, if combination of param is invalid.
628 * (bug 28238) paraminfo: output both limits for multi param
629 * (bug 27179) API: List of extension tags through meta=siteinfo
630 * Get a list of function hooks through meta=siteinfo
631 * Get a list of all subscribed hooks, and those subscribers
632 * (bug 28225) Allow hiding of user groups in list=allusers
633 * (bug 27185) API: Add Special:ComparePages
634 * (bug 28265) allow outputting of comments for action=expandtemplates
635 * (bug 27790) Add query type for querymodules to output of ApiParamInfo
636 * (bug 28963) Add langbacklinks query module to the api
637 * (bug 27593) API should return error message when sha1/sha1base36 is invalid
638 * (bug 28578) API's parse module should not silently override invalid
639 title inputs
640 * (bug 20699) Watchlist API should list log-events
641 * (bug 29070) Require a token in API action=watch
642 * (bug 29221) Expose oldrevid in ApiQueryWatchlist output
643 * (bug 29267) Always give the servername for meta=siteinfo&siprop=dbrepllag
644 * (bug 28897) rvparse now respects rvsection for action=query&prop=revisions
645 * (bug 25734) API: Possible issue with revids validation
646 * (bug 28002) Internal error in ApiFormatRaw::getMimeType
647 * (bug 29237) ApiQuery now has an option to output the "iwurl" attribute.
648 * (bug 28392) Mark action=undelete&timestamps as type "timestamp"
649 * (bug 21346) Make deleted images searchable by hash (disabled in Miser Mode)
650 * (bug 27595) sha1 search of list=filearchive does not work
651 * (bug 26763) Make RSS/Atom of user contributions more visible
652 * (bug 25133) Allow redirects also for action=parse&pageid
653 * (bug 29745) Fatal error in API search
654 * (bug 29476) API returns page title instead of sectiontitle for
655 srprop=sectiontitle
656 * Correct the documentation of srprop properties
657 * (bug 28817) Add reference help page link to API Modules
658 * (bug 29935) Improve formatting of examples in ApiParamInfo
659 * (bug 29938) list=users&usprop=rights shows rights the user doesn't have
660 * (bug 24781) The API will include an XML namespace if the includexmlnamespace
661 parameter is set.
662 * (bug 29392) Setting the start or end parameter now works with lists blocks,
663 categorymembers, deletedrevs, logevents, protectedtitles, usercontributions
664 and watchlist in Postgres
665
666 === Languages updated in 1.18 ===
667
668 MediaWiki supports over 330 languages. Many localisations are updated
669 regularly. Below only new and removed languages are listed, as well as
670 changes to languages because of Bugzilla reports.
671
672 * Angika (anp) (new).
673 * Brahui (brh) (new).
674 * Central Dusun (dtp) (new).
675 * Jamaican Creole English (jam) (new).
676 * Khowar (khw) (new).
677 * Liv (liv) (new).
678 * Kichwa (qug) (new).
679 * Tokipona (tp) (removed) 'tokipona' is still valid.
680 * (bug 17160) Gender specific display text for User namespace.
681 * Link trail added for sl and sh.
682 * (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br).
683 * (bug 27426) Set $namespaceGenderAliases for Arabic (ar).
684 * (bug 27385) Set Polish $namespaceGenderAliases.
685 * (bug 27681) Set $namespaceGenderAliases for Portuguese (pt and pt-br).
686 * (bug 27785) Fallback language for Kabardian (kbd) is English now.
687 * (bug 27825) Raw watchlist edit message now uses formatted numbers.
688 * (bug 28040) Turkish: properly lower case 'I' to 'ı' (dotless i) and
689 uppercase 'i' to 'İ' (dotted i).
690 * Conversion script between Syllabics and Latin for the Inuktitut language.
691 * Date formats for Indonesian (id) updated.
692 * Bhojpuri (bho) (renamed from "bh").
693 * (bug 29031) When translating block log entries, indefinite, infinite, and
694 infinity are now considered the same.
695 * Aromanian (rup) (renamed from "rua-rup").
696 * Kashmiri (ks) split into Kashmiri (Perso-Arabic) (ks-arab) and Kashmiri
697 (Devanagari) (ks-deva). Defaults to ks-arab.
698 * (bug 30864) Use bengali numerals for <ol> for Assamese
699 * (bug 30817) Restored linktrail for kk (Kazakh)
700 * (bug 27398) Add $wgExtraGenderNamespaces for configured gendered namespaces
701 * (bug 30846) New LanguageOs class
702
703 === Other changes in 1.18 ===
704 * Removed legacy wgAjaxWatch javascript global object, no longer in use.
705 * (bug 28556) Upload support for MacBinary files has been removed (Used by
706 Internet Explorer 5 for Mac OS 9)
707 * On wiki farm setups using $wgConf, 'wgCanonicalServer' is now expected to be
708 set for all wikis. This was already the case for 'wgServer'.
709
710 == Compatibility ==
711
712 MediaWiki 1.18 requires PHP 5.2.3. PHP 4 is no longer supported.
713
714 MySQL is the recommended DBMS. PostgreSQL, Oracle or SQLite can also be used, but
715 support for them is somewhat less mature. There is experimental support for IBM
716 DB2 and Microsoft SQL Server.
717
718 The supported versions are:
719
720 * MySQL 4.0 or later
721 * PostgreSQL 8.3 or later
722 * SQLite 3
723 * Oracle 9.0.1 or later
724
725 == Upgrading ==
726
727 1.18 has several database changes since 1.17, and will not work without schema
728 updates.
729
730 If upgrading from before 1.11, and you are using a wiki as a commons
731 repository, make sure that it is updated as well. Otherwise, errors may arise
732 due to database schema changes.
733
734 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
735 new database fields are filled with data.
736
737 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
738 changes are made, and there is a slightly higher chance that things could
739 break. Don't forget to always back up your database before upgrading!
740
741 See the file UPGRADE for more detailed upgrade instructions.
742
743 For notes on 1.17.x and older releases, see HISTORY.
744
745 == Online documentation ==
746
747 Documentation for both end-users and site administrators is available on
748 MediaWiki.org, and is covered under the GNU Free Documentation License (except
749 for pages that explicitly state that their contents are in the public domain):
750
751 http://www.mediawiki.org/wiki/Documentation
752
753 == Mailing list ==
754
755 A mailing list is available for MediaWiki user support and discussion:
756
757 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
758
759 A low-traffic announcements-only list is also available:
760
761 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
762
763 It's highly recommended that you sign up for one of these lists if you're
764 going to run a public MediaWiki, so you can be notified of security fixes.
765
766 == IRC help ==
767
768 There's usually someone online in #mediawiki on irc.freenode.net.