lhc/web/wiklou.git
6 years agoMerge "Tests for Revision::userCanBitfield"
jenkins-bot [Tue, 14 Nov 2017 13:27:06 +0000 (13:27 +0000)]
Merge "Tests for Revision::userCanBitfield"

6 years agoMerge "Test for Revision::newKnownCurrent"
jenkins-bot [Tue, 14 Nov 2017 13:27:03 +0000 (13:27 +0000)]
Merge "Test for Revision::newKnownCurrent"

6 years agoProvide message/warning/error box abstraction
jdlrobson [Thu, 28 Sep 2017 18:42:32 +0000 (13:42 -0500)]
Provide message/warning/error box abstraction

This will help us consolidate the various uses into one single
method which will help us drive standardisation of these defacto
widgets.

Hopefully, by being a method of the Html class, which has a very
low barrier for use will drive down the inconsistent display of
warning/error boxes across MediaWiki's products

Various usages of warningbox and errorbox have been ported over.
I've retained some more complicated usages which make use of the
parser (wrapWikiMsg) and any where id and class are medled with
- we'll probably want to consider whether we want to encourage
those going forward as they encourage adjusting the styling.

Bug: T166915
Change-Id: I2757e1f4ff2599e93a7257fc644cab69063896d2

6 years agoMerge "RCFilters: fix call to changesListModel.update()"
jenkins-bot [Mon, 13 Nov 2017 21:49:58 +0000 (21:49 +0000)]
Merge "RCFilters: fix call to changesListModel.update()"

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 13 Nov 2017 21:04:57 +0000 (22:04 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I964eda712b69d542ca230f44ba125f0f29a328a2

6 years agoMerge "Change disabled saved filter tooltip"
jenkins-bot [Mon, 13 Nov 2017 13:42:11 +0000 (13:42 +0000)]
Merge "Change disabled saved filter tooltip"

6 years agoMerge "Use mw-parser-output for content styles, instead of mw-body-content"
jenkins-bot [Mon, 13 Nov 2017 12:49:01 +0000 (12:49 +0000)]
Merge "Use mw-parser-output for content styles, instead of mw-body-content"

6 years agoMerge "Change the rfcurl from protocol relative to HTTPS"
jenkins-bot [Mon, 13 Nov 2017 07:30:58 +0000 (07:30 +0000)]
Merge "Change the rfcurl from protocol relative to HTTPS"

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 12 Nov 2017 20:58:56 +0000 (21:58 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ic11c64813ee04e8520771bfa156f8e51404273e6

6 years agoDocument language changes for Mirandese
MarcoAurelio [Sun, 12 Nov 2017 11:34:24 +0000 (11:34 +0000)]
Document language changes for Mirandese

Bug: T180052
Change-Id: I60d809145678a2cd523776ba8e981da21f6e3ef9

6 years agoMerge "Move watcheditem classes to watcheditem directory"
jenkins-bot [Sun, 12 Nov 2017 05:57:27 +0000 (05:57 +0000)]
Merge "Move watcheditem classes to watcheditem directory"

6 years agoMerge "Remove htmlspecialchars for Html::hidden"
jenkins-bot [Sat, 11 Nov 2017 23:22:42 +0000 (23:22 +0000)]
Merge "Remove htmlspecialchars for Html::hidden"

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 11 Nov 2017 20:55:12 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie6054daa2b17649b21f5d1b167d3ce517bc604cc

6 years agoGendered NS_USER namespaces for Mirandese (mwl)
MarcoAurelio [Fri, 10 Nov 2017 17:26:39 +0000 (17:26 +0000)]
Gendered NS_USER namespaces for Mirandese (mwl)

* Adds gendered NS_USER namespaces for when the user has chosen to
  reveal his or her gender via Special:Preferences.
* Changes the NS_USER namespace to use the gender-neutral
  "Outelizador(a)" in an identical fashion as the Portuguese projects
  do with "Usuário(a)".
* General fixes.

See community consensus in the linked Phabricator Task.

Bug: T180052
Change-Id: I9bac9e6a8cb5b6feee6490cf251342389237bd5c

6 years agoRELEASE-NOTES-1.30: Add upgraded, added libraries based on git history
James D. Forrester [Wed, 8 Nov 2017 17:19:56 +0000 (09:19 -0800)]
RELEASE-NOTES-1.30: Add upgraded, added libraries based on git history

Change-Id: I4d433f8f75cfe04638adbd60d94346f629cc2f18

6 years agoSuggest running composer (install|update) with --no-dev
Reedy [Sat, 11 Nov 2017 01:37:10 +0000 (01:37 +0000)]
Suggest running composer (install|update) with --no-dev

Change-Id: I1a931b6ac2767aedfc4c71a0ddac460bd3322484

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 10 Nov 2017 20:55:30 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I244eb49276f46f4b722d381188b527d93295e9d3

6 years agoMerge "Convert @var Array => array"
jenkins-bot [Fri, 10 Nov 2017 20:18:34 +0000 (20:18 +0000)]
Merge "Convert @var Array => array"

6 years agoRCFilters: fix call to changesListModel.update()
Stephane Bisson [Fri, 10 Nov 2017 19:22:58 +0000 (14:22 -0500)]
RCFilters: fix call to changesListModel.update()

Followup to Ie2bc4fe4bd19103b513e4753e59f4adb295fbafa

3rd argument is
  {string} noResultsDetails Type of no result error
... not a boolean (isTimeout) like it used to.

Change-Id: I7766ed082eb2f4e43a89e3b5c0fb2e61bf5f1169

6 years agoSpecify an explicit text colour on some components that change the background colour
Daniel Friesen [Tue, 13 May 2014 01:19:53 +0000 (18:19 -0700)]
Specify an explicit text colour on some components that change the background colour

These components separate themselves from the default colouring of the content
area by specifying a dedicated – typically light grey – background colour.

However they leave text colour unspecified and as a result if the skin should be
white on black instead of black on white this results in these components becoming
white on white or white on light grey and becoming unreadable.

Fix this by explicitly specifying a text colour to use where the background colour is set.

Bug: T66732
Change-Id: I12584de40a18929b610d46dceaea73f06fdc6541

6 years agoUpdated dev dependancy phpunit/phpunit from v4.8.35 to v4.8.36
Reedy [Fri, 10 Nov 2017 14:06:48 +0000 (14:06 +0000)]
Updated dev dependancy phpunit/phpunit from v4.8.35 to v4.8.36

Change-Id: Ib800b243541557b3aaab03c10a796dd564f6f3ef

6 years agoTests for Revision::userCanBitfield
addshore [Fri, 10 Nov 2017 15:50:16 +0000 (15:50 +0000)]
Tests for Revision::userCanBitfield

Bug: T180210
Change-Id: Idf7e9d0f05b967b2fc083e6a70e9411b53390ed7

6 years agoUse mw-parser-output for content styles, instead of mw-body-content
Ed Sanders [Fri, 10 Nov 2017 15:49:16 +0000 (15:49 +0000)]
Use mw-parser-output for content styles, instead of mw-body-content

Change-Id: I8bddeda294b8f52fd71754b63b5afb6d30ff2b7d

6 years agoTest for Revision::newKnownCurrent
addshore [Fri, 10 Nov 2017 14:37:44 +0000 (14:37 +0000)]
Test for Revision::newKnownCurrent

Bug: T180210
Change-Id: I2cc83cbc91583b4631f4798dd14612c49024eeb4

6 years agoTests for Revision::decompressRevisionText
addshore [Fri, 10 Nov 2017 13:14:13 +0000 (13:14 +0000)]
Tests for Revision::decompressRevisionText

Bug: T180210
Change-Id: I21f6bb02757bcf59ce483e7d61685d372f134048

6 years agoRun RevisionIntegrationTest for both ContentHandlerUseDB settings
addshore [Tue, 24 Oct 2017 13:41:21 +0000 (14:41 +0100)]
Run RevisionIntegrationTest for both ContentHandlerUseDB settings

core used to have a test case that ran various Revision tests
with and without ContentHandlerUseDB set, however it did not
run due to the class / file having a bad name.

This patch reintroduces the running on Revision tests for both
ContentHandlerUseDB settings.

The global has to be set in setup / before the page used for
testing is created, else this page will be created with the
wrong values in the DB for use in the tests.

Change-Id: Ied1023e22eeac413fa86ea6946aa31619fd66319

6 years agoMake Revision::testIsUnpatrolled more reliable
addshore [Fri, 10 Nov 2017 13:46:44 +0000 (13:46 +0000)]
Make Revision::testIsUnpatrolled more reliable

Bug: T180210
Change-Id: Ib88c39527fafefdaafdb05c944716b5a1449cf1b

6 years agoConvert @var Array => array
Aaron Schulz [Fri, 10 Nov 2017 06:40:40 +0000 (22:40 -0800)]
Convert @var Array => array

Change-Id: Ie5c2d7b8e73cce74af982a5c54b0d487a7f6981d

6 years agoMerge "Rewrite userOptions.php"
jenkins-bot [Fri, 10 Nov 2017 06:24:33 +0000 (06:24 +0000)]
Merge "Rewrite userOptions.php"

6 years agoMerge "Setup: Include StartProfiler before others"
jenkins-bot [Fri, 10 Nov 2017 04:23:41 +0000 (04:23 +0000)]
Merge "Setup: Include StartProfiler before others"

6 years agoMerge "Merge ProfilerFunctions into GlobalFunctions"
jenkins-bot [Fri, 10 Nov 2017 04:23:38 +0000 (04:23 +0000)]
Merge "Merge ProfilerFunctions into GlobalFunctions"

6 years agoMerge "Sync up with Parsoid parserTests.txt"
jenkins-bot [Fri, 10 Nov 2017 01:07:59 +0000 (01:07 +0000)]
Merge "Sync up with Parsoid parserTests.txt"

6 years agoSetup: Include StartProfiler before others
Timo Tijhof [Fri, 10 Nov 2017 00:35:19 +0000 (16:35 -0800)]
Setup: Include StartProfiler before others

Bug: T180183
Change-Id: Ibcf78d094cf4dcf09bc919a5f8168f45ae225ebc

6 years agoMerge ProfilerFunctions into GlobalFunctions
Timo Tijhof [Fri, 10 Nov 2017 00:31:55 +0000 (16:31 -0800)]
Merge ProfilerFunctions into GlobalFunctions

Even if people use these (deprecated) functions in the earliest hooks or in
LocalSettings.php, it will keep working because GlobalFunctions is loaded
between DefaultSettings.php and LocalSettings.php.

The only places affected would be files in core: AutoLoader.php, Defines.php,
and DefaultSettings.php, which don't use these functions.

Change-Id: If4c0e8cbe1ea918283df22d72f792a3806569216

6 years agoUse the main stash for LBFactory "memStash" parameter
Aaron Schulz [Thu, 17 Aug 2017 03:13:35 +0000 (20:13 -0700)]
Use the main stash for LBFactory "memStash" parameter

This store is used for ChronologyProtector positions.
It should be cross-DC since the sticky DC cookie may not work
for rapid cross-wiki farm activity, causing some request go to
the non-primary DC.

NOTE: this change should be deployed on all farm wikis at once

Change-Id: Ife126592aacace696e43912b9461164a9ea98bc1

6 years agoSync up with Parsoid parserTests.txt
Arlo Breault [Fri, 10 Nov 2017 00:29:48 +0000 (19:29 -0500)]
Sync up with Parsoid parserTests.txt

This now aligns with Parsoid commit 1d6c39d8f6f5972e72974f8d64e7a0a5c2288bf2

Change-Id: I38d9d47c9cd74257b9bedc892baad90146885ef4

6 years agoMerge "Add action/user tracking to html cache purge jobs"
jenkins-bot [Thu, 9 Nov 2017 22:33:48 +0000 (22:33 +0000)]
Merge "Add action/user tracking to html cache purge jobs"

6 years agoPopulateRecentChangesSource: remove unused variable
Max Semenik [Wed, 8 Nov 2017 03:23:29 +0000 (19:23 -0800)]
PopulateRecentChangesSource: remove unused variable

Change-Id: I0c1fb623ad508d604c0e7760c2133920ec9a81f8

6 years agoMerge "widgets.DateInputWidget: Enhance desktop UX cursor handling"
jenkins-bot [Thu, 9 Nov 2017 21:40:07 +0000 (21:40 +0000)]
Merge "widgets.DateInputWidget: Enhance desktop UX cursor handling"

6 years agoMerge "widgets.DateInputWidget Align design with WikimediaUI"
jenkins-bot [Thu, 9 Nov 2017 21:40:02 +0000 (21:40 +0000)]
Merge "widgets.DateInputWidget Align design with WikimediaUI"

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 9 Nov 2017 21:38:25 +0000 (22:38 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ic3b7173db986c1984b910f00fd95c6fcb761a296

6 years agowidgets.DateInputWidget: Enhance desktop UX cursor handling
Volker E [Wed, 23 Aug 2017 22:27:26 +0000 (15:27 -0700)]
widgets.DateInputWidget: Enhance desktop UX cursor handling

Enhance desktop experience with better cursor handling.

Bug: T169034
Depends-on: I4e0ca6c472e2d6ddbe64eb783acf8c38c5beacc4
Change-Id: Ie4c847caf727051ed5bbcf9937863b007e62d3c7

6 years agoMerge "Escape single quotes in attributes"
jenkins-bot [Thu, 9 Nov 2017 18:28:09 +0000 (18:28 +0000)]
Merge "Escape single quotes in attributes"

6 years agoMove watcheditem classes to watcheditem directory
addshore [Mon, 20 Mar 2017 12:41:16 +0000 (12:41 +0000)]
Move watcheditem classes to watcheditem directory

Change-Id: If915c875380b4ecd74fad64df7833de87ea6d6f7

6 years agoRemove htmlspecialchars for Html::hidden
Fomafix [Thu, 9 Nov 2017 16:08:57 +0000 (17:08 +0100)]
Remove htmlspecialchars for Html::hidden

Html::hidden already makes an HTML escaping of the values.

This is a followup to ff2f868a9.

Change-Id: I6f63494038ffbdde0df34ad5566dfa03707dde46

6 years agoAdd tests for various simple Revision get and is methods
addshore [Thu, 9 Nov 2017 11:45:51 +0000 (11:45 +0000)]
Add tests for various simple Revision get and is methods

These tests dont cover all code paths for these methods
in some cases but it does ensure that tests actually call
them / test basical functionality.

Some of these methods are touched in
I4f24e7fbb683cb51f3fd8b250732bae9c7541ba2
hence adding some test coverage now.

Change-Id: I7eb67cb5876f89034238591c0a98f4ec6d890a40

6 years agoAdd tests for Revision::getTitle
addshore [Thu, 9 Nov 2017 10:36:22 +0000 (10:36 +0000)]
Add tests for Revision::getTitle

This method is touched in I4f24e7fbb683cb51f3fd8b250732bae9c7541ba2
hence adding some test coverage now.

Change-Id: Ie39a294546d84413bfb716efb27fd2c0321b349b

6 years agoAdd tests for Revision::getParentLengths
addshore [Thu, 9 Nov 2017 10:20:49 +0000 (10:20 +0000)]
Add tests for Revision::getParentLengths

This method name is quite missleading as it doesnt
get the parent lengths at all, it gets the lengths of
the rev ids that you ask for......

This method is touched in I4f24e7fbb683cb51f3fd8b250732bae9c7541ba2
hence adding some test coverage now.

Change-Id: Ic837bd60a34341860c4d2287a1b999f40d4f95f1

6 years agowidgets.DateInputWidget Align design with WikimediaUI
Volker E [Mon, 21 Aug 2017 02:58:04 +0000 (19:58 -0700)]
widgets.DateInputWidget Align design with WikimediaUI

Aligning DateInputWidget with WikimediaUI theme widgets by:
- using “Red50” color `#d33` from color palette,
- using standard dialog `box-shadow` value,
- ensure handle appearance is similar to standard TextInputWidget,
- align variable name,
- introduce similar variables from WikimediaUI theme, and also
- removing unnecessary properties.
Adding a `max-height` to address vendor specific UI elements for
`type=date` in Chrome.

Bug: T180094
Change-Id: I4e0ca6c472e2d6ddbe64eb783acf8c38c5beacc4

6 years agoRCFilters: some more highlight cleanup
Stephane Bisson [Thu, 9 Nov 2017 00:46:45 +0000 (19:46 -0500)]
RCFilters: some more highlight cleanup

Change-Id: I81eb3bf86f786c79a94e99d51602d904504f918f

6 years agoMerge "RCFilters: Don't reload the list if the change was highlights-only"
jenkins-bot [Thu, 9 Nov 2017 00:35:01 +0000 (00:35 +0000)]
Merge "RCFilters: Don't reload the list if the change was highlights-only"

6 years agoEscape single quotes in attributes
Max Semenik [Wed, 8 Nov 2017 01:45:56 +0000 (17:45 -0800)]
Escape single quotes in attributes

Replaces a long excuse in Html class not to call
Sanitizer::encodeAttribute() with a call to it.
In anything security related, excuses are a sign that you're doing
something wrong:)

Change-Id: Icf7f60d8cd6ea757d8f1999d638b82733001f68a

6 years agoChange disabled saved filter tooltip
petarpetkovic [Wed, 8 Nov 2017 23:10:04 +0000 (00:10 +0100)]
Change disabled saved filter tooltip

Bug: T179743
Change-Id: I2359bec7d89c6184dafbb5a1f90ea0f47cccd962

6 years agoRCFilters: Don't reload the list if the change was highlights-only
Moriel Schottlender [Thu, 12 Oct 2017 18:28:36 +0000 (11:28 -0700)]
RCFilters: Don't reload the list if the change was highlights-only

Bug: T164131
Change-Id: I9952467d0acef84a6445d970977c1265a3ebff95

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 8 Nov 2017 20:54:54 +0000 (21:54 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I4f1007bfb2661ea9f18dc00e6795f102ed29c918

6 years agoMerge "Group messages in WANObjectCache by key"
jenkins-bot [Wed, 8 Nov 2017 20:28:23 +0000 (20:28 +0000)]
Merge "Group messages in WANObjectCache by key"

6 years agoGroup messages in WANObjectCache by key
Chad Horohoe [Wed, 8 Nov 2017 18:24:43 +0000 (10:24 -0800)]
Group messages in WANObjectCache by key

Change-Id: I31c570a095735c9157332660e9f1f542e679410f

6 years agoRemove trailing newline and period from message
Matthias Mullie [Wed, 8 Nov 2017 09:48:45 +0000 (10:48 +0100)]
Remove trailing newline and period from message

Change-Id: I3247edd22d12ea390cd969d8d89f84fa7b1dfdba

6 years agoMerge "Fix wrong variable in ShowSearchHit call."
jenkins-bot [Wed, 8 Nov 2017 09:22:25 +0000 (09:22 +0000)]
Merge "Fix wrong variable in ShowSearchHit call."

6 years agoFinish migration to Maintenance::getBatchSize()
Max Semenik [Wed, 8 Nov 2017 03:35:11 +0000 (19:35 -0800)]
Finish migration to Maintenance::getBatchSize()

Change-Id: I02d89f71d820e4d00a39e86a30397b614bbdb432

6 years agoRCFilters: Remove redundant replaceUpdatedUrl method
Moriel Schottlender [Thu, 2 Nov 2017 23:48:45 +0000 (16:48 -0700)]
RCFilters: Remove redundant replaceUpdatedUrl method

The method should call updateURL anyways. If it's initializing, the
comparison to the original URL will still be false and the system
will apply replaceState on the URL.

Change-Id: Ibfa104ed2aba94a5c17ed8ce3580a089d60e4d97

6 years agoFix wrong variable in ShowSearchHit call.
Stanislav Malyshev [Wed, 8 Nov 2017 00:33:38 +0000 (16:33 -0800)]
Fix wrong variable in ShowSearchHit call.

The code uses $size, which does not exist and never used otherwise.
The actual size HTML is stored in $desc.

Change-Id: Ida5e69c81acea6bdec75810cf7b192f9dc7cf327

6 years agoMerge "Timeout autoHide notifications based on visible time"
jenkins-bot [Tue, 7 Nov 2017 23:46:41 +0000 (23:46 +0000)]
Merge "Timeout autoHide notifications based on visible time"

6 years agoMerge "Update OOjs UI to v0.24.2"
jenkins-bot [Tue, 7 Nov 2017 23:29:16 +0000 (23:29 +0000)]
Merge "Update OOjs UI to v0.24.2"

6 years agoTimeout autoHide notifications based on visible time
Erik Bernhardson [Thu, 21 Sep 2017 16:13:01 +0000 (09:13 -0700)]
Timeout autoHide notifications based on visible time

On supported browsers handle the auto hide timeout with a
count of cumulative time the page has been visible to the
user. Old functionality can still be accessed, if desired,
by setting the visibleTimeout notification option to false.
On browsers without support for this visibilitychange event
wall clock time (the old behaviour) is used.

Adds a library function functionally similar to setTimeout that
only considers time when the page is visible. This is useful
both for analytics purposes, and when you want to temporarily
put something on screen and be reasonably certain it doesn't
go away until a user has seen it.

Bug: T42322
Change-Id: I7d8ea85602cae9cfc72e0155bc3092049ecafd43

6 years agoMerge "mw.special.apisandbox: Use a real button for "Auto-fill the token""
jenkins-bot [Tue, 7 Nov 2017 23:03:10 +0000 (23:03 +0000)]
Merge "mw.special.apisandbox: Use a real button for "Auto-fill the token""

6 years agoUpdate OOjs UI to v0.24.2
James D. Forrester [Tue, 7 Nov 2017 22:55:44 +0000 (14:55 -0800)]
Update OOjs UI to v0.24.2

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

Depends-On: I0e9d3f690349f9f01fb6424f9cb8468ebb21455a
Change-Id: I0e9d3f690349f9f01fb6424f9cb8468ebb21455b

6 years agoUpdate for Phan 0.10.1
Max Semenik [Sat, 4 Nov 2017 22:45:58 +0000 (15:45 -0700)]
Update for Phan 0.10.1

Change-Id: Id292944b80eb0c81956b203ce95bb0def3b4b0a3

6 years agomw.special.apisandbox: Use a real button for "Auto-fill the token"
Bartosz Dziewoński [Fri, 3 Mar 2017 20:03:39 +0000 (21:03 +0100)]
mw.special.apisandbox: Use a real button for "Auto-fill the token"

I've never liked this interface. It is not obvious what the little
triangle does. Let's just use words.

Change-Id: Ica477713adf67a6e1909629eae6b6ee8b35a48f6

6 years agoMerge "upload: Simplify UploadStashTest by using getNewTempFile()"
jenkins-bot [Tue, 7 Nov 2017 21:36:11 +0000 (21:36 +0000)]
Merge "upload: Simplify UploadStashTest by using getNewTempFile()"

6 years agoRewrite userOptions.php
Max Semenik [Fri, 6 Oct 2017 01:53:57 +0000 (18:53 -0700)]
Rewrite userOptions.php

* Convert to use Maintenance
* Clean up
* I want to use the class name UserOptions for something else
  so rename it.

Change-Id: Ic441087702376b1ca0e70554c71cdf7ecad908af

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

Change-Id: Ic0bf3eb6356c270bfa90bd0ade9a08af77de0c94

6 years agoMerge "RCFilters: Remove excluded params from URL"
jenkins-bot [Tue, 7 Nov 2017 20:44:24 +0000 (20:44 +0000)]
Merge "RCFilters: Remove excluded params from URL"

6 years agoRCFilters: Remove excluded params from URL
Moriel Schottlender [Thu, 2 Nov 2017 23:13:43 +0000 (16:13 -0700)]
RCFilters: Remove excluded params from URL

This was gone unnoticed in the previous upgrade of the UriProcessor
but should be reimplemented: excluded parameters (sticky) should be
excluded from the URL. They should be merged into the uri values so
that their **values** are passing through, but the eventual result
of the URI query itself should not have them.

Change-Id: I06bf2f4da54297e2ec6962dcadb7a4924351cc35

6 years agoMerge "Fix mergeMessageFileList.php --extensions-dir extensions:skins"
jenkins-bot [Tue, 7 Nov 2017 18:53:03 +0000 (18:53 +0000)]
Merge "Fix mergeMessageFileList.php --extensions-dir extensions:skins"

6 years agoMerge "Remove nbsp and similar characters from section IDs"
jenkins-bot [Tue, 7 Nov 2017 18:43:48 +0000 (18:43 +0000)]
Merge "Remove nbsp and similar characters from section IDs"

6 years agoMerge "Add render moved paragraphs marker in diff view"
jenkins-bot [Tue, 7 Nov 2017 18:12:44 +0000 (18:12 +0000)]
Merge "Add render moved paragraphs marker in diff view"

6 years agoFix mergeMessageFileList.php --extensions-dir extensions:skins
Niklas Laxström [Tue, 7 Nov 2017 17:45:17 +0000 (18:45 +0100)]
Fix mergeMessageFileList.php --extensions-dir extensions:skins

Only last directory of multiple was being used.

Follows up e74bc3b32effac7e0bbf9e314f4a6f15eedf7bff

Change-Id: I30190a30c387f1c34a41f9bbc033d421be631756

6 years agoMerge "Make it possible to override SpecialPreferences::showResetForm()"
jenkins-bot [Tue, 7 Nov 2017 17:36:44 +0000 (17:36 +0000)]
Merge "Make it possible to override SpecialPreferences::showResetForm()"

6 years agoMerge "Capitalise URL in uploadstash-file-not-found-no-remote-thumb"
jenkins-bot [Tue, 7 Nov 2017 16:54:05 +0000 (16:54 +0000)]
Merge "Capitalise URL in uploadstash-file-not-found-no-remote-thumb"

6 years agoRCFilters:Make bookmark icon gray when unavailable
petarpetkovic [Tue, 7 Nov 2017 11:28:05 +0000 (12:28 +0100)]
RCFilters:Make bookmark icon gray when unavailable

- Make bookmark icon gray out when unavailable instead of disappearing.
- Include a tooltip in the grayed out state only to say:
"These filters are already saved."

Bug: T179743
Change-Id: I3e4d711f9b8f2b0a2c1195c9d7632de417e6d0d5

6 years agoMake it possible to override SpecialPreferences::showResetForm()
Sam Wilson [Tue, 7 Nov 2017 03:15:24 +0000 (11:15 +0800)]
Make it possible to override SpecialPreferences::showResetForm()

Change-Id: I390e9d46fd2b8d4d8a1f9fd250c964a696b48244

6 years agoMerge "jquery3.js -> jquery.js"
jenkins-bot [Tue, 7 Nov 2017 07:11:56 +0000 (07:11 +0000)]
Merge "jquery3.js -> jquery.js"

6 years agoupload: Simplify UploadStashTest by using getNewTempFile()
Timo Tijhof [Tue, 7 Nov 2017 06:45:34 +0000 (22:45 -0800)]
upload: Simplify UploadStashTest by using getNewTempFile()

The parent class has a built-in list that tracks these files and
deletes them in a teardown.

I was unable to reproduce a case where $path + '.' is created by
MediaWiki. As far as I can tell, no current code exists in core
that would do this. If it does exist, we can keep the tearDown()
override with just that second case, but I'm removing it for now,
given it doesn't appear to be used.

Change-Id: I5847b7b266f1393d983aeb4b115bc0ae000e3547

6 years agojquery3.js -> jquery.js
Zach [Tue, 7 Nov 2017 05:06:28 +0000 (20:06 -0900)]
jquery3.js -> jquery.js

Per Krinkle's comment.

Change-Id: Ib8c78b47b6a700dcf753a7a1fd90d05d649f52d2

6 years agoMerge "Introduce Maintenance::getBatchSize()"
jenkins-bot [Tue, 7 Nov 2017 06:07:25 +0000 (06:07 +0000)]
Merge "Introduce Maintenance::getBatchSize()"

6 years agoMove edit font styles to separate module
Ed Sanders [Tue, 24 Oct 2017 15:29:26 +0000 (16:29 +0100)]
Move edit font styles to separate module

This allows pages that don't load mediawiki.legacy.shared
(e.g. MobileFrontend) to still have access to edit fonts.

Change-Id: Ifff40f756558e30f6551f29a945a31f0eef4cfed

6 years agoCapitalise URL in uploadstash-file-not-found-no-remote-thumb
Reedy [Mon, 6 Nov 2017 22:01:52 +0000 (22:01 +0000)]
Capitalise URL in uploadstash-file-not-found-no-remote-thumb

Bug: T179872
Change-Id: Ib32ffedd20fac4c79c333b9be8b96e6ace80ab65

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 6 Nov 2017 21:20:33 +0000 (22:20 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I9153b70314bacb5fb0e6e979d9a3274d60f6bd29

6 years agoMerge "Ensure WCAG level AA contrast"
jenkins-bot [Mon, 6 Nov 2017 19:30:54 +0000 (19:30 +0000)]
Merge "Ensure WCAG level AA contrast"

6 years agoAdd missing @throws in doc
WMDE-Fisch [Mon, 6 Nov 2017 15:40:48 +0000 (16:40 +0100)]
Add missing @throws in doc

Change-Id: I978369a727d557db8650b32ec155a6b490c4c866

6 years agoi18n UploadStash exception messages
Matthias Mullie [Mon, 16 Oct 2017 15:29:37 +0000 (17:29 +0200)]
i18n UploadStash exception messages

In some cases, the error messages have changed slightly, mostly because
of capitalisation & punctuation.
In a few other cases (mainly UploadStashNotLoggedInException), the content
has also slightly changed (removed mention of the __METHOD__ it occurred in)

Bug: T178291
Change-Id: I184067f2d7fe0a0a2df1114d2525fd9ab95b6c86

6 years agoRework Upload*Exception classes to implement ILocalizedException
Cormac Parle [Mon, 9 Oct 2017 14:26:46 +0000 (15:26 +0100)]
Rework Upload*Exception classes to implement ILocalizedException

Bug: T154781
Change-Id: Ia64295d7ea502014586b8b8e3e3f34272b72443c

6 years agoMerge "Use Maintenance::setBatchSize() everywhere"
jenkins-bot [Mon, 6 Nov 2017 09:09:36 +0000 (09:09 +0000)]
Merge "Use Maintenance::setBatchSize() everywhere"

6 years agoMerge "Specify a blocker for all UserTest blocks"
jenkins-bot [Mon, 6 Nov 2017 02:48:57 +0000 (02:48 +0000)]
Merge "Specify a blocker for all UserTest blocks"

6 years agoIntroduce Maintenance::getBatchSize()
Max Semenik [Sun, 5 Nov 2017 08:09:51 +0000 (01:09 -0700)]
Introduce Maintenance::getBatchSize()

Just to isolate the internals. Fix most of usages in the core.

Change-Id: I8b3e9ca1f42b7c49ee57f17b88ca2fc7b404f342

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

Change-Id: Ib78fbd243c028637110c05371ec0d8b935e760a1

6 years agoSpecify a blocker for all UserTest blocks
Huji Lee [Mon, 18 Sep 2017 18:57:17 +0000 (14:57 -0400)]
Specify a blocker for all UserTest blocks

Also, un-register the PerofmrRetroactiveAutoblock hook from CheckUser
as it will assume an IP address for the user which is not specified in
UserTest. This will keep the unit tests focused on unit testing, as
opposed to integration.

Bug:T176103
Change-Id: I3a090f7bae5ba266c3cd4500ecf83338fb8503bb

6 years agoLanguage: Update git.wikimedia.org URLs to point to Phabricator
Zach [Sun, 5 Nov 2017 05:11:41 +0000 (21:11 -0800)]
Language: Update git.wikimedia.org URLs to point to Phabricator

Bug: T139089
Change-Id: I38492e0c8e90f3418bcb831f086fbe6ea2b319b5

6 years agoEnsure WCAG level AA contrast
Volker E [Sun, 5 Nov 2017 03:55:36 +0000 (20:55 -0700)]
Ensure WCAG level AA contrast

Increasing contrast on span.stats slightly to meet
WCAG level AA contrast minimum requirement on possible
background color `#f9f9f9`.
Also bringing selector in correct parent > child order.

Change-Id: If033cd61bd81dbd5773810b1a944f20a9bf2e58d