lhc/web/wiklou.git
5 years agoMerge "Parse wikitext in gallery caption"
jenkins-bot [Tue, 27 Nov 2018 15:47:50 +0000 (15:47 +0000)]
Merge "Parse wikitext in gallery caption"

5 years agoMerge "Protect legacy URL parameter syntax in link and alt options"
jenkins-bot [Tue, 27 Nov 2018 15:32:44 +0000 (15:32 +0000)]
Merge "Protect legacy URL parameter syntax in link and alt options"

5 years agoProtect legacy URL parameter syntax in link and alt options
C. Scott Ananian [Mon, 26 Nov 2018 17:53:51 +0000 (12:53 -0500)]
Protect legacy URL parameter syntax in link and alt options

HTML doesn't allow certain semicolon-less HTML entities in attribute
values to avoid breaking legacy markup like:
  <a href="http://example.com?foo&param=bar">...</a>
(Note that the & in that URL is not properly entity-escaped as `&amp;`.)

Unlike wikitext, HTML generally allows semicolon-less legacy entities
in text.

Our alt and link option processing shove text through
Sanitizer::stripAllTags, which does entity decoding including these
legacy semicolon-less entities.  Wikitext doesn't allow semicolon-less
entities, so escape & characters where appropriate to protect alt/link
options and avoid breaking URLs.

This was a "regression" in how alt options were handled starting in
ddb4913f53624c8ee0a2a91bd44bf750e378569d when we switched to using
Remex for Sanitizer::stripAllTags -- semicolon-less entities (previously
invalid in wikitext) were now being decoded when stripAllTags was
called on alt text.  This change became a problem when
ad80f0bca27c2b0905b2b137977586bfab80db34 sent link option text through
Sanitizer::stripAllTags (with the new semicolon-less entity decode)
instead of PHP's strip_tags (which, in addition to its other faults,
doesn't do entity decode at all).  This suddenly started decoding
"non-wikitext" entities like `&para` inside URLs, breaking links.
Filed T210437 as a follow-up to consider changing the behavior
of Sanitizer::stripAllTags() globally to prevent it from decoding
semicolon-less entities for all callers.

Bug: T209236
Change-Id: I5925e110e335d83eafa9de935c4e06806322f4a9

5 years agoMerge "Preferences: Remove unused message for RC/Watchlist opt-out section"
jenkins-bot [Tue, 27 Nov 2018 14:36:30 +0000 (14:36 +0000)]
Merge "Preferences: Remove unused message for RC/Watchlist opt-out section"

5 years agoMerge "Migrate ApiQueryLogEvents from tag_summary to change_tag"
jenkins-bot [Tue, 27 Nov 2018 00:33:17 +0000 (00:33 +0000)]
Merge "Migrate ApiQueryLogEvents from tag_summary to change_tag"

5 years agoMerge "Split ChangeTags::modifyDisplayQuery() to two smaller functions"
jenkins-bot [Tue, 27 Nov 2018 00:33:11 +0000 (00:33 +0000)]
Merge "Split ChangeTags::modifyDisplayQuery() to two smaller functions"

5 years agoMerge "rdbms: rename setDomainPrefix to setLocalDomainPrefix in ILoadBalancer"
jenkins-bot [Tue, 27 Nov 2018 00:27:32 +0000 (00:27 +0000)]
Merge "rdbms: rename setDomainPrefix to setLocalDomainPrefix in ILoadBalancer"

5 years agoMerge "Add logging for redundant parsing to WikitextContent."
jenkins-bot [Mon, 26 Nov 2018 23:00:54 +0000 (23:00 +0000)]
Merge "Add logging for redundant parsing to WikitextContent."

5 years agoMerge "Use stashed ParserOutput during saving."
jenkins-bot [Mon, 26 Nov 2018 22:53:34 +0000 (22:53 +0000)]
Merge "Use stashed ParserOutput during saving."

5 years agoAdd logging for redundant parsing to WikitextContent.
daniel [Thu, 15 Nov 2018 15:41:29 +0000 (16:41 +0100)]
Add logging for redundant parsing to WikitextContent.

