lhc/web/wiklou.git
7 years agoresourceloader: Use upsert() instead of replace() for module_deps write
Timo Tijhof [Tue, 14 Feb 2017 21:36:05 +0000 (13:36 -0800)]
resourceloader: Use upsert() instead of replace() for module_deps write

This should perform better and reduce internal lock contention on the
database server.

Bug: T158105
Change-Id: I1acfb0630946283b317cb929e8d7c3b2af757ecf

7 years agoMerge "Create IResultWrapper interface for type-hints"
jenkins-bot [Fri, 10 Feb 2017 22:01:41 +0000 (22:01 +0000)]
Merge "Create IResultWrapper interface for type-hints"

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

Change-Id: I09ca370792aa880e61b382eb5313cab6df475bed

7 years agoMerge "Move mssql class to /libs"
jenkins-bot [Fri, 10 Feb 2017 20:20:16 +0000 (20:20 +0000)]
Merge "Move mssql class to /libs"

7 years agoType check the APC value in LoadBalancer::doWait()
Aaron Schulz [Fri, 10 Feb 2017 20:00:44 +0000 (12:00 -0800)]
Type check the APC value in LoadBalancer::doWait()

Change-Id: If00cd5fd2ace828ce03824ec7b5735de7d950dec

7 years agoMerge "ApiSandbox: Make continuation info popup actually visible"
jenkins-bot [Fri, 10 Feb 2017 19:23:10 +0000 (19:23 +0000)]
Merge "ApiSandbox: Make continuation info popup actually visible"

7 years agoMerge "Move DBMasterPos to Rdbms namespace"
jenkins-bot [Fri, 10 Feb 2017 19:01:46 +0000 (19:01 +0000)]
Merge "Move DBMasterPos to Rdbms namespace"

7 years agoMove mssql class to /libs
Aaron Schulz [Thu, 9 Feb 2017 22:30:05 +0000 (14:30 -0800)]
Move mssql class to /libs

* Inject global variables in MWLBFactory.php
* Remove incompatible ignoreErrors() override which is only called
  from the base classes.
* Remove use of wf* methods.

Change-Id: Idf8202474182cc82fb6ef453e2722e7af17e32aa

7 years agoApiSandbox: Make continuation info popup actually visible
Gergő Tisza [Fri, 30 Sep 2016 21:34:00 +0000 (21:34 +0000)]
ApiSandbox: Make continuation info popup actually visible

It was being clipped to the sandbox container.

Depends on Ibab4be23b20edef23686e4563db2acc0d69f52b6 in OOjs UI.

Change-Id: I204dca07378be25b6977be672263cc767bbf5fe7

7 years agoMerge "resourceloader: Use perf.now() for mediaWikiLoadStart in startup.js"
jenkins-bot [Fri, 10 Feb 2017 14:26:00 +0000 (14:26 +0000)]
Merge "resourceloader: Use perf.now() for mediaWikiLoadStart in startup.js"

7 years agoRCFilters UI: Filter interaction: conflicts
Moriel Schottlender [Tue, 7 Feb 2017 02:30:33 +0000 (18:30 -0800)]
RCFilters UI: Filter interaction: conflicts

Some filters conflict with other filters, and the state should be shown properly.

Bug: T156861
Change-Id: I1649e01a80e5a2a576af0a90df20302887631284

7 years agoRCFilters UI: Define interaction states for filters
Moriel Schottlender [Thu, 2 Feb 2017 20:13:00 +0000 (12:13 -0800)]
RCFilters UI: Define interaction states for filters

This patch sets up the ground for all three interaction types:
'subset', 'conflict' and 'coverage' as toggle-able properties
of the item and group models, and sets up the widgets' initial
logic abou their own "mute" state.

The patch includes the basic logic for two interactions:
- Subsets (and 'supersets' that are derived from them)
- Coverage

Direct conflict states will be defined in an upcoming commit.

Bug: T156864
Bug: T156861
Bug: T156860
Change-Id: If20bbe9f1442cfcfce046e56f6150b38dd3a4efc

7 years agoMerge "Add dev dependency on HTML matchers"
jenkins-bot [Fri, 10 Feb 2017 11:42:07 +0000 (11:42 +0000)]
Merge "Add dev dependency on HTML matchers"

