r87387 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87386‎ | r87387 | r87388 >
Date:06:03, 4 May 2011
Author:tstarling
Status:ok
Tags:
Comment:
The configuration change section only really makes sense if you use it only for changes which might be useful to someone who is maintaining their LocalSettings.php.

* Moved the documentation of new features which happen to be configurable to the features section.
* Removed some entries for new ResourceLoader configuration since the existence of ResourceLoader is already documented.
* Moved some entries about deprecated or removed features to a new "other changes" section, apparently they were only in the configuration changes section because there was no better place for them.

Also:
* Fixed an error from r87385
* Cleaned up the language changes section, which morphed from a new languages list to a language-related bugfix list some time around r46663 but was never properly described as such.
Modified paths:
  • /branches/REL1_17/phase3/RELEASE-NOTES (modified) (history)

Diff [purge]

Index: branches/REL1_17/phase3/RELEASE-NOTES
@@ -35,37 +35,22 @@
3636 ** When several pages are given the same sort key, they sort by their
3737 names instead of randomly.
3838
39 -* The lowest supported version of MediaWiki is now 5.2.3. If necessary, please
 39+* The lowest supported version of PHP is now 5.2.3. If necessary, please
4040 upgrade PHP prior to upgrading MediaWiki.
4141
4242 === Configuration changes in 1.17 ===
43 -* DatabaseFunctions.php that was needed for compatibility with pre-1.3
44 - extensions has been removed.
 43+
4544 * $wgLogAutocreatedAccounts controls whether autocreation of accounts is logged
4645 to new users log.
47 -* $wgAllowImageTag can be set to true to whitelist the <img> tag in wikitext.
48 -* (bug 12797) Add $wgGalleryOptions for adjusting of default gallery display
49 - options.
50 -* $wgAllowUserCssPrefs option allows disabling CSS-based preferences; which can
51 - improve page loading speed.
5246 * (bug 22858) $wgLocalStylePath is by default set to the same value as
5347 $wgStylePath but should never point to a different domain than the site is
5448 on, allowing skins to use .htc files which are not cross-domain friendly.
55 -* (bug 20193) Added $wgVectorShowVariantName global configuration variable
56 - which causes Vector to render the variants drop-down menu with a label
57 - showing the current variant name. This is off by default, pending further
58 - research into its user experience implications.
59 -* XmlFunctions.php has been removed. Use the Xml or Html classes as appropriate.
60 -* Added $wgSQLMode for setting database SQL modes - either performance (null)
61 - or other reasons (such as enabling stricter checks)
6249 * $wgFileStore has been deprecated. The only usage $wgFileStore['deleted'] has
6350 been turned into $wgDeletedDirectory.
6451 * $wgDeletedDirectory has been added to specify what directory to place deleted
6552 uploads in.
6653 * IBM DB2 database no longer uses the db specific $wgDBport_db2 variable but the
6754 normal $wgDBport.
68 -* The upload link for missing files can now be set separately from the
69 - navigation link with $wgUploadMissingFileUrl.
7055 * $wgCategoryPrefixedDefaultSortkey was removed and is now always false. This
7156 provides more sensible sorting behavior for categories.
7257 * Removed unused globals: $wgEnableSerializedMessages, $wgCheckSerialized,
@@ -73,46 +58,15 @@
7459 $wgUseZhdaemon, $wgZhdaemonHost and $wgZhdaemonPort.
7560 * (bug 24408) The include_path is not modified in the default LocalSettings.php
7661 * $wgVectorExtraStyles was removed, and is no longer in use.
77 -* $wgLoadScript was added to specify alternative locations for ResourceLoader
78 - requests.
79 -* $wgResourceLoaderMaxage was added to specify maxage and smaxage times for
80 - responses from ResourceLoader based on whether the request's URL contained a
81 - version parameter or not.
82 -* $wgResourceLoaderDebug was added to specify the default state of debug mode;
83 - this will still be overridden with the debug URL parameter a la
84 - $wgLanguageCode.
85 -* $wgResourceLoaderInlinePrivateModules was added to specify whether private
86 - modules such as user.options should be embedded in the HTML output or
87 - delivered through a resource loader request, which bypasses server cache (like
88 - squid) and checks the user parameter against $wgUser. The former adds more
89 - data to all pages, while the latter adds a request which cannot be cached
90 - server side.
9162 * Removed $wgUpdates for database updates; extension should use
9263 DatabaseUpdater::addExtensionUpdate().
9364 * Removed $wgServerName. It doesn't need to be set anymore and is no longer
9465 available as input for other configuration items, either.
95 -* Remove $wgRemoteUploads. It was not well supported and superseded by
96 - $wgUploadNavigationUrl.
97 -* (bug 198) $wgUpgradeKey allows unlocking the web installer for upgrades
98 - without having to move LocalSettings.php
99 -* The FailFunction "error handling" method has now been removed
100 -* $wgAdditionalMailParams added to allow setting extra options to mail() calls.
101 -* $wgSecureLogin to optionally login using HTTPS
102 -* (bug 25728) Added $wgPasswordSenderName to make the name associated
103 - with $wgPasswordSender configurable
104 -* Sysops now have the "suppressredirect" right by default
105 -* (bug 22463) $wgFooterIcons added to allow configuration of the icons shown in
106 - the footers of skins.
107 -* $wgFileCacheDepth can be used to set the depth of the subdirectory hierarchy
108 - used for the file cache. Default value is 2, which matches former behavior
10966 * It's no longer necessary for LocalSettings.php to include DefaultSettings.php.
11067 * It's no longer necessary to set $wgCacheEpoch to the file modification time
11168 of LocalSettings.php, in LocalSettings.php itself. Instead, this is done
11269 automatically if $wgInvalidateCacheOnLocalSettingsChange is true (which is
11370 the default).
114 -* (bug 26253) $wgPostCommitUpdateList has been removed
115 -* The PHPUnit test suite has been removed from this release due to serious issues
116 - which should be resolved by the 1.18 release
11771 * $wgCopyrightIcon is deprecated and $wgFooterIcons['copyright']['copyright'] should
11872 be used instead.
11973 * $wgSysopUserBans is deprecated, and will be made permanently true in 1.18.
@@ -123,6 +77,7 @@
12478 address at a time.
12579
12680 === New features in 1.17 ===
 81+
