= 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 MediaWiki 1.18 is an alpha-quality branch and is not recommended for use in production. === Configuration changes in 1.18 === * The WantedPages::getSQL hook has been removed and replaced with WantedPages::getQueryInfo. This may break older extensions. * $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. === New features in 1.18 === * (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. * CSS/JS for each user group is imported from MediaWiki:Sysop.js, MediaWiki: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