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""
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
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
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
jenkins-bot [Tue, 4 Aug 2015 22:22:44 +0000 (22:22 +0000)]
Merge "SpecialJavaScriptTest: Bypass ResourceLoader 'target' scope"
jenkins-bot [Tue, 4 Aug 2015 22:20:46 +0000 (22:20 +0000)]
Merge "Made EnqueueJob use the same dummy title as the JobSpecification default"
jenkins-bot [Tue, 4 Aug 2015 22:14:20 +0000 (22:14 +0000)]
Merge "mw.widgets.DateInputWidget: Display a translateable placeholder"
Aaron Schulz [Mon, 3 Aug 2015 19:59:25 +0000 (12:59 -0700)]
Made EnqueueJob use the same dummy title as the JobSpecification default
Change-Id: Ice0056fd4a74f2de6d6c7622b1e4e62fad1927e9
Bartosz Dziewoński [Tue, 4 Aug 2015 20:37:26 +0000 (22:37 +0200)]
mw.widgets.DateInputWidget: Display a translateable placeholder
The translations are sourced from UploadWizard's messages
'mwe-upwiz-tooltip-date' and 'mwe-upwiz-error-date', minus the ones
where the translation was identical to English, there were two
different translations, or the translation looked otherwise suspicious.
Change-Id: I0db3163cbf2a99616fae4ac993f49c69e9e755ba
jenkins-bot [Tue, 4 Aug 2015 20:05:32 +0000 (20:05 +0000)]
Merge "Hide edit toolbar Signature button in non-discussion namespaces"
jenkins-bot [Tue, 4 Aug 2015 18:50:19 +0000 (18:50 +0000)]
Merge "Make Special:ConfirmEmail load the user from the master"
Aaron Schulz [Mon, 3 Aug 2015 23:20:39 +0000 (16:20 -0700)]
Make Special:ConfirmEmail load the user from the master
* This can help guard against stale reads if the user was
created or changed a second ago.
Bug: T105896
Change-Id: Ib2a59762cd8f4a4b7ad86d0700f186bee1d5b2d1
jenkins-bot [Tue, 4 Aug 2015 18:17:13 +0000 (18:17 +0000)]
Merge "mw.widgets.DateInputWidget: Add missing background"
jenkins-bot [Tue, 4 Aug 2015 18:17:10 +0000 (18:17 +0000)]
Merge "mw.widgets.DateInputWidget: Don't get stuck on today's date if none given"
jenkins-bot [Tue, 4 Aug 2015 18:14:16 +0000 (18:14 +0000)]
Merge "mw.widgets.DateInputWidget: Add @example"
jenkins-bot [Tue, 4 Aug 2015 17:30:21 +0000 (17:30 +0000)]
Merge "resourceloader: Async all the way"
jenkins-bot [Tue, 4 Aug 2015 17:26:43 +0000 (17:26 +0000)]
Merge "Remove Sajax"
Timo Tijhof [Tue, 28 Jul 2015 02:46:00 +0000 (19:46 -0700)]
resourceloader: Async all the way
Page startup:
* Due to the startup module and top queue being asynchronous now,
move client-nojs/client-js class handling to OutputPage to ensure
there is no flashes of wrongly styled or unstyled content.
To preserve compatibility for unsupported browsers, undo the
class swap at runtime after the isCompatible() check.
ResourceLoader startup module:
* Load the startup module with <script async>.
* Use DOM methods instead of 'document.write' to create base module request (jquery|mediawiki).
mw.loader:
* Drop 'async' parameter from mw.loader.load().
* Remove the now-unused code paths for synchronous requests.
OutputPage:
* Drop '$loadCall' parameter from makeResourceLoaderLink().
Asynchronous is now the default and only way to load JavaScript.
This means the 'user' module "conditional document-write scripts"
are now a simple "mw.loader.load( url )" call.
* Fix incorrect @return of makeResourceLoaderLink(). This returns
an array not a string.
* Improve documentation of makeResourceLoaderLink().
* Drop '$inHead' parameter from getScriptsForBottomQueue(). No longer used.
Compatibility with the $wgResourceLoaderExperimentalAsyncLoading
feature is maintained. It just no longer needs to change the
way the queue works since it's always asynchronous. The feature
flag now only controls whether the bottom queue starts at the bottom
or starts at the top.
* Remove jQuery.ready() optimisation.
This was mostly there to avoid the setTimeout() loop jQuery does to detect
dom-ready in IE6/IE7 (which we no longer serve JavaScript at all).
And for a bug in Firefox with document.write (which is no longer used as of
this commit).
Bug: T107399
Change-Id: Icba6d7a87b239bf127a221bc6bc432cfa71a4a72
Bartosz Dziewoński [Tue, 4 Aug 2015 16:33:45 +0000 (18:33 +0200)]
mw.widgets.DateInputWidget: Add missing background
Change-Id: I1db5bffaa8270479746b85b0c35dbb0f7b0eeaaf
Bartosz Dziewoński [Tue, 4 Aug 2015 16:29:51 +0000 (18:29 +0200)]
mw.widgets.DateInputWidget: Don't get stuck on today's date if none given
If no date was given, the calendar would select today, but the
DateInputWidget itself would have no value.
However, this made the date picker ignore attempts to actually choose
today: the calendar already had that date chosen, so no 'change' even
was fired, and date input stayed empty.
Change mw.widgets.CalendarWidget not to actually select today's date,
just focus the calendar on it.
Follow-up to
66686f8c5e4df1c2cc94273918b9328269d2ec09.
Change-Id: I3ba064982b045a577209d56a009ad0098c357754
C. Scott Ananian [Tue, 4 Aug 2015 16:30:20 +0000 (12:30 -0400)]
Sync up with Parsoid parserTests.
This now aligns with Parsoid commit
19c5d8af12ea0a79141f3aa0634d0fd28fb30c5c
Change-Id: Ifffc18a38c6501706209d1b033d2305a7534ba61
Bartosz Dziewoński [Mon, 13 Jul 2015 15:31:52 +0000 (17:31 +0200)]
Parser: Don't generate an external link on ")" and similar
Bug: T105697
Change-Id: I6cd14b9c4a541af8d0bb50b925aa0b015e97c3fe
Bartosz Dziewoński [Tue, 4 Aug 2015 16:03:30 +0000 (18:03 +0200)]
mw.widgets.DateInputWidget: Add @example
Bug: T107247
Change-Id: I193fcd3175ebc96297f9d2cdd0f4de428388dd8e
Bartosz Dziewoński [Tue, 4 Aug 2015 12:51:12 +0000 (14:51 +0200)]
mw.widgets.CalendarWidget: Improve today's date highlighting
This was goofy, and the margins caused items to wobble around on
hover. I forgot about the box-shadow trick.
Change-Id: I35c32456ad0a1633ffbd1fbe6ad77adba694ae2d
Bartosz Dziewoński [Tue, 4 Aug 2015 12:00:02 +0000 (14:00 +0200)]
mw.widgets.DateInputWidget: Don't set today's date on activation
Per Mark's review on Ia7bb737bc11b0af3659552fa75d11e6663e2812e.
Change-Id: Ie96602514dd57ffbe655d4ba4a8b5028771acda8
jenkins-bot [Tue, 4 Aug 2015 09:26:08 +0000 (09:26 +0000)]
Merge "Automatically de-duplicate EnqueueJob jobs when possible"
Timo Tijhof [Thu, 4 Jun 2015 20:12:23 +0000 (21:12 +0100)]
SpecialJavaScriptTest: Bypass ResourceLoader 'target' scope
To make unit testing easier, allow any module to be loaded within
the unit test suite. Regardless of the intended 'target'.
Targets are meant for restricting front-end scope in production.
Enforcing that in the test suite causes various test suites to
get de-registered at run time client-side.
Otherwise, in order to truly run all unit tests, Jenkins would
have to re-run the entire test suite in all known targets. This
wouldn't make sense because modules have to be globally uniquely
named (no conflicts) and unit tests are atomic. They can all run
in the same suite.
To prevent modules being comitted with incompatible target
dependencies, we already have a Structure test in the PHPUnit
suite to catch those issues in the module registry.
This makes the main 'qunit' build for MobileFrontend more useful,
where currently many modules aren't being tested due to them not
being in the 'desktop' target.
Bug: T103027
Change-Id: I69f735eb56c1362189298d9859d3add576faaadb
Timo Tijhof [Tue, 4 Aug 2015 01:38:30 +0000 (18:38 -0700)]
resourceloader: In startup, move RLQ handling to after mw.config
Follows-up
59f1a1efa8.
This wasn't breaking anything currently because the startup module
is still loading synchronously.
Change-Id: I2c91331050378f2b5925e89b3aab50a555c07bcd
jenkins-bot [Mon, 3 Aug 2015 23:26:15 +0000 (23:26 +0000)]
Merge "Added DBAccessObjectUtils class to avoid duplication"
jenkins-bot [Mon, 3 Aug 2015 23:07:00 +0000 (23:07 +0000)]
Merge "Empty attribute syntax"
Gergő Tisza [Thu, 23 Jul 2015 20:13:27 +0000 (20:13 +0000)]
Sample StatsD messages when instructed
Bug: T106457
Change-Id: I8ddb5a53dcbaf398f5a114d2a4a862842e980db4
Translation updater bot [Mon, 3 Aug 2015 19:46:31 +0000 (21:46 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Iffa0a6e5b7957ee91312fa19a8816b5d013f6629
Aaron Schulz [Mon, 3 Aug 2015 19:46:30 +0000 (12:46 -0700)]
Automatically de-duplicate EnqueueJob jobs when possible
Bug: T107792
Change-Id: I1e7fe5d5a6fed7b9a0dd4482ef3fc3a260033109