Fix a regression from 1.17: Show date/times in user preference timezone.
[lhc/web/wiklou.git] / RELEASE-NOTES-1.19
index 7e640d7..9321195 100644 (file)
@@ -11,121 +11,115 @@ MediaWiki 1.19 is an alpha-quality branch and is not recommended for use in
 production.
 
 === Configuration changes in 1.19 ===
 production.
 
 === Configuration changes in 1.19 ===
-* $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
-* (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.
+* Removed SkinTemplateSetupPageCss hook; use BeforePageDisplay instead.
+* (bug 27132) movefile right granted by default to registered users.
+* Default cookie lifetime ($wgCookieExpiration) is increased to 180 days.
+* (bug 31204) Removed old user.user_options
 
 === New features in 1.19 ===
 
 === New features in 1.19 ===
-* BREAKING CHANGE: action=watch / action=unwatch now requires a token.
-* (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 26033) It is now possible to count all non-redirect pages in content
-  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
-* 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
-  class that extends PageArchive.
-* (bug 28915) Implement QUnit test suite for MediaWiki JavaScript.
-  Also built-in support for distribution through a TestSwarm instance.
-* (bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is
-  added to the textarea on the edit form.
-* mw.util.getScript has been implemented (like wfScript in GlobalFunctions.php)
-* (bug 29067) Creating "user.tokens" module (like user.options) in ResourceLoader.
-* New 'Debug' hook used by wfDebug() and wfDebugLog()
-* (bug 27655) Require token for watching/unwatching pages)
-* (bug 28904) Update jQuery version from 1.4.4 to 1.6.1 (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.
+* (bug 19838) Possibility to get all interwiki prefixes if the interwiki
+  cache is used.
+* $wgDnsBlacklistUrls now accepts an array with url and key as the
+  elements to work with DNSBLs that require keys, such as
+  Project Honeypot.
+* (bug 30022) Add support for custom loadScript sources to ResourceLoader.
+* (bug 19052) Unicode space separator characters (Zs) now terminates external
+  links and images links.
+* (bug 30160) Add public method to mw.loader to get module names from registry.
+* (bug 15558) Parameters to special pages included in wikitext can now be passed
+  as with templates.
+* Installer now issues a warning if mod_security is present.
+* (bug 29455) Add support for a filter callback function in jQuery byteLimit
+  plugin.
+* Extensions can now participate in the extraction of titles from url paths
+* Added two new GetLocalURL hooks to better serve extensions working on a
+  limited type of titles.
+* Added a --no-updates flag to importDump.php that skips updating the links
+  tables.
+* Most presentational html attributes like valign are now converted to inline
+  css style rules. These attributes were removed from html5 and so we clean
+  them up when $wgHtml5 is enabled. This can be disabled using
+  $wgCleanupPresentationalAttributes.
+* Magic words (time and number-formatting ones, plus DIRECTIONMARK, but not
+  NAMESPACE) now depend on the page content language instead of the site
+  language. In theory this sets the right magic words in system messages,
+  although they are not used there.
+* (bug 30451) Add page_props to RefreshLinks::deleteLinksFromNonexistent
+* (bug 30450) Clear page_props table on page deletion
+* Hook added to check for exempt from account creation throttle
+* (bug 30344) Add configuration variable for setting custom priorities when
+  generating sitemaps
+* (bug 16428) Include permalink in printable version
+* (bug 96170) Add array support for space-separated list attributes (like
+  'class') in the Html helper class.
+* (bug 26470) Add checkered background image on hover on files pages.
+* (bug 30774) mediawiki.html: Add support for numbers and booleans in the
+  attribute values and element contents.
+* Conversion script between Tifinagh and Latin for the Tachelhit language
+* (bug 16755) Add options 'noreplace' and 'noerror' to {{DEFAULTSORT:...}}
+  to stop it from replace an already existing default sort, and suppress error.
+* (bug 18578) Rewrote revision delete related messages to allow better
+  localisation
+* (bug 30364) LanguageConverter now depends on the page content language
+  instead of the wiki content language
+* Jump links will now be usable in css-capable browsers instead of only
+  in outdated text browsers.
+* New common*.css files usable by skins instead of having to copy piles
+  of generic styles from MonoBook or Vector's css.
+* Some deprecated presentational html attributes will now be automatically converted to css.
+* (bug 31233) New OutputPage::addJsConfigVars() method to make the output page specific
+  mw.config map extendable.
+* (bug 31297) Add support for namespaces in Special:RecentChanges subpage filter syntax.
 
 === Bug fixes in 1.19 ===
 
 === Bug fixes in 1.19 ===
-* (bug 28868) Show total pages in the subtitle of an image on the
-  file description page for multi-paged documents.
-* (bug 28883) Message names for different compression types commonly
-  used in Tiff files.
-* When translcuding a special page, do not let it interpret url parameters.
-* (bug 28887) Special page classes are no longer re-used during 1 request.
-* (bug 28888) Searching for something starting with a # sign no longer tells
-  the user a page named [[:]] already exists.
-* (bug 23002) Imagelinks table not updated after imagemove.
-* (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all
-  pages.
-* (bug 18803) JPEG2000 images can no longer be uploaded as JPEG image.
-* (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
-* (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.
-* (bug 1780) Uploading files with non-ascii characters are now forbidden on
-  Windows.
-* (bug 23464) File: prefixes are now chopped off during uploading.
-* (bug 28174) Message config-logo-help amended to not explicitly assume any
-  LTR/RTL screen layout.
-* (bug 28992) Revision numbers in the patrol log are transformed in the user
-  language.
-* (bug 27073) ResourceLoaderDynamicStyles should be dynamically appended to
-  the document if it doesn't exist.
-* (bug 27023) After dom ready event, using mediawiki.loader.using will
-  call callback too early.
-* (bug 4330) External URLs without custom title should be treated as LTR,
-  also in RTL text.
-* (bug 29055) Make don't send email on minor edits preference apply to
-  changes to talk page in addition to watchlist edits.
-* (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API.
-* (bug 28272) Special:Allmessages should have only one "Go" button
-* (bug 29101) Special:FileDuplicateSearch shows silly message
-* (bug 29048) jQuery.tabIndex: firstTabIndex() should not output the same
-  as lastTabIndex().
-* (bug 29332) Warn if user requests mediawiki-announce subscription but does not
-  enter an e-mail address.
-* (bug 25375) Add canonical namespaces to JavaScript "wgNamespaceIds"
-* The class JpegOrTiffHandler was renamed ExifBitmapHandler.
-* (bug 29443) Special:Undelete should use JavaScript to invert all checkboxes
-  without reloading the page
-* (bug 29325) Setting $wgStrictFileExtensions to false 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.
+* $wgUploadNavigationUrl should be used for file redlinks if
+  $wgUploadMissingFileUrl is not set. The first was used for this
+  until the second was introduced in 1.17.
+* (bug 25355) Parser generates edit section links for special pages.
+* (bug 27894) Move 'editondblclick' event listener down from body to
+  div#bodyContent.
+* (bug 30172) The check for posix_isatty() in maintenance scripts did not detect
+  when the function exists but is disabled. Introduced
+  Maintenance::posix_isatty().
+* (bug 30264) Changed installer-generated LocalSettings.php to use
+  require_once() instead require() for included extensions.
+* Do not convert text in the user interface language to another script.
+* (bug 26283) Previewing user JS/CSS pages didn't load other user JS/CSS pages
+* (bug 11374) Improved diff readability for colorblind people.
+* (bug 26486) ResourceLoader modules with paths to nonexistent files cause PHP
+  warnings/notices to be thrown.
+* (bug 30335) Fix for HTMLForms using GET breaking when non-friendly URLs are
+  used
+* (bug 28649) Avoiding half truncated multi-byte unicode characters when
+  truncating log comments.
+* Show --batch-size option in help of maintenance scripts that support it
+* (bug 4381) Magic quotes cleaning was not comprehensive, key strings were not
+  unescaped
+* (bug 30684) Fix bad escaping in mw.message for inexistent messages (i.e. <key>)
+* (bug 23057) Importers no longer can 'edit' or 'create' a fully-protected page by
+  importing a new revision into it
+* Allowing moving the associated talk pages of subpages even if the base page
+  has no subpage.
+* (bug 30907) Special:Unusedcategories should sort ascendingly.
+* Per page edit-notices now work in namespaces without subpages enabled.
+* (bug 30245) Use the correct way to construct a log page title
+* (bug 31081) $wgEnotifUseJobQ causes many unnecessary jobs to be queued
+* (bug 30202) File names are now restricted on upload to 240 bytes, because of
+  restrictions on some of the database fields.
 
 === API changes in 1.19 ===
 
 === API changes in 1.19 ===
-* BREAKING CHANGE: action=watch now requires POST and token.
-* (bug 27790) add query type for querymodules to action=paraminfo
-* (bug 28963) add langbacklinks module to api
-* (bug 27593) API: add error message when sha1/sha1base36 is invalid
-* (bug 28578) API's parse module should not silently override invalid
-  title inputs
-* (bug 20699) API watchlist should list log-events
-* (bug 29070) Add token to action=watch API
-* (bug 29221) Expose oldrevid in watchlist output
-* (bug 29267) always give the servername for meta=siteinfo&siprop=dbrepllag
-* (bug 28897) rvparse doesn’t seem to work with rvsection
-* (bug 25734) API: possible issue with revids validation
-* (bug 28002) Internal error in ApiFormatRaw::getMimeType
-* (bug 29237) add interwiki target url attribute to api/query/interwiki
-* (bug 28392) mark action=undelete&timestamps as type "timestamp"
-* (bug 21346) Make deleted images searchable by hash (disabled in Miser Mode)
-* (bug 27595) sha1 search of list=filearchive does not work
-* (bug 26763) Make RSS/Atom of user contributions more visible
-* (bug 25133) allow redirects also for action=parse&pageid
+* (bug 19838) siprop=interwikimap can now use the interwiki cache.
+* (bug 29748) Add API search prefix support.
+* (bug 29684) Set forgotten parameter types in ApiQueryIWLinks.
+* (bug 29685) do not output NULL parentid with list=deletedrevs&drprop=parentid.
+* siprop=interwikimap and siprop=languages can use silanguagecode to have
+  a best effort language name translation. Use CLDR extension for best result.
+* (bug 30230) action=expandtemplates should not silently override invalid title
+  inputs.
+* (bug 18634) Create API to fetch MediaWiki's language fallback tree structure.
+* (bug 26885) Allow show/hide of account blocks, temporary blocks and single IP
+  address blocks for list=blocks.
+* (bug 30591) Add support to only return keys in ApiAllMessages.
 
 === Languages updated in 1.19 ===
 
 
 === Languages updated in 1.19 ===
 
@@ -133,15 +127,16 @@ MediaWiki supports over 330 languages. Many localisations are updated
 regularly. Below only new and removed languages are listed, as well as
 changes to languages because of Bugzilla reports.
 
 regularly. Below only new and removed languages are listed, as well as
 changes to languages because of Bugzilla reports.
 
-* Bhojpuri (bho) (renamed from "bh").
-* (bug 29031) When translating block log entries, indefinite, infinite, and
-  infinity are now considered the same.
-* Aromanian (rup) (renamed from "rua-rup").
+* Uighur (Latin) (ug-latn) was incorrectly marked as right-to-left language.
+* (bug 30217) Make pt-br a fallback of pt
+* (bug 31193) Set fallback language of Assamese from Bengali to English
 
 === Other changes in 1.19 ===
 
 === Other changes in 1.19 ===
-* Removed legacy wgAjaxWatch javascript global object, no longer in use.
-* (bug 28556) Upload support for MacBinary files has been removed (Used by
-  Internet Explorer 5 for MacOS 9)
+* jquery.mwPrototypes module was renamed to jquery.mwExtension.
+* The maintenance script populateSha1.php was renamed to the more concise
+  populateImageSha1.php
+* The Client-IP header is no longer checked for when trying to resolve a client's
+  real IP address.
 
 == Compatibility ==
 
 
 == Compatibility ==
 
@@ -160,7 +155,7 @@ The supported versions are:
 
 == Upgrading ==
 
 
 == Upgrading ==
 
-1.19 has several database changes since 1.17, and will not work without schema
+1.19 has several database changes since 1.18, and will not work without schema
 updates.
 
 If upgrading from before 1.11, and you are using a wiki as a commons
 updates.
 
 If upgrading from before 1.11, and you are using a wiki as a commons