Refactor Special:Import to extend SpecialPage instead of wfSpecialImport() stuff.
[lhc/web/wiklou.git] / RELEASE-NOTES
index 80b0e8a..25b1c40 100644 (file)
@@ -26,11 +26,11 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * $wgForwardSearchUrl has been removed entirely. Documented setting since 1.4
   has been $wgSearchForwardUrl.
 * (bug 15080) $wgOverrideSiteFeed has been added. Setting either
-  $wgSiteFeed['rss'] or 'atom' to a URL will override the default Recent Changes
-  feed that appears on all pages.
+  $wgSiteFeed['rss'] or 'atom' to a URL will override the default Recent
+  Changes feed that appears on all pages.
 * $wgSQLiteDataDirMode has been introduced as the default directory mode for
-  SQLite data directories on creation. Note this setting is separate from
-  $wgDirectoryMode, which applies to all normal directories created by MediaWiki.
+  SQLite data directories on creation. Note that this setting is separate from
+  $wgDirectoryMode, which applies to all normal dirs created by MediaWiki.
 * $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf now work more like
   $wgAddGroups and $wgRemoveGroups, where the user must belong to a specified
   group in order to add or remove those groups from themselves.
@@ -40,26 +40,41 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   is true per default, but can be set to false to allow any title.
 * $wgSpamRegex may now be an array of multiple regular expressions.
 * $wgAjaxSearch has been removed; use $wgEnableMWSuggest instead.
-* Editing the MediaWiki namespace is now unconditionally restricted to people 
-  with the editinterface right, configuring this in $wgNamespaceProtection 
+* Editing the MediaWiki namespace is now unconditionally restricted to people
+  with the editinterface right, configuring this in $wgNamespaceProtection
   is not required.
 * $wgAllowExternalImagesFrom may now be an array of multiple strings.
 * Introduced $wgEnableImageWhitelist to toggle the on-wiki external image
   whitelist on or off.
 * Added $wgRenderHashAppend to append some string to the parser cache and the
   sitenotice cache keys.
-* $wgRCChangedSizeThreshold is now a positive integer by default, 
+* $wgRCChangedSizeThreshold is now a positive integer by default,
+* (bug 16006) $wgEnableWriteAPI is now true by default. Authorized can perform
+  write actions using the API.
+* Added $wgRC2UDPInterwikiPrefix which adds an interwiki prefix
+  ($wgLocalInterwiki) onto the page names in the UDP feed.
+* Added $wgAllowUserSkin to let the wiki's owner disable user selectable skins
+  on the wiki. If it's set to true, then the skin used will *always* be
+  $wgDefaultSkin.
+* Added $wgEnotifUseRealName, which allows UserMailer to send out e-mails based
+  on the user's real name if one is set. Defaults to false (use the username)
+* Removed the 'apiThumbCacheDir' option from $wgForeignFileRepos (only used in
+  ForeignAPIRepo)
+* Image namespace and accompanying talk namespace renamed to File. For backward
+  compatibility purposes, Image still works. External tools may need to be
+  updated.
+* MediaWiki can be forced to use private IPs forwarded by a proxy server by
+  using $wgUsePrivateIPs.
 
 === Migrated extensions ===
 The following extensions are migrated into MediaWiki 1.14:
 
-* Special:DeletedContributions to show deleted user contributions (was extension
-  DeletedContributions)
+* Special:DeletedContributions to show deleted user contributions (was
+  extension DeletedContributions)
 * Special:Log/newusers recording new users (was extension Newuserlog)
 * Special:LinkSearch to search for external links (was extension LinkSearch)
 * RenderHash
 * NoMoveUserPages
-* Poem (patch by Nathaniel Herman)
 * UniversalEditButton
 
 === New features in 1.14 ===
@@ -134,42 +149,71 @@ The following extensions are migrated into MediaWiki 1.14:
 * (bug 5619) Break messages used in Special:Statistics down further
 * (bug 11029) Add link to Special:Listusers?group=sysop etc at
   Special:Statistics
-* (bug 15514) Setting $wgRightsText without $wgRightsUrl now produces a 
+* (bug 15514) Setting $wgRightsText without $wgRightsUrl now produces a
   plaintext copyright notice. Patch by Juliano F. Ravasi.
