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