coding style tweaks + removed some PHP4-isms
[lhc/web/wiklou.git] / RELEASE-NOTES-1.19
index 97e2f8b..b173472 100644 (file)
@@ -7,7 +7,7 @@ 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.19 is an alpha-quality branch and is not recommended for use in 
+MediaWiki 1.19 is an alpha-quality branch and is not recommended for use in
 production.
 
 === Configuration changes in 1.19 ===
@@ -18,32 +18,62 @@ production.
 * 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.
+* $wgCategoryCollation can now use a class name as its value, in order for
+  extensions to be able to define new collations
 
 === 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; 
+* 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) 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.
+* In MySQL 4.1.9+ with replication enabled, the slave lag should come from
+  SHOW SLAVE STATUS instead of SHOW PROCESSLIST.
+* Language codes in $wgDummyLanguageCodes are now excluded on localization
+  statistics (maintenance/language/transstat.php)
 
 === Bug fixes in 1.19 ===
-* (bug 10154) Don't allow user to specify days beyond $wgRCMaxAge.
 * (bug 28868) Show total pages in the subtitle of an image on the
-file description page for multi-paged documents.
+  file description page for multi-paged documents.
 * (bug 28883) Message names for different compression types commonly
-used in Tiff files.
+  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.
-* New title field of Special:MovePage is now length limited on client side.
 * (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 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.
@@ -52,12 +82,68 @@ used in Tiff files.
 * (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 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 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 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.
 
 === API changes in 1.19 ===
-* (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
+* BREAKING CHANGE: action=watch now requires POST and token.
+* (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
 
 === Languages updated in 1.19 ===
 
@@ -66,28 +152,37 @@ 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").
+
+=== 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 Mac OS 9)
 
 == Compatibility ==
 
 MediaWiki 1.19 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 or SQLite can also be used, but
 support for them is somewhat less mature. There is experimental support for IBM
-DB2, Oracle and Microsoft SQL Server.
+DB2 and Microsoft SQL Server.
 
 The supported versions are:
 
 * MySQL 4.0 or later
 * PostgreSQL 8.3 or later
 * SQLite 3
+* Oracle 9.0.1 or later
 
 == Upgrading ==
 
 1.19 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
@@ -103,8 +198,8 @@ 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