7 years agoMerge "Replace some of the deprecated wfGetLBFactory() calls"
jenkins-bot [Fri, 10 Feb 2017 11:22:08 +0000 (11:22 +0000)]
Merge "Replace some of the deprecated wfGetLBFactory() calls"

7 years agoMove DBMasterPos to Rdbms namespace
Aaron Schulz [Wed, 8 Feb 2017 06:48:30 +0000 (22:48 -0800)]
Move DBMasterPos to Rdbms namespace

Updated all callers

Change-Id: Iacd5d6f7f18d8b23df24637cda61592112490eb0

7 years agoCreate IResultWrapper interface for type-hints
Aaron Schulz [Wed, 8 Feb 2017 07:53:03 +0000 (23:53 -0800)]
Create IResultWrapper interface for type-hints

Change-Id: Ie46ede59c09eb7b0b9ff06c6988e39fe2a953e46

7 years agoMerge "phpunit: Fix OutputPage::__construct warning in SkinTemplateTest"
jenkins-bot [Fri, 10 Feb 2017 00:43:57 +0000 (00:43 +0000)]
Merge "phpunit: Fix OutputPage::__construct warning in SkinTemplateTest"

7 years agoMerge "mediawiki.api: Make qunit failure easier to debug"
jenkins-bot [Fri, 10 Feb 2017 00:42:09 +0000 (00:42 +0000)]
Merge "mediawiki.api: Make qunit failure easier to debug"

7 years agoMerge "mediawiki.api: Add unit tests for pipe-joining non-string values"
jenkins-bot [Fri, 10 Feb 2017 00:42:05 +0000 (00:42 +0000)]
Merge "mediawiki.api: Add unit tests for pipe-joining non-string values"

7 years agoMerge "Update psr/log to v1.0.2"
jenkins-bot [Fri, 10 Feb 2017 00:19:03 +0000 (00:19 +0000)]
Merge "Update psr/log to v1.0.2"

7 years agoMerge "Updated cssjanus to v1.1.3"
jenkins-bot [Thu, 9 Feb 2017 23:44:24 +0000 (23:44 +0000)]
Merge "Updated cssjanus to v1.1.3"

7 years agoresourceloader: Use perf.now() for mediaWikiLoadStart in startup.js
Timo Tijhof [Thu, 9 Feb 2017 21:46:37 +0000 (21:46 +0000)]
resourceloader: Use perf.now() for mediaWikiLoadStart in startup.js

Currently we're using 'new Date' which is less accurate for high accuracy
performance measures. On top of that, we are actually using performance.now()
in Navigation Timing to measure mediaWikiLoadEnd, and subsequently
relating it to mediaWikiLoadStart to produce mediaWikiLoadComplete.

Mixing Date and performance.now produces inaccurate results since the
two are usually not in sync. See T153819 for further details.

Solve this by moving the polyfil to startup.js instead.

Also add a basic unit test for mw.now().

Bug: T153819
Change-Id: Ib44538155aa9ba432ec4c58b09ead5333a3a942d

7 years agomediawiki.api: Make qunit failure easier to debug
Timo Tijhof [Thu, 9 Feb 2017 20:10:58 +0000 (20:10 +0000)]
mediawiki.api: Make qunit failure easier to debug

Avoid use of assert.ok() when there is clearly a comparison being made.
Previously the result of the comparison was implicit in match() returning
an array with a match instead of null.

Change this to instead extract the value and let QUnit see the comparison.
In case of a failure, the actual and expected values will now be reported.

Change-Id: Ieaea090469efba24f6f5bf44f5c8e238b017275f

7 years agomediawiki.api: Add unit tests for pipe-joining non-string values
Timo Tijhof [Tue, 31 Jan 2017 00:42:23 +0000 (00:42 +0000)]
mediawiki.api: Add unit tests for pipe-joining non-string values

Also document the fact that null/undefined in array values are submitted
to the API as empty string. We may want to change this.

Change-Id: I099b055ba8ddd367b6df2dd8f2997d8c6cd243df

7 years agoMerge "Temporary hax to hide cawiki's hacked in search sidebar"
jenkins-bot [Thu, 9 Feb 2017 17:58:03 +0000 (17:58 +0000)]
Merge "Temporary hax to hide cawiki's hacked in search sidebar"

