Merge "ResourceLoader::makeLoaderImplementScript: Bind args as '$' and 'jQuery'"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 14 Apr 2014 20:53:47 +0000 (20:53 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 14 Apr 2014 20:53:47 +0000 (20:53 +0000)
1  2 
RELEASE-NOTES-1.23

diff --combined RELEASE-NOTES-1.23
@@@ -148,8 -148,6 +148,8 @@@ production
    process the result set prior to rendering.
  * A PoolCounterRedis class was added which can be make use of in $wgPoolCounterConf.
    This requires at least one Redis 2.6+ server.
 +* $wgProfileToDatabase was removed. Set $wgProfiler to ProfilerSimpleDB
 +  in StartProfiler.php instead of using this.
  
  === Bug fixes in 1.23 ===
  * (bug 41759) The "updated since last visit" markers (on history pages, recent
    included in all searches.
  * Added list=prefixsearch that works like action=opensearch but can be used as
    a generator.
 +* (bug 24782) Various modules will now use unique continuation parameters.
 +* (bug 63249) Cache RecentChanges Atom feed in varnish for 15 seconds.
  
  === Languages updated in 1.23 ===
  
@@@ -341,6 -337,13 +341,13 @@@ changes to languages because of Bugzill
  * The locations of resources have been split between upstream libraries, now in
    resources/lib/, local libaries in resources/src/, and local forks of upstream
    libraries, also in resources/src/.
+ * BREAKING CHANGE: The automatically-generated function closure with which
+   ResourceLoader wraps all modules' JavaScript code now binds the identifier
+   names 'jQuery' and '$' to the jQuery object of the version of jQuery that is
+   bundled with MediaWiki. If you bind these names to other objects in global
+   scope (like Zepto.js or document.querySelectorAll, for example) you will need
+   to use different names to or re-bind them at the top of each
+   ResourceLoader-loaded module.
  
  ==== Removed classes ====
  * FakeMemCachedClient (deprecated in 1.18)