Bug: T205369
Change-Id: I67bfdc0340e0ddc1ecdaf3323f2171b2e752c680

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 26 Nov 2018 21:05:32 +0000 (22:05 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ibc3a851342d0559915206fc3b9ef2ba47fb1a065

5 years agoMerge "mediawiki.ui: Remove unused `.mw-ui-checked` class"
jenkins-bot [Mon, 26 Nov 2018 20:30:31 +0000 (20:30 +0000)]
Merge "mediawiki.ui: Remove unused `.mw-ui-checked` class"

5 years agoMerge "Install wikimedia/password-blacklist 0.1.3 (fix-up)"
jenkins-bot [Mon, 26 Nov 2018 19:09:30 +0000 (19:09 +0000)]
Merge "Install wikimedia/password-blacklist 0.1.3 (fix-up)"

5 years agoPreferences: Remove unused message for RC/Watchlist opt-out section
Roan Kattouw [Mon, 26 Nov 2018 18:43:59 +0000 (10:43 -0800)]
Preferences: Remove unused message for RC/Watchlist opt-out section

Also remove the mapping from "optoutwatchlist" and "optoutrc" to
"opt-out".

Bug: T207741
Change-Id: I7aecf11496d2f13d11944b5ce1910362c4268ad4
Follows-Up: I8d6795f5e39fa5bceabd2da5e6a5b43d009a3bab

5 years agordbms: rename setDomainPrefix to setLocalDomainPrefix in ILoadBalancer
Aaron Schulz [Tue, 20 Nov 2018 23:34:11 +0000 (15:34 -0800)]
rdbms: rename setDomainPrefix to setLocalDomainPrefix in ILoadBalancer

Update CloneDatabase and unit test callers, which are the only things
that are likely to call it.

Change-Id: Idbc6d2965cd3828c2c6d23012319bbf0fc3ffa4a

5 years agoMerge "Sync up with Parsoid parserTests.txt"
jenkins-bot [Mon, 26 Nov 2018 17:08:52 +0000 (17:08 +0000)]
Merge "Sync up with Parsoid parserTests.txt"

5 years agoMerge "rdbms: add ILBFactory::redefineLocalDomain method"
jenkins-bot [Mon, 26 Nov 2018 16:51:39 +0000 (16:51 +0000)]
Merge "rdbms: add ILBFactory::redefineLocalDomain method"

5 years agoSync up with Parsoid parserTests.txt
Subramanya Sastry [Mon, 26 Nov 2018 15:14:03 +0000 (10:14 -0500)]
Sync up with Parsoid parserTests.txt

This now aligns with Parsoid commit c900a0c7dbd27cdba09d43971411e6849be73558

Change-Id: I7d7049e4cfbe50d7fe9c90894a6879e1694a3078

5 years agoInstall wikimedia/password-blacklist 0.1.3 (fix-up)
Kunal Mehta [Mon, 26 Nov 2018 02:35:43 +0000 (18:35 -0800)]
Install wikimedia/password-blacklist 0.1.3 (fix-up)

When rebasing/updating 519ff1a402992, I forgot to update composer.json to use
0.1.3 (mentioned in RELEASE-NOTES and the commit message) instead of 0.1.2.

mediawiki/vendor already has 0.1.3.

Change-Id: Ica042a6d2b99e1640b74dcb7290314bd3b0d27c7

5 years agomediawiki.ui: Remove unused `.mw-ui-checked` class
Volker E [Mon, 26 Nov 2018 02:04:17 +0000 (18:04 -0800)]
mediawiki.ui: Remove unused `.mw-ui-checked` class

Removing `.mw-ui-checked` as it is unused in current codebase.

Change-Id: I7a03215fae0b17dac41d85ffe1bb2634ec09f5c2

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 25 Nov 2018 21:17:43 +0000 (22:17 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I6bc49b217c97059665bc032641d01c1365c8e263

5 years agoMerge "mediawiki.ui: Move remaining mixin to buttons.less; remove mixins.less"
jenkins-bot [Sun, 25 Nov 2018 19:03:42 +0000 (19:03 +0000)]
Merge "mediawiki.ui: Move remaining mixin to buttons.less; remove mixins.less"

5 years agoMerge "Add PasswordPolicy to check the password isn't in the large blacklist"
jenkins-bot [Sun, 25 Nov 2018 00:20:12 +0000 (00:20 +0000)]
Merge "Add PasswordPolicy to check the password isn't in the large blacklist"

5 years agoAdd PasswordPolicy to check the password isn't in the large blacklist
Reedy [Mon, 26 Feb 2018 00:56:52 +0000 (00:56 +0000)]
Add PasswordPolicy to check the password isn't in the large blacklist

Add wikimedia/password-blacklist 0.1.3, which contains 100,000 common passwords

Bug: T151425
Change-Id: I80572fcee6d23ea04ad9ee683157bab9378b660e
Depends-On: I8aea5a44248da9bb9ff7b328679bff6fcf41750d

5 years agoMerge "ApiQueryBlocks.php: Call static function statically"
jenkins-bot [Sat, 24 Nov 2018 23:40:34 +0000 (23:40 +0000)]
Merge "ApiQueryBlocks.php: Call static function statically"

5 years agoMake "→" link to page section on History page larger by adding section name to it
Bjornskjald [Wed, 21 Nov 2018 22:48:16 +0000 (23:48 +0100)]
Make "→" link to page section on History page larger by adding section name to it

Bug: T165189
Change-Id: I1f845592bd3de342fda84b60fc412055973950fd

5 years agoMerge "parser: Remove aliases for __EXPECTUNUSEDCATEGORY__"
jenkins-bot [Fri, 23 Nov 2018 23:16:10 +0000 (23:16 +0000)]
Merge "parser: Remove aliases for __EXPECTUNUSEDCATEGORY__"

5 years agoMerge "mediawiki.special.apisandbox: Fix code for ES5 environments (IE 11)"
jenkins-bot [Fri, 23 Nov 2018 23:15:42 +0000 (23:15 +0000)]
Merge "mediawiki.special.apisandbox: Fix code for ES5 environments (IE 11)"

5 years agoMerge "Remove unneeded "eslint-disable no-restricted-properties" from several files"
jenkins-bot [Fri, 23 Nov 2018 23:15:37 +0000 (23:15 +0000)]
Merge "Remove unneeded "eslint-disable no-restricted-properties" from several files"

5 years agomediawiki.ui: Move remaining mixin to buttons.less; remove mixins.less
Volker E [Fri, 23 Nov 2018 19:24:53 +0000 (11:24 -0800)]
mediawiki.ui: Move remaining mixin to buttons.less; remove mixins.less

mediawiki.ui mixins are arbitrarily increasing code complexity.
Moving the remaining primary button mixin to the corresponding
buttons.less file and removing mixins.less as logical consequence.

Change-Id: I1299e210a7c8a403e859915bfed3ebecbf1f2f14

5 years agoparser: Remove aliases for __EXPECTUNUSEDCATEGORY__
Timo Tijhof [Fri, 23 Nov 2018 21:13:51 +0000 (21:13 +0000)]
parser: Remove aliases for __EXPECTUNUSEDCATEGORY__

Follows-up 4985ce513469fa82a132139a41c2854504475e4a.

This is a brand new magic word, with no history or concerns for
backward-compatibility. Introducing it with four possible ways to
to use it, I think leads to less ideal experience for end-users.

I recognise that this is an attempt to make it easier for users
to get this magic word correctly working, even when a user guesses
the name incorrectly. This is a valid problem but, I do not think
adding more syntax is the right answer to that problem.

Introducing four ways to do the same thing I believe would make it
more difficult to learn the syntax, because they also have to
remember the other variations when encountering it from other users.

I also believe that the value we gain from a user getting it right
via an alias of this keyword is, shadowed by the loss in value
from a user when they get it wrong for all the other keywords.
This is because they'd likely expect the same four varations
(MULTIWORD, MULTI_WORD, MULTIPLE_WORD, MULTIPLEWORD) to apply
there as well. It creates expectations that we are not matching.

I think it is worth investigating this problem, and having four
extra aliases in the syntax could be one of the proposals to solve
that problem. However, we should discuss that on Phabricator and,
if we agree to it, apply it universally, not just to one keyword.

Bug: T96041
Change-Id: I5621cee70e6f791a161f21ebda8c5a7243e5947e

5 years agoMerge "Localisation updates from https://translatewiki.net."
jenkins-bot [Fri, 23 Nov 2018 20:55:49 +0000 (20:55 +0000)]
Merge "Localisation updates from https://translatewiki.net."

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 23 Nov 2018 20:54:38 +0000 (21:54 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I941735cac9508aa5825329ba77ca760bf7250769

5 years agomediawiki.special.apisandbox: Fix code for ES5 environments (IE 11)
Bartosz Dziewoński [Fri, 23 Nov 2018 19:45:19 +0000 (20:45 +0100)]
mediawiki.special.apisandbox: Fix code for ES5 environments (IE 11)

The method Array#findIndex was introduced in ES6 [1] and we still
support browsers that only implement ES5, like Internet Explorer 11.

[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex#Specifications

Change-Id: Idaebef7c91f2683099ab4980833ed76f0e3b51eb

5 years agoRemove unneeded "eslint-disable no-restricted-properties" from several files
Bartosz Dziewoński [Fri, 23 Nov 2018 19:39:13 +0000 (20:39 +0100)]
Remove unneeded "eslint-disable no-restricted-properties" from several files

This was added in 160fc196fe43300843cc6cb68ad912051b7fb1d9 to suppress
warnings about usage of jQuery utility methods.

In eslint-config-wikimedia v0.9.0, the jQuery utility methods got its
own warning code, and change 3e4e0a5774cb7531c8be7516e57550477489753d
updated all files that use them to suppress each individual warning,
but did not remove this now-unnecessary global suppression.

Currently (since 6ad73362f376a0399bd1568fe7bbf40425737311), these
comments are instead incorrectly suppressing warnings about usage of
JavaScript methods introduced in ES6 and later.

Change-Id: Ie70aeb325946c8e6b62333e1ca1515cd0f5f326b

5 years agomediawiki.ui: Fix quiet button styling and remove mixins
Volker E [Wed, 21 Nov 2018 23:13:31 +0000 (15:13 -0800)]
mediawiki.ui: Fix quiet button styling and remove mixins

Quiet progressive and destructive buttons are applied right visual
properties.
Mixins make only sense when they are called several times, it
diminishes readability here and unnecessarily complicates the lookup
of values being set correctly. Therefore removing them.
Also introducing selected variables following WikimediaUI Base naming
convention in order to be replaced easily in future.

Bug: T210115
Change-Id: Iee1559ed185a12bf77fc68b6ef7f10e9a0536b07

5 years agoMerge "Replace mixin by inline styles"
jenkins-bot [Fri, 23 Nov 2018 17:28:51 +0000 (17:28 +0000)]
Merge "Replace mixin by inline styles"

5 years agoMerge "mediawiki.ui: Remove `.agora-inline-label-styling()` & `.mw-ui-radio-label`"
jenkins-bot [Fri, 23 Nov 2018 17:28:47 +0000 (17:28 +0000)]
Merge "mediawiki.ui: Remove `.agora-inline-label-styling()` & `.mw-ui-radio-label`"

5 years agoMerge "Avoid HTML string parsing"
jenkins-bot [Fri, 23 Nov 2018 17:14:55 +0000 (17:14 +0000)]
Merge "Avoid HTML string parsing"

5 years agoMerge "build: Use eslint-config-wikimedia v0.9.0 and make pass"
jenkins-bot [Fri, 23 Nov 2018 14:39:20 +0000 (14:39 +0000)]
Merge "build: Use eslint-config-wikimedia v0.9.0 and make pass"

5 years agoAvoid HTML string parsing
Ed Sanders [Wed, 21 Nov 2018 21:14:26 +0000 (21:14 +0000)]
Avoid HTML string parsing

Identified using https://github.com/wikimedia/eslint-plugin-jquery/pull/12

Change-Id: Ic3ac53804085aa61be54793e7e5f27b23d99a560

5 years agobuild: Use eslint-config-wikimedia v0.9.0 and make pass
Ed Sanders [Wed, 21 Nov 2018 11:28:28 +0000 (11:28 +0000)]
build: Use eslint-config-wikimedia v0.9.0 and make pass

Change-Id: I7b5d228a3de4b3006751a427dec907a5bebf2f51

5 years agordbms: add ILBFactory::redefineLocalDomain method
Aaron Schulz [Mon, 19 Nov 2018 08:13:30 +0000 (00:13 -0800)]
rdbms: add ILBFactory::redefineLocalDomain method

This is intended for use with scripts like addWiki.php to avoid mismatched domain errors.

Bug: T209483
Change-Id: Ie24f83f4e0fad7b01690d2055e1529a4cb0275b5

5 years agoMerge "rdbms: add DBConnRef sanity check to LoadBalancer::closeConnection"
jenkins-bot [Thu, 22 Nov 2018 22:51:28 +0000 (22:51 +0000)]
Merge "rdbms: add DBConnRef sanity check to LoadBalancer::closeConnection"

5 years agoMerge "Avoid post-send DBPerformance log warnings for page rollback"
jenkins-bot [Thu, 22 Nov 2018 21:40:09 +0000 (21:40 +0000)]
Merge "Avoid post-send DBPerformance log warnings for page rollback"

5 years agoMerge "Differentiate comments with and without brackets"
jenkins-bot [Thu, 22 Nov 2018 21:13:30 +0000 (21:13 +0000)]
Merge "Differentiate comments with and without brackets"

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 22 Nov 2018 20:54:27 +0000 (21:54 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I8237c9d63b01e92747608f9e226339db009fd601

5 years agoDifferentiate comments with and without brackets
jdlrobson [Thu, 22 Nov 2018 19:39:48 +0000 (11:39 -0800)]
Differentiate comments with and without brackets

Per T205581#4768548 cached HTML might render a comment with
double brackets in the text. The CSS selector should not apply
there so a new class is used.

Using a BEM convention for the time being. This class can be
removed in future if needed.

Bug: T205581
Change-Id: If1552d6ddd4729b8beca45a1ca19ec6ce36e6118

5 years agoAvoid post-send DBPerformance log warnings for page rollback
Aaron Schulz [Mon, 19 Nov 2018 19:56:49 +0000 (11:56 -0800)]
Avoid post-send DBPerformance log warnings for page rollback

Change-Id: I3d4eafc7d9d04647955822d5100d8cf253d80c8a

5 years agoUse stashed ParserOutput during saving.
daniel [Thu, 15 Nov 2018 16:40:53 +0000 (17:40 +0100)]
Use stashed ParserOutput during saving.

The code in DerivedPageDataUpdater that used the stashed ParserOutput from
ApiStashEdit::checkCache was accidentally broken when RevisionRenderer
was introduced in I871978bf79f67c9e7954fb3fc8528d6e365f2cc1.

This is likely the cause for the degraded save timing noted in T205369.

Bug: T205369
Change-Id: I6d8fdda73dccae08d18bfb528b948706f56ad2e0

5 years agoReplace mixin by inline styles
Volker E [Thu, 22 Nov 2018 02:13:45 +0000 (18:13 -0800)]
Replace mixin by inline styles

Replacing `.agora-label-styling()` by inline styles.
It is not useful to have a mixin for this only used in two selectors
of forms.less

Change-Id: I807fdbdca11d2ad6fea120d76c3a56471260c8cb

5 years agomediawiki.ui: Remove `.agora-inline-label-styling()` & `.mw-ui-radio-label`
Volker E [Thu, 22 Nov 2018 01:28:01 +0000 (17:28 -0800)]
mediawiki.ui: Remove `.agora-inline-label-styling()` & `.mw-ui-radio-label`

Removing unused `.agora-inline-label-styling()` & `.mw-ui-radio-label`.
CodeSearch shows no results for both aside of self-referencing.

Change-Id: Id339a979a49a0ceeaecb14b54735a198c95c6f13

5 years agoMerge "mediawiki.ui: Remove deprecated color variables"
jenkins-bot [Thu, 22 Nov 2018 01:22:05 +0000 (01:22 +0000)]
Merge "mediawiki.ui: Remove deprecated color variables"

5 years agomediawiki.ui: Remove deprecated color variables
Volker E [Thu, 22 Nov 2018 00:57:29 +0000 (16:57 -0800)]
mediawiki.ui: Remove deprecated color variables

They became deprecated in Iaef72470c59665. It's time to remove them.

Bug: T210118
Change-Id: Ibc761a2cdc8d04213d149851129cd51ee4661899

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 21 Nov 2018 21:09:35 +0000 (22:09 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I52023afe0a2109f4f7acae9f15542b34aacd1a98

5 years agoMerge "mediawiki.ui: Let quiet button border remain"
jenkins-bot [Wed, 21 Nov 2018 20:47:35 +0000 (20:47 +0000)]
Merge "mediawiki.ui: Let quiet button border remain"

5 years agoMerge "Remove hardcoded parentheticals from ChangesList "comments""
jenkins-bot [Wed, 21 Nov 2018 20:31:08 +0000 (20:31 +0000)]
Merge "Remove hardcoded parentheticals from ChangesList "comments""

5 years agomediawiki.ui: Let quiet button border remain
Volker E [Wed, 21 Nov 2018 19:44:49 +0000 (11:44 -0800)]
mediawiki.ui: Let quiet button border remain

It's a better approach to let quiet button `border-width` remain for layout
predictability, only changing `border-color`.
Similar approach is taken in OOUI.
Also add `@border-width-base` variable similar to WikimediaUI so it
is easily replacible in in future.

Change-Id: I68d6bde72181004fcd8a0d3e0dee7d9d8e892eeb

5 years agoRemove hardcoded parentheticals from ChangesList "comments"
jdlrobson [Fri, 21 Sep 2018 18:11:23 +0000 (11:11 -0700)]
Remove hardcoded parentheticals from ChangesList "comments"

From now on, the edit summary in ContribsPager results
will be wrapped in brackets via CSS pseudo elements.

Changes:
* Linker::revComment and Linker::commentBlock now accept a parameter which
can be used to disable wrapping in the text
* ContribsPager makes use of it

Bug: T205581
Change-Id: I60403a4a23d89107b7a28f0c12326d828a76614e

5 years agomediawiki.ui: Remove obsolete `text-shadow` from quiet and disabled buttons
Volker E [Wed, 21 Nov 2018 18:35:54 +0000 (10:35 -0800)]
mediawiki.ui: Remove obsolete `text-shadow` from quiet and disabled buttons

Those properties have been overrides to the normal buttons old look,
they haven't been removed when the buttons were changed in
I25e5ce7e6fafc19d8b925b6918c98dd61b423d64.

Change-Id: I3aac8683ae7bd5402721dba23d0dbaf9d9c2a1ac

5 years agoMerge "Update wording for RC and Watchlist UI opt-out option"
jenkins-bot [Wed, 21 Nov 2018 16:41:46 +0000 (16:41 +0000)]
Merge "Update wording for RC and Watchlist UI opt-out option"

5 years agoMerge "Convert $archivedRevisionCount to integer."
jenkins-bot [Wed, 21 Nov 2018 09:29:47 +0000 (09:29 +0000)]
Merge "Convert $archivedRevisionCount to integer."

5 years agordbms: add DBConnRef sanity check to LoadBalancer::closeConnection
Aaron Schulz [Wed, 21 Nov 2018 07:06:22 +0000 (23:06 -0800)]
rdbms: add DBConnRef sanity check to LoadBalancer::closeConnection

Change-Id: I0473ffb1f89301530518f1921fe9d5ca68eb194c

5 years agoMerge "RELEASE-NOTES: Move image_comment_temp note following 8107e47"
jenkins-bot [Wed, 21 Nov 2018 00:50:04 +0000 (00:50 +0000)]
Merge "RELEASE-NOTES: Move image_comment_temp note following 8107e47"

5 years agoConvert $archivedRevisionCount to integer.
Petr Pchelko [Tue, 20 Nov 2018 22:55:35 +0000 (14:55 -0800)]
Convert $archivedRevisionCount to integer.

Before I81a70ca03fd219d2e96b17714645d9cc4f99b3b9
the archivedRevisionCount argument of the ArticleDeleteComplete
hook used to be an integer, now it's an string. This is backwards
incompatible and needs to be changed back.

Bug: T210013
Change-Id: I297594803fe05cc00cdf209696933b2450d020b6

5 years agoMerge "Changelist "tags" item is wrapped in brackets via CSS"
jenkins-bot [Tue, 20 Nov 2018 21:04:31 +0000 (21:04 +0000)]
Merge "Changelist "tags" item is wrapped in brackets via CSS"

5 years agoMerge "TitlesMultiselectWidget: toggle menu after adding items"
jenkins-bot [Tue, 20 Nov 2018 19:26:01 +0000 (19:26 +0000)]
Merge "TitlesMultiselectWidget: toggle menu after adding items"

5 years agoChangelist "tags" item is wrapped in brackets via CSS
jdlrobson [Wed, 14 Nov 2018 01:28:48 +0000 (17:28 -0800)]
Changelist "tags" item is wrapped in brackets via CSS

In our quest to separate content from presentation,
the parentheticals are moved into CSS. These support translation via
the lessMessages ResourceLoader property.

There is obviously a risk with this change of double brackets appearing.
We might want to consider a new message to avoid this (at the cost of
some translations being outdated). However, I believe it's better to
have the double paranthetical wrap then to have English strings show up
in the wrong places. We can update other translations if
necessary.

Bug: T205581
Change-Id: I9c3fb069fc93800f39a922feab56489f1614785c

5 years agoMerge "Add class mw-editable in body element"
jenkins-bot [Tue, 20 Nov 2018 19:19:24 +0000 (19:19 +0000)]
Merge "Add class mw-editable in body element"

5 years agoSQL syntax error in MS-SQL file
Seb35 [Tue, 20 Nov 2018 14:25:09 +0000 (15:25 +0100)]
SQL syntax error in MS-SQL file

Bug: T209870
Change-Id: I91e4f8472832c4bb17eb1d185db1bcbde57a9287

5 years agoTitlesMultiselectWidget: toggle menu after adding items
Thalia [Mon, 19 Nov 2018 16:34:11 +0000 (16:34 +0000)]
TitlesMultiselectWidget: toggle menu after adding items

Bug: T208876
Change-Id: Ie4e39b41b1796120c720b86bd17b745026a93a5d

5 years agoApiQueryBlocks.php: Call static function statically
Reedy [Tue, 20 Nov 2018 06:35:43 +0000 (06:35 +0000)]
ApiQueryBlocks.php: Call static function statically

Change-Id: I0f1a5e5e8169e1cb233f98a831b29e6e302b554c

5 years agoMerge "Fix partial block translation for non-editing msg"
jenkins-bot [Tue, 20 Nov 2018 00:41:00 +0000 (00:41 +0000)]
Merge "Fix partial block translation for non-editing msg"

5 years agoMerge "Block: Clean up handling of non-User targets"
jenkins-bot [Mon, 19 Nov 2018 23:56:17 +0000 (23:56 +0000)]
Merge "Block: Clean up handling of non-User targets"

5 years agoUpdate wording for RC and Watchlist UI opt-out option
Kosta Harlan [Tue, 6 Nov 2018 21:45:09 +0000 (16:45 -0500)]
Update wording for RC and Watchlist UI opt-out option

Bug: T207741
Change-Id: I8d6795f5e39fa5bceabd2da5e6a5b43d009a3bab

5 years agoMerge "Action::checkCanExecute should only block an Action if the user is sitewide...
jenkins-bot [Mon, 19 Nov 2018 22:39:39 +0000 (22:39 +0000)]
Merge "Action::checkCanExecute should only block an Action if the user is sitewide blocked"

5 years agoMerge "Title::checkUserBlock should call User::isBlockedFrom for every action"
jenkins-bot [Mon, 19 Nov 2018 22:24:03 +0000 (22:24 +0000)]
Merge "Title::checkUserBlock should call User::isBlockedFrom for every action"

5 years agoUse $revQuery['joins'] in query in populateSearchIndex
Paladox [Mon, 19 Nov 2018 21:29:44 +0000 (21:29 +0000)]
Use $revQuery['joins'] in query in populateSearchIndex

Bug: T209885
Change-Id: Iaf53179535030064788eb107c4ebdd398ed306e4

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 19 Nov 2018 20:53:33 +0000 (21:53 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I193d4a6ddba32cfff69161eb5b3e01db502fd13a

5 years agoMerge "Log error when array_flip fails in MessageCache load"
jenkins-bot [Mon, 19 Nov 2018 20:44:43 +0000 (20:44 +0000)]
Merge "Log error when array_flip fails in MessageCache load"

5 years agoMerge "Fix function name in doc comment"
jenkins-bot [Mon, 19 Nov 2018 20:20:45 +0000 (20:20 +0000)]
Merge "Fix function name in doc comment"

5 years agoMerge "Make the context page the edited page in EditPages"
jenkins-bot [Mon, 19 Nov 2018 20:19:14 +0000 (20:19 +0000)]
Merge "Make the context page the edited page in EditPages"

5 years agoCheckMatrixWidget: Remove override of first `tr`
Volker E [Mon, 19 Nov 2018 19:21:40 +0000 (11:21 -0800)]
CheckMatrixWidget: Remove override of first `tr`

Follow-up to I3f707f667df11. Non-selecting the first row was
introduced when no differntiation of `thead` and `tbody` were available.
Now that it's given, it's time to remove this and apply `:hover` style
consistently.

Change-Id: Ief59eb84cfe442c5be166dea254c0aed9d3909cb

5 years agoMerge "Add some additional domains to the CSP false positive list"
jenkins-bot [Mon, 19 Nov 2018 17:55:30 +0000 (17:55 +0000)]
Merge "Add some additional domains to the CSP false positive list"

5 years agoMerge "CheckMatrixWidget: Fix alignment issues"
jenkins-bot [Mon, 19 Nov 2018 16:41:07 +0000 (16:41 +0000)]
Merge "CheckMatrixWidget: Fix alignment issues"

5 years agoMerge "ChangesListSpecialPage: Make maximum limit consistent (1000)"
jenkins-bot [Mon, 19 Nov 2018 11:57:01 +0000 (11:57 +0000)]
Merge "ChangesListSpecialPage: Make maximum limit consistent (1000)"

5 years agoLog error when array_flip fails in MessageCache load
Gilles Dubuc [Mon, 19 Nov 2018 10:49:23 +0000 (11:49 +0100)]
Log error when array_flip fails in MessageCache load

Bug: T208897
Change-Id: If6e7a6a3019abbdc11b6604ec706cc88bfddf128

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 18 Nov 2018 20:57:12 +0000 (21:57 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I9fda3da2cdd835a99304058be3485b4adc62bc4c

5 years agoMerge "Show an red error message for a database upgrade error"
jenkins-bot [Sat, 17 Nov 2018 23:24:30 +0000 (23:24 +0000)]
Merge "Show an red error message for a database upgrade error"

5 years agoMerge "Add generic `font-family` fallback"
jenkins-bot [Sat, 17 Nov 2018 21:38:18 +0000 (21:38 +0000)]
Merge "Add generic `font-family` fallback"

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 17 Nov 2018 21:32:14 +0000 (22:32 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I6ed7b4b9816b4be81cc58c71e918331be2373041

5 years agoSend a 405 on unsupported HTTP methods in API
Shreyas Minocha [Sat, 17 Nov 2018 07:47:16 +0000 (13:17 +0530)]
Send a 405 on unsupported HTTP methods in API

Bug: T209228
Change-Id: I24af3bfea1ff4b37a72ef5e83b12a8f1c59ca497

5 years agoShow an red error message for a database upgrade error
LukBukkit [Sat, 17 Nov 2018 16:45:27 +0000 (17:45 +0100)]
Show an red error message for a database upgrade error

Bug: T209344
Change-Id: I640626e10241ca56d34545d1e99f51872c160242

5 years agoAdd generic `font-family` fallback
Volker E [Sat, 17 Nov 2018 04:36:05 +0000 (20:36 -0800)]
Add generic `font-family` fallback

Change-Id: I65fb9eff81729f7d320d0fa73f88e6c8c5571100

5 years agoMerge "Reuse DerivedPageDataUpdater during null-edits."
jenkins-bot [Sat, 17 Nov 2018 02:03:43 +0000 (02:03 +0000)]
Merge "Reuse DerivedPageDataUpdater during null-edits."

5 years agoMerge "ContribsPager: Don't hardcode brackets in `uctop` information"
jenkins-bot [Sat, 17 Nov 2018 01:39:27 +0000 (01:39 +0000)]
Merge "ContribsPager: Don't hardcode brackets in `uctop` information"

5 years agoContribsPager: Don't hardcode brackets in `uctop` information
jdlrobson [Fri, 16 Nov 2018 02:13:05 +0000 (18:13 -0800)]
ContribsPager: Don't hardcode brackets in `uctop` information

Style this via CSS.

Known: This will result in double brackets for non-translated
skins until fixed.

Bug: T205581
Change-Id: Ifbe820ae7ad9838b6662bc2592d2b277af443e9d

5 years agoMerge "HTMLCheckMatrix/CheckMatrixWidget: Adding `th` to `thead`"
jenkins-bot [Sat, 17 Nov 2018 00:01:36 +0000 (00:01 +0000)]
Merge "HTMLCheckMatrix/CheckMatrixWidget: Adding `th` to `thead`"

5 years agoCheckMatrixWidget: Fix alignment issues
Volker E [Fri, 16 Nov 2018 23:53:52 +0000 (15:53 -0800)]
CheckMatrixWidget: Fix alignment issues

Bug: T205629
Change-Id: I54c49621f8378d613098683fefe72f59fddbf771

5 years agoMerge "Improve display of an SQL error during the installation"
jenkins-bot [Fri, 16 Nov 2018 23:40:24 +0000 (23:40 +0000)]
Merge "Improve display of an SQL error during the installation"