7 years agoTemporary hax to hide cawiki's hacked in search sidebar
Erik Bernhardson [Thu, 9 Feb 2017 17:17:45 +0000 (09:17 -0800)]
Temporary hax to hide cawiki's hacked in search sidebar

For the sistersearch AB test we will be adding in interwiki results. For
this to work we need to hide the sidebar that cawiki hacked into place
via the searchmenu-new i18n message. This should only be temporary, on
a full rollout the i18n message will be fixed, but for the AB test we
need to leave the sidebar in place for everyone not in the test.

This CSS is only delivered to pages that render the new interwiki
sidebar of results and wont negatively effect users outside the test.

Bug: T149806
Change-Id: I0c86b51222d7ecb68c72c45649e102d8c5589dea

7 years agoRC filters: AJAX and pushState/popState
Stephane Bisson [Thu, 22 Dec 2016 14:51:10 +0000 (15:51 +0100)]
RC filters: AJAX and pushState/popState

Selecting/unselecting a filter now refreshes the results list using AJAX.

Also added pushState to update the URL, and popstate handling
to make the back button work.

Bug: T153949
Change-Id: I8c1ec557ccfe4b1d20aaaab3ef0d3182a1993f24

7 years agoUpdate psr/log to v1.0.2
Reedy [Thu, 9 Feb 2017 16:15:13 +0000 (16:15 +0000)]
Update psr/log to v1.0.2

https://github.com/php-fig/log/compare/1.0.0...1.0.2
https://github.com/php-fig/log/releases/tag/1.0.1
https://github.com/php-fig/log/releases/tag/1.0.2

Change-Id: I63bc43ec352d4fe756596cfcb46320e5e02edf7a
Depends-On: I7d4e1d7f61c56fb8951744e0a149b4a3df480e5b

7 years agoMerge "mediawiki.Uri: Don't ignore options param when using default uri"
jenkins-bot [Thu, 9 Feb 2017 15:19:33 +0000 (15:19 +0000)]
Merge "mediawiki.Uri: Don't ignore options param when using default uri"

7 years agomediawiki.Uri: Don't ignore options param when using default uri
Od1n [Wed, 8 Feb 2017 20:08:28 +0000 (20:08 +0000)]
mediawiki.Uri: Don't ignore options param when using default uri

Bug: T157035
Change-Id: Iae5edf996e4cd6d1dfbbffd6a915ee55d28409d3

7 years agoAdd dev dependency on HTML matchers
Aleksey Bekh-Ivanov (WMDE) [Fri, 3 Feb 2017 15:09:14 +0000 (16:09 +0100)]
Add dev dependency on HTML matchers

Change-Id: Ic547cbf737221d4ed677e2c23adbbf001047b3c4

7 years agoMerge "RC filters: Let the group widget know its own name"
jenkins-bot [Thu, 9 Feb 2017 12:26:24 +0000 (12:26 +0000)]
Merge "RC filters: Let the group widget know its own name"

7 years agoRC filters: Let the group widget know its own name
Stephane Bisson [Thu, 9 Feb 2017 11:55:29 +0000 (06:55 -0500)]
RC filters: Let the group widget know its own name

Bug: T156533
Bug: T156215
Change-Id: I21f9df4286208cbe1609b06174066863eb4da6fb

7 years agomw.Upload.BookletLayout: Remove obsolete color value
Volker E [Thu, 9 Feb 2017 05:02:48 +0000 (21:02 -0800)]
mw.Upload.BookletLayout: Remove obsolete color value

Removing obsolete `background-color` value after I883c338fca7 and
replacing another color with of WMUI color palette.
Also aligning value with CSS coding guidelines.

Bug: T147019
Change-Id: Ibb337f37f2876d14aec002c59716879e2115fa0e

7 years agoLog a warning when headers were already sent and we can't
Chad Horohoe [Wed, 8 Feb 2017 21:29:31 +0000 (13:29 -0800)]
Log a warning when headers were already sent and we can't

Change-Id: Id01f4712e3dd297594e9ed2389ad411be5f553e7

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

Change-Id: I684ff972942f90bf48894e27e25e4c28fd8c1559

7 years agoresources: Bump moment.js from 2.8.4 to 2.15.0
James D. Forrester [Tue, 13 Sep 2016 18:24:47 +0000 (11:24 -0700)]
resources: Bump moment.js from 2.8.4 to 2.15.0

