lhc/web/wiklou.git
7 years agoMerge "stylelint: Drop over-ride for 'declaration-no-important' and make pass"
jenkins-bot [Thu, 2 Mar 2017 02:57:01 +0000 (02:57 +0000)]
Merge "stylelint: Drop over-ride for 'declaration-no-important' and make pass"

7 years agoFollow-up 658af7f47: Use ignoreHidden for rcenhancedfilters
Roan Kattouw [Wed, 1 Mar 2017 22:59:30 +0000 (14:59 -0800)]
Follow-up 658af7f47: Use ignoreHidden for rcenhancedfilters

As we do in addModules() as well. Also move the addModuleStyles
call down to addModules().

Change-Id: I537705bbf5a05ed5c1b7a0133845bcd631547f92

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 1 Mar 2017 20:55:35 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I4bb4c87611c3d58e14b567a3cc4a6a186a30e0fe

7 years agostylelint: Drop over-ride for 'declaration-no-important' and make pass
James D. Forrester [Thu, 23 Feb 2017 17:46:03 +0000 (09:46 -0800)]
stylelint: Drop over-ride for 'declaration-no-important' and make pass

Change-Id: I150acaf188c445ca983583d9de107f10d425a0fb

7 years agoMerge "stylelint: drop value-keyword-case and make a pass"
jenkins-bot [Wed, 1 Mar 2017 20:37:25 +0000 (20:37 +0000)]
Merge "stylelint: drop value-keyword-case and make a pass"

7 years agoMerge "stylelint: drop selector-pseudo-element-colon-notation exception and make...
jenkins-bot [Wed, 1 Mar 2017 20:32:14 +0000 (20:32 +0000)]
Merge "stylelint: drop selector-pseudo-element-colon-notation exception and make pass"

7 years agoMerge "RCFilters: Add loading animation"
jenkins-bot [Wed, 1 Mar 2017 20:21:01 +0000 (20:21 +0000)]
Merge "RCFilters: Add loading animation"

7 years agoMerge "Modify footer icons to use $wgExternalLinkTarget"
jenkins-bot [Wed, 1 Mar 2017 19:55:37 +0000 (19:55 +0000)]
Merge "Modify footer icons to use $wgExternalLinkTarget"

7 years agoRCFilters: Add loading animation
Moriel Schottlender [Wed, 1 Mar 2017 01:22:54 +0000 (17:22 -0800)]
RCFilters: Add loading animation

Change-Id: I09d39a387eb1ed2fe4c1292f0a255d180035baa0

7 years agostylelint: drop value-keyword-case and make a pass
Ed Sanders [Wed, 1 Mar 2017 17:50:11 +0000 (17:50 +0000)]
stylelint: drop value-keyword-case and make a pass

Add some exceptions for '-@lessVar' bug.

Change-Id: Ifccae9ced695a0968da2a35b453c949a28123357

7 years agostylelint: drop selector-pseudo-element-colon-notation exception and make pass
Ed Sanders [Wed, 1 Mar 2017 17:43:42 +0000 (17:43 +0000)]
stylelint: drop selector-pseudo-element-colon-notation exception and make pass

Change-Id: Idfe36e3efb4a1c26ad677d3c9732ce66d39b9a60

7 years agostylelint: Drop over-ride for 'string-quotes' and make pass
James D. Forrester [Thu, 23 Feb 2017 17:23:45 +0000 (09:23 -0800)]
stylelint: Drop over-ride for 'string-quotes' and make pass

Change-Id: I9355acac78b92d06a294573e51824586433bd06b

7 years agoRC Filters: Make highlight popup right-aligned
Roan Kattouw [Fri, 24 Feb 2017 23:19:27 +0000 (15:19 -0800)]
RC Filters: Make highlight popup right-aligned

Bug: T149467
Change-Id: I2bb325e7de326ada4a78d1d00f6e11f54f2b7472
Depends-On: I87c1384c693ca550f8684c5b243856a14fa1d24a

