Commit graph

77440 commits

Author SHA1 Message Date
jenkins-bot
ab14aaee1a Merge "DateInputWidget: Unbreak closing the calendar when selecting a date" 2017-07-17 19:47:01 +00:00
jenkins-bot
419075a020 Merge "RCFilters: Reduce saved queries items height" 2017-07-17 19:44:33 +00:00
Roan Kattouw
b446a3b950 DateInputWidget: Unbreak closing the calendar when selecting a date
I24327e1fe broke this by reopening the calendar when the handle was focused.

Bonus: also fix auto-closing in { precision: 'month' } mode.

Bug: T120733
Change-Id: Ief43f10c1e01f9a6f90b098e4f8ec1f84d8038d1
2017-07-17 12:20:29 -07:00
jenkins-bot
3e01f3289b Merge "rcfilters: LiveUpdateButtonWidget: Fix bad method call leading to weird warning" 2017-07-17 19:07:26 +00:00
jenkins-bot
e26a0677b4 Merge "registration: Allow protocol-relative links in "url" field" 2017-07-17 17:30:47 +00:00
jenkins-bot
2cf8cdf14a Merge "Bump justinrainbow/json-schema development dependency to ~5.2" 2017-07-17 17:29:06 +00:00
jenkins-bot
99661709a6 Merge "Update wikimedia/composer-merge-plugin from 1.4.0 -> 1.4.1" 2017-07-17 17:21:13 +00:00
Bartosz Dziewoński
ee7ea578a0 rcfilters: LiveUpdateButtonWidget: Fix bad method call leading to weird warning
When viewing recent changes, I get 'JQMIGRATE: jQuery.unique is
deprecated, use jQuery.uniqueSort' in the console.

The bad parentheses change the meaning of $.extend to try to extend
the global $ object, and somehow that ends up touching deprecated
properties. There might be a jQuery bug here somewhere too.

Change-Id: I49265c5882dd189e2b17916c2e14c62d16235677
2017-07-17 19:19:15 +02:00
Kunal Mehta
679589828c registration: Allow protocol-relative links in "url" field
Bug: T93010
Change-Id: I626fb5528b41910d859d8596a8ad350f94c1082e
2017-07-17 10:13:49 -07:00
Kunal Mehta
b0a22c92ad Bump justinrainbow/json-schema development dependency to ~5.2
https://github.com/justinrainbow/json-schema/compare/3.0.1...5.2.0
https://github.com/justinrainbow/json-schema/releases/tag/4.0.0
https://github.com/justinrainbow/json-schema/releases/tag/4.0.1
https://github.com/justinrainbow/json-schema/releases/tag/4.1.0
https://github.com/justinrainbow/json-schema/releases/tag/5.0.0
https://github.com/justinrainbow/json-schema/releases/tag/5.1.0
https://github.com/justinrainbow/json-schema/releases/tag/5.2.0

Change-Id: I9e3aa67bcf1f4e7b6b0dc831c64df73ce0fea8fe
2017-07-17 10:12:55 -07:00
jenkins-bot
8113b09d0d Merge "Bump minimum required MySQL Version to 5.5.8" 2017-07-17 17:11:55 +00:00
Translation updater bot
445177e210 Localisation updates from https://translatewiki.net.
Change-Id: Ief7038a0c8b5e47b01b177e3a2cd7a472538f02d
2017-07-16 21:59:08 +02:00
Reedy
45bf8ad0b9 Update wikimedia/composer-merge-plugin from 1.4.0 -> 1.4.1
https://github.com/wikimedia/composer-merge-plugin/releases/tag/v1.4.1
https://github.com/wikimedia/composer-merge-plugin/compare/v1.4.0...v1.4.1