Languages and locales now with support:
* aeb-arab
* dv
* fy
* gd
* jv
* kk-cyrl
* ky
* lo
* ms
* pa
* se
* si
* ss
* sw
* te
* zh-hk

Skipped languages because we don't support them in MW:
* ar-ly
* en-ie
* en-nz
* es-do
* fr-ch
* me
* tlh
* tzl

Change-Id: I7f89569c6ee6640d368af1378e84c5a9e725da0d

7 years agoMerge "rcfilters: Style fixes and cleanup"
jenkins-bot [Wed, 8 Feb 2017 19:58:09 +0000 (19:58 +0000)]
Merge "rcfilters: Style fixes and cleanup"

7 years agoMerge "Move ILoadBalancer to Rdbms namespace"
jenkins-bot [Wed, 8 Feb 2017 18:30:18 +0000 (18:30 +0000)]
Merge "Move ILoadBalancer to Rdbms namespace"

7 years agophpunit: Fix OutputPage::__construct warning in SkinTemplateTest
Timo Tijhof [Tue, 7 Feb 2017 18:20:28 +0000 (18:20 +0000)]
phpunit: Fix OutputPage::__construct warning in SkinTemplateTest

https://integration.wikimedia.org/ci/job/mediawiki-core-code-coverage/2562/console
> Deprecated: Use of OutputPage::__construct was deprecated in MediaWiki 1.18.
> .. SkinTemplateTest->getMockOutputPage() ..

Change-Id: I7f44ffecc40b9d972839554361660e5b38ce3aef

7 years agoMerge "Add GetContentModels hook to allow extensions to enumerate dynamic content...
jenkins-bot [Wed, 8 Feb 2017 08:55:57 +0000 (08:55 +0000)]
Merge "Add GetContentModels hook to allow extensions to enumerate dynamic content models."

7 years agoMerge "Chinese Conversion Table Update 2017-1"
jenkins-bot [Wed, 8 Feb 2017 07:46:07 +0000 (07:46 +0000)]
Merge "Chinese Conversion Table Update 2017-1"

7 years agoMove ILoadBalancer to Rdbms namespace
Aaron Schulz [Mon, 6 Feb 2017 21:53:13 +0000 (13:53 -0800)]
Move ILoadBalancer to Rdbms namespace

All callers are in core and have been updated.
Other callers can now be switched from LoadBalancer type hints to
ILoadBalancer type hints. Once that migration is done, the classes
implementing it can be moved too.

Change-Id: I6b34099b5816dd8bf9646ed39f7a2d1960e2ed06

7 years agoMerge "Move DatabaseDomain to Rdbms namespace"
jenkins-bot [Wed, 8 Feb 2017 06:12:24 +0000 (06:12 +0000)]
Merge "Move DatabaseDomain to Rdbms namespace"

7 years agoUpdated cssjanus to v1.1.3
Reedy [Wed, 8 Feb 2017 02:35:09 +0000 (02:35 +0000)]
Updated cssjanus to v1.1.3

https://github.com/cssjanus/php-cssjanus/releases/tag/v1.1.3
https://github.com/cssjanus/php-cssjanus/compare/v1.1.2...v1.1.3

Depends-On: I59d095b8fbeba1d60de3834bee68c4a524bf4f81
Change-Id: I4b3704e8552d4ea9a05ca67935ce02719d04995e

7 years agoUpdate OOjs UI to v0.19.1
Volker E [Wed, 8 Feb 2017 00:50:58 +0000 (16:50 -0800)]
Update OOjs UI to v0.19.1

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

Change-Id: I6ef09c5285f89feee040a894785c02dab728e6ad

7 years agoMerge "RCFilters UI: Fix filter list popup width"
jenkins-bot [Wed, 8 Feb 2017 00:11:02 +0000 (00:11 +0000)]
Merge "RCFilters UI: Fix filter list popup width"

7 years agoRCFilters UI: Fix filter list popup width
Moriel Schottlender [Tue, 7 Feb 2017 23:20:18 +0000 (15:20 -0800)]
RCFilters UI: Fix filter list popup width

Change-Id: Ic4dac749b97b12a121612b1c16188148e33a0959

7 years agoMerge "RCFilters UI: Add popup for capsule items"
jenkins-bot [Tue, 7 Feb 2017 23:15:39 +0000 (23:15 +0000)]
Merge "RCFilters UI: Add popup for capsule items"

