X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.18;h=53050c031f8a8ae98f0dd6463eec39f321ae344f;hb=d0d4bda8663c0ce5ef78e2516d1a80bf3c9714b5;hp=eec5741290686da682ab2ea97a0605b5c8ecd9ca;hpb=4480bd70f8cefff6a45a8162e0a5203c34860267;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.18 b/RELEASE-NOTES-1.18 index eec5741290..53050c031f 100644 --- a/RELEASE-NOTES-1.18 +++ b/RELEASE-NOTES-1.18 @@ -7,15 +7,42 @@ setting since version 1.2.0. If you have it on, turn it '''off''' if you can. THIS IS NOT A RELEASE YET -MediaWiki 1.18 is an alpha-quality branch and is not recommended for use in +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. +* (bug 32412) TOC links on [[Special:EditWatchlist]] points to the fieldsets + === 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 + 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. @@ -66,17 +93,17 @@ production. * $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 +* $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:CreativeCoreRdf as appropriate + 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. @@ -85,9 +112,18 @@ production. * 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 hierarchy 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 @@ -95,7 +131,7 @@ production. * 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 +* (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 @@ -152,15 +188,15 @@ production. * (bug 13879) Special:Emailuser asks for suitable target user if called without. * (bug 16956) IPTC and XMP metadata now extracted from images. * (bug 23816) A tracking category is now added for any pages with broken images. -* (bug 23495) Allow createAndPromote.php to create non-sysop users +* (bug 23495) Allow createAndPromote.php to create non-sysop users. * (bug 28916) A way to to toggle mw.config legacy globals settings from LocalSettings.php has been created by introducing $wgLegacyJavaScriptGlobals. -* (bug 28503) Support for ircs:// URL protocols +* (bug 28503) Support for ircs:// URL protocols. * (bug 26033) It is now possible to count all non-redirect pages in content - namespaces as articles + namespaces as articles. * Images can now be embedded in an XML dump stream using backupDump.php --include-files and can be imported using importDump.php --uploads; - furthermore, it can import files from the filesystem using --image-base-path + furthermore, it can import files from the filesystem using --image-base-path. * Three new hooks in Special:Undelete, 'UndeleteForm::showHistory', 'UndeleteForm::showRevision' and 'UndeleteForm::undelete', so that extensions may override the usage of PageArchive class and replace it with their own @@ -171,22 +207,23 @@ production. added to the textarea on the edit form. * mw.util.wikiScript has been implemented (like wfScript in GlobalFunctions.php) * (bug 29067) Expose user.tokens (like we do user.options) in ResourceLoader. -* New 'Debug' hook used by wfDebug() and wfDebugLog() +* New 'Debug' hook used by wfDebug() and wfDebugLog(). * (bug 27655) Require token for watching/unwatching pages) * (bug 28904) (bug 29773) Update jQuery version from 1.4.4 to 1.6.2 (the latest version) * (bug 29441) Expose CapitalLinks config in JS to allow modules to properly handle titles on case-sensitive wikis. * (bug 29397) Implement mw.Title module in core. -* In MySQL 4.1.9+ with replication enabled, the slave lag should come from - SHOW SLAVE STATUS instead of SHOW PROCESSLIST. +* In MySQL 4.1.9+ with replication enabled, fetch the slave lag from SHOW SLAVE + STATUS instead of SHOW PROCESSLIST. This ensures that lag is reported + correctly in the case where there are no write events occurring. Note that + the DB user now needs to have the REPLICATION CLIENT privilege if you are + using replication. * Language codes in $wgDummyLanguageCodes are now excluded on localization - statistics (maintenance/language/transstat.php) + statistics (maintenance/language/transstat.php). * (bug 29586) Make the (next 200) links on categories link directly to the relevant section of the category. * (bug 29109) Allow the automatic edit summary for redirect creation show the first bit of the new redirect page. -* (bug 5800) Added $formCallback as a parameter to the hook - EditPage::showEditForm:initial. * (bug 29723) mw.util.wikiGetlink() now defaults to wgPageName. * (bug 29680) Add GetDefaultSortkey hook to override the default sortkey. * (bug 16699) {{#language:}} accepts second parameter to specify the language in @@ -194,13 +231,42 @@ production. * (bug 15802) An easy way to look up messages: language qqx which returns the message keys. * (bug 29868) Add support for passing parameters to mw.msg in jquery.localize. -* (bug 29558) $wgMiserMode now disables update.php by default +* (bug 29558) $wgMiserMode now disables update.php by default. * AjaxCategories: Easily add, edit or delete categories on article pages. Suggests possible categories when typing, all saves are done via AJAX. Supports editing of multiple categories and then saving them in one batch. +* $wgAutopromoteOnce was added, allowing for users to be automatically promoted + to explicit usergroups. If a group is removed from a user via Special:UserRights, + it will not automatically be re-added. Configuration is similar to + $wgAutopromote (see DefaultSettings.php). +* The PerformRetroactiveAutoblock hook was added to allow overriding or complementing + retroactive autoblock handling. This runs when blocking a user with the 'autoblock' option. +* MediaWiki now supports using protocol-relative URLs in links, interwiki + targets and $wgServer. +* Introduced $wgVaryOnXFPForAPI which will cause the API to send + Vary: X-Forwarded-Proto headers. +* New maintenance script to refresh image metadata (maintenance/refreshImageMetadata.php). +* (bug 16428) Include permalink in printable version. +* (bug 30722) Add an identity collation that sorts things based on what the + unicode code point is (aka pre-1.17 behaviour). +* (bug 30940) Add a hook in User:getDefaultOptions. + To give extensions a better and more flexible way of providing default + values for preferences a hook has been introdiced in User:getDefaultOptions(). + Setting preferences in $wgDefaultUserOptions still work fine, but when reading + them (i.e. with array_keys) to get a list of all preferences, then + $wgDefaultUserOptions should no longer be used as it will contain those set via + User:getDefaultOptions(). +* (bug 30497) Add client-nojs and client-js classes on document element + to let styles easily hide or show things based on general JS availability. +* (bug 31293) If Special:Userlogin is loaded over HTTPS, display + MediaWiki:loginend-https instead of MediaWiki:loginend, if it's not empty. + Same for signupend on the account creation page. +* (bug 31233) New OutputPage::addJsConfigVars() method to make the output page specific + mw.config map extendable. === Bug fixes in 1.18 === -* mw.util.getScript has been implemented (like wfScript in GlobalFunctions.php) +* (bug 27860) Minor edit after clicking 'new section' tab. +* mw.util.getScript has been implemented (like wfScript in GlobalFunctions.php). * (bug 23119) WikiError class and subclasses are now marked as deprecated. * (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer treated as wikitext on preview. @@ -224,8 +290,6 @@ production. * If an edit summary exceeds 250 bytes and is truncated, add an ellipse. * (bug 26638) Database error pages display correctly in RTL languages. * (bug 26187) Confirmrecreate no longer parses the edit summary. -* (bug 25506) Exception is thrown if OutputPage::parse is called inside a tag - hook, which would reset parser state. * (bug 26208) Mark directionality of some interlanguage links. * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain selected when the action is "purge". @@ -310,25 +374,23 @@ production. smaller. * (bug 13172) Array type exif data (like GPS) was not being extracted from images. -* (bug 28532) wfMsgExt() and wfMsgWikiHtml() use $wgOut->parse() +* (bug 28532) wfMsgExt() and wfMsgWikiHtml() use $wgOut->parse(). * (bug 16129) Transcluded special pages expose strip markers when they output parsed messages. * (bug 27249) "Installed software" table in Special:Version should always be left-to-right. -* (bug 28719) Do not call mLinkHolders __destruct explicitly +* (bug 28719) Do not call mLinkHolders __destruct explicitly. * (bug 21196) Article::getContributors() no longer fails on PostgreSQL. * (bug 28752) XCache doesn't work in CLI mode. -* (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles -* (bug 22227) Special:Listfiles no longer throws an error on bogus file entries +* (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles. +* (bug 22227) Special:Listfiles no longer throws an error on bogus file entries. * (bug 19408) user_properties.up_property: 32 bytes is not enough. -* (bug 25262) Fix for minification of hardcoded data: URIs in CSS +* (bug 25262) Fix for minification of hardcoded data: URIs in CSS. * (bug 29263) Add LTR class to the shared CSS to be used for left-to-right text such as SQL queries shown in dberrortext and similar messages in RTL - environments + environments. * (bug 14977) Fixed $wgServer detection in cases where an IPv6 address is used as the server name. -* (bug 19725) Do not list suppressed edits in the "View X deleted edits" link - if user cannot view suppressed edits. * The View X deleted revisions is now shown again on Special:Upload. * (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API. * (bug 28868) Show total pages in the subtitle of an image on the @@ -344,7 +406,7 @@ production. pages. * (bug 18803) JPEG2000 images should not be uploadable as .jpg files. * (bug 11868) If using links to count articles, the checking will now be based - on the real presence of an internal link instead of the "[[" string + on the real presence of an internal link instead of the "[[" string. * (bug 28287) The "your changes" box for edit conflicts is now read-only. * (bug 28940) When making a thumb of an SVG, and only specifying the height make the width be the max SVG size, not the natrual width of the SVG. @@ -373,18 +435,18 @@ production. * The class JpegOrTiffHandler was renamed ExifBitmapHandler. * (bug 29443) Special:Undelete should use JavaScript to invert all checkboxes instead of reloading the page. -* (bug 29325) Setting $wgStrictFileExtensions to false no longer gives incorrect warning -* (bug 29437) Multiple apostrophes in deleted article title cause odd rendering +* (bug 29325) Setting $wgStrictFileExtensions to false no longer gives incorrect warning. +* (bug 29437) Multiple apostrophes in deleted article title cause odd rendering. * (bug 29485) RSS feed of Special:RecentChange grouped together multiple consecutive edits by same user in included diff, but then linked to a single ungrouped diff. * Do not try to group together a page creation and edit in the RSS feed of RC. * (bug 29342) Patrol preferences shouldn't be visible to users who don't have - patrol permissions -* (bug 29471) Exception no longer thrown for files with invalid date in metadata + patrol permissions. +* (bug 29471) Exception no longer thrown for files with invalid date in metadata. * (bug 29492) Long-running steps in the installer (such as Upgrade and Install) - no longer cause timeouts -* (bug 29507) Change 'image link' to 'file link' in Special:Whatlinkshere + no longer cause timeouts. +* (bug 29507) Change 'image link' to 'file link' in Special:Whatlinkshere. * If the db is really screwed up, and doesn't have a recentchanges table, make the updater throw an exception instead of a fatal. * wfArrayToCGI() and wfCgiToArray() now handle nested and associative arrays @@ -400,20 +462,19 @@ production. redirects to a local page. * (bug 6100) Allow different directionality (LTR/RTL) for user interface and wiki content, along with many other RTL and directionality improvements - (such as bugs 28030, 12406, 28349) + (such as bugs 28030, 12406, 28349). * (bug 29712) Removed broken defaultUserOptionOverrides in MessagesXx files and unneeded CSS flipping of quickbar. Instead, introduce option 5 which sets left/right according to the directionality of your interface language. -* (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit) -* (bug 27410) The tag filter on a history page is now within a