-* (bug 15551) Deletion log excerpt is now shown whenever a user vists a 
+* (bug 15551) Deletion log excerpt is now shown whenever a user vists a
   deleted page, even if they are unable to edit it.
 * Added Wantedfiles special pages, allowing users to find image links with no
   image.
-* (bug 12650) It is now possible to set different expiration times for different
-  restriction types on the protection form.
+* (bug 12650) It is now possible to set different expiration times for
+  different restriction types on the protection form.
 * (bug 8440) Allow preventing blocked users from editing their talk pages
 * Improved upload file type detection for OpenDocument formats
-* Added the ability to set the target attribute on external links with 
+* Added the ability to set the target attribute on external links with
   $wgExternalLinkTarget
-* api.php now sends "Retry-After" and "X-Database-Lag" HTTP headers if the maxlag
-  check fails, just like index.php does
-* Added "link" parameter to image links, to allow images to link to an 
+* api.php now sends "Retry-After" and "X-Database-Lag" HTTP headers if the
+  maxlag check fails, just like index.php does
+* Added "link" parameter to image links, to allow images to link to an
   arbitrary title or URL. This should replace inaccessible and incomplete
   solutions such as CSS-based overlays and ImageMap.
 * (bug 368) Don't use caption for alt attribute; allow manual specification
   using new "alt=" parameter for images