7 years agoRCFilters UI: Add popup for capsule items
Moriel Schottlender [Tue, 24 Jan 2017 18:23:27 +0000 (10:23 -0800)]
RCFilters UI: Add popup for capsule items

Change-Id: Icdb5ef84929e5f7bf504e99f6e6987ef4e73ae60

7 years agoMerge "Expand RC filters search to include desc and group title"
jenkins-bot [Tue, 7 Feb 2017 22:34:43 +0000 (22:34 +0000)]
Merge "Expand RC filters search to include desc and group title"

7 years agoExpand RC filters search to include desc and group title
Stephane Bisson [Tue, 31 Jan 2017 15:41:23 +0000 (10:41 -0500)]
Expand RC filters search to include desc and group title

Bug: T156215
Change-Id: Ieb1c30d8403fcdf2e4d236211affdbb6199f84f6

7 years agoMove DatabaseDomain to Rdbms namespace
Aaron Schulz [Mon, 6 Feb 2017 22:32:49 +0000 (14:32 -0800)]
Move DatabaseDomain to Rdbms namespace

Change-Id: Ifb06e792a36b5123ec3596933d0d394711ee5d08

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

Change-Id: I13aec863d647a9c93d80b13a55179cf463ac209f

7 years agoMerge "rdbms: Avoid declaration incompatibility IDEA warnings in safeWaitForMasterPos()"
jenkins-bot [Tue, 7 Feb 2017 18:48:13 +0000 (18:48 +0000)]
Merge "rdbms: Avoid declaration incompatibility IDEA warnings in safeWaitForMasterPos()"

7 years agoMerge "PHPUnit autoload file for PhpStorm"
jenkins-bot [Tue, 7 Feb 2017 18:36:10 +0000 (18:36 +0000)]
Merge "PHPUnit autoload file for PhpStorm"

7 years agordbms: Avoid declaration incompatibility IDEA warnings in safeWaitForMasterPos()
Aaron Schulz [Mon, 6 Feb 2017 21:39:32 +0000 (13:39 -0800)]
rdbms: Avoid declaration incompatibility IDEA warnings in safeWaitForMasterPos()

Change-Id: Id30105889b45c7448d8b095f0340796e577bd76a

7 years agoReplace some of the deprecated wfGetLBFactory() calls
WMDE-Fisch [Tue, 7 Feb 2017 13:31:46 +0000 (14:31 +0100)]
Replace some of the deprecated wfGetLBFactory() calls

Change-Id: I87aa0ebe273706438f1634167de8c60f51432878

7 years agoMove LikeMatch to Rdbms namespace
Aaron Schulz [Tue, 7 Feb 2017 05:20:39 +0000 (21:20 -0800)]
Move LikeMatch to Rdbms namespace

Change-Id: I0cba263cd02fc5c4bfe8f063f38d1b4be28246b0

7 years agoMerge "Add class to diff and history links in Special:Contributions"
jenkins-bot [Tue, 7 Feb 2017 03:46:04 +0000 (03:46 +0000)]
Merge "Add class to diff and history links in Special:Contributions"

7 years agoThe correct method is parse, not parsed
Erik Bernhardson [Mon, 6 Feb 2017 22:22:07 +0000 (14:22 -0800)]
The correct method is parse, not parsed

A recent patch updated these two calls to use Message::parsed(),
but it should have used the Message::parse() message.

Change-Id: I5aba40576b89f21d2b1416ca0db0d28d2a088c39

7 years agoSwitch search-interwiki-caption i18n to parsed
Erik Bernhardson [Mon, 6 Feb 2017 21:58:44 +0000 (13:58 -0800)]
Switch search-interwiki-caption i18n to parsed

A recent refactor of the interwiki sidebar looks to have a small
regression, in that this message used to use ->parsed() but now
uses ->escaped(). Switch back so the interiwki results on beta
render appropriately.

Bug: T149806
Change-Id: I44d0b1cd3bcc0606a0fb14e171d51bec1c310a91

7 years agoMerge "Special:JavaScriptTest: send RL errors to the js console"
jenkins-bot [Mon, 6 Feb 2017 21:51:18 +0000 (21:51 +0000)]
Merge "Special:JavaScriptTest: send RL errors to the js console"

