Apply jdanni's patch from from 2+ years ago for Bug 15218 - LinkSearch results should...
[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:CreativeCommonsRdf 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
238 to explicit usergroups. If a group is removed from a user via Special:UserRights,
239 it will not automatically be re-added. Configuration is similar to
240 $wgAutopromote (see DefaultSettings.php).
241 * The PerformRetroactiveAutoblock hook was added to allow overriding or complementing
242 retroactive autoblock handling. This runs when blocking a user with the 'autoblock' option.
243 * MediaWiki now supports using protocol-relative URLs in links, interwiki
244 targets and $wgServer.
245 * Introduced $wgVaryOnXFPForAPI which will cause the API to send
246 Vary: X-Forwarded-Proto headers.
247 * New maintenance script to refresh image metadata (maintenance/refreshImageMetadata.php).
248 * (bug 16428) Include permalink in printable version.
249 * (bug 30722) Add an identity collation that sorts things based on what the
250 unicode code point is (aka pre-1.17 behaviour).
251 * (bug 30940) Add a hook in User:getDefaultOptions.
252 To give extensions a better and more flexible way of providing default
253 values for preferences a hook has been introdiced in User:getDefaultOptions().
254 Setting preferences in $wgDefaultUserOptions still work fine, but when reading
255 them (i.e. with array_keys) to get a list of all preferences, then
256 $wgDefaultUserOptions should no longer be used as it will contain those set via
257 User:getDefaultOptions().
258 * (bug 30497) Add client-nojs and client-js classes on document element
259 to let styles easily hide or show things based on general JS availability.
260 * (bug 31293) If Special:Userlogin is loaded over HTTPS, display
261 MediaWiki:loginend-https instead of MediaWiki:loginend, if it's not empty.
262 Same for signupend on the account creation page.
263 * (bug 31233) New OutputPage::addJsConfigVars() method to make the output page specific
264 mw.config map extendable.
265
266 === Bug fixes in 1.18 ===
267 * (bug 27860) Minor edit after clicking 'new section' tab.
268 * mw.util.getScript has been implemented (like wfScript in GlobalFunctions.php).
269 * (bug 23119) WikiError class and subclasses are now marked as deprecated.
270 * (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
271 treated as wikitext on preview.
272 * (bug 22753) Output from update.php is more clear when things changed, entries
273 indicating nothing changed are now all prefixed by "...".
274 * Page existence is now not revealed (in the colour of the tabs) to users who
275 cannot read the page in question.
276 * (bug 19006) {{REVISIONUSER}} no longer acts like {{CURRENTUSER}} in some
277 cases.
278 * (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions.
279 * (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown
280 as "Permitted file types" on the upload form.
281 * (bug 26379) importImages.php gives more descriptive error message on failure.
282 * (bug 26410) + signs are no longer treated as spaces in internal links if
283 link has a % sign in it.
284 * (bug 26412) Search results headers no longer show a bogus edit link.
285 * (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater.
286 * (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
287 pages to be queried via the API and Special:ProtectedPages, and allowing
288 disabling upload protection by removing it from $wgRestrictionTypes.
289 * If an edit summary exceeds 250 bytes and is truncated, add an ellipse.
290 * (bug 26638) Database error pages display correctly in RTL languages.
291 * (bug 26187) Confirmrecreate no longer parses the edit summary.
292 * (bug 26208) Mark directionality of some interlanguage links.
293 * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
294 selected when the action is "purge".
295 * (bug 14267) Support a MediaWiki:Mainpage-nstab override for the subject
296 namespace tab on the mainpage of a wiki.
297 * (bug 10158) Do not mention allowing others to contact you when the feature
298 is disabled ($wgEnableUserEmail=false).
299 * (bug 26733) Wrap initial table creation in transaction.
300 * (bug 26729) Category pages should return 404 if they do not exist and have no
301 members.
302 * (bug 2585) Image pages should send 404 if no image, no shared image and no
303 description page.
304 * Custom editintro's using the editintro url parameter will no longer show
305 <noinclude> sections on pages they are included on.
306 * (bug 26449) Keep underlines from headings outside of tables and thumbs by
307 adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
308 * (bug 26708) Remove background-color:white from tables in Monobook and Vector.
309 * (bug 28422) Remove color:black from tables in Monobook and Vector. And add it
310 to table.wikitable instead.
311 * (bug 26781) {{PAGENAME}} and related parser functions escape their output
312 better.
313 * (bug 26716) Provide link to instructions for external editor related
314 preferences and add a comment to the ini control file explaining what is
315 going on.
316 * Trying to upload a file with no extension or with a disallowed MIME type now
317 gives the right message instead of complaining about a MIME/extension
318 mismatch.
319 * (bug 26809) Uploading files with multiple extensions where one of the
320 extensions is blacklisted now gives the proper extension in the error message.
321 * (bug 26961) Hide anon edits in watchlist preference now actually works.
322 * (bug 19751) Filesystem is now checked during image undeletion.
323 * Send last modified headers for Special:Recentchanges when RC patrol is
324 enabled, but user cannot see rc patrol links.
325 * (bug 26548) ForeignAPIRepo (InstantCommons) now works with PDF files
326 and other multi-paged file formats.
327 * Files with a mime type that does not match the extension are now properly
328 thumbnailed.
329 * (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs.
330 * (bug 15905) Nostalgia skin could become more usable by including a Talk:
331 link at the top of the page.
332 * (bug 27560) Search queries no longer fail in Walloon language.
333 * (bug 27679) Broken embedded files with special characters are no longer
334 double HTML escaped.
335 * (bug 27700) The upload protection can now also be set for files that do not
336 exist.
337 * (bug 27763) Article::getParserOutput() no longer throws a fatal given when an
338 incorrect revision ID is passed.
339 * Trim the form field for uploading by url to remove extra spaces which could
340 cause confusing error messages.
341 * (bug 27854) Http::isValidURI is way too lax.
342 * Do not show enotifminoredits preference, if disabled by $wgEnotifMinorEdits.
343 * AbortLogin returning "ABORTED" now handled. Also allows message identifier
344 for "ABORTED" reason to be returned and displayed to user.
345 * (bug 28034) uploading file to local wiki when file exists on shared repository
346 (commons) gives spurious info in the warning message.
347 * Usernames get lost when selecting different sorts on Special:listfiles.
348 * (bug 14005) editing section 0 of an existing but empty page gives no such
349 section error.
350 * (bug 26939) Installer does not set $wgMetaNamespace.
351 * (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per
352 page restrictions.
353 * Make truncate function automatically consider length of '...' string,
354 since length can vary by localization.
355 * (bug 28242) Make redirects generated by urls containing a local interwiki
356 prefix be a 301 instead of a 302.
357 * (bug 15641) blocked administrators are now prevented from deleting or
358 protecting their own talk page; and all blocked users are more
359 comprehensively prevented from performing other actions.
360 * (bug 27893) Edit-on-doubleclick now applies only on view and purge actions;
361 no longer triggers unexpectedly on delete, history etc.
362 * (bug 28417) Fix PHP notice when importing revision without a listed id.
363 * (bug 28430) Make html and TeX output of <math> always be left-to-right.
364 * (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo.
365 * (bug 28372) Fix bogus link to suppressed file versions in ForeignDBRepo.
366 * (bug 27473) Fix regression: bold, italic no longer interfere with linktrail
367 for ca, kaa.
368 * (bug 28444) Fix regression: edit-on-doubleclick retains revision id again.
369 * &apos; character entity is now allowed in wikitext.
370 * UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if
371 intl installed.
372 * (bug 28561) The css class small will no longer make nested elements even
373 smaller.
374 * (bug 13172) Array type exif data (like GPS) was not being extracted from
375 images.
376 * (bug 28532) wfMsgExt() and wfMsgWikiHtml() use $wgOut->parse().
377 * (bug 16129) Transcluded special pages expose strip markers when they output
378 parsed messages.
379 * (bug 27249) "Installed software" table in Special:Version should always be
380 left-to-right.
381 * (bug 28719) Do not call mLinkHolders __destruct explicitly.
382 * (bug 21196) Article::getContributors() no longer fails on PostgreSQL.
383 * (bug 28752) XCache doesn't work in CLI mode.
384 * (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles.
385 * (bug 22227) Special:Listfiles no longer throws an error on bogus file entries.
386 * (bug 19408) user_properties.up_property: 32 bytes is not enough.
387 * (bug 25262) Fix for minification of hardcoded data: URIs in CSS.
388 * (bug 29263) Add LTR class to the shared CSS to be used for left-to-right text
389 such as SQL queries shown in dberrortext and similar messages in RTL
390 environments.
391 * (bug 14977) Fixed $wgServer detection in cases where an IPv6 address is used
392 as the server name.
393 * The View X deleted revisions is now shown again on Special:Upload.
394 * (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API.
395 * (bug 28868) Show total pages in the subtitle of an image on the
396 file description page for multi-paged documents.
397 * (bug 28883) Message names for different compression types commonly
398 used in Tiff files.
399 * When translcuding a special page, do not let it interpret url parameters.
400 * (bug 28887) Special page classes are no longer re-used during 1 request.
401 * (bug 28888) Searching for something starting with a # sign no longer tells
402 the user a page named [[:]] already exists.
403 * (bug 23002) Imagelinks table not updated after imagemove.
404 * (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all
405 pages.
406 * (bug 18803) JPEG2000 images should not be uploadable as .jpg files.
407 * (bug 11868) If using links to count articles, the checking will now be based
408 on the real presence of an internal link instead of the "[[" string.
409 * (bug 28287) The "your changes" box for edit conflicts is now read-only.
410 * (bug 28940) When making a thumb of an SVG, and only specifying the height
411 make the width be the max SVG size, not the natrual width of the SVG.
412 * (bug 1780) Uploading files with non-ascii characters are now forbidden on
413 Windows.
414 * (bug 23464) File: prefixes are now chopped off during uploading.
415 * (bug 28174) Message config-logo-help amended to not explicitly assume any
416 LTR/RTL screen layout.
417 * (bug 28992) Revision numbers in the patrol log are transformed in the user
418 language.
419 * (bug 27073) ResourceLoaderDynamicStyles marker should be dynamically appended to
420 the document head if it doesn't exist.
421 * (bug 27023) After the document is ready, mw.loader is broken (calls callback
422 before module is parsed).
423 * (bug 4330) External URLs without a custom title should be treated as LTR,
424 even in RTL text.
425 * (bug 29055) Make "don't send email on minor edits" preference apply to
426 changes to talk page in addition to watchlist edits.
427 * (bug 28272) Special:AllMessages should have only one "Go" button.
428 * (bug 29101) Special:FileDuplicateSearch no longer shows silly message.
429 * (bug 29048) jQuery.tabIndex: firstTabIndex() should not output the same
430 as lastTabIndex().
431 * (bug 29332) Warn if user requests mediawiki-announce subscription but does not
432 enter an e-mail address.
433 * (bug 25375) Add canonical namespaces to "wgNamespaceIds" in mw.config.
434 * The class JpegOrTiffHandler was renamed ExifBitmapHandler.
435 * (bug 29443) Special:Undelete should use JavaScript to invert all checkboxes
436 instead of reloading the page.
437 * (bug 29325) Setting $wgStrictFileExtensions to false no longer gives incorrect warning.
438 * (bug 29437) Multiple apostrophes in deleted article title cause odd rendering.
439 * (bug 29485) RSS feed of Special:RecentChange grouped together multiple
440 consecutive edits by same user in included diff, but then linked to
441 a single ungrouped diff.
442 * Do not try to group together a page creation and edit in the RSS feed of RC.
443 * (bug 29342) Patrol preferences shouldn't be visible to users who don't have
444 patrol permissions.
445 * (bug 29471) Exception no longer thrown for files with invalid date in metadata.
446 * (bug 29492) Long-running steps in the installer (such as Upgrade and Install)
447 no longer cause timeouts.
448 * (bug 29507) Change 'image link' to 'file link' in Special:Whatlinkshere.
449 * If the db is really screwed up, and doesn't have a recentchanges table,
450 make the updater throw an exception instead of a fatal.
451 * wfArrayToCGI() and wfCgiToArray() now handle nested and associative arrays
452 correctly.
453 * (bug 29567) mw.util.addPortletLink should only wrap link in <span> for
454 "vectorTabs" portlets.
455 * (bug 8556) Incorrect session failure warning on preview-on-open
456 namespaces (categories) when combined with $wgRawHtml.
457 * Use content language in formatting of dates in revertpage message
458 (rollback revert edit summary) and do not adjust for user timezone.
459 * (bug 29277) MediaWiki:Filepage.css is also shown on the local wiki
460 * Make sure Backlink cache does not retrieve interwiki redirects when looking for
461 redirects to a local page.
462 * (bug 6100) Allow different directionality (LTR/RTL) for user interface
463 and wiki content, along with many other RTL and directionality improvements
464 (such as bugs 28030, 12406, 28349).
465 * (bug 29712) Removed broken defaultUserOptionOverrides in MessagesXx files and
466 unneeded CSS flipping of quickbar. Instead, introduce option 5 which sets
467 left/right according to the directionality of your interface language.
468 * (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit).
469 * (bug 27410) The tag filter on a history page is now within a <label> element.
470 * (bug 29779) DairikiDiff/WikiDiff <ins> and <del> should undo browser default
471 styling (strike/underline).
472 * (bug 28630) Add iwlinks, langlinks, redirect to
473 RefreshLinks::deleteLinksFromNonexistent.
474 * (bug 29797) Error: "Tried to load block with invalid type" when subpages
475 are disabled for user pages.
476 * (bug 12205) Bidirectional names in action=credits are split and displayed.
477 incorrectly when wrapped to the next line.
478 * (bug 20781) Move 'mainpagetext' messages to installer's .i18n file.
479 * (bug 29737) "MediaWiki:Qbsettings-directionality" should refer to script,
480 not language.
481 * (bug 26360) $wgSessionHandler was overriding system settings unconditionally.
482 * Removed AjaxFunctions.php. The last remaining function js_unescape() was moved
483 to the FCKEditor extension.
484 * (bug 28762) Resizing to specified height broken for very thin images.
485 * (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user
486 tries to subsribe to mediawiki-announce.
487 * (bug 27427) mw.util.getParamValue shouldn't return value from hash even if
488 param is only present in hash.
489 * Installer checked for magic_quotes_runtime instead of register_globals.
490 * (bug 30131) XCache with variable caching disabled no longer used for variable
491 caching (CACHE_ACCEL)
492 * $wgSVGMaxSize is now applied to the smaller of width or height, making very wide
493 pano/timeline/diagram SVGs renderable at saner sizes.
494 * (bug 30219) The page shown when LocalSettings.php does not exist was broken on
495 Windows servers.
496 * (bug 30074) Moving user JS subpages resulted in JS errors because
497 #REDIRECT [[Foo]] is invalid JS.
498 * (bug 30335) Fix for HTMLForms using GET breaking when non-friendly URLs
499 are used.
500 * (bug 30264) Changed installer-generated LocalSettings.php to use require_once()
501 instead require() for included extensions.
502 * Tracking categories are no longer shown in footer for special pages.
503 * (bug 30684) Fix bad escaping in mw.message for inexistent messages (i.e. <key>).
504 * $wgOverrideSiteFeed no longer double escapes urls.
505 * The preprocessor no longer fails with a PHP warning about XML_PARSE_HUGE when
506 processing complex pages using newer versions of libxml2.
507 * (bug 30907) Special:Unusedcategories should sort ascendingly.
508 * (bug 28545) When using the uca-default collation, sortkey's starting with a
509 space (U+20) will sort under an invisible header like in 1.16 rather than a U+6DE.
510 * (bug 30192) Thumbnails of archived files are now deleted.
511 * (bug 30843) mediawiki.Title should not convert extensions (anything after the
512 last full stop) to lower case).
513 * (bug 31213) Exception thrown when trying to move file cross-namespace.
514 * (bug 18424) Special:Prefixindex and Special:Allpages paging links are
515 really small, and somewhat inconsistent with each other.
516 * (bug 30466) Entries in iwlinks table are now cleared when moving a page over
517 redirect.
518 * (bug 31674) Can't edit watchlist if it contains special pages.
519 * (bug 32100) Installer complains about Suhosin GET limit even if it is
520 already set above 1024 bytes.
521 * (bug 32086) Special:PermanentLink now show an error message when no subpage
522 was specified.
523
524 === API changes in 1.18 ===
525 * BREAKING CHANGE: action=watch now requires POST and token.
526 * (bug 26339) Throw warning when truncating an overlarge API result.
527 * (bug 14869) Add API module for accessing QueryPage-based special pages.
528 * (bug 14020) API for Special:Unwatchedpages.
529 * (bug 24287) Wrap API Help output at 100 characters.
530 * Add a realname uiprop option to query=userinfo so a user's realname can be
531 extracted.
532 * Add a &watchuser option to ApiBlock.
533 * (bug 26541) Generator-ise ApiQueryRecentChanges.
534 * action=parse now correctly returns an error for nonexistent pages.
535 * (bug 25767) Add userrights properties to allusers and users query lists.
536 * (bug 26558) list=allusers auprop=groups does not list groups a user is
537 automatically a member of.
538 * (bug 26559) list=allusers auprop=rights does not match
539 list=users usprop=rights.
540 * (bug 26560) On allusers if limit < total number of users, last user gets
541 duplicate.
542 * (bug 25135) add "normalized" to action=parse.
543 * (bug 26460) Add support for listing category members by category pageid.
544 * (bug 26482) add a imimages param to prop=images.
545 * (bug 26498) allow LinksUpdate with API.
546 * (bug 26485) add a elextlinks param to prop=extlinks.
547 * (bug 26483) add a iwtitles param to prop=iwlinks.
548 * (bug 26484) add a lltitles param to prop=langlinks.
549 * (bug 26480) add a pppageprops param to prop=pageprops.
550 * (bug 26650) Remove $wgAPICacheHelp in favour of $wgAPICacheHelpTimeout.
551 * (bug 24650) Fix API to work with categorylinks changes.
552 * Expose list of skins in meta=siteinfo.
553 * (bug 26548) Add iiurlparam param to query=imageinfo and query=stashimageinfo.
554 * (bug 27205) aiprop=metadata and aiprop=parsedcomment need help text.
555 * Add a amtitle param to meta=allmessages.
556 * (bug 25832) query=allimages now outputs ns/title as well.
557 * (bug 27199) Thumbnail urls can be fetched for old files as well.
558 * (bug 27376) when using ApiBase::PARAM_TYPE => 'integer' without a min or
559 max value, API doesn't validate the input is actually an integer.
560 * (bug 27479) API error when using both prop=pageprops and
561 prop=info&inprop=displaytitle.
562 * (bug 27554) Update API information text to reflect change in bug 26125.
563 * (bug 27611) list=blocks: Use ipb_by_text instead of join with user table.
564 * (bug 27616) Add userid of blocked user and blocker to list=blocks.
565 * (bug 27688) Simplify queries to list user block information.
566 * (bug 27708) list=users does not have a property to return user id.
567 * (bug 27715) imageinfo didn't respect revdelete.
568 * (bug 27862) Useremail module didn't properly return success on success.
569 * (bug 27590) prop=imageinfo now allows querying the media type.
570 * (bug 27587) list=filearchive now outputs full title info.
571 * (bug 27018) Added action=filerevert to revert files to an old version.
572 * (bug 27897) list=allusers and list=users list hidden users.
573 * (bug 27717) API's exturlusage module does not respect $wgMiserMode.
574 * (bug 27588) list=filearchive&faprop=sha1 returns empty attribute.
575 * (bug 28010) Passing a non existant user to list=users gives internal error.
576 * (bug 27549) action=query&list=users&usprop=groups doesn't show implicit
577 groups if a user doesn't have explicit groups.
578 * (bug 27670) Ordering by timestamp (and usage of start and end) isn't as clear
579 in auto generated document, as it is on mediawiki.org.
580 * (bug 27182) API: Add filter by prefix for meta=allmessages.
581 * (bug 27183) API: Add filter by customisation state for meta=allmessages.
582 * (bug 27340) API: Allow listing of "small" categories.
583 * (bug 27342) Add audir param to list=allusers.
584 * (bug 27203) add fato param to list=filearchive.
585 * (bug 27341) Add drto param to list=deletedrevs.
586 * (bug 26630) Add API for Special:ActiveUsers.
587 * (bug 27020) API: Allow title prefix search of logevents (only when not in
588 miser mode).
589 * (bug 26629) add Special:MIMESearch to API.
590 * (bug 27585) add pagecount to list=filearchive.
591 * (bug 28104) Namespace for local pages in interwiki backlinks (iwbacklinks)
592 is missing.
593 * (bug 27343) Add parseddescription to list=filearchive.
594 * (bug 27469) label implicit groups in list=allusers&auprop=groups/
595 list=users&usprop=groups.
596 * Addition of APIQuerySiteInfoGeneralInfo hook to add extra information to
597 the general site info results.
598 * (bug 16288) API: consider making closure status of wikis more clear
599 with meta=siteinfo.
600 * (bug 27589) list=allimages&aiprop=archivename is useless.
601 * (bug 27586) Remove duplication of props in ApiQueryStashImageInfo
602 by using ApiQueryImageInfo.
603 * (bug 28226) prop=extlinks&eloffset should be an integer.
604 * (bug 28070) Fix watchlist RSS for databases that store timestamps in a
605 real timestamp field.
606 * API upload errors may now return the parameter that needs to be changed and
607 a sessionkey to fix the error.
608 * (bug 28249) allow dupes in meta=allmessages&amargs.
609 * (bug 28263) cannot import xml with the API, when have not "import" user
610 right, but "importupload".
611 * (bug 28365) Added description for uiprop=preferencestoken in meta=userinfo.
612 * (bug 28394) Set forgotten parameters types in ApiUnblock.
613 * (bug 28395) Set forgotten parameters types in ApiParse.
614 * (bug 28368) add hint for multipart/form-data to API information of
615 action=import&xml=.
616 * (bug 28391) action=feedwatchlist&allrev should be a bool.
617 * (bug 28364) add registration date to meta=userinfo.
618 * (bug 28254) action=paraminfo: Extract type from PARAM_DFLT if
619 PARAM_TYPE is not set.
620 * (bug 27712) add parent_id to list=deletedrevs.
621 * (bug 28455) Add 'toponly' to recentchanges API module.
622 * (bug 26873) API: Add 'toponly' filter in usercontribs module.
623 * (bug 28586) YAML: strings that are the same as boolean literals.
624 * (bug 28591) Update/replace/supplement spyc (YAML parsing library).
625 * YAML API output is now 1.2 compliant, using JSON as the formatter.
626 * (bug 28672) give information about misermode on API.
627 * (bug 28558) Add iw_api and iw_wikiid to meta=siteinfo&siprop=interwikimap
628 * (bug 26882) Allow listing of indefinite protections with the API.
629 * (bug 27344) add drprefix param to list=deletedrevs.
630 * (bug 28560) list=deletedrevs should die, if combination of param is invalid.
631 * (bug 28238) paraminfo: output both limits for multi param.
632 * (bug 27179) API: List of extension tags through meta=siteinfo.
633 * Get a list of function hooks through meta=siteinfo.
634 * Get a list of all subscribed hooks, and those subscribers.
635 * (bug 28225) Allow hiding of user groups in list=allusers.
636 * (bug 27185) API: Add Special:ComparePages.
637 * (bug 28265) allow outputting of comments for action=expandtemplates.
638 * (bug 27790) Add query type for querymodules to output of ApiParamInfo.
639 * (bug 28963) Add langbacklinks query module to the api.
640 * (bug 27593) API should return error message when sha1/sha1base36 is invalid.
641 * (bug 28578) API's parse module should not silently override invalid
642 title inputs.
643 * (bug 20699) Watchlist API should list log-events.
644 * (bug 29070) Require a token in API action=watch.
645 * (bug 29221) Expose oldrevid in ApiQueryWatchlist output.
646 * (bug 29267) Always give the servername for meta=siteinfo&siprop=dbrepllag.
647 * (bug 28897) rvparse now respects rvsection for action=query&prop=revisions.
648 * (bug 25734) API: Possible issue with revids validation.
649 * (bug 28002) Internal error in ApiFormatRaw::getMimeType.
650 * (bug 29237) ApiQuery now has an option to output the "iwurl" attribute.
651 * (bug 28392) Mark action=undelete&timestamps as type "timestamp".
652 * (bug 21346) Make deleted images searchable by hash (disabled in Miser Mode).
653 * (bug 27595) sha1 search of list=filearchive does not work.
654 * (bug 26763) Make RSS/Atom of user contributions more visible.
655 * (bug 25133) Allow redirects also for action=parse&pageid.
656 * (bug 29745) Fatal error in API search.
657 * (bug 29476) API returns page title instead of sectiontitle for
658 srprop=sectiontitle.
659 * Correct the documentation of srprop properties.
660 * (bug 28817) Add reference help page link to API Modules.
661 * (bug 29935) Improve formatting of examples in ApiParamInfo.
662 * (bug 29938) list=users&usprop=rights shows rights the user doesn't have.
663 * (bug 24781) The API will include an XML namespace if the includexmlnamespace
664 parameter is set.
665 * (bug 29392) Setting the start or end parameter now works with lists blocks,
666 categorymembers, deletedrevs, logevents, protectedtitles, usercontributions
667 and watchlist in Postgres.
668
669 === Languages updated in 1.18 ===
670
671 MediaWiki supports over 330 languages. Many localisations are updated
672 regularly. Below only new and removed languages are listed, as well as
673 changes to languages because of Bugzilla reports.
674
675 * Angika (anp) (new).
676 * Brahui (brh) (new).
677 * Central Dusun (dtp) (new).
678 * Jamaican Creole English (jam) (new).
679 * Khowar (khw) (new).
680 * Liv (liv) (new).
681 * Kichwa (qug) (new).
682 * Tokipona (tp) (removed) 'tokipona' is still valid.
683 * (bug 17160) Gender specific display text for User namespace.
684 * Link trail added for sl and sh.
685 * (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br).
686 * (bug 27426) Set $namespaceGenderAliases for Arabic (ar).
687 * (bug 27385) Set Polish $namespaceGenderAliases.
688 * (bug 27681) Set $namespaceGenderAliases for Portuguese (pt and pt-br).
689 * (bug 27785) Fallback language for Kabardian (kbd) is English now.
690 * (bug 27825) Raw watchlist edit message now uses formatted numbers.
691 * (bug 28040) Turkish: properly lower case 'I' to 'ı' (dotless i) and
692 uppercase 'i' to 'İ' (dotted i).
693 * Conversion script between Syllabics and Latin for the Inuktitut language.
694 * Date formats for Indonesian (id) updated.
695 * Bhojpuri (bho) (renamed from "bh").
696 * (bug 29031) When translating block log entries, indefinite, infinite, and
697 infinity are now considered the same.
698 * Aromanian (rup) (renamed from "rua-rup").
699 * Kashmiri (ks) split into Kashmiri (Perso-Arabic) (ks-arab) and Kashmiri
700 (Devanagari) (ks-deva). Defaults to ks-arab.
701 * (bug 30864) Use bengali numerals for <ol> for Assamese.
702 * (bug 30817) Restored linktrail for kk (Kazakh).
703 * (bug 27398) Add $wgExtraGenderNamespaces for configured gendered namespaces.
704 * (bug 30846) New LanguageOs class.
705
706 === Other changes in 1.18 ===
707 * Removed legacy wgAjaxWatch javascript global object, no longer in use.
708 * (bug 28556) Upload support for MacBinary files has been removed (Used by
709 Internet Explorer 5 for Mac OS 9).
710 * On wiki farm setups using $wgConf, 'wgCanonicalServer' is now expected to be
711 set for all wikis. This was already the case for 'wgServer'.
712
713 == Compatibility ==
714
715 MediaWiki 1.18 requires PHP 5.2.3. PHP 4 is no longer supported.
716
717 MySQL is the recommended DBMS. PostgreSQL, Oracle or SQLite can also be used, but
718 support for them is somewhat less mature. There is experimental support for IBM
719 DB2 and Microsoft SQL Server.
720
721 The supported versions are:
722
723 * MySQL 4.0 or later
724 * PostgreSQL 8.3 or later
725 * SQLite 3
726 * Oracle 9.0.1 or later
727
728 == Upgrading ==
729
730 1.18 has several database changes since 1.17, and will not work without schema
731 updates.
732
733 If upgrading from before 1.11, and you are using a wiki as a commons
734 repository, make sure that it is updated as well. Otherwise, errors may arise
735 due to database schema changes.
736
737 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
738 new database fields are filled with data.
739
740 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
741 changes are made, and there is a slightly higher chance that things could
742 break. Don't forget to always back up your database before upgrading!
743
744 See the file UPGRADE for more detailed upgrade instructions.
745
746 For notes on 1.17.x and older releases, see HISTORY.
747
748 == Online documentation ==
749
750 Documentation for both end-users and site administrators is available on
751 MediaWiki.org, and is covered under the GNU Free Documentation License (except
752 for pages that explicitly state that their contents are in the public domain):
753
754 http://www.mediawiki.org/wiki/Documentation
755
756 == Mailing list ==
757
758 A mailing list is available for MediaWiki user support and discussion:
759
760 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
761
762 A low-traffic announcements-only list is also available:
763
764 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
765
766 It's highly recommended that you sign up for one of these lists if you're
767 going to run a public MediaWiki, so you can be notified of security fixes.
768
769 == IRC help ==
770
771 There's usually someone online in #mediawiki on irc.freenode.net.