= MediaWiki release notes = Security reminder: MediaWiki does not require PHP's register_globals setting since version 1.2.0. If you have it on, turn it '''off''' if you can. == MediaWiki 1.18 == THIS IS NOT A RELEASE YET This is a release candidate of the MediaWiki 1.18 branch. Please test it and let us know what you think of it. Beta releases are not recommended for use in production. === Changes since 1.18 beta 1 === * (bug 31886) Wrong titles redirecting to Special:Badtitle in the 1.18 deployment. * (bug 32051) Fix description for wlprop=sizes. * (bug 31913) Special:MostLinkedTemplates had an incorrect GROUP BY clause under Microsoft SQL. * (bug 32100) installer complains about suhosin GET limit. * (bug 31933) fix 1.18 regression in Monobook sidebar: huge spacing between portlets on IE 7 and IE 8/9 in compatibility view. * (bug 32126) Fix 1.18 regression in watchlist editor when items already removed from watchlist. * (bug 32183) remove the client-* classes added from user-agent-sniffing onto the element. * (bug 29912) Unit tests break if parsertest tables are still present. * (bug 31694) During installation, tabbing order (cursor focus) goes to logo instead of 'continue'. * (bug 29102) Upgrade fails "Unknown character set: 'mysql4". * (bug 31990) justify paragraphs pref adds extra space to category listing. * (bug 20148) Better title for [[Special:Disambiguations]] page. * (bug 31502) TOC is missing on Special:EditWatchlist. * (bug 32256) API list=search stops at first invalid result. * (bug 32047) jquery.tablesorter.js: thead is before caption. * (bug 29854) Store protocol-relative links twice in the externallinks table, one with http: in el_index and once with https. * (bug 31822) Error during upgrade due to output buffer reset in stdout. === Configuration changes in 1.18 === * The WantedPages::getSQL hook has been removed and replaced with WantedPages::getQueryInfo. This may break older extensions. * The SkinTemplateBuildContentActionUrlsAfterSpecialPage, SkinTemplateContentActions and SkinTemplateTabs hooks have been removed in favor of SkinTemplateNavigation and SkinTemplateNavigation::SpecialPage. * $wgUseCombinedLoginLink controls whether to output a combined login / create account link in the personal bar, or to output separate login and create account links. * Skin names are no longer created based on a ucfirst version of the key in $wgValidSkinNames but now the value. This means for $wgValidSkinNames["monobook"] = "MonoBook"; the skin loader will no longer try loading SkinMonobook and will instead load SkinMonoBook. * $wgMaxUploadSize may now be set to an array to specify the upload size limit per upload type. * $wgAPICacheHelp added in 1.16 is now removed. To disable API help caching, set $wgAPICacheHelpTimeout = 0; * OutputPage::isUserJsAllowed() no longer returns false when scripts are allowed by the page, but $wgAllowUserJs is set to false. * Pure "Skin" class based custom skins are no longer supported, all custom skins should be put together using SkinTemplate and BaseTemplate or QuickTemplate. * The transliteration for passwords in case they were migrated from an old Latin-1 install (previous to MediaWiki 1.5) is now only done for wikis with $wgLegacyEncoding set. * (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an SVG we look at when finding metadata to prevent excessive resource usage. * $wgSysopUserBans and $wgSysopRangeBans (deprecated in 1.17) are now removed. Use $wgBlockCIDRLimit = array( 'IPv4' => 43, 'IPv6' => 128 ) to achieve the same functionality as $wgSysopRangeBans; you can use the BlockIp hook to replicate $wgSysopUserBans functionality. * The options on the block form have been standardised such that checking a box makes the block 'more serious'; so while "check to prevent account creation" and "check to enable autoblock" remain the same, "check to allow user-talk edit" is reversed to "check to *disable* user-talk edit", and "check to block anon-only" becomes "check to block logged-in users too". The default settings remain the same. * Most of the field names on the Special:Block form have been changed, which will probably break screen-scraping bots. * (bug 26866) The 'trackback' right is no longer granted to sysops by default. $wgUseTrackbacks is already false by default. * (bug 17009) the hiddenStructure CSS class, a highly hackish way of at least *appearing* to hide article elements, has been removed. Use the ParserFunctions extension to actually remove unwanted elements from the output. * (bug 14202) $wgUseTeX has been superseded by the Math extension. To re-enable math conversion after upgrading, obtain the Math extension from SVN or from http://www.mediawiki.org/wiki/Extension:Math and add to LocalSettings.php: require_once "$IP/extensions/Math/Math.php"; * $wgProfiler is now a configuration array, see StartProfiler.sample for details. * $wgProfiling has been removed. * The spyc library is now no longer included in phase3. * (bug 28343) Unused preferences contextlines/contextchars have been removed * $wgSkinExtensionFunctions has been removed. Use $wgExtensionFunctions instead. * $wgProto has been removed. You now only need to set $wgServer to change the URL protocol. * $wgRateLimitsExcludedGroups (deprecated in 1.13) has been removed. * $wgInputEncoding and $wgOutputEncoding (deprecated in 1.5) have now been removed. * $wgAllowUserSkin (deprecated in 1.16) has now been removed. * $wgExtraRandompageSQL (deprecated in 1.16) has now been removed. * LogReader and LogViewer classes (deprecated in 1.14) have now been removed. * (bug 26033) Added $wgArticleCountMethod to select the method to use to say whether a page is an article or not. $wgUseCommaCount is now deprecated. * $wgEnableDublinCoreRdf and $wgEnableCreativeCommonsRdf no longer work in core, and the functionality has been moved to the relevant extensions. See http://www.mediawiki.org/wiki/Extension:DublinCoreRdf and http://www.mediawiki.org/wiki/Extension:CreativeCommonsRdf as appropriate. * (bug 21107) Split error "customcssjsprotected" into separate messages for JS and CSS * Removed $wgCheckCopyrightUpload from DefaultSettings, since the relevant feature was removed in about 1.5. * LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText hooks have been removed. * New hook "Collation::factory" to allow extensions to create custom category collations. * $wgGroupPermissions now supports per namespace permissions. * $wgEnableAutoRotation enables or disables auto-rotation. Leaving it set to null will cause MediaWiki to determine if auto-rotation is available. === New features in 1.18 === * BREAKING CHANGE: action=watch / action=unwatch now requires a token. * BREAKING CHANGE: Article class heirarchy split into WikiPage (backend). and Article (frontend) hierarchies. Several hooks now pass a WikiPage object instead of an Article object. These hooks all use an $article paramater as documented in hooks.txt. Extensions should be updated to account for this, though most won't require any changes. * (bug 27860) Minor edit after clicking 'new section' tab Now the "This is a minor edit" checkbox is not available when you create a page or new section. * (bug 8130) Query pages should limit to content namespaces, not just main namespace. * Search suggestions (other than in the Vector skin) will now use the HTML5 datalist feature where supported, currently only Firefox 4. * Special:Contribs now redirects to Special:Contributions. * (bug 6672) Images are now autorotated according to their EXIF orientation. This only affects thumbnails; the source remains unrotated. * (bug 25708) Update case mappings and normalization to Unicode 6.0.0. * New hook ArticlePrepareTextForEdit added, called when preparing text to be saved. * New parser option PreSaveTransform added, allows the pre-save transformation to be selectively disabled. * Alternative to $wgHooks implemented, using the new Hooks class. * Add width parameter to Special:Filepath to allow getting the file path of a thumbnail. * (bug 26870) Add size to {{filepath:}}. * Upload warnings now show a thumbnail of the uploaded file. * Introduced the edittools-upload message, which will be inserted under the upload form instead of edittools if available. * (bug 26285) Extensions will be automatically generated on upload if the user specified a filename without extension. * (bug 26851) Special:UserRights now allows to prefill the reason field * New maintenance script to fix double redirects (maintenance/fixDoubleRedirects.php). * (bug 23315) New body classes to allow easier styling of special pages. * (bug 27159) Make email confirmation code expiration time configurable. * (bug 29047) CSS/JS for each user group is imported from MediaWiki:Group-sysop.js, MediaWiki:Group-autoconfirmed.css, etc. * (bug 24230) Uploads of ZIP types, such as MS Office or OpenOffice can now be safely enabled. A ZIP file reader was added which can scan a ZIP file for potentially dangerous Java applets. This allows applets to be blocked specifically, rather than all ZIP files being blocked. * (bug 2429) Allow selection of associated namespace in recent changes. * (bug 26217) File size is now checked before uploading in HTML5 browsers. * CSS stylesheet MediaWiki:Noscript.css is now loaded for users with JavaScript disabled (enclosed in the head in a