7 years agoMerge "rcfeed: Ensure formatter (and other params) is passed to RCFeedEngine"
jenkins-bot [Mon, 6 Feb 2017 21:18:19 +0000 (21:18 +0000)]
Merge "rcfeed: Ensure formatter (and other params) is passed to RCFeedEngine"

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

Change-Id: I3757684001fd0e4ce2a0299ec6b565e869a29aec

7 years agoMerge "jquery.suggestions: Correct @return documentation"
jenkins-bot [Mon, 6 Feb 2017 20:32:15 +0000 (20:32 +0000)]
Merge "jquery.suggestions: Correct @return documentation"

7 years agoMerge "mediawiki.action.edit.stash.js: Use formatversion=2 for API request"
jenkins-bot [Mon, 6 Feb 2017 20:14:55 +0000 (20:14 +0000)]
Merge "mediawiki.action.edit.stash.js: Use formatversion=2 for API request"

7 years agoMerge "Add flexbox mixin for flex-wrap"
jenkins-bot [Mon, 6 Feb 2017 20:05:41 +0000 (20:05 +0000)]
Merge "Add flexbox mixin for flex-wrap"

7 years agojquery.suggestions: Correct @return documentation
Bartosz Dziewoński [Mon, 6 Feb 2017 20:03:57 +0000 (21:03 +0100)]
jquery.suggestions: Correct @return documentation

Follow-up to 0dca42efb4a1ae7bcd029bf02dbc49a6d7fb57df.

Change-Id: Ia8c17d8169eb875d297b98a30002afb0eaa11233

7 years agoMerge "Move LBFactory to Rdbms namespace"
jenkins-bot [Mon, 6 Feb 2017 19:25:54 +0000 (19:25 +0000)]
Merge "Move LBFactory to Rdbms namespace"

7 years agoSpecial:JavaScriptTest: send RL errors to the js console
Stephane Bisson [Tue, 31 Jan 2017 16:21:00 +0000 (11:21 -0500)]
Special:JavaScriptTest: send RL errors to the js console

ResourceLoader errors, like invalid dependencies, are
hard to spot and only result in the special page
not finding any tests.

This is not a perfect solution but it would have
saved me a full day of troubleshooting.

Change-Id: I247174f89772b84b4cad31deffb03152921df020

7 years agojquery.suggestions: Only highlight prefix matches
Bartosz Dziewoński [Sat, 17 Dec 2016 03:44:05 +0000 (04:44 +0100)]
jquery.suggestions: Only highlight prefix matches

* jquery.highlightText: Add an option to highlight a prefix only.
* jquery.suggestions: Use the new option.

Bug: T27187
Change-Id: I097f012d2022334bbdb8cb32b256ae978aec57c7

7 years agoMerge "Allow wikilinks in "Powersearch-ns""
jenkins-bot [Mon, 6 Feb 2017 15:11:28 +0000 (15:11 +0000)]
Merge "Allow wikilinks in "Powersearch-ns""

7 years agoMerge "Make 'groups' a data model in the FiltersViewModel"
jenkins-bot [Mon, 6 Feb 2017 11:59:14 +0000 (11:59 +0000)]
Merge "Make 'groups' a data model in the FiltersViewModel"

7 years agoMerge "ApiPurge: update description for POST requirement"
jenkins-bot [Mon, 6 Feb 2017 02:25:25 +0000 (02:25 +0000)]
Merge "ApiPurge: update description for POST requirement"

7 years agoMake 'groups' a data model in the FiltersViewModel
Moriel Schottlender [Tue, 31 Jan 2017 01:08:42 +0000 (17:08 -0800)]
Make 'groups' a data model in the FiltersViewModel

Transform the groups Object to a full data model that
handles events, and connect the FilterGroupWidget to
its model for responding to these events.

Bug: T156533
Change-Id: Iebde3138e16bac7f62e8f557e5ce08f41a9535cb

7 years agoAllow wikilinks in "Powersearch-ns"
Pmlineditor [Sun, 5 Feb 2017 21:57:35 +0000 (03:27 +0530)]
Allow wikilinks in "Powersearch-ns"

Changed use of escaped() to parse() to allow wikilinks in
MediaWiki:Powersearch-ns. Use case is provided in T157204.

