Don't include TOC in the printable version if it is hidden (bug 482). Original patch...
[lhc/web/wiklou.git] / RELEASE-NOTES
index 5179221..4c17d26 100644 (file)
@@ -20,21 +20,21 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 
 === Configuration changes in 1.16 ===  
 
-* $wgEnableFirefogg enable support for firefogg extension, firefogg supports 
-in-browser transcoding, chunk uploads and client side hash checking. 
+* $wgEnableFirefogg enable support for firefogg extension, firefogg supports
+  in-browser transcoding, chunk uploads and client side hash checking. 
 * $wgEnableTemporalOggUrls enable oggz_chop support a server side ogg seeking
-helper 
+  helper 
 * $wgEnableScriptLoader if the script-loader shoudl be enabled
 * $wgJSAutoloadClasses array of javascript classes to file paths used by
-script-loader to load javascript by class name. 
-* $wgEnableJS2system  if we should include js2 stuff like jquery, 
-mv_embed.js (script-loader helper) and use new interfaces for upload
+  script-loader to load javascript by class name. 
+* $wgEnableJS2system  if we should include js2 stuff like jquery, mv_embed.js
+  (script-loader helper) and use new interfaces for upload
 * $wgEnableScriptLoaderJsFile if we support grabbing js files with the script
-loader. By default we only grab classes in $wgJSAutoloadClasses
+  loader. By default we only grab classes in $wgJSAutoloadClasses
 * $wgEnableScriptMinify if you want the script loader to minify js
 * $wgEnableScriptLocalization if you want the script loader to do msg lookups
 * $wgMwEmbedDirectory the path to MwEmbed Directory (maybe we can depreciate
-this. Was used when mwEmbed was going to be an extension.   
+  this. Was used when mwEmbed was going to be an extension.   
 * $wgDebugJavaScript if we want to enable fresh debug javascript 
 * $wgPhpCliPath Path to php-cli for spinning up background php processes
 * (bug 18222) $wgMinimalPasswordLength default is now 1
@@ -71,14 +71,22 @@ this. Was used when mwEmbed was going to be an extension.
   interface will not appear in Special:AllMessages.
 * $wgRegisterInternalExternals can be used to record external links pointing 
   to same server
-* $wgHtml5 outputs an HTML 5 doctype instead of XHTML 1.0 Transitional.
 * $wgSpecialVersionExtended shows the extended version information besides 
   PHP and database version.
-* $wgSecondaryGoNamespaces allows an arry of namespaces to be checked when the
-  GO button is pressed, in addition to the main namespace.
-* (bug 19907) $wgCrossSiteAJAXdomains and $wgCrossSiteAJAXdomainsRegex added 
+* (bug 19907) $wgCrossSiteAJAXdomains and $wgCrossSiteAJAXdomainExceptions added 
   to control which external domains may access the API via cross-site AJAX.
 * $wgMaintenanceScripts for extensions to add their scripts to the default list
+* $wgMemoryLimit has been added, default value '50M'
+* $wgExtraRandompageSQL is deprecated, the SpecialRandomGetRandomTitle hook 
+  should be used instead
+* (bug 20489) $wgIllegalFileChars added to override the default list of illegal
+  characters in file names.
+* (bug 19646) $wgImgAuthDetails added  to display reason access to uploaded file
+  was denied to users(img_auth only)
+* (bug 19646) $wgImgAuthPublicTest added to test to see if img_auth set up
+  correctly (img_auth only)
+* $wgUploadMaintenance added to disable file deletions and restorations during
+  maintenance
 
 === New features in 1.16 ===
 
@@ -99,8 +107,6 @@ this. Was used when mwEmbed was going to be an extension.
   Special:Version
 * (bug 18420) Missing file revisions are handled gracefully now
 * (bug 9219) Auth plugins can control editing RealName/Email/Nick preferences
-* New hook: MessageNotInMwNs to handle localised messages that aren't in the
-  Mediawiki Namespace, before checking the message files
 * (bug 18466) Add note or warning when overruling a move (semi-)protection
 * (bug 18342) insertTags works in edit summary box
 * (bug 18411) The upload form also checks post_max_size
@@ -119,19 +125,17 @@ this. Was used when mwEmbed was going to be an extension.
 * (bug 14866) Messages 'recentchangeslinked-toolbox' and
   'recentchangeslinked-toolbox' were added to allow more fine grained
   customisation of the user interface
-* DISPLAYTITLE now accepts a limited amount of wiki markup (the single-quote items)
+* DISPLAYTITLE now accepts a limited amount of wiki markup (the single-quote
+  items)
 * Special:Search now could search terms in all variant-forms. ONLY apply on
   wikis with LanguageConverter
 * Add autopromote condition APCOND_BLOCKED to autopromote blocked users to various
   user groups.
-* Add $wgRevokePermissions as a means of restricting a group's rights. The syntax is
-  identical to $wgGroupPermissions, but users in these groups will have these rights
-  stripped from them.
+* Add $wgRevokePermissions as a means of restricting a group's rights. The
+  syntax is identical to $wgGroupPermissions, but users in these groups will
+  have these rights stripped from them.
 * Added a PHP port of CDB (constant database), for improved local caching when
   the DBA extension is not available.
-* (bug 14611) Added support showing the version of the web server, image 
-  thumbnailing engine, diff/diff3 engine and TeX engine, enabled for sysops 
-  by default.
 * Introduced a new system for localisation caching. The system is based around 
   fast fetches of individual messages, minimising memory overhead and startup 
   time in the typical case. The database backend will be used by default, but 
@@ -141,7 +145,6 @@ this. Was used when mwEmbed was going to be an extension.
 * Added a feature to allow per-article process pool size control for the parsing 
   task, to limit resource usage when the cache for a heavily-viewed article is
   invalidated. Requires an external daemon. 
-* Leading > is now syntax for <blockquote>.
 * (bug 19576) Moved the id attribues from the anchors accompanying section
   headers to the <span class="mw-headline"> elements within the section headers,
   removing the redundant anchor elements.
@@ -156,34 +159,69 @@ this. Was used when mwEmbed was going to be an extension.
 * If config/ directory is not executable, the command to make it executable 
   now asks the user to cd to the correct directory
 * Add experimental new external authentication framework, ExternalAuth
-* (bug 14201) Set $wgDBadminuser/$wgDBadminpassword during setup
 * (bug 18768) Remove AdminSettings requirements. Maintenance environment
   will still load it if it exists, but it's not required for anything
-* Added $wgSecondaryGoNamespaces, allowing an array of namespaces to be checked
-  when the Go button is pressed in addition to the main namespace.
 * (bug 19900) The "listgrouprights-key" message is now wrapped in a div with
   class "mw-listgrouprights-key"
 * (bug 471) Allow RSS feeds for watchlist, using an opt-in security token
 * (bug 10812) Interwiki links can have names and descriptions, fetched from 
   message 'interwiki-desc-PREFIX', not really used anywhere yet though
-* (bug 9691) Add type (signup or login) parameter to AuthPlugin::ModifyUITemplate()
-* (bug 14454) "Member of group(s)" in Special:Preferences causes language difficulties
-* (bug 16697) Unicode combining characters are difficult to edit in some browsers
+* (bug 9691) Add type (signup or login) parameter to
+  AuthPlugin::ModifyUITemplate()
+* (bug 14454) "Member of group(s)" in Special:Preferences causes language
+  difficulties
+* (bug 16697) Unicode combining characters are difficult to edit in some
+  browsers
 * Parser test supports uploading results to remote CodeReview instance
 * (bug 20013) Added CSS class "mw-version-ext-version" is wrapped on the 
   extension version in Special:Version
 * (bug 20014) Added CSS class "mw-listgrouprights-right-name" is wrapped on the
   right name in Special:ListGroupRights
-* The description message in $wgExtensionCredits can be an array with parameters
 * (bug 12920) New CoreParserFunction {{nse:...}} as an url-friendly equivalent
   to {{ns:...}}
-* (bug 16322) Allow maintenance scripts to accept DB user/pass over input or params
+* (bug 16322) Allow maintenance scripts to accept DB user/pass over input or
+  params
 * (bug 18566) Maintenance script to un/protect pages
 * (bug 671) The HTML <abbr> tag is now permitted.
 * RecentChanges now has a legend to explain what the Nmb! flags mean, and the
   flags have tooltips.
 * (bug 15209) New hook BeforeInitialize called after everything has been setup
   but before Mediawiki::performRequestForTitle()
+* wgMainPageTitle variable now available to JavaScript code to identify the main
+  page link, so it doesn't have to be extracted from the link URLs.
+* (bug 16836) Display preview of signature in user preferences and describe its
+  use
+* The default output format is now HTML 5 instead of XHTML 1.0 Transitional.
+  This can be disabled by setting $wgHtml5 = false;.  Specific features enabled
+  if HTML 5 is used:
+** New HTML 5 input attributes allow JavaScript-free input validation in some
+   cutting-edge browsers.  E.g., some inputs will be autofocused, users will
+   not be allowed to submit forms with certain types of invalid values (like
+   numbers outside the permitted ranges), etc.
+** The summary attribute has been removed from tables of contents.  summary is
+   obsolete in HTML 5 and wasn't useful here anyway.
+** Unnecessary type="" attribute removed for CSS and JS.
+** If $wgWellFormedXml is set to false, some bytes will be shaved off of HTML
+   output by omitting some things like quotation marks where HTML 5 allows.
+* The description message in $wgExtensionCredits can be an array with parameters
+* New hook SpecialRandomGetRandomTitle allows extensions to modify the selection
+  criteria used by Special:Random and subclasses, or substitute a custom result,
+  deprecating the $wgExtraRandompageSQL config variable
+* (bug 20318) Distinct CSS classes for ISBN/RFC/PMID special links added
+* (bug 20404) Custom fields in the user creation form template can now have
+  detail labels in prefsectiontip divs.
+* MakeSysop and MakeBot are now aliases for Special:UserRights
+* IndexPager->mLimitsShown can now be an associative array of limit => text-to-
+  display-in-limit-form.
+* (bug 18880) LogEventsList::showLogExtract() can now take a string-by-reference
+  and add its HTML to it, rather than having to go straight to $wgOut.
+* Added $wgShowDBErrorBacktrace, to allow users to easily gather backtraces for
+  database connection and query errors.
+* Show change block / unblock link on Special:Contributions if user is blocked
+* Display note on Special:Contributions if the user is blocked, and provide an 
+  excerpt from the block log.
+* (bug 19646) New hook: ImgAuthBeforeStream for tests and functionality before
+  file is streamed to user, but only when using img_auth
 
 === Bug fixes in 1.16 ===
 
@@ -206,7 +244,6 @@ this. Was used when mwEmbed was going to be an extension.
 * (bug 18289) Database connection error page now returns correct HTML
 * "successbox", "errorbox" and related CSS classes are now available in all
   skins
-* Fixed a PHP notice when $wgEnableSerializedMessages was set to false
 * (bug 18316) Removed superfluous name="fulltext" from Special:Search
 * (bug 18331) MediaWiki:Undelete-revision can now have wikitext
 * The "noautoblock" flag is no longer displayed in the block log when blocking
@@ -281,7 +318,7 @@ this. Was used when mwEmbed was going to be an extension.
 * (bug 18925) history.js removes class names of list elements on initialization
 * Multiple whitespace in TOC anchors is now stripped, for consistency with the
   link from the edit comment
-* (bug 19112) Preferences now respects $wgUseExternalEditor, $wgExternalDiffEngine
+* (bug 19112) Preferences now respects $wgUseExternalEditor
 * (bug 18173) MediaWiki now fails when unable to determine a client IP
 * (bug 19170) Special:Version should follow the content language direction
 * (bug 19160) maintenance/purgeOldText.inc is now compatible with PostgreSQL
@@ -291,8 +328,10 @@ this. Was used when mwEmbed was going to be an extension.
   can add/remove *all* groups (have 'userrights' permission).
 * (bug 19294) Always show Sp-contributions-footer(-anon)
 * Attempts to restrict reading of pages while anonymous viewing is allowed
-  via extensions not using the userCan hook and via $wgRevokePermissions now work.
-* (bug 8445) Multiple-character search terms are now handled properly for Chinese
+  via extensions not using the userCan hook and via $wgRevokePermissions now
+  work.
+* (bug 8445) Multiple-character search terms are now handled properly for
+  Chinese
 * (bug 19450) Use formatNum for "Number of edits" in Special:Preferences
 * (bug 11242) Check for MySQL storage engines during installation now checks
   whether the engines are actually available
@@ -332,18 +371,15 @@ this. Was used when mwEmbed was going to be an extension.
 * (bug 19564) Updated docs/hooks.txt
 * (bug 18751) Fix for buggage in profiling setup for some extensions on PHP 5.1
 * (bug 17139) ts_resortTable inconsistent trimming makes date sorting fragile
-* (bug 19445) Change oldimage table to use ON UPDATE CASCADE for FK to image table.
+* (bug 19445) Change oldimage table to use ON UPDATE CASCADE for FK to image
+  table.
 * (bug 14080) Short notation links to subpages didn't work in edit summaries
 * (bug 17374) Special:Export no longer exports multiple copies of pages
 * (bug 19818) Edits to user CSS/JS subpages can now be marked as patrolled by
   users who can't edit them
-* (bug 15745) The edit summary link parser now handles mismatched brackets
-  better
 * (bug 19839) Comments in log items are no more double escaped
 * (bug 18161) Fix inconsistent separators in watchlist link toolbars with
   "enhanced recent changes"
-* (bug 19857) maintenance/deleteRevision.php on last revision no longer breaks
-  target page
 * (bug 16877) Moving a page over a redirect no longer leaves an orphan entry in
   the recentchanges table
 * (bug 16009) Limit selection forms based on Pager now links to the correct page
@@ -362,8 +398,6 @@ this. Was used when mwEmbed was going to be an extension.
 * (bugs 18407, 18409) Special:Upload is now listed on Special:Specialpages only
   if uploads are enabled and the user can access it
 * (bug 17988) Spaces before [[Category:]] links are no longer ignored
-* (bug 19392) Favicon, apple-touch-icon links matching the defaults are no 
-  longer sent
 * (bug 19957) All known-failing tests now marked disabled; added --run-disabled
   option to parser test suite to run disabled tests if desired.
 * (bug 16311) Make recent change flags (n/m/b) <abbr>s instead of <span>s
@@ -382,10 +416,82 @@ this. Was used when mwEmbed was going to be an extension.
   preferences
 * (bug 18855) commandLine.inc and Maintenance.php are now properly included
   using the full path
-* OutputPage::addStyle now appends projection to the media attribute of any
-  style that specifies the media attribute as screen. This is done to resolve
-  and issue with Opera (bug 18497) where fullscreen mode is assumed to be
-  projection mode and the style sheet for screen media is no longer used.
+* (bug 18497) Fixed broken style sheets in Opera fullscreen mode
+* (bug 16084) Default memory limit has be increased to 50M, see $wgMemoryLimit
+* (bug 17864/19519) Added proper input normalization in Special:UserRights
+* (bug 20086) Add Hook to add extra statistics at the end of Special:Statistics
+* (bug 19289) importDump.php can now handle bzip2 and 7zip
+* (bug 20131) Fixed a PHP notice for users having the "rollback" right on
+  Special:RecentChangesLinked
+* Do not transform EXIF fields with pure text to avoid results like
+  foo,bar@example,com
+* (bug 20176) Fix login/logout links in skin CologneBlue
+* (bug 20203) "Powered by Mediawiki" now has height/width on image tag
+* (bug 20273) Fix broken output when no pages are found in the content
+  namespaces
+* (bug 20265) Make AncientPages and UnusedFiles work on SQLite
+* Fixed XSS vulnerability for Internet Explorer clients (only pre-release 
+  versions of MediaWiki were affected).
+* (bug 14817) Moving a page to a subpage of itself moves it twice
+* (bug 20289) $wgMaximumMovedPages should only count pages actually moved
+* (bug 15248) Non-breaking spaces and certain other Unicode space characters
+  are now normalized to ordinary spaces in titles; if your wiki has existing
+  titles with such characters, run cleanupTitles.php and/or cleanupImages.php
+* (bug 11143) Links containing invalid UTF-8 percent-code sequences are now
+  cleanly disabled instead of breaking parsing entirely on PHP 5.2.
+* (bug 20296) Fixed an PHP warning in Language::getMagic() in PHP 5.3
+* When creating accounts, don't prefill name from current username (which
+  presumably is already taken)
+* (bug 20358) Unprotect tab was missing accesskey; now same as protect tab.
+* (bug 20317) Cleaned up default main page link accesskey settings
+* (bug 20362) Special:Statistics now produces valid HTML when view counters are
+  enabled
+* (bug 19857) maintenance/deleteRevision.php on last revision no longer breaks
+  target page
+* (bug 20365) Page name with with c/g/h/j/s/u + x are now correctly handled in
+  Special:MovePage with Esperanto as content language
+* (bug 20364) Fixed regression in GIF metadata loading
+* (bug 20299) MediaWiki:Move-subpages and MediaWiki:Move-talk-subpages can now
+  use wikitext
+* (bug 15475) DatabaseBase::setFlag(), DatabaseBase::clearFlag() and
+  DatabaseBase::getFlag() now have documentation
+* (bug 19966) MediaWiki:License-header is now used for the licensing header in
+  the file description page instead of MediaWiki:License
+* (bug 20380) Links to history/deleted edits at the top of
+  Special:RevisionDelete are no more displayed when when doing log suppression
+* (bug 8143) Localised parser function names are now correctly case insensitive
+  if they contain non-ASCII characters
+* (bug 19055) maintenance/rebuildrecentchanges.php now purges
+  Special:Recentchanges's RSS and Atom feed cache
+* The installer will now try to bypass PHP's max_execution_time
+* (bug 20260) SQLite no longer tries to automatically create the database at
+  execution time, this now happens only at install time; if it is not available 
+  at script execution, it now throws an exception
+* Fixed EditFilterMerged hook so the hookError parameter serves a purpose
+  (analogous to EditFilter hook)
+* (bug 2257) Tag extensions can expand template parameters provided to the tag,
+  by using a new parameter added to the recursiveTagParse function
+* (bug 14900) __INDEX__ and __NOINDEX__ no longer override site config set in
+  $wgArticleRobotPolicies.
+* (bug 20466) Hidden categories are no more displayed when printing
+* (bug 20446) When changing user rights with User@remotewiki and remotewiki is
+  the local wiki, the user is now treated as the local user
+* (bug 20494) OutputPage::getArticleBodyOnly() no longer requires an useless
+  argument
+* (bug 20136) Protection form JavaScript now synchronizes the expiry boxes on
+  any change, in addition to onkeyup.
+* Don't link to "edit this page" on MediaWiki:Noarticletext if user is not
+  allowed to create page. Done via new message
+  MediaWiki:Noarticletext-nopermission
+* Improved compatibility between the Vector skin and addPortletLink() from
+  wikibits.js: empty portlets are now present but hidden, adding an element to a
+  portlet unhides it
+* (bug 19531) addPortletLink() now wraps inserted labels in a <span> element to
+  be compatible with the CSS for the Vector skin
+* (bug 20578) Wrong localized image metadata - duplicated string?
+* (bug 20556) Stub threshold's "other" <input> in Special:Preferences now has a
+  correct type="text" parameter
+* (bug 482) Don't include TOC in the printable version if it has been hidden
 
 == API changes in 1.16 ==
 
@@ -437,7 +543,8 @@ this. Was used when mwEmbed was going to be an extension.
 * (bug 19907) $wgCrossSiteAJAXdomains added to allow specified (or all)
   external domains to access api.php via AJAX, if the browser supports the 
   Access-Control-Allow-Origin HTTP header
-* (bug 19004) Added support for tags to the API.
+* (bug 19999) Made metadata and properties of search results optional. Added
+  srprop and srinfo.
 
 === Languages updated in 1.16 ===
 
@@ -446,7 +553,12 @@ regularly. Below only new and removed languages are listed, as well as
 changes to languages because of MediaZilla reports.
 
 * Lower Silesian (sli) (new)
+* Picard (pcd) (new)
 * Uyghur (Arabic script) (ug-arab) (new)
+* Eastern Yiddish (ydd) (removed)
+* Iriga Bicolano (bto) (removed)
+* Palembang (plm) (removed)
+* Tamazight (tzm) (removed)
 
 * (bug 18474) Sorani (ckb - Central Kurdish) (renamed from ku-arab)
 * Add PLURAL function for Scots Gaelic (gd)