7 years agoMerge "Follow-up a57b64436cf2: Correct @deprecated version"
jenkins-bot [Wed, 1 Mar 2017 05:43:14 +0000 (05:43 +0000)]
Merge "Follow-up a57b64436cf2: Correct @deprecated version"

7 years agoMerge "Use wikimedia/timestamp"
jenkins-bot [Wed, 1 Mar 2017 05:38:45 +0000 (05:38 +0000)]
Merge "Use wikimedia/timestamp"

7 years agoFollow-up a57b64436cf2: Correct @deprecated version
Timo Tijhof [Wed, 1 Mar 2017 05:31:49 +0000 (21:31 -0800)]
Follow-up a57b64436cf2: Correct @deprecated version

Change-Id: Ia16907a8fcb500c8dd261dd4309a892824d80595

7 years agoUse wikimedia/timestamp
Kunal Mehta [Sun, 2 Oct 2016 04:51:51 +0000 (21:51 -0700)]
Use wikimedia/timestamp

Bug: T100924
Depends-On: I0a067367cda6885fa45631ed7c18799d653dc9bf
Change-Id: I69ba64e364df8af089c1c918cdf32f99454e693a

7 years agoMerge "api.php: Fully spell out "constructor""
jenkins-bot [Wed, 1 Mar 2017 05:11:01 +0000 (05:11 +0000)]
Merge "api.php: Fully spell out "constructor""

7 years agoapi.php: Fully spell out "constructor"
Kunal Mehta [Wed, 1 Mar 2017 04:50:31 +0000 (20:50 -0800)]
api.php: Fully spell out "constructor"

There's no real reason to abbreviate it.

Change-Id: Ib85d5e420bfdc1eca4d83265e2d9c3f719d7fa2b

7 years agoUpdate OOjs UI to v0.19.4
Volker E [Tue, 28 Feb 2017 23:53:57 +0000 (15:53 -0800)]
Update OOjs UI to v0.19.4

Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.19.4

Change-Id: Ifa1c6cb355a0c4f5073c93e37939cfc2f6653c81

