mediawiki.user: Deprecate #bucket
authorOri Livneh <ori@wikimedia.org>
Mon, 3 Feb 2014 19:20:00 +0000 (20:20 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sat, 1 Mar 2014 16:36:14 +0000 (17:36 +0100)
Rationale:
- On the Wikimedia cluster, it is only used by AFT, which is moribund.
- It's too complicated for what it is.
- Its usage leads to a proliferation of large, persistent cookies that
  degrade site performance.
- If it were rewritten to be simpler, more generic, and cookie-free,
  it would still be an odd fit for the user module.

Change-Id: I5a66e1a4fb60f6c67d1fb5312ccb629bb7964053

RELEASE-NOTES-1.23
resources/mediawiki/mediawiki.user.js

index 4350b2d..382b54f 100644 (file)
@@ -264,6 +264,7 @@ changes to languages because of Bugzilla reports.
   object expects this column to exist. Use update.php to create this new field.
 * The jquery.delayedBind ResourceLoader module was deprecated in favor of the
   jquery.throttle-debounce module. It will be removed in MediaWiki 1.24.
+* mw.user.bucket has been deprecated.
 
 ==== Removed classes ====
 * FakeMemCachedClient (deprecated in 1.18)
index 78febd2..8344111 100644 (file)
                 *         expires: 7
                 *     } );
                 *
+                * @deprecated since 1.23
                 * @param {string} key Name of bucket
                 * @param {Object} options Bucket configuration options
                 * @param {Object} options.buckets List of bucket-name/relative-probability pairs (required,