Change-Id: I805516387648ae76a2b22adac6f94c498b69e6a3
Depends-On: I50338e7f64f8eb3ff9e7177f59d93c88e08562d6
2017-07-16 16:34:09 +01:00
Translation updater bot
775b873d5c Localisation updates from https://translatewiki.net.
Change-Id: I9bd42f589285be09db8e45e5eb88966f430228d5
2017-07-15 22:02:18 +02:00
jenkins-bot
fdc4002564 Merge "resourceloader: Avoid mw-exception log spam from PHPUnit tests" 2017-07-15 18:23:49 +00:00
Reedy
0bb667d50d Bump minimum required MySQL Version to 5.5.8
Bug: T161232
Change-Id: I5f7d08ad7e58ce89c9fd766f0ac45fa996bf6a44
2017-07-15 15:58:33 +00:00
jenkins-bot
10d1b7d12b Merge "New maintenance script to recalculate category membership counts" 2017-07-15 08:02:21 +00:00
This, that and the other
50affc7781 New maintenance script to recalculate category membership counts
The category membership counts stored in the category table have a habit of
drifting away from the actual number of pages in the category. This script
identifies incorrectly-counted categories by performing a SELECT on the
replica DB, then querying master for up-to-date counts and updating the
category rows with those counts.

It's possible that a LinksUpdate job will be in progress while this script
is run. LinksUpdate does categorylinks INSERTs and category UPDATEs in
separate transactions, and our count might occur in between, leading to
category values that are slightly off. But since we are only updating
categories with already incorrect counts, we are not making the situation
any worse than it already was.

The script runs reasonably quickly on all but the very largest wikis.

Bug: T18765
Change-Id: I555f068fbf3aee20a7775d5532781f421f706346
2017-07-15 07:37:11 +00:00
Timo Tijhof
6fd5e71ef9 mediawiki.toc: Migrate test from deprecated asyncTest()
Instead, use assert.async(), or (in this case) return the Promise directly
to QUnit.test, which will naturally await it.
As bonus, it'll handle errors, too. (instead of timing out)

Change-Id: I94ee0bf72a3d8ac2e588cd75cbe0787b5001d5b4
2017-07-15 04:10:18 +00:00
Timo Tijhof
e4a52de025 resourceloader: Avoid mw-exception log spam from PHPUnit tests
Bug: T50002
Change-Id: Ida18f271883535eca2a1d26ee34120190914d87a
2017-07-15 00:37:53 +00:00
jenkins-bot
8dfa5aa74d Merge "mw.loader: Avoid use of deprecated QUnit.asyncTest/QUnit.start" 2017-07-15 00:27:30 +00:00
jenkins-bot
636b876865 Merge "Remove temporary hole in abstractions" 2017-07-15 00:20:12 +00:00
Max Semenik
736cb415fb Remove temporary hole in abstractions
Was introduced temprarily to facilitate event logging, now the only caller is gone.

Bug: T166247
Change-Id: I0f9cdccc6b3a566d9f7ebf02515f724348205071
2017-07-14 16:36:10 -07:00
Roan Kattouw
aa872f4d9c RCFilters: Allow experimental live update feature to be enabled with query string parameter
For testing. Adding ?liveupdate=1 to the URL will unhide the live update button.