-* (bug 44) The {{ns:}} core parser function now also accepts localized namespace
-  names and aliases; also, its output now uses spaces instead of underscores to
-  match the behavior of the {{NAMESPACE}} magic word
-* Added the ability to display user edit counts in Special:ListUsers. Off by 
-  default, enabled with $wgEdititis = true (named after the medical condition 
+* (bug 44) The {{ns:}} core parser function now also accepts localized
+  namespace names and aliases; also, its output now uses spaces instead of
+  underscores to match the behavior of the {{NAMESPACE}} magic word
+* Added the ability to display user edit counts in Special:ListUsers. Off by
+  default, enabled with $wgEdititis = true (named after the medical condition
   marked by unhealthy obsession with edit counts).
 * Added a file cache to the parser to improve page rendering time on pages with
   several uses of the same image.
-* (bug 1250) Users can still use "show preview" and "show changes" even if the 
+* (bug 1250) Users can still use "show preview" and "show changes" even if the
   wiki is set to read-only mode.
-* Added a call to the 'UnwatchArticleComplete' hook to the watchlist editor.  This 
-       should make it so that ALL user-accessible methods of removing a page from a watchlist
-  lead to this hook being called (it was previously only called from within Article.php
-* Maximum execution time for shell processes on linux is now configured with 
+* Added a call to the 'UnwatchArticleComplete' hook to the watchlist editor.
+  This should make it so that ALL user-accessible methods of removing a page
+  from a watchlist lead to this hook being called (it was previously only
+  called from within Article.php
+* Maximum execution time for shell processes on linux is now configured with
   $wgMaxShellTime (180 seconds by default)
 * (bug 1306) 'Email user' link no longer shown on user page when emailing
   is not available due to lack of confirmed address or disabled preference
+* Special:Wanted templates special page added to display missing templates
+  linked from articles
+* Make search matches bold only, not red as well
+* Added 'UserRights::showEditUserGroupsForm' hook to allow extensions to alter
+  the groups that the user can be added to/removed from in Special:UserRights
+* (bug 10080) Blocks can be modified without unblocking first
+* (bug 15820) Special:BlockIP shows a notice if the user being blocked is
+  already directly blocked
+* (bug 13710) Allow to force "watch this" checkbox via URL using parameter
+  "watchthis"
+* (bug 15125) Add Public Domain to default options when installing. Patch by
+  Nathan Larson.
+* Set a special temporary directory for ImageMagick with $wgImageMagickTempDir
+* (bug 16113) Show/hide for redirects in Special:NewPages
+* (bug 15903) Upload link was added to Nostalgia skin
+* (bug 15761) Add user toggle to omit diff after rollback
+* Added the BitmapHandler_ClientOnly media handler, which allows server-side
+  image scaling to be completely disabled for specific media types, via the
+  $wgMediaHandlers configuration variable.
+* New 'AbortDiffCache' hook can be used to cancel the caching of a diff
+* (bug 15835) Added Content-Style-Type meta tag
+* (bug 11027)  Add parameter to MW:Randompage-nopages so that user can see the
+  namespace.
+* Add id="mw-user-domain-section" to <tr> tag in Userlogin.php template so that
+  admins with a single domain can hide the domain section using CSS
+* Dropped old Paser_OldPP class. Only new parser with preprocessor is used.
+* Moved password reset form from Special:Preferences to Special:ResetPass
+* Added Special:ChangePassword as a special page alias for Special:ResetPass
 
 === Bug fixes in 1.14 ===
 
@@ -191,12 +235,12 @@ The following extensions are migrated into MediaWiki 1.14:
   Patch by Max Semenik.
 * (bug 15055) Talk page notifications no longer attempt to send mail when
   user's e-mail address is invalid or unconfirmed
-* (bug 12370) Add throttle on password attempts. Defaults to max 5 attempts in 5
-  minutes.
+* (bug 12370) Add throttle on password attempts. Defaults to max 5 attempts in
+  minutes.
 * (bug 15016) 'Templates used on this page' list in view source should be
   wrapped in a div with class "templatesUsed"
-* (bug 14868) Setting $wgFeedDiffCutoff to 0 now disables generation of the diff
-  entirely, not just the display of it.
+* (bug 14868) Setting $wgFeedDiffCutoff to 0 now disables generation of the
+  diff entirely, not just the display of it.
 * (bug 6387) Introduced new setting $wgCategoryPrefixedDefaultSortkey which
   allows having the unprefixed page title as the default category sortkey
 * (bug 15079) Add class="ns-talk" / "ns-subject" to <body>. Also added
@@ -217,7 +261,7 @@ The following extensions are migrated into MediaWiki 1.14:
   addition to body text.
 * Navigation links to images available from a shared repository (like Commons)
   from their local talk pages no longer appear as redlinks
-* Action=purge on ForeignApiFiles now works (purges their thumbnails and 
+* Action=purge on ForeignApiFiles now works (purges their thumbnails and
   description pages).
 * (bug 15303) Title conversion for templates wasn't working in some cases.
 * (bug 15264) Underscores in Special:Search/Foo_bar parameters were taken
@@ -227,8 +271,8 @@ The following extensions are migrated into MediaWiki 1.14:
 * (bug 15172) 'Go' button of Special:Recentchanges now on the same line as the
   last input element (like Special:Watchlist too)
 * (bug 15351) Fix fatal error for invalid section fragments in autocomments
-* Fixed intermittent deadlock errors involving objectcache table queries. 
-  Use a separate database connection for the objectcache table to avoid 
+* Fixed intermittent deadlock errors involving objectcache table queries.
+  Use a separate database connection for the objectcache table to avoid
   long-lasting locks on that table.
 * Respect file restrictions in the file history list
 * (bug 15399) Odd/even classes on sortable tables' rows could be slow for large
@@ -239,15 +283,16 @@ The following extensions are migrated into MediaWiki 1.14:
 * (bug 15543) Only include user touched timestamp to generated CSS
 * (bug 15497) Removed encoding attribute from <?xml ?> tag
 * (bug 12284) Special:Preferences now sets a returnto parameter on the link to
-  Special:Userlogin. Patch by Marooned.
-* Fixed the HTTP accept language string detection length in 
+  Special:UserLogin. Patch by Marooned.
+* Fixed the HTTP accept language string detection length in
   LanguageConverter.php, instead of the fixed length language codes.
-* Special:Recentchangeslinked no longer shows outgoing links for nonexistent pages
-  even if there are broken link records with source article id 0 in the database
-* (bug 15598) Special:Newpages default limit uses user preference for recentchanges
-  limit instead of hardcoded 50.
+* Special:RecentChangesLinked no longer shows outgoing links for nonexistent
+  pages even if there are broken link records with source article id 0 in the
+  database
+* (bug 15598) Special:Newpages default limit uses user preference for
+  recentchanges limit instead of hardcoded 50.
 * (bug 15617) $wgFeedClassesOutputPage::getHeadLinks() respects $wgFeedClasses,
-  instead of hardcoding rss and atom. Patch by Juliano F. Ravasi. 
+  instead of hardcoding rss and atom. Patch by Juliano F. Ravasi.
 * (bug 14638) Special:Blockip now provides a link to the block log if the user
   has been blocked more than 10 times. Patch by Matt Johnston.
 * (bug 12678) Skins don't show Upload link if the user isn't allowed to upload.
@@ -265,14 +310,62 @@ The following extensions are migrated into MediaWiki 1.14:
   user can only change his rights
 * (bug 15846) Categories "leak" from older revisions in certain circumstances
 * (bug 15928) Special pages dropdown should be inline in non-MonoBook skins
-* (bug 14178) Some uses of UserLoadFromSession hook cause segfault 
-* (bug 15925) Postitive bytes added on recentchanges and watchlists are now bolded
-  if above the threshold, previously it only worked for negatives
-* Specify apple-touch-icon before favicon in HTML head section to make the Konqueror
-  browser correctly use the latter
+* (bug 14178) Some uses of UserLoadFromSession hook cause segfault
+* (bug 15925) Postitive bytes added on recentchanges and watchlists are now
+  bolded if above the threshold, previously it only worked for negatives
+* Specify apple-touch-icon before favicon in HTML head section to make the
+  Konqueror browser correctly use the latter
 * (bug 15717) Set $separatorTransformTable for language 'eu'
 * (bug 15605) Enabled $datePreferences for language 'hr'. Added standard date
   preferences.
+* (bug 13701) {{NUMBEROFVIEWS}} magic word to show number of total views.
+* (bug 5101) Image from Commons doesn't show up when searched in Wikipedia
+  search box
+* (bug 14609) User's namespaces to be searched default not updated after adding
+  new namespace
+* Purge form uses valid XHTML
+* (bug 12764) Special:LonelyPages shows transcluded pages
+* (bug 16073) Enhanced RecentChanges uses onclick handler with better fallback
+  if JavaScript is disabled
+* (bug 4253) Recentchanges IRC messages no longer include title in diff URLs
+* Allow '0' to be an accesskey.
+* (bug 8063) Use language-dependent sorting in client-side sortable tables
+* (bug 16160) Suggestions box should be resized from left for RTL wikis
+* (bug 11533) Fixed insane slowdown when in read-only mode for long periods
+  of time with CACHE_NONE (default objectcache table configuration).
+* Trying to set two different default category sort keys for one page now
+  produces a warning
+* (bug 16143) Fix redirect loop on special pages starting with lower case
+  letters
+* (bug 15737) Fix notices while expanding using PPCustomFrame
+* (bug 15544) Non-index entry points cause the "Wiki not set up" message to
+  have corrupt URLs
+* (bug 5101) Image from Commons doesn't show up when searched in Wikipedia
+  search box
+* (bug 4362) [[MediaWiki:History copyright]] no more used with most recent
+  revision when passing oldid parameter in the url
+* (bug 16265) When caching thumbs with the ForeignApiRepo, we now use the same
+  filename as the remote site.
+* (bug 8345) Don't autosummarize where a redirect was left unchanged
+* Made thumb caching in ForeignApiFile objects integrated with normal thumb
+  path naming (/thumbs/hash/file), retired 'apiThumbCacheDir' as a result.
+* (bug 5530) Consistency between character encoding in {{PAGENAMEE}},
+  {{SUBPAGENAMEE}} and {{FULLPAGENAMEE}}
+* Safer handling of non-MediaWiki exceptions -- now obeys our settings for
+  formatting and path exposure.
+* Less verbose errors from profileinfo.php when not configured
+* Blacklist redirects via Special:Filepath, hard to use.
+* Improved input validation on Special:Import form
+* Add a .htaccess to deleted images directory for additional protection
+  against exposure of deleted files with known SHA-1 hashes on default
+  installations.
+* Improved scripting safety heuristics for IE 5/6 content-type detection.
+* Improved scripting safety heuristics on SVG uploads.
+* (bug 11728) Unify layout of enhanced watchlist/recent changes
+* (bug 8702) Properly update stats when running nukePage maintenance script
+* (bug 7726) Searches for words less than 4 characters now work without
+  requiring customization of MySQL server settings
+* Honour unchecked "Leave a redirect behind" for moved subpages
 
 === API changes in 1.14 ===
 
@@ -293,15 +386,15 @@ The following extensions are migrated into MediaWiki 1.14:
 * list=search doesn't list missing pages any more
 * (bug 15178) Added clshow to prop=categories to allow filtering for hidden/
   non-hidden categories
-* (bug 15228) Combining revids= and redirects now throws a warning instead of an
-  error, and still resolves redirects generated by the generator.
+* (bug 15228) Combining revids= and redirects now throws a warning instead of
+  an error, and still resolves redirects generated by the generator.
 * list={backlinks,embeddedin,imageusage} now return arrays with keys 0, 1, 2,
   etc. (AKA lists) instead of arrays with pageIDs as keys (AKA hash tables)
   for consistency with other list modules.
 * Added action=watch
 * (bug 15275) apprefix and related parameters ignore spaces at the end
-* action=edit no longer throws unknown error 228  when trying to create an empty
-  section with section=new
+* action=edit no longer throws unknown error 228  when trying to create an
+  empty section with section=new
 * Database replication lag doesn't cause all action=edit requests to return the
   nochange flag any more
 * (bug 15392) ApiFormatBase::formatHTML now uses $wgUrlProtocols.
@@ -319,7 +412,7 @@ The following extensions are migrated into MediaWiki 1.14:
 * Added APIAfterExecute, APIQueryAfterExecute and APIQueryGeneratorAfterExecute
   hooks which allow for extending core modules in a cleaner way
 * action=protect checks for invalid protection types and levels
-* (bug 15673) Added indentation to format=wddxfm output and improved built-in 
+* (bug 15673) Added indentation to format=wddxfm output and improved built-in
   WDDX formatter to resemble PHP's more
 * (bug 15706) Empty values for apprtype and apprlevel are now silently ignored
   rather than causing an exception
@@ -337,7 +430,7 @@ The following extensions are migrated into MediaWiki 1.14:
 * (bug 15767) apfilterlanglinks returns duplicate results
 * (bug 15845) Added pageid/fromid parameter to action=delete/move, making
   manipulation of legacy pages with invalid titles possible
-* (bug 15881) Empty or invalid parameters cause database errors 
+* (bug 15881) Empty or invalid parameters cause database errors
 * The maxage and smaxage parameters are now properly validated
 * (bug 15945) list=recentchanges doesn't check $wgUseRCPatrol, $wgUseNPPatrol
   and patrolmarks right
@@ -349,6 +442,23 @@ The following extensions are migrated into MediaWiki 1.14:
   sortkeys containing pipes
 * (bug 16018) Added uccontinue parameter to list=usercontribs so paging
   works properly when multiple users are queried or a userprefix is used
+* (bug 16047) Added activeusers attribute to meta=siteinfo&siprop=statistics
+  output
+* Added redirect resolution to action=parse
+* (bug 16074) rvprop=content combined with a generator with a high limit causes
+  an error
+* (bug 16105) Image metadata attributes containing spaces result in invalid XML
+* (bug 16126) Added siprop=magicwords to meta=siteinfo
+* (bug 16159) Added wlshow=patrolled|!patrolled to list=watchlist
+* (bug 16225) Titles like Talk:Talk:Foo broke apfrom and friends
+* meta=siteinfo&siprop=interwikimap no longer throws an exception for empty
+  sifilter parameter.
+* (bug 12760) meta=userinfo&uiprop=ratelimits doesn't list group-specific rate
+  limits
+* (bug 16398) meta=userinfo&uiprop=rights lists some rights twice in some cases
+* (bug 16408) Added rvgeneratexml to prop=revisions
+* (bug 16421) Made list=logevents's leuser accept user names with underscores
+  instead of spaces
 
 === Languages updated in 1.14 ===
 
@@ -364,6 +474,7 @@ regularly. Below only new and removed languages are listed.
 * Niuean (niu) (new)
 * Oromo (om) (new)
 * Plautdietsch (pdt) (new)
+* Western Punjabi (pnb) (new)
 * Tarantino (roa-tara) (new)
 * Serbo-Croatian (sh) (new)
 * Tulu (tcy) (new)
@@ -385,8 +496,8 @@ At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
 1.14 has several database changes since 1.13, 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 due to
+If upgrading from before 1.11, and you are using a wiki as a commons reposito-
+ry, 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