Bug: T157204
Change-Id: Ic2eb28aaf735c31b50f3365176966e2e48091e54

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

Change-Id: I344edbc4a9319465e905d5c042932755f91bc07c

7 years agomediawiki.action.edit.stash.js: Use formatversion=2 for API request
Fomafix [Sun, 5 Feb 2017 20:17:10 +0000 (21:17 +0100)]
mediawiki.action.edit.stash.js: Use formatversion=2 for API request

Change-Id: I537e9fe915dcdc2827d463a9815138aa32e13ae4

7 years agoAdd flexbox mixin for flex-wrap
Isarra [Sun, 5 Feb 2017 19:16:02 +0000 (19:16 +0000)]
Add flexbox mixin for flex-wrap

Includes browser prefixes for old webkit (safaris, old iOS),
IE10, and ancient firefox

Change-Id: I6d3c82e1d1c526a1e307d9c33c576ae357834cb7

7 years agoChinese Conversion Table Update 2017-1
Chiefwei [Mon, 2 Jan 2017 12:38:34 +0000 (20:38 +0800)]
Chinese Conversion Table Update 2017-1

Update the Chinese conversion table routinely to fix bugs reported from
https://zh.wikipedia.org/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2/%E4%BF%AE%E5%A4%8D%E8%AF%B7%E6%B1%82 .

It is only data changes and only works for Chinese WikiProjects.

Change-Id: I7684fc2805f7f2076b974a2136fcbb3e9dd86607

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

Change-Id: Icc9ce5b1bd8d544288454186dff4e4e963ec2140

7 years agorcfeed: Ensure formatter (and other params) is passed to RCFeedEngine
Timo Tijhof [Sat, 4 Feb 2017 03:31:44 +0000 (03:31 +0000)]
rcfeed: Ensure formatter (and other params) is passed to RCFeedEngine

Follows-up 39a6e3dc4d. Class-based feeds are always given their parameters
by RCFeed::factory. However because the old getEngine() method insists
on creating its own object, the constructor parameters were not given.

Add it as optional parameter and pass it through there.

This is backwards-compatible still because before the 39a6e3dc4d refactor,
an RCFeedEngine also was not given information about any formatter and it
was the callers responsibility to format the line before calling send().
CentralAuth still uses it this way and that works fine. The core-caller
that expected the construction parameters since 39a6e3dc4d is hereby fixed.

The test couldn't catch this because it constructed the class instance there,
since PHPUnit does not support a mock class that is instantiated by foreign
code, and the parameter is passed there.

Bug: T156996
Bug: T157106
Change-Id: I83433cf57b6e040cdb69f3ad8807a999c4f931a5

7 years agoAdd class to diff and history links in Special:Contributions
Amir Sarabadani [Sat, 4 Feb 2017 02:35:03 +0000 (06:05 +0330)]
Add class to diff and history links in Special:Contributions

Bug: T157178
Change-Id: I4fb26d55a0b7721e430b497440029c6de254dd8f

7 years agoApiPurge: update description for POST requirement
Ricordisamoa [Sat, 4 Feb 2017 03:19:39 +0000 (04:19 +0100)]
ApiPurge: update description for POST requirement

Follow-up to eada94090990f9d06a3b512efc1ca7e6eb4bb2f1.

Change-Id: I134e4df9ed478a5989e55a991fb739b9af28ffb9

7 years agoMove LBFactory to Rdbms namespace
Aaron Schulz [Thu, 26 Jan 2017 18:27:37 +0000 (10:27 -0800)]
Move LBFactory to Rdbms namespace