7 years agoMerge "mediawiki.user: Move JS session token from cookie to sessionStorage"
jenkins-bot [Tue, 28 Feb 2017 22:24:49 +0000 (22:24 +0000)]
Merge "mediawiki.user: Move JS session token from cookie to sessionStorage"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 28 Feb 2017 21:00:38 +0000 (22:00 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Iad5104a414d774f1646d27f30aa4ca0d9ecc8e64

7 years agomediawiki.user: Move JS session token from cookie to sessionStorage
Timo Tijhof [Mon, 27 Feb 2017 21:57:15 +0000 (13:57 -0800)]
mediawiki.user: Move JS session token from cookie to sessionStorage

The old cookies will become unused and expiry automatically.

Also add basic unit tests.

Bug: T110353
Change-Id: I6fa98ae797481dfaef95ab1ea996ebf057f8d55d

7 years agoMerge "RCFilters UI: Add 'select' state and styles to capsule items"
jenkins-bot [Tue, 28 Feb 2017 20:49:43 +0000 (20:49 +0000)]
Merge "RCFilters UI: Add 'select' state and styles to capsule items"

7 years agoMerge "RCFilters UI: Add popup footer with feedback link"
jenkins-bot [Tue, 28 Feb 2017 20:43:24 +0000 (20:43 +0000)]
Merge "RCFilters UI: Add popup footer with feedback link"

7 years agoRCFilters UI: Add 'select' state and styles to capsule items
Moriel Schottlender [Tue, 28 Feb 2017 00:26:46 +0000 (16:26 -0800)]
RCFilters UI: Add 'select' state and styles to capsule items

When a user clicks a capsule item and it scrolls down to the filter
in the list, make sure the capsule is also showing it is selected.
Take that opportunity to apply the design per spec for the capsule
items.

Bug: T149391
Change-Id: Idac62dea0f7a699a6e80dd3dca3d30b8e28e63b8

7 years agoMerge "RCFilters UI: Delay the capsule popup"
jenkins-bot [Tue, 28 Feb 2017 19:57:09 +0000 (19:57 +0000)]
Merge "RCFilters UI: Delay the capsule popup"

7 years agoMerge "RCFilters UI: Only mute 'fullyCovered' items in the capsule"
jenkins-bot [Tue, 28 Feb 2017 19:47:29 +0000 (19:47 +0000)]
Merge "RCFilters UI: Only mute 'fullyCovered' items in the capsule"

7 years agoMerge "RCFilters UI: Dash the border 'none' highlight"
jenkins-bot [Tue, 28 Feb 2017 19:41:46 +0000 (19:41 +0000)]
Merge "RCFilters UI: Dash the border 'none' highlight"

7 years agoRC Filters: in enhanced RC mode, don't highlight groups
Stephane Bisson [Tue, 28 Feb 2017 19:21:19 +0000 (14:21 -0500)]
RC Filters: in enhanced RC mode, don't highlight groups

Change-Id: I560c6e11d95cf82453d3af68eb194fa876975687

7 years agoMerge "RCFilters UI: Add dm.FilterItem unit tests"
jenkins-bot [Tue, 28 Feb 2017 19:01:23 +0000 (19:01 +0000)]
Merge "RCFilters UI: Add dm.FilterItem unit tests"

7 years agoModify footer icons to use $wgExternalLinkTarget
saptaks [Sun, 4 Oct 2015 18:43:59 +0000 (00:13 +0530)]
Modify footer icons to use $wgExternalLinkTarget

Bug: T109979
Change-Id: Ie3d30c4070e8d336b735bac0a389564ae6115234

7 years agoMerge "Miscellaneous indentation tweaks"
jenkins-bot [Tue, 28 Feb 2017 18:38:36 +0000 (18:38 +0000)]
Merge "Miscellaneous indentation tweaks"

7 years agoMerge "Fix StatusValue::setResult phpdoc typo"
jenkins-bot [Tue, 28 Feb 2017 18:36:03 +0000 (18:36 +0000)]
Merge "Fix StatusValue::setResult phpdoc typo"

7 years agoMerge "Make EditPage::incrementConflictStats protected"
jenkins-bot [Tue, 28 Feb 2017 18:35:53 +0000 (18:35 +0000)]
Merge "Make EditPage::incrementConflictStats protected"

7 years agoMerge "Add missing access modifiers in UploadBase"
jenkins-bot [Tue, 28 Feb 2017 18:34:13 +0000 (18:34 +0000)]
Merge "Add missing access modifiers in UploadBase"

7 years agoRCFilters UI: Add popup footer with feedback link
Roan Kattouw [Fri, 24 Feb 2017 22:58:59 +0000 (14:58 -0800)]
RCFilters UI: Add popup footer with feedback link

Bug: T150959
Change-Id: Id10c39222a3d3d65d4ab1d006123f93b9972288f
Depends-On: Ie947ebe5d43da25e10119a34a736762b3fff5659

7 years agoMerge "mediawiki.special.preferences: Use mw.storage.session for sessionStorage"
jenkins-bot [Tue, 28 Feb 2017 18:28:14 +0000 (18:28 +0000)]
Merge "mediawiki.special.preferences: Use mw.storage.session for sessionStorage"

7 years agoRCFilters UI: Add dm.FilterItem unit tests
Moriel Schottlender [Wed, 22 Feb 2017 01:41:15 +0000 (17:41 -0800)]
RCFilters UI: Add dm.FilterItem unit tests

Change-Id: I7198f38c6ce2a85c0dc5f88d5f2a5c4b43ee4663

7 years agoMerge "RCFilters UI: Scroll to filter when selected"
jenkins-bot [Tue, 28 Feb 2017 17:49:52 +0000 (17:49 +0000)]
Merge "RCFilters UI: Scroll to filter when selected"

7 years agoMerge "Don't use <dd> for indenting descriptions on Special:ApiSandbox"
jenkins-bot [Tue, 28 Feb 2017 16:04:23 +0000 (16:04 +0000)]
Merge "Don't use <dd> for indenting descriptions on Special:ApiSandbox"

7 years agoMerge "Update tests to Selenium 3"
jenkins-bot [Tue, 28 Feb 2017 14:11:21 +0000 (14:11 +0000)]
Merge "Update tests to Selenium 3"

7 years agoMerge "mediawiki.requestIdleCallback: Re-enable use of native requestIdleCallback"
jenkins-bot [Tue, 28 Feb 2017 13:19:19 +0000 (13:19 +0000)]
Merge "mediawiki.requestIdleCallback: Re-enable use of native requestIdleCallback"

7 years agoMerge "Fix @covers for (non-integration) parser tests"
jenkins-bot [Tue, 28 Feb 2017 01:58:21 +0000 (01:58 +0000)]
Merge "Fix @covers for (non-integration) parser tests"

7 years agoMerge "Fix @covers for BalancerTest"
jenkins-bot [Tue, 28 Feb 2017 01:58:16 +0000 (01:58 +0000)]
Merge "Fix @covers for BalancerTest"

7 years agoMerge "Follow-up 1e9c3619: Correct @T1234 accidental cruft"
jenkins-bot [Tue, 28 Feb 2017 01:00:10 +0000 (01:00 +0000)]
Merge "Follow-up 1e9c3619: Correct @T1234 accidental cruft"

7 years agoMerge "/*.php: Replace implicit Bugzilla bug numbers with Phab ones"
jenkins-bot [Tue, 28 Feb 2017 00:52:07 +0000 (00:52 +0000)]
Merge "/*.php: Replace implicit Bugzilla bug numbers with Phab ones"

7 years agoMerge "includes: Replace implicit Bugzilla bug numbers with Phab ones"
jenkins-bot [Tue, 28 Feb 2017 00:51:57 +0000 (00:51 +0000)]
Merge "includes: Replace implicit Bugzilla bug numbers with Phab ones"

7 years agoMerge "includes/libs: Replace implicit Bugzilla bug numbers with Phab ones"
jenkins-bot [Tue, 28 Feb 2017 00:50:30 +0000 (00:50 +0000)]
Merge "includes/libs: Replace implicit Bugzilla bug numbers with Phab ones"

7 years agoMerge "languages: Replace implicit Bugzilla bug numbers with Phab ones"
jenkins-bot [Tue, 28 Feb 2017 00:44:36 +0000 (00:44 +0000)]
Merge "languages: Replace implicit Bugzilla bug numbers with Phab ones"

7 years agoMerge "includes/api: Replace implicitly-Bugzilla bug numbers with Phab ones"
jenkins-bot [Tue, 28 Feb 2017 00:43:34 +0000 (00:43 +0000)]
Merge "includes/api: Replace implicitly-Bugzilla bug numbers with Phab ones"

7 years agoMerge "maintenance: Replace implicit Bugzilla bug numbers with Phab ones"
jenkins-bot [Tue, 28 Feb 2017 00:37:38 +0000 (00:37 +0000)]
Merge "maintenance: Replace implicit Bugzilla bug numbers with Phab ones"

7 years agoMerge "includes/specials: Replace implicit Bugzilla bug numbers with Phab ones"
jenkins-bot [Tue, 28 Feb 2017 00:34:08 +0000 (00:34 +0000)]
Merge "includes/specials: Replace implicit Bugzilla bug numbers with Phab ones"

7 years agolanguages: Replace implicit Bugzilla bug numbers with Phab ones
James D. Forrester [Mon, 20 Feb 2017 22:46:45 +0000 (14:46 -0800)]
languages: Replace implicit Bugzilla bug numbers with Phab ones

It's unreasonable to expect newbies to know that "bug 12345" means "Task T14345"
except where it doesn't, so let's just standardise on the real numbers.

Change-Id: Id2f9d229d17b8eee66b2ca4e3927f3f66ac62988

7 years agoincludes/specials: Replace implicit Bugzilla bug numbers with Phab ones
James D. Forrester [Mon, 20 Feb 2017 22:31:04 +0000 (14:31 -0800)]
includes/specials: Replace implicit Bugzilla bug numbers with Phab ones

It's unreasonable to expect newbies to know that "bug 12345" means "Task T14345"
except where it doesn't, so let's just standardise on the real numbers.

Change-Id: Ic878feaea72893a1c47ea79ac284e581209e1731

7 years agoRCFilters UI: Scroll to filter when selected
Moriel Schottlender [Sat, 25 Feb 2017 00:02:25 +0000 (16:02 -0800)]
RCFilters UI: Scroll to filter when selected

Also, visually select the filter item that was clicked,
and reset selections when any interaction is happening
in the model.

Change-Id: I416c324eec4bc35ae9b1e0aeabd2897da0158d95

7 years agoRCFilters UI: Delay the capsule popup
Moriel Schottlender [Mon, 27 Feb 2017 23:45:17 +0000 (15:45 -0800)]
RCFilters UI: Delay the capsule popup

Show and hide the popup over the capsule item with a short delay.

Bug: T158993
Change-Id: I8a4d26fcfda9a5abfa2ba258b8fc4ddcc2ecb652

7 years agomediawiki.special.preferences: Use mw.storage.session for sessionStorage
Timo Tijhof [Mon, 27 Feb 2017 22:07:48 +0000 (14:07 -0800)]
mediawiki.special.preferences: Use mw.storage.session for sessionStorage

Consistent access pattern.

Change-Id: Icc2591159a88eb5f80c601b22219c06df15f2347

7 years agoRCFilters UI: Dash the border 'none' highlight
Moriel Schottlender [Mon, 27 Feb 2017 22:53:54 +0000 (14:53 -0800)]
RCFilters UI: Dash the border 'none' highlight

Bug: T149467
Change-Id: I9cba28b61bd423cb8b367dc454f6818befb25c5c

7 years agoRCFilters UI: Only mute 'fullyCovered' items in the capsule
Moriel Schottlender [Mon, 27 Feb 2017 22:49:16 +0000 (14:49 -0800)]
RCFilters UI: Only mute 'fullyCovered' items in the capsule

Remove the mute state for full-coverage items in the filter list,
leave it only for the capsule items.

Bug: T156429
Change-Id: Ida2628112f9e7dad9208737fec958e382fb1158c

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 27 Feb 2017 20:54:41 +0000 (21:54 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I5bf398e4a74a8e06d96236004e7ab0169c838952

7 years agoMerge "Tweak mw-ui padding to match oo-ui for buttons and text inputs"
jenkins-bot [Mon, 27 Feb 2017 18:45:05 +0000 (18:45 +0000)]
Merge "Tweak mw-ui padding to match oo-ui for buttons and text inputs"

7 years agoMerge "RCFilters UI: Limit filter popup height"
jenkins-bot [Mon, 27 Feb 2017 18:44:59 +0000 (18:44 +0000)]
Merge "RCFilters UI: Limit filter popup height"

7 years agoMiscellaneous indentation tweaks
Bartosz Dziewoński [Sat, 25 Feb 2017 21:53:36 +0000 (22:53 +0100)]
Miscellaneous indentation tweaks

I was bored. What? Don't look at me that way.

I mostly targetted mixed tabs and spaces, but others were not spared.
Note that some of the whitespace changes are inside HTML output,
extended regexps or SQL snippets.

Change-Id: Ie206cc946459f6befcfc2d520e35ad3ea3c0f1e0

7 years agoUpdate tests to Selenium 3
Željko Filipin [Fri, 17 Feb 2017 12:34:06 +0000 (13:34 +0100)]
Update tests to Selenium 3

Selenium is dependency of mediawiki_selenium.

Method #when_present is deprecated in Watir 6.

http://watir.github.io/watir-6-faq/

LoginPage is already in mediawiki_selenium, so just the additions are
left here.

Bug: T158074
Change-Id: Icf596f7d4a8275df27e3ccaf7da72033bcfd8ead
Depends-On: I6d5067390953c9c9a147215b154217c5ab24d1a9

7 years agoMerge "Add more Czech special page aliases"
jenkins-bot [Mon, 27 Feb 2017 10:13:41 +0000 (10:13 +0000)]
Merge "Add more Czech special page aliases"

7 years agoFix StatusValue::setResult phpdoc typo
addshore [Mon, 27 Feb 2017 09:18:03 +0000 (09:18 +0000)]
Fix StatusValue::setResult phpdoc typo

Change-Id: If727e357d4deb138ec4e391f231b074677ec2437

7 years agoFix @covers for (non-integration) parser tests
Tim Starling [Mon, 27 Feb 2017 04:44:31 +0000 (15:44 +1100)]
Fix @covers for (non-integration) parser tests

You have to allow tests to cover private Parser methods that they
execute. Private methods will never have separate tests.

Change-Id: Ic842e2be4675f505dc26d1d3e1dd9000401df46c

7 years agoFix @covers for BalancerTest
Tim Starling [Mon, 27 Feb 2017 04:15:23 +0000 (15:15 +1100)]
Fix @covers for BalancerTest

This test is intended to cover the whole file, not just one method.

Change-Id: Ice800ce467e030e8264db96e19feadf9b68afb9a

7 years agoDon't use <dd> for indenting descriptions on Special:ApiSandbox
Nicolaie Constantinescu [Sun, 26 Feb 2017 15:55:44 +0000 (17:55 +0200)]
Don't use <dd> for indenting descriptions on Special:ApiSandbox

Bug: T146351
Change-Id: I29b4b2a82f190ff0ac6041b1ea712f5f9872ff12

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 26 Feb 2017 20:53:33 +0000 (21:53 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I3575803833e078c706053138ad10473b56d1a016

7 years agoMake EditPage::incrementConflictStats protected
addshore [Sun, 26 Feb 2017 16:50:21 +0000 (16:50 +0000)]
Make EditPage::incrementConflictStats protected

This will be overridden by the TwoColConflict
extension & beta feature...

Bug: T158754
Change-Id: Ia0099540032da2d490b2a8eee82a7ae70eff0f9e

7 years agoAdd maintenance script to add sites to sites table
Florian [Mon, 18 Apr 2016 18:03:53 +0000 (20:03 +0200)]
Add maintenance script to add sites to sites table

Also: Add language code validation to Site::setLanguageCode().

Bug: T132937
Change-Id: I763ec65cb06d5250a3886a66eefdde8701b2299c

7 years agoTweak mw-ui padding to match oo-ui for buttons and text inputs
Ed Sanders [Sun, 26 Feb 2017 15:04:01 +0000 (15:04 +0000)]
Tweak mw-ui padding to match oo-ui for buttons and text inputs

Change-Id: I594f42d1e13d1c5e9bf44363a137fc2fe9f937e7

7 years agoMerge "Database: Remove weird commented-out block"
jenkins-bot [Sun, 26 Feb 2017 00:05:16 +0000 (00:05 +0000)]
Merge "Database: Remove weird commented-out block"

7 years agoMerge "FeedUtils: Remove weird commented-out block"
jenkins-bot [Sun, 26 Feb 2017 00:03:01 +0000 (00:03 +0000)]
Merge "FeedUtils: Remove weird commented-out block"

7 years agoDatabase: Remove weird commented-out block
Bartosz Dziewoński [Sat, 25 Feb 2017 21:38:46 +0000 (22:38 +0100)]
Database: Remove weird commented-out block

Commented out in 033b6b9646da6b71c5bb9dd6803a662bcf510a99 (r20329).
After ten years, I think it's safe to bet this won't ever be getting
un-commented.

Change-Id: Ibb1f3e2969b2d81f6f2a17fff57e9b05cc17d58b

7 years agoFeedUtils: Remove weird commented-out block
Bartosz Dziewoński [Sat, 25 Feb 2017 21:33:31 +0000 (22:33 +0100)]
FeedUtils: Remove weird commented-out block

This has been added in 58f7bb30a04d6c1f137cc1659b8998c5349bf13e (r36376),
already commented-out, and was moved and amended several times until
it became completely out of place.

Change-Id: I11b6e3e2fbb2d0a325a6723bf5874133a7f53851

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 25 Feb 2017 20:54:06 +0000 (21:54 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I93fcfdcd97dae44a3f7f3bd702175d646e10ea4d

7 years agoMerge "Move wpSummary from shared.css to mediawiki.action.edit.styles.css"
jenkins-bot [Sat, 25 Feb 2017 10:56:31 +0000 (10:56 +0000)]
Merge "Move wpSummary from shared.css to mediawiki.action.edit.styles.css"

7 years agoRCFilters UI: Limit filter popup height
Moriel Schottlender [Fri, 24 Feb 2017 21:31:19 +0000 (13:31 -0800)]
RCFilters UI: Limit filter popup height

Make sure the popup clips itself after it changes height
after filtering results on search.

Bug: T158118
Change-Id: I2f9e8b775b154635aa8b12f44876279173548b99

7 years agoRCFilters UI: Scroll the capsule to the top of the screen
Moriel Schottlender [Fri, 24 Feb 2017 23:02:49 +0000 (15:02 -0800)]
RCFilters UI: Scroll the capsule to the top of the screen

When the popup shows up, scroll the capsule widget to the top of
the screen.

Change-Id: I5366a8a0918bda0aabe1c97db252278c36a89347

7 years agoMerge "Log a backtrace from the culprit location if headers were already sent"
jenkins-bot [Fri, 24 Feb 2017 22:41:45 +0000 (22:41 +0000)]
Merge "Log a backtrace from the culprit location if headers were already sent"

7 years agoMerge "Use Database::addQuotes instead of hard coded apostrophs"
jenkins-bot [Fri, 24 Feb 2017 20:56:22 +0000 (20:56 +0000)]
Merge "Use Database::addQuotes instead of hard coded apostrophs"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 24 Feb 2017 20:55:20 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia8e467b3f295184a8abb3737d3949994078bbba3

7 years agoincludes/api: Replace implicitly-Bugzilla bug numbers with Phab ones
James D. Forrester [Mon, 20 Feb 2017 22:28:10 +0000 (14:28 -0800)]
includes/api: Replace implicitly-Bugzilla bug numbers with Phab ones

It's unreasonable to expect newbies to know that "bug 12345" means "Task T14345"
except where it doesn't, so let's just standardise on the real numbers.

Change-Id: I49e2a10350a328a8572fcedd44012751a29e1068

7 years agoFollow-up 1e9c3619: Correct @T1234 accidental cruft
James D. Forrester [Fri, 24 Feb 2017 16:32:52 +0000 (08:32 -0800)]
Follow-up 1e9c3619: Correct @T1234 accidental cruft

Change-Id: I94e50ef3356e4e53f9a9082484dff97e49a0e2e2

7 years agoMerge "Better punctuation in apiwarn-toomanyvalues"
jenkins-bot [Fri, 24 Feb 2017 14:49:31 +0000 (14:49 +0000)]
Merge "Better punctuation in apiwarn-toomanyvalues"

7 years agoMerge "Improve logging of exceptions which are not thrown but attached to context"
jenkins-bot [Fri, 24 Feb 2017 12:04:19 +0000 (12:04 +0000)]
Merge "Improve logging of exceptions which are not thrown but attached to context"

7 years agoMerge "Move remaining LoadBalancer classes to Rdbms"
jenkins-bot [Fri, 24 Feb 2017 05:25:29 +0000 (05:25 +0000)]
Merge "Move remaining LoadBalancer classes to Rdbms"

7 years agoMove remaining LoadBalancer classes to Rdbms
Aaron Schulz [Sat, 18 Feb 2017 00:26:47 +0000 (16:26 -0800)]
Move remaining LoadBalancer classes to Rdbms

The old names are left as aliases.

Change-Id: I52a327f2463a2ba7437324047b5b00d28cd1d758

7 years agoinstaller: Fix "relation 'user' does not exist" error for Postgres
Timo Tijhof [Fri, 24 Feb 2017 03:39:03 +0000 (19:39 -0800)]
installer: Fix "relation 'user' does not exist" error for Postgres

On Travis CI, the Postgres build has been failing very early on
in the installer (before phpunit) due to a database error:

> Creating administrator user account.. DBQueryError at Database.php:1059
> Query: SELECT user_id FROM "user" WHERE user_name = 'Admin' LIMIT 1
> Function: User::idForName
> Error: 42P01 ERROR:  relation "user" does not exist
> LINE 1: SELECT /* User::idForName  */ user_id FROM "user" ...

This is because the installer makes its own Database object without
involving ServiceWiring or MWLBFactory, which means wgDBport and
(more importantly) 'keywordTableMap' don't get applied.

While keywordTableMap doesn't matter during the database installation,
after the installer is done updating GlobalVarConfig and resetting
MediaWikiServices, DatabaseInstaller::enableLB takes that homemade
connection and injects it into MediaWikiServices by redefining
the 'DBLoadBalancerFactory' service. Which then affects all use
of wfGetDB(), such as from User::idForName().

Bug: T30162
Bug: T75174
Bug: T75176
Change-Id: I7af58c4beffc4908a93c0c1d8ab1aec9d4ec57c6

7 years agobuild: Simplify Travis configuration
Timo Tijhof [Fri, 24 Feb 2017 03:33:32 +0000 (19:33 -0800)]
build: Simplify Travis configuration

* Remove redundant 'group: edge'. Use the default (stable) instead.
* Use simplified syntax for apt packages. On sudo-enabled VMs, like we
  use now, this translates to the same command. But has the benefit
  of being compatible with the fast non-sudo containers, which we
  want to use in the future. But, for that, djvulibre-bin needs to
  be approved first.
  <https://github.com/travis-ci/apt-package-whitelist/issues/4036>

Bug: T75176
Change-Id: I3b42763ef3f8f08eec08a9008e5cf1e161bb1dff

7 years agobuild: Change Travis postgres user "root" back to "travis"
Timo Tijhof [Fri, 24 Feb 2017 03:31:12 +0000 (19:31 -0800)]
build: Change Travis postgres user "root" back to "travis"

Follows-up 5168cb60f8f, in which we moved from Precise vms to Trusty vms.
As a side-effect, the undocumented behaviour of the mysql user "travis"
having create-db rights was no longer. As such, we changed it to "root",
per <https://docs.travis-ci.com/user/database-setup/>.

However, this broke Postgres builds since those should still use
"travis". There is no user named "root" for postgres.

* Add 'dbuser' to the matrix environment.
* Improve inline documentation.

Bug: T75176
Change-Id: I09fc0a1da8737e71b3d2b4b88d72b58c150519c4

7 years agoMerge "RCFilters UI: Add 'direction' property to the wrapper"
jenkins-bot [Fri, 24 Feb 2017 01:28:14 +0000 (01:28 +0000)]
Merge "RCFilters UI: Add 'direction' property to the wrapper"

7 years agoMerge "Drop in replacement of eval.php based on psysh"
jenkins-bot [Fri, 24 Feb 2017 01:20:16 +0000 (01:20 +0000)]
Merge "Drop in replacement of eval.php based on psysh"

7 years agoRCFilters UI: Add 'direction' property to the wrapper
Moriel Schottlender [Sat, 11 Feb 2017 02:37:55 +0000 (18:37 -0800)]
RCFilters UI: Add 'direction' property to the wrapper

Adds 'direction: ltr' to the entire interface, rather than just
the input, since the entire FilterWrapperWidget is interface-direction
and not content direction.

Bug: T157189
Change-Id: I94ccfea878d83a24e071696b9c4e58115c9295c9

7 years agoMerge "RCFilters UI: Style the 'old' RC option fieldset"
jenkins-bot [Fri, 24 Feb 2017 01:09:39 +0000 (01:09 +0000)]
Merge "RCFilters UI: Style the 'old' RC option fieldset"

7 years agoMerge "RCFilters: Align trash icon with filter list"
jenkins-bot [Fri, 24 Feb 2017 01:01:58 +0000 (01:01 +0000)]
Merge "RCFilters: Align trash icon with filter list"

7 years agoMerge "RCFilters UI: Reassess interaction after resetting filters"
jenkins-bot [Fri, 24 Feb 2017 00:57:38 +0000 (00:57 +0000)]
Merge "RCFilters UI: Reassess interaction after resetting filters"