12782 * (bug 10183) Users can now add personal styles and scripts to all skins via
12883 User:<name>/common.css and /common.js (if user css/js is enabled).
12984 * (bug 22748) Add anchors on Special:ListGroupRights.
@@ -256,8 +211,33 @@
257212 * (bug 26563) Add bytes changed per revision for stub and full article dumps
258213 * (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an svg we
259214 look at when finding metadata to prevent excessive resource usage.
 215+* (bug 198) $wgUpgradeKey allows unlocking the web installer for upgrades
 216+ without having to move LocalSettings.php
 217+* Added $wgAllowImageTag, which can be set to true to whitelist the <img> tag
 218+ in wikitext.
 219+* (bug 12797) Add $wgGalleryOptions for adjusting of default gallery display
 220+ options.
 221+* Added the $wgAllowUserCssPrefs option which allows disabling CSS-based
 222+ preferences; which can improve page loading speed.
 223+* Added $wgSQLMode for setting database SQL modes - either performance (null)
 224+ or other reasons (such as enabling stricter checks)
 225+* (bug 20193) Added $wgVectorShowVariantName global configuration variable
 226+ which causes Vector to render the variants drop-down menu with a label
 227+ showing the current variant name. This is off by default, pending further
 228+ research into its user experience implications.
 229+* The upload link for missing files can now be set separately from the
 230+ navigation link with $wgUploadMissingFileUrl.
 231+* $wgAdditionalMailParams added to allow setting extra options to mail() calls.
 232+* Added $wgSecureLogin to optionally login using HTTPS
 233+* (bug 25728) Added $wgPasswordSenderName to make the name associated
 234+ with $wgPasswordSender configurable
 235+* (bug 22463) $wgFooterIcons added to allow configuration of the icons shown in
 236+ the footers of skins.
 237+* $wgFileCacheDepth can be used to set the depth of the subdirectory hierarchy
 238+ used for the file cache. Default value is 2, which matches former behavior
260239
261240 === Bug fixes in 1.17 ===
 241+
262242 * (bug 17560) Half-broken deletion moved image files to deletion archive
263243 without updating database.
264244 * (bug 22666) Submitting user block form with an invalid user name no longer
@@ -568,6 +548,7 @@
569549 parameter.
570550
571551 === API changes in 1.17 ===
 552+
572553 * BREAKING CHANGE: action=patrol now requires POST
573554 * BREAKING CHANGE: patrol token is no longer the same as edit token
574555 * BREAKING CHANGE: Session keys returned by ApiUpload are now strings instead of integers
@@ -681,28 +662,32 @@
682663 real timestamp field.
683664 * (bug 27722) list=filearchive now supports revdel
684665
685 -=== Languages updated in 1.17 ===
 666+=== Language support changes in 1.17 ===
686667
687668 MediaWiki supports over 330 languages. Many localizations are updated
688 -regularly. Below only new and removed languages are listed, as well as
689 -changes to languages because of Bugzilla reports.
 669+regularly.
690670
691 -* Moroccan Spoken Arabic (ary) (new)
692 -* Banjar (bjn) (new)
693 -* Danish (dk) (removed deprecated language code)
694 -* Fiji Hindi (Devangari script) (removed)
695 -* Kabardian (kdb) (new, dummy)
696 -* Kabardian (Cyrillic) (kbd-cyrl) (new)
697 -* Latgalian (ltg) (new)
698 -* Minangkabau (min) (new)
699 -* Dutch (informal) (nl-informal) (new)
700 -* Rusyn (rue) (new)
 671+The following languages were added:
 672+
 673+* Moroccan Spoken Arabic (ary)
 674+* Banjar (bjn)
 675+* Kabardian (kdb)
 676+* Kabardian (Cyrillic) (kbd-cyrl)
 677+* Latgalian (ltg)
 678+* Minangkabau (min)
 679+* Dutch (informal) (nl-informal)
 680+* Rusyn (rue)
 681+
 682+Other significant changes to MediaWiki's language support:
 683+
 684+* Fiji Hindi (Devangari script) was removed
 685+* Removed deprecated language code "dk" (Danish), use "da" instead
701686 * Link trail added for sl and sh
702687 * (bug 27633) Add characters to linkTrail for Potuguese (pt and pt-br)
703688 * (bug 23156) Commafy and search normalization updated for Belarusian
704689 (Taraškievica).
705690 * (bug 23283) Native name for Old English -> Ænglisc.
706 -* (bug 23364) Native name for Azerbaijani -> Az?rbaycanca.
 691+* (bug 23364) Native name for Azerbaijani -> Azərbaycanca.
707692 * (bug 24593) Native name for Sorani now uses only Arabic script.
708693 * (bug 24628) Generic translations for NS_USER/NS_USER_TALK for Esperanto.
709694 * (bug 24917) Polish as fallback for Kashubia.
@@ -715,6 +700,19 @@
716701 to Башҡортса
717702 * (bug 26395) Change name of Cornish language to Kernowek
718703
 704+=== Other changes in 1.17 ===
 705+
 706+* DatabaseFunctions.php that was needed for compatibility with pre-1.3
 707+ extensions has been removed.
 708+* XmlFunctions.php has been removed. Use the Xml or Html classes as appropriate.
 709+* The FailFunction "error handling" method has now been removed
 710+* Sysops now have the "suppressredirect" right by default
 711+* Removed $wgRemoteUploads. It was not well supported and superseded by
 712+ $wgUploadNavigationUrl.
 713+* (bug 26253) $wgPostCommitUpdateList has been removed
 714+* The PHPUnit test suite has been removed from this release due to serious issues
 715+ which should be resolved by the 1.18 release.
 716+
719717 == Compatibility ==
720718
721719 MediaWiki 1.17 requires PHP 5.2.3 or later. PHP 4 is no longer supported.

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r46663* (bug 17288) Improved messages for default language (English). Patch submitt...siebrand23:28, 31 January 2009
r87385* Backport of r87383...tstarling02:41, 4 May 2011

Status & tagging log