Bug: T167743
Change-Id: I2696da959d34adf952f7f2fa6477ab756ef259bd
2017-07-14 14:35:48 -07:00
Moriel Schottlender
0d3fa0d1f3 RCFilters: Reduce saved queries items height
Bug: T164861
Change-Id: I30a558bc73cc552e0d2b70ab7fd9299e866fd6d2
2017-07-14 15:50:11 -05:00
Translation updater bot
ec27b35f81 Localisation updates from https://translatewiki.net.
Change-Id: I272241868eec5790ebc164f74b3d8f6982153776
2017-07-14 22:01:37 +02:00
jenkins-bot
1c7f71cefa Merge "Add urlencode for URL encoding of lang values" 2017-07-14 17:29:41 +00:00
jenkins-bot
1b86e6bb67 Merge "ChangesListSpecialPage: Don't short-circuit the ChangesList, instead format zero rows" 2017-07-14 14:04:10 +00:00
Moriel Schottlender
21d825aab6 RCFilters: Scroll to top on view switch
Bug: T170651
Change-Id: I07376569397651ebee0815c1e1d6e945ef1704dc
2017-07-13 20:04:52 -05:00
Translation updater bot
f3ecefc24d Localisation updates from https://translatewiki.net.
Change-Id: I3d1065d5b04461626dac32532b635373b28ade4f
2017-07-13 22:10:57 +02:00
jenkins-bot
5d4099246e Merge "Special:ListUsers: Use HTMLForm and OOUI" 2017-07-13 18:25:32 +00:00
Timo Tijhof
6418c54c4a mw.loader: Avoid use of deprecated QUnit.asyncTest/QUnit.start
Deprecated since QUnit 1.16, removed in QUnit 2.0. (We're on 1.23 currently.)

Migrate to assert.async().

This is a fairly atypical use of QUnit.start(), because it functions here
as a cross-script callback, where lexical scope cannot be used to share
the async() callback directly.

Other mw.loader tests already solved this by using a static callback instead
which inherits the lexical scope from the test to call done(). The old
'qunitOkCall' script is no longer used after this and thus removed.

Change-Id: I430df14b35a69c71df8685494d1379e22af0d6df
2017-07-13 04:44:43 +00:00
jenkins-bot
29115b9e53 Merge "Maintenance script to purge specific page" 2017-07-13 02:18:22 +00:00
jenkins-bot
a887adfb96 Merge "HTMLUsersMultiselectField: Handle empty value properly" 2017-07-12 21:31:07 +00:00
jenkins-bot
bad0cb2a9f Merge "RCFilters: Don't call ChangeTags::tagUsageStatistics() for now" 2017-07-12 21:31:04 +00:00
jenkins-bot
a291dc0aea Merge "SpecialUndelete: Follow-up to 6cf13604aec40e2210c16ccdbeba850de9428d19" 2017-07-12 20:41:48 +00:00
Bartosz Dziewoński
f143f055a6 SpecialUndelete: Follow-up to 6cf13604ae
Per my (late) code review comments on that commit.

Change-Id: Ia5bb6410b430992b66f34274e86480e6c9566525
2017-07-12 22:17:10 +02:00
Translation updater bot
0dffb5a0fd Localisation updates from https://translatewiki.net.
Change-Id: Ice8d28e7cb190e7c0b2ec4d95a3e3e2e835b17bb
2017-07-12 22:07:50 +02:00
jenkins-bot
92be0a8315 Merge "DeleteAction: Remove now-unnecessary RL modules" 2017-07-12 19:55:17 +00:00
jenkins-bot
b85207c9c0 Merge "Fix cleanupTitles.php" 2017-07-12 19:24:54 +00:00
jenkins-bot
73d8151186 Merge "Convert rest of Special:Undelete to OOUI" 2017-07-12 19:02:06 +00:00
jenkins-bot
51cb436f38 Merge "Give some idea of time remaining" 2017-07-12 19:02:00 +00:00
jenkins-bot
43be88ec3d Merge "Advise extensions not to modify $wgWhitelistRead" 2017-07-12 19:01:57 +00:00
Bartosz Dziewoński
51be1c92de DeleteAction: Remove now-unnecessary RL modules
After 97a8fb78fa these are never used.

Change-Id: Ibb4ee45ad991651afab0f0363056d3066e740b24
2017-07-12 20:46:15 +02:00
jenkins-bot
97c5bc0a1e Merge "FilterTagMultiselectWidget: Use frameless buttons and fix height issues" 2017-07-12 18:45:34 +00:00
Ed Sanders
6cf13604ae Convert rest of Special:Undelete to OOUI
Also fix the 'invert selection' button:
* Don't use type=submit so it doesn't try to post
  if JS is disabled
* Don't invert the wpUnsuppress checkbox, just
  checkboxes in revision lists.

Bug: T113758
Change-Id: I84785a5ddcc3343d74b5b7addb4aa4817a469f33
2017-07-12 17:35:59 +00:00
jenkins-bot
12601ff7d2 Merge "Convert article delete to use OOUI" 2017-07-12 16:14:38 +00:00
jenkins-bot
ba42dabb6b Merge "Convert Special:Undelete search form to use OOUI" 2017-07-12 15:51:17 +00:00
jenkins-bot
30b94ef356 Merge "Use OO.ui.MultilineTextInputWidget" 2017-07-12 15:19:13 +00:00
Ed Sanders
ab031c41ec Convert Special:Undelete search form to use OOUI
Bug: T113758
Change-Id: I955a07a5903c37d5a054c7b2427c4ec0615a3c36
2017-07-12 16:13:30 +01:00