Change-Id: I5ae10783228d0252284807c9562bc8e328d4becb

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 3 Feb 2017 21:12:11 +0000 (22:12 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I6ce3f477f4a80d15138744b2854202a5d0b9cab5

7 years agoMerge "Displaying interwiki results in sidebar"
jenkins-bot [Fri, 3 Feb 2017 19:04:54 +0000 (19:04 +0000)]
Merge "Displaying interwiki results in sidebar"

7 years agoDisplaying interwiki results in sidebar
Jan Drewniak [Wed, 18 Jan 2017 10:27:43 +0000 (11:27 +0100)]
Displaying interwiki results in sidebar

Displays newly designed interwiki search results in the
sidebar of the specialSearch page.

A prototype of this change can be viewed on this labs url:

http://sistersearch.wmflabs.org/w/index.php?title=Special:Search&search=mars

Bug: T149806

Change-Id: I66e4b6a502dae488d105f11cad73e145990c2327

7 years agoMerge "Avoid joining against page table when finding a page's oldest revision."
jenkins-bot [Fri, 3 Feb 2017 06:06:26 +0000 (06:06 +0000)]
Merge "Avoid joining against page table when finding a page's oldest revision."

7 years agoSet mCache in the second MessageCache::loadFromDatabase() caller
Aaron Schulz [Thu, 2 Feb 2017 22:06:33 +0000 (14:06 -0800)]
Set mCache in the second MessageCache::loadFromDatabase() caller

The member variable is needed in the next lines, which previously
just used the array with "LATEST" set and would be seen as invalid
and discarded next time.

Bug: T157033
Change-Id: I5b84b1ae4a9c7b710ee452c61d7d9d6076ec9e6a

7 years agorcfeed: FormattedRCFeed constructor should match parent class
Timo Tijhof [Thu, 2 Feb 2017 20:03:27 +0000 (20:03 +0000)]
rcfeed: FormattedRCFeed constructor should match parent class

I intentionally made the constructor parameter optional in the
new RCFeed class from 39a6e3dc4d84, however it was not optional
in the subclass, which the older classes are now based on top
of.

Bug: T156996
Change-Id: I05b9e15920bc39f27c402b023d1463cfbdd2efb8

7 years agoMerge "Move LoadMonitor to Rdbms namespace"
jenkins-bot [Thu, 2 Feb 2017 20:15:58 +0000 (20:15 +0000)]
Merge "Move LoadMonitor to Rdbms namespace"

7 years agoAdd GetContentModels hook to allow extensions to enumerate dynamic content models.
Stanislav Malyshev [Tue, 31 Jan 2017 05:31:30 +0000 (21:31 -0800)]
Add GetContentModels hook to allow extensions to enumerate dynamic content models.

Bug: T155139
Change-Id: Icb41c470dfa4638676eb3ba0e74f437e85acc792

7 years agoMerge "Do not linkify the namespace URI in 'uploadscriptednamespace' error message"
jenkins-bot [Thu, 2 Feb 2017 19:03:52 +0000 (19:03 +0000)]
Merge "Do not linkify the namespace URI in 'uploadscriptednamespace' error message"

7 years agoAdd release notes for I5ec8acf
Brad Jorsch [Thu, 2 Feb 2017 16:28:57 +0000 (11:28 -0500)]
Add release notes for I5ec8acf

Change-Id: Ifda13a82f831ee273aadab65f0e75ea9ce8998a8

7 years agorcfilters: Style fixes and cleanup
Roan Kattouw [Fri, 27 Jan 2017 08:04:49 +0000 (19:04 +1100)]
rcfilters: Style fixes and cleanup

* Set border-box on FilterGroupWidget and FilterItemWidget to prevent
  horizontal scrolling in the filter popup
* Remove unused styles for -invalid-notice and -invalid-filter
* Move styles for FilterCapsuleMultiselectWidget to the right file
* Suppress both bottom and top margin for FieldLayouts in FilterItemWidget
  (the only reason a top margin wasn't applied was because the FieldLayout
  was a first child, which is somewhat fragile)

Change-Id: I7f08ca6aa13fe6429c7fbe45b3d698c20b8c1275

7 years agoMerge "Make last remaining user_groups queries honor $wgDisableUserGroupExpiry"
jenkins-bot [Thu, 2 Feb 2017 02:18:41 +0000 (02:18 +0000)]
Merge "Make last remaining user_groups queries honor $wgDisableUserGroupExpiry"

7 years agoMerge "Update OOjs UI to v0.19.0"
jenkins-bot [Thu, 2 Feb 2017 00:21:39 +0000 (00:21 +0000)]
Merge "Update OOjs UI to v0.19.0"

7 years agoMake last remaining user_groups queries honor $wgDisableUserGroupExpiry
This, that and the other [Thu, 2 Feb 2017 00:15:38 +0000 (11:15 +1100)]
Make last remaining user_groups queries honor $wgDisableUserGroupExpiry

Follow-up to I94102ceb00398940965280d8742a2747631dcc87

Change-Id: I62952c42b2f6ee1bed0088e17826e19dfc23471c