jenkins-bot [Tue, 11 Aug 2015 21:58:08 +0000 (21:58 +0000)]
Merge "wikibits.js: Support multiple parameter in document.write"
Fomafix [Sat, 8 Aug 2015 20:57:25 +0000 (20:57 +0000)]
wikibits.js: Support multiple parameter in document.write
document.write and document.writeln supports multiple arguments:
http://www.w3.org/html/wg/drafts/html/CR/webappapis.html#document.write%28%29
Support this in the replacement code.
Change-Id: I0ffc51352278d434d8347502c778b16b34c7d73f
Aaron Schulz [Tue, 11 Aug 2015 00:49:19 +0000 (17:49 -0700)]
Restored I4afaecd8: "Avoiding writing sessions for no reason"
* After
203d2c9c11643, the refresh updates should actually trigger
This reverts commit
e48fec5a8ab5916735849d420f2dfeec7eb0fced.
Change-Id: I8427ed5b3a5bb80033cbdf071a33f8a3999ecb97
jenkins-bot [Tue, 11 Aug 2015 20:29:45 +0000 (20:29 +0000)]
Merge "Fixed @var doc in MultiWriteBagOStuff"
Aaron Schulz [Tue, 11 Aug 2015 20:10:28 +0000 (13:10 -0700)]
Fixed @var doc in MultiWriteBagOStuff
Change-Id: I53384460b7a6ccda50a23e3ab1fc614198e82d1a
Ori Livneh [Tue, 11 Aug 2015 20:02:44 +0000 (13:02 -0700)]
Fix argument handling in MultiWriteBagOStuff::get()
Follow-up for I7ea050a2ea.
Change-Id: Ibaa4cf01ee913c7a725d1719c00308ef3c6b0aff
Translation updater bot [Tue, 11 Aug 2015 19:49:33 +0000 (21:49 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I204409f696639078b76df2de157e1a7a89086e1f
jenkins-bot [Tue, 11 Aug 2015 19:01:35 +0000 (19:01 +0000)]
Merge "refreshLinks.php: Don't wait for slaves if nothing found in a chunk"
jenkins-bot [Tue, 11 Aug 2015 18:57:05 +0000 (18:57 +0000)]
Merge "ResourceLoader: make `cacheReport` option false by default"
Ori Livneh [Tue, 11 Aug 2015 16:24:03 +0000 (09:24 -0700)]
ResourceLoader: make `cacheReport` option false by default
In the three years or so that I have been around, we at Wikimedia have not to
my knowledge used the cache keys to manage the cache of ResourceLoader modules.
Instead, if we want to force a module to rebuild, we simply touch one of its
files. (Though even that is not often required these days.)
Change-Id: Ib62a792e053572f268d4be19a10f99f84c07abc5
Kunal Mehta [Fri, 24 Jul 2015 21:23:46 +0000 (14:23 -0700)]
SECURITY: Don't disclose if an IP is autoblocked on Special:DeletedContributions
Same patch as
dc2966bd05b, just for Special:DeletedContributions this
time.
Bug: T106893
Change-Id: I2089b21fc379b612fe9bf087b5f4ea75052bdbd3
Timo Tijhof [Tue, 28 Apr 2015 05:51:25 +0000 (06:51 +0100)]
thumb.php: Escape $rel404 in error message
Bug: T97391
Change-Id: I363686732fe9e5636c85c267c0728fc872c3e39d
Brad Jorsch [Fri, 27 Mar 2015 15:49:58 +0000 (11:49 -0400)]
SECURITY: API: Use constant-time comparison for watchlist token
Avoids a theoretical timing attack.
Bug: T94116
Change-Id: Ia4a2b13bd5d3cd256c6b2deada224148dc2888a6
jenkins-bot [Tue, 11 Aug 2015 12:46:03 +0000 (12:46 +0000)]
Merge "Add mw.Upload.Dialog as a UI to mw.Upload"
Prateek Saxena [Mon, 3 Aug 2015 05:08:55 +0000 (10:38 +0530)]
Add mw.Upload.Dialog as a UI to mw.Upload
Change-Id: I5fcd0a5f8190134b87a75d3c22e7aefc619d3738
jenkins-bot [Tue, 11 Aug 2015 05:58:56 +0000 (05:58 +0000)]
Merge "Move pager inside searchresults div"
Gergő Tisza [Tue, 21 Jul 2015 23:31:22 +0000 (16:31 -0700)]
Count API and hook calls, with 1:1000 sampling
Re-adds I6f807adc9cbf71c5d7b83c7eec43965dce1d2a16 and
Ic04daf475b936b942833362c7a979dde671b3ef4 (reverted in
35ccd9c2fe058ed76be905d9efe06c31c11fd696) with 1:1000 sampling
to avoid swamping the statsd hosts.
Also fixes query module logging.
Bug: T102079
Bug: T106450
Change-Id: I8b9366407c0d1713790d08e69aaa518130f01977
jenkins-bot [Mon, 10 Aug 2015 20:47:38 +0000 (20:47 +0000)]
Merge "MessageCache: use APC for local caching, rather than files"
Translation updater bot [Mon, 10 Aug 2015 19:41:06 +0000 (21:41 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I12216dc2ef2f270f19311ff52c76f78da8a09b3c
Ori Livneh [Sun, 9 Aug 2015 04:59:47 +0000 (21:59 -0700)]
MessageCache: use APC for local caching, rather than files
In addition to eliminating disk IO in a hot path, using APC spares us from
having to serialize and unserialize cache arrays. Since we're not serializing,
though, we don't have a string representation to hash, so use a random string
instead. (The code already treats the association of hash string to cache as
purely symbolic, so this is not problematic.)
Whereas the hash was previously stored as the first 32 bytes of each cache
file, we now store it as an array key instead (like VERSION and EXPIRY were
already). Because this changes the structure of cached data, we have to bump
MSG_CACHE_VERSION.
While we're here, make MessageCache::getLocalCache() and
MessageCache::saveToLocal() protected, make their signatures more
consistent with other methods in this class. While they were (implicitly)
public before, there are absolutely no external callers in Core or
extensions[0][1], so we can skip the standard deprecation process.
[0]: https://github.com/search?q=%40wikimedia+getlocalcache&type=Code&utf8=%E2%9C%93
[1]: https://github.com/search?utf8=%E2%9C%93&q=%40wikimedia+savetolocal&type=Code
Change-Id: I020617d2df2a8f0f243b85f3383dc7b16f15aaad
Aaron Schulz [Mon, 3 Aug 2015 20:35:50 +0000 (13:35 -0700)]
Moved ObjectCacheSessionHandler renewal logic to wfSetupSession()
* This should trigger more reliably than the shutdown function
callback, which is really only there for sanity to make sure
session close/write happens.
Change-Id: I9a1aa76de121ba8de33b3fa850bd223929fae404
jenkins-bot [Mon, 10 Aug 2015 18:37:48 +0000 (18:37 +0000)]
Merge "Removed ScopedPHPTimeout; unused"
jenkins-bot [Mon, 10 Aug 2015 18:31:02 +0000 (18:31 +0000)]
Merge "Avoid update.php suggestion on DB connection errors"
Aaron Schulz [Fri, 7 Aug 2015 23:07:37 +0000 (16:07 -0700)]
Removed ScopedPHPTimeout; unused
Change-Id: Ic3a3500ddd410c68a30d3f3d1947f632e1aff5fd
Kunal Mehta [Mon, 10 Aug 2015 04:44:27 +0000 (21:44 -0700)]
Load 'mediawiki.legacy.commonPrint' styles with a media type property
Split the 'mediawiki.legacy.commonPrint' styles into a separate <style>
tag which sets media="print", which will make it a non-render blocking
resource.
Bug: T108413
Change-Id: Ife1d65b31bc79f96d7b89b94fdaeb2babf7ddf40
jenkins-bot [Mon, 10 Aug 2015 13:23:11 +0000 (13:23 +0000)]
Merge "Enforce an alphabetic default order for SiteList entries"
jenkins-bot [Mon, 10 Aug 2015 11:32:02 +0000 (11:32 +0000)]
Merge "A clearer wording for apihelp-query+info-paramvalue-prop-displaytitle"
jenkins-bot [Mon, 10 Aug 2015 09:24:16 +0000 (09:24 +0000)]
Merge "Add MessagesSdh.php for Southern Kurdish"
jenkins-bot [Sun, 9 Aug 2015 22:14:58 +0000 (22:14 +0000)]
Merge "Fix the display of the libraries in Special:Version for RTL wikis"
Translation updater bot [Sun, 9 Aug 2015 18:34:22 +0000 (20:34 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: If3b0cef6be7f0f6bf684b178c237313e27af058b
Amir E. Aharoni [Sun, 9 Aug 2015 13:27:09 +0000 (16:27 +0300)]
Add MessagesSdh.php for Southern Kurdish
This language has 18% of core localization and it's being exported,
but it also needs an entry in Names.php, and a definition of
direction and fallback. Adding them in MessagesSdh.php.
Change-Id: I47febc9252292d2bffa1aad5eb389c41c4c20450
jenkins-bot [Sun, 9 Aug 2015 10:26:15 +0000 (10:26 +0000)]
Merge "Improve the grammar of tooltip-search-go"
jenkins-bot [Sun, 9 Aug 2015 10:26:10 +0000 (10:26 +0000)]
Merge "Remove all-caps emphasis from simpleantispam-label"
jenkins-bot [Sun, 9 Aug 2015 10:16:51 +0000 (10:16 +0000)]
Merge "Improve the phrasing of tooltip-preview"
jenkins-bot [Sun, 9 Aug 2015 05:32:54 +0000 (05:32 +0000)]
Merge "Remove use of deprecated TestUser->user"
jenkins-bot [Sun, 9 Aug 2015 03:27:50 +0000 (03:27 +0000)]
Merge "Match salt of WatchAction::show() and getWatchToken()"
jenkins-bot [Sat, 8 Aug 2015 22:48:10 +0000 (22:48 +0000)]
Merge "mediawiki.legacy: Use 'none' rather than 'initial' to remove border"
jenkins-bot [Sat, 8 Aug 2015 20:12:08 +0000 (20:12 +0000)]
Merge "Use Config instead of globals"
Amir E. Aharoni [Sat, 8 Aug 2015 19:17:33 +0000 (22:17 +0300)]
Remove all-caps emphasis from simpleantispam-label
All-caps emphasis can't be used in most alphabets,
and there is already emphasis with <strong> in this message.
Change-Id: I99a7452c547c34c644b553dd29e55d47f07aa5b3
Translation updater bot [Sat, 8 Aug 2015 18:29:43 +0000 (20:29 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I521b20120fc0bce1c38ed649ce168e35d918cde0
firebus [Mon, 3 Aug 2015 04:58:21 +0000 (21:58 -0700)]
Match salt of WatchAction::show() and getWatchToken()
Use getPrefixedDbkey() when generating salt, for consistency.
Bug: T106910
Change-Id: I93e22a2aaee8bf888fa613929c1027f5f0c2642f
Bartosz Dziewoński [Sat, 8 Aug 2015 14:56:25 +0000 (16:56 +0200)]
mediawiki.legacy: Use 'none' rather than 'initial' to remove border
A browser could potentially support 'text-decoration: underline dotted'
(which we check for with '@supports'), but not 'initial' value (which
we don't check for), resulting in double underlining.
Follow-up to I6fb2d2b8016c1f3164999e25cbc058ccd9a2f121.
Change-Id: I13359e99010b524cf1a9f868374327b2c17399b7
Florian [Sat, 8 Aug 2015 09:56:46 +0000 (11:56 +0200)]
Use Config instead of globals
Follow up: I7ed79942c242b1957d46bdcad59985f37466fb83
Change-Id: Iff666a8ecc1f5c5a3fa1a34601fb74206a66b578
Ori Livneh [Sat, 8 Aug 2015 01:25:55 +0000 (18:25 -0700)]
Override document.writeln to prevent it from blanking pages
Follow-up for Ic9056d7a77. Same rationale.
Bug: T108423
Change-Id: I664ba9b0af4355ac83f2e5892e484a3f3aff0428
Translation updater bot [Fri, 7 Aug 2015 19:32:35 +0000 (21:32 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ie6a5f12b6a526a812557aa80c5cd7d7765c5a26e
jenkins-bot [Fri, 7 Aug 2015 19:00:21 +0000 (19:00 +0000)]
Merge "mediawiki.legacy: Use CSS3 underlining for <abbr>"
Minh Nguyễn [Wed, 5 Aug 2015 06:42:37 +0000 (23:42 -0700)]
mediawiki.legacy: Use CSS3 underlining for <abbr>
Where supported, set text-decoration-style instead of border-bottom-style
to avoid double-underlining due to Firefox’s user agent style sheet.
Bug: T107560
Change-Id: I6fb2d2b8016c1f3164999e25cbc058ccd9a2f121
addshore [Fri, 7 Aug 2015 16:10:26 +0000 (17:10 +0100)]
Remove use of deprecated TestUser->user
Change-Id: Iec47ea2609b4d407e827cec5bf2a834b75727005
Gergő Tisza [Fri, 7 Aug 2015 02:16:48 +0000 (02:16 +0000)]
Log human-readable login status
Bug: T91701
Change-Id: Ia73fcc21321990befb1d866f76102b24d67adbfa
Amir E. Aharoni [Fri, 7 Aug 2015 14:35:05 +0000 (17:35 +0300)]
Fix the display of the libraries in Special:Version for RTL wikis
Bug: T108325
Change-Id: I3c9a675fa7330d46090a64c003bcaf66ddf4260f
jenkins-bot [Fri, 7 Aug 2015 07:38:00 +0000 (07:38 +0000)]
Merge "Revert "Add executable rights for executable (bash) files""
Aaron Schulz [Thu, 6 Aug 2015 22:09:54 +0000 (15:09 -0700)]
Avoid update.php suggestion on DB connection errors
Bug: T98788
Change-Id: I21974d6b775f13c33055f76c30142e937eb0e965
Southparkfan [Mon, 3 Aug 2015 15:28:03 +0000 (15:28 +0000)]
Revert "Add executable rights for executable (bash) files"
These are not meant to be complete shell scripts, so
shebang lines don't really make sense here. Rather, as
noted by the author (Daniel Friesen), scripts in the
parent directory include these files using the "source"
or "." command.
This reverts commit
96e0ed45a81dfb4783c74353a8e70d0b926ad900.
Change-Id: I7a0b7bb2a5ea1b1c141cb36f38736fe562b22c10
Aaron Schulz [Thu, 6 Aug 2015 23:08:41 +0000 (16:08 -0700)]
Made BagOStuff::merge() avoid retries on I/O errors
Change-Id: Ia2fd61132322ed3fa8909d60d9f7eb42e39cb443
Timo Tijhof [Fri, 7 Aug 2015 00:44:38 +0000 (17:44 -0700)]
resourceloader: Restore anticipated loader states for hardcoded module requests
Follows-up Icba6d7a87b2 which removed this code in the
assumption that they're now taken care of by mw.loader.load.
While that is the case, they are still in the HTML and when earlier
modules require these modules the loader should not initiate a separate
request.
This was especially problematic for the 'user' module which mw.loader
was requesting with a version from the startup module which is
not associated with the current user. This would've caused edits
to a user's personal scripts post-Icba6d7a87b2 to not propagate
correctly. The second request would be ignored by mw.loader since
it implements a module that is already implemented.
This only affected wikis that were manually depending on the 'user'
module from Common.js or a default-loaded gadget.
Bug: T108275
Change-Id: I1b863a3ee23191adaf34f66b58973618487118b2
jenkins-bot [Thu, 6 Aug 2015 21:41:06 +0000 (21:41 +0000)]
Merge "Fixed deadlockLoop() IDE errors"
Aaron Schulz [Wed, 5 Aug 2015 23:49:12 +0000 (16:49 -0700)]
Fixed occasional MultiHttpClient "undefined index" errors
* These show sometimes in Swift FileBackend tests
Change-Id: I38c1817812282c94cab2011da7c322e92eec96ca
Florian [Sun, 26 Jul 2015 14:03:07 +0000 (16:03 +0200)]
Move pager inside searchresults div
The pager is part of the searchresults page, but can't be styled
easily like the searchresults div container, because it's outside
the container. The pager should be in one block element with the
serach results.
This enables (e.g. extensions) to add content to the right side
of the search result page without having the problem with a pager,
that can't easily moved with CSS.
Change-Id: I52d9aacc1f396f42238318ae220266c7498b0824
Aaron Schulz [Thu, 6 Aug 2015 19:45:30 +0000 (12:45 -0700)]
Fixed deadlockLoop() IDE errors
Change-Id: I76bb9250bc8017756af4f2552cd48ab595a26297
Translation updater bot [Thu, 6 Aug 2015 19:19:29 +0000 (21:19 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I7fa2dd76d17e2c0ed0e0314e4eaec1845abac4de
jenkins-bot [Thu, 6 Aug 2015 18:59:07 +0000 (18:59 +0000)]
Merge "Remove unused StatsdClient use from GlobalFunctions"
jenkins-bot [Thu, 6 Aug 2015 18:29:22 +0000 (18:29 +0000)]
Merge "Test index duplication in DatabaseSqlite"
jenkins-bot [Thu, 6 Aug 2015 17:05:52 +0000 (17:05 +0000)]
Merge "Status: Correct documentation"
addshore [Thu, 6 Aug 2015 17:00:43 +0000 (18:00 +0100)]
Remove unused StatsdClient use from GlobalFunctions
Change-Id: I5a773590e229f891298ff3d2eda5e4a258cc1f25
Timo Tijhof [Thu, 6 Aug 2015 16:32:38 +0000 (09:32 -0700)]
Add 'targets=desktop,mobile' to mediawiki.legacy.wikibits module
Follows-up
0ac4f99.
Bug: T108191
Change-Id: I88681eeef660301d9d739ee29f44ef5bb68f3293
jenkins-bot [Thu, 6 Aug 2015 16:08:55 +0000 (16:08 +0000)]
Merge "mediawiki.notify: Add JSDoc tags"
Thiemo Mättig [Thu, 6 Aug 2015 13:22:05 +0000 (15:22 +0200)]
mediawiki.notify: Add JSDoc tags
Change-Id: I8536e161f7c1911c78ad7dfafbc670e7ed42272b
addshore [Thu, 6 Aug 2015 09:25:16 +0000 (10:25 +0100)]
Test index duplication in DatabaseSqlite
Change-Id: I7b5c69aa68591e6f1105e6822d36c0c2149974d1
Thiemo Mättig [Thu, 16 Jul 2015 16:48:05 +0000 (11:48 -0500)]
Enforce an alphabetic default order for SiteList entries
Bug: T106054
Change-Id: I8bf22d99b8304d7a6f40e384e8de00a4aca9313d
jenkins-bot [Thu, 6 Aug 2015 12:37:23 +0000 (12:37 +0000)]
Merge "Duplicate table indexes in DatabaseSqlite::duplicateTableStructure"
Bartosz Dziewoński [Thu, 6 Aug 2015 11:49:51 +0000 (13:49 +0200)]
Status: Correct documentation
Most of the docs for this class look misleading or downright incorrect...
Change-Id: I4c7397a5dfeca7447cb98611c4f3befaefaefaba
Marius Hoch [Thu, 6 Aug 2015 00:55:18 +0000 (02:55 +0200)]
Duplicate table indexes in DatabaseSqlite::duplicateTableStructure
This is consistent with what we do with MySQL and is generally
convenient to have for certain integration tests.
Change-Id: Iaea79bd11263bf75061f19a94da9645ef634422f
jenkins-bot [Thu, 6 Aug 2015 08:48:04 +0000 (08:48 +0000)]
Merge "resourceloader: Fix undefined $filename in safeFileHash()"
jenkins-bot [Thu, 6 Aug 2015 08:39:41 +0000 (08:39 +0000)]
Merge "Allow to enable OOUI via a parser tag extension"
Timo Tijhof [Thu, 6 Aug 2015 05:51:06 +0000 (22:51 -0700)]
resourceloader: Fix undefined $filename in safeFileHash()
Follows-up
28f6d7fbdee.
This was causing versions to stay stuck at their current version.
It worked fine for the initial deployment since the rest of the
definition summary is still fine, but subsequent deploys that changed
only the file were ineffective due to these silently becoming
empty strings.
Thanks to suppressWarnings() we never saw these anywhere in the
tests or in production.
Change-Id: Ib4371255fe970442bcc0041219bce633a7f6f6dd
Timo Tijhof [Thu, 6 Aug 2015 02:55:53 +0000 (19:55 -0700)]
Replace native "document.write" with deprecated fallback
In most browsers, calling "document.write" after the document is
ready results in the document being re-created with the specified
content (effectively replacing with blank page).
While this is a browser issue, mitigate this by replacing the
method with a fallback (wrapped in "mw.log.deprecate") that just
appends the given HTML to the document body.
Note that scripts do not execute when appended as HTML, they will
become dormant elements. It'll work for raw content as a basic
fallback, but it should become apparent to the end user that the
code needs to be upgraded.
Bug: T108139
Change-Id: Ic9056d7a779f234a28ddad005fd4d76f2e750fcc
Timo Tijhof [Wed, 5 Aug 2015 22:42:26 +0000 (15:42 -0700)]
resourceloader: Restore "blocking" legacy modules
This ensures 'wikibits' and 'mediawiki.util' (if so configured)
finish loading before executing other modules.
This was previously implicitly provided for the bottom queue by
being in the top-queue, but since this is now asynchronous that
is no lower guaranteed. Fix this by making this explicit instead
of implicit.
Keep them in the top queue as-is to ensure consistency with cached
pages and it allows them to preload and batch in the same request
instead of being discovered later at run-time as a separate request.
Bug: T108124
Change-Id: I74e0cbe616404da927ea46d06308a7bae930eb69
jenkins-bot [Thu, 6 Aug 2015 02:28:54 +0000 (02:28 +0000)]
Merge "refreshLinks.php: Fix deletion of link entries from nonexistent pages"
jenkins-bot [Wed, 5 Aug 2015 23:49:34 +0000 (23:49 +0000)]
Merge "mediawiki.action.edit.stash: reduce idle time from 4k to 3k"
Ori Livneh [Wed, 5 Aug 2015 22:31:51 +0000 (15:31 -0700)]
mediawiki.action.edit.stash: reduce idle time from 4k to 3k
Deployed to Wikimedia cluster shortly after 23:00 UTC and led to an appreciable dip in save time.
Change-Id: I08fdda110b71bf7030a45afc3f3f5d7cc32c9b05
jenkins-bot [Wed, 5 Aug 2015 22:34:24 +0000 (22:34 +0000)]
Merge "qunit: Improved unfinished ajax detection"
Timo Tijhof [Wed, 5 Aug 2015 20:55:25 +0000 (13:55 -0700)]
jsduck: Update eg-iframe.html to match MediaWiki environment
* Add 'resources/lib/phpjs-sha1/sha1.js' (follows-up
f37cee996)
* Remove 'resources/src/startup.js' (follows-up
b00cd0b12)
This no longer works due to the $VARS placeholder. Either way
it is redundant because we already define a 'startUp' function
inside eg-iframe. We don't need anything from startup.js.
Bug: T107925
Change-Id: Iaf75850060556f03ebaa37b8e1dce0de6f1c16ce
Translation updater bot [Wed, 5 Aug 2015 20:17:10 +0000 (22:17 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Iee978afb2b638a484600ebd3e85881320e59e198
jenkins-bot [Wed, 5 Aug 2015 20:12:29 +0000 (20:12 +0000)]
Merge "Parser: Don't generate an external link on ")" and similar"
jenkins-bot [Wed, 5 Aug 2015 19:51:42 +0000 (19:51 +0000)]
Merge "resourceloader: Convert FileModule to use version hashing"
Timo Tijhof [Thu, 9 Jul 2015 18:30:53 +0000 (19:30 +0100)]
resourceloader: Convert FileModule to use version hashing
Enabling the module content versionining is not feasible for FileModule as that
would involve Lessc and CSSJanus just to compute the version hash.
Instead, we can keep the existing logic that exists for the timestamp-based
versioning (which already has a comprehensive grip on tracking all involved
factors that cause a module to change) and convert it to use hashing instead.
This way the version hashes will be deterministic. Currently module versions
tend to be invalidated too often (and sometimes not often enough) due to Git and
other transport mechanisms not preserving file timestamps.
== Research ==
* <https://phabricator.wikimedia.org/T98087#
1412712>
It'd take upto 10 seconds to run startup if FileModule enables build versioning.
* <https://phabricator.wikimedia.org/T104950#
1433142>
Checking all files in resources/** took only ~30m longer in total with
sha1_file compared to filemtime.
Bug: T104950
Change-Id: I732fa4db32258c634e32b507952f76eac7fc9395
Brad Jorsch [Fri, 27 Mar 2015 16:36:19 +0000 (12:36 -0400)]
API: Ignore '_' parameter in jsonp callback mode
jQuery has a misfeature where it by default appends a '_' parameter as a
cachebuster in jsonp mode. So, when in jsonp mode, mark this bogus
parameter as used to avoid an unnecessary warning.
Bug: T94015
Change-Id: I43373439a3605e4589315139c30976c6c2f68542
Timo Tijhof [Wed, 5 Aug 2015 00:11:11 +0000 (17:11 -0700)]
qunit: Improved unfinished ajax detection
Sometimes $.active is non-zero but the ajaxRequests array doesn't
contain any pending requests (yet). In that case, log $.active
as well.
Change-Id: I1c181b1234d1f883605de38805bc029c064a1f5b
jenkins-bot [Wed, 5 Aug 2015 16:04:16 +0000 (16:04 +0000)]
Merge "docs: Add examples for mw.Upload"
Prateek Saxena [Wed, 5 Aug 2015 10:28:43 +0000 (15:58 +0530)]
docs: Add examples for mw.Upload
Change-Id: Icd759657fb1756d1559173d3a335f87e7a2baa2e
Gilles Dubuc [Wed, 5 Aug 2015 08:40:58 +0000 (10:40 +0200)]
Remove thumbnailaccess logging
Bug: T107437
Change-Id: I3c2fe7b894fc571f4f92323637340dda23099a3a
jenkins-bot [Wed, 5 Aug 2015 08:29:44 +0000 (08:29 +0000)]
Merge "Cleaned up and split up Swift header parsing methods a bit"
Aaron Schulz [Fri, 31 Jul 2015 19:41:03 +0000 (12:41 -0700)]
Cleaned up and split up Swift header parsing methods a bit
* Added tests for the metadata headers portion of the code
Change-Id: I8ac65e31212b4cca4592f963e0ca5ad30e1349f7
jenkins-bot [Wed, 5 Aug 2015 03:11:52 +0000 (03:11 +0000)]
Merge "docs: Move mw.Upload documentation under the Interface heading"
Prateek Saxena [Wed, 5 Aug 2015 02:49:18 +0000 (08:19 +0530)]
docs: Move mw.Upload documentation under the Interface heading
Change-Id: If78456696184a56b697dcad612356cde850e4e22
Aaron Schulz [Wed, 5 Aug 2015 01:48:29 +0000 (01:48 +0000)]
Merge "Added BagOStuff READ_LATEST flag for replicated stores"
jenkins-bot [Tue, 4 Aug 2015 23:43:52 +0000 (23:43 +0000)]
Merge "resourceloader: Fix RLQ script to support IE8 quirk"
Timo Tijhof [Tue, 4 Aug 2015 23:07:45 +0000 (16:07 -0700)]
resourceloader: Fix RLQ script to support IE8 quirk
In IE8 there is a race condition. If the window.RLQ runs first (that is, the
startup module loads first) then 'var RLQ' does not get associated
properly to our custom window.RLQ object.
The other way around is fine, but never happens because <script async>
isn't supported in IE8.
Consistently use 'window.RLQ' (never 'var RLQ') to bypass this bug.
Also updating the startup.js file for consistency (though not strictly
needed since the implicit global reference without 'var' also works fine
in IE8.
Bug: T107954
Change-Id: I3f46fee7c4528abf806bb9c51fc767eceb795009
Fomafix [Mon, 3 Aug 2015 17:37:25 +0000 (17:37 +0000)]
mediawiki.notification: Add message type with predefined styles
New option.type to select a predefined style.
Default styles with colors:
* warn: yellow
* error: red
Other styles can be added.
Bug: T61099
Change-Id: I2d7305d9b62ebddc70e7f787e76e752b8b78d570
Aaron Schulz [Wed, 27 May 2015 18:52:44 +0000 (11:52 -0700)]
Added BagOStuff READ_LATEST flag for replicated stores
Bug: T88493
Change-Id: I7ea050a2eabba635f2aadb4e33b6f8fbfb1b01a8