(bug 28545) When using the uca-default collation, sortkey's starting with a
[lhc/web/wiklou.git] / RELEASE-NOTES-1.18
index 9afb57b..9c72163 100644 (file)
@@ -7,12 +7,15 @@ 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 
+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.
+* 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.
@@ -61,8 +64,30 @@ production.
 * 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: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.
+* New hook "Collation::factory" to allow extensions to create custom
+  category collations.
+* $wgGroupPermissions now supports per namespace permissions.
 
 === New features in 1.18 ===
+* BREAKING CHANGE: action=watch / action=unwatch now requires a token.
 * (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
@@ -89,7 +114,7 @@ production.
   (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:Group-sysop.js,
+* (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
@@ -128,8 +153,67 @@ production.
 * (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 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.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()
+* (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, 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)
+* (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 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
+  which the language name is wanted. Coverage depends on the cldr extension.
+* (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
+* 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 30722) Add an identity collation that sorts things based on what the
+  unicode code point is (aka pre-1.17 behaviour)
 
 === Bug fixes in 1.18 ===
+* 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.
@@ -153,8 +237,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".
@@ -246,6 +328,7 @@ production.
   left-to-right.
 * (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 19408) user_properties.up_property: 32 bytes is not enough.
@@ -253,8 +336,123 @@ production.
 * (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
+* (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
+  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 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
+* (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 marker should be dynamically appended to
+  the document head if it doesn't exist.
+* (bug 27023) After the document is ready, mw.loader is broken (calls callback
+  before module is parsed).
+* (bug 4330) External URLs without a custom title should be treated as LTR,
+  even 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 28272) Special:AllMessages should have only one "Go" button.
+* (bug 29101) Special:FileDuplicateSearch no longer 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 "wgNamespaceIds" in mw.config.
+* 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 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
+* (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
+* 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
+  correctly.
+* (bug 29567) mw.util.addPortletLink should only wrap link in <span> for
+  "vectorTabs" portlets.
+* (bug 8556) Incorrect session failure warning on preview-on-open
+  namespaces (categories) when combined with $wgRawHtml.
+* Use content language in formatting of dates in revertpage message
+  (rollback revert edit summary) and do not adjust for user timezone.
+* (bug 29277) MediaWiki:Filepage.css is also shown on the local wiki
+* Make sure Backlink cache does not retrieve interwiki redirects when looking for
+  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)
+* (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 <label> element
+* (bug 29779) DairikiDiff/WikiDiff <ins> and <del> should undo browser default
+  styling (strike/underline).
+* Translate the block expiry date
+* (bug 28630) Add iwlinks, langlinks, redirect to
+  RefreshLinks::deleteLinksFromNonexistent
+* (bug 29797) Error: "Tried to load block with invalid type" when subpages
+  are disabled for user pages.
+* (bug 12205) Bidirectional names in action=credits are split and displayed
+  incorrectly when wrapped to the next line.
+* (bug 20781) Move 'mainpagetext' messages to installer's .i18n file.
+* (bug 29737) "MediaWiki:Qbsettings-directionality" should refer to script,
+  not language.
+* (bug 26360) $wgSessionHandler was overriding system settings unconditionally.
+* Removed AjaxFunctions.php. The last remaining function js_unescape() was moved
+  to the FCKEditor extension.
+* (bug 28762) Resizing to specified height broken for very thin images
+* (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user
+  tries to subsribe to mediawiki-announce.
+* (bug 27427) mw.util.getParamValue shouldn't return value from hash even if
+  param is only present in hash.
+* Installer checked for magic_quotes_runtime instead of register_globals.
+* (bug 30131) XCache with variable caching disabled no longer used for variable caching (CACHE_ACCEL)
+* $wgSVGMaxSize is now applied to the smaller of width or height, making very wide pano/timeline/diagram SVGs renderable at saner sizes
+* (bug 30219) The page shown when LocalSettings.php does not exist was broken on
+  Windows servers.
+* (bug 30074) Moving user JS subpages resulted in JS errors because
+  #REDIRECT [[Foo]] is invalid JS
+* Tracking categories are no longer shown in footer for special pages
+* $wgOverrideSiteFeed no longer double escapes urls.
+* The preprocessor no longer fails with a PHP warning about XML_PARSE_HUGE when
+  processing complex pages using newer versions of libxml2.
+* (bug 28545) When using the uca-default collation, sortkey's starting with a
+  space (U+20) will sort under an invisible header like in 1.16 rather than a U+6DE
 
 === API changes in 1.18 ===
+* BREAKING CHANGE: action=watch now requires POST and token.
 * (bug 26339) Throw warning when truncating an overlarge API result.
 * (bug 14869) Add API module for accessing QueryPage-based special pages.
 * (bug 14020) API for Special:Unwatchedpages.
@@ -367,6 +565,31 @@ production.
 * (bug 28225) Allow hiding of user groups in list=allusers
 * (bug 27185) API: Add Special:ComparePages
 * (bug 28265) allow outputting of comments for action=expandtemplates
+* (bug 27790) Add query type for querymodules to output of ApiParamInfo
+* (bug 28963) Add langbacklinks query module to the api
+* (bug 27593) API should return error message when sha1/sha1base36 is invalid
+* (bug 28578) API's parse module should not silently override invalid
+  title inputs
+* (bug 20699) Watchlist API should list log-events
+* (bug 29070) Require a token in API action=watch
+* (bug 29221) Expose oldrevid in ApiQueryWatchlist output
+* (bug 29267) Always give the servername for meta=siteinfo&siprop=dbrepllag
+* (bug 28897) rvparse now respects rvsection for action=query&prop=revisions
+* (bug 25734) API: Possible issue with revids validation
+* (bug 28002) Internal error in ApiFormatRaw::getMimeType
+* (bug 29237) ApiQuery now has an option to output the "iwurl" attribute.
+* (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 29745) Fatal error in API search
+* (bug 29476) API returns page title instead of sectiontitle for
+  srprop=sectiontitle
+* Correct the documentation of srprop properties
+* (bug 28817) Add reference help page link to API Modules
+* (bug 29935) Improve formatting of examples in ApiParamInfo
+* (bug 29938) list=users&usprop=rights shows rights the user doesn't have
 
 === Languages updated in 1.18 ===
 
@@ -380,6 +603,7 @@ changes to languages because of Bugzilla reports.
 * Jamaican Creole English (jam) (new).
 * Khowar (khw) (new).
 * Liv (liv) (new).
+* Kichwa (qug) (new).
 * Tokipona (tp) (removed) 'tokipona' is still  valid.
 * (bug 17160) Gender specific display text for User namespace.
 * Link trail added for sl and sh.
@@ -393,12 +617,25 @@ changes to languages because of Bugzilla reports.
   uppercase 'i' to 'İ' (dotted i).
 * Conversion script between Syllabics and Latin for the Inuktitut language.
 * Date formats for Indonesian (id) updated.
+* 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").
+* Kashmiri (ks) split into Kashmiri (Perso-Arabic) (ks-arab) and Kashmiri
+  (Devanagari) (ks-deva). Defaults to ks-arab.
+
+=== Other changes in 1.18 ===
+* 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 Mac OS 9)
+* On wiki farm setups using $wgConf, 'wgCanonicalServer' is now expected to be
+  set for all wikis. This was already the case for 'wgServer'.
 
 == Compatibility ==
 
 MediaWiki 1.18 requires PHP 5.2.3. PHP 4 is no longer supported.
 
-MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but 
+MySQL is the recommended DBMS. PostgreSQL, Oracle or SQLite can also be used, but
 support for them is somewhat less mature. There is experimental support for IBM
 DB2 and Microsoft SQL Server.
 
@@ -414,8 +651,8 @@ The supported versions are:
 1.18 has several database changes since 1.17, and will not work without schema
 updates.
 
-If upgrading from before 1.11, and you are using a wiki as a commons 
-repository, make sure that it is updated as well. Otherwise, errors may arise 
+If upgrading from before 1.11, and you are using a wiki as a commons
+repository, make sure that it is updated as well. Otherwise, errors may arise
 due to database schema changes.
 
 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
@@ -427,12 +664,12 @@ break. Don't forget to always back up your database before upgrading!
 
 See the file UPGRADE for more detailed upgrade instructions.
 
-For notes on 1.17.x and older releases, see HISTORY.
+For notes on 1.15.x and older releases, see HISTORY.
 
 == Online documentation ==
 
-Documentation for both end-users and site administrators is available on 
-MediaWiki.org, and is covered under the GNU Free Documentation License (except 
+Documentation for both end-users and site administrators is available on
+MediaWiki.org, and is covered under the GNU Free Documentation License (except
 for pages that explicitly state that their contents are in the public domain):
 
        http://www.mediawiki.org/wiki/Documentation