lhc/web/wiklou.git
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 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 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 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"

5 years agoHTMLCheckMatrix/CheckMatrixWidget: Adding `th` to `thead`
Volker E [Fri, 16 Nov 2018 23:27:19 +0000 (15:27 -0800)]
HTMLCheckMatrix/CheckMatrixWidget: Adding `th` to `thead`

Improving semantics, which also reflects in screen readers.

Change-Id: I552a61a6e1892ebed86d9434366bd932f6f7a602

5 years agoMerge "CheckMatrixWidget: Re-instate HTMLForm CheckMatrix styling"
jenkins-bot [Fri, 16 Nov 2018 22:58:44 +0000 (22:58 +0000)]
Merge "CheckMatrixWidget: Re-instate HTMLForm CheckMatrix styling"

5 years agoImprove display of an SQL error during the installation
LukBukkit [Fri, 16 Nov 2018 22:54:59 +0000 (23:54 +0100)]
Improve display of an SQL error during the installation

This commit moves the call of the DatabaseUpdater::purgeCache
function into a try catch block which ensures
that the error will be displayed nicely.

Bug: T209341
Change-Id: I614444140e29948c41baa30dd557483b63f21a9a

5 years agoChangesListSpecialPage: Make maximum limit consistent (1000)
Roan Kattouw [Fri, 16 Nov 2018 22:06:02 +0000 (14:06 -0800)]
ChangesListSpecialPage: Make maximum limit consistent (1000)

The maximum value for the rclimit and wllimit preferences is 1000, so
make the maximum value for the ?limit= query parameter also 1000.

Bug: T206233
Change-Id: I244ab2896875391f9676c8127033a0b76568157f

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 16 Nov 2018 21:00:34 +0000 (22:00 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ib37be65f02e08421ea0f55f99d634afadbf2b8fe

5 years agoMerge "RCFilters: Removing unused images"
jenkins-bot [Fri, 16 Nov 2018 20:49:29 +0000 (20:49 +0000)]
Merge "RCFilters: Removing unused images"

5 years agoCheckMatrixWidget: Re-instate HTMLForm CheckMatrix styling
Volker E [Fri, 16 Nov 2018 01:53:59 +0000 (17:53 -0800)]
CheckMatrixWidget: Re-instate HTMLForm CheckMatrix styling

Adding `tbody` with extra class and add additional `thead`.

Bug: T209667
Change-Id: I3f707f667df11e9bfd5ce1fcc51ccde0cd12e9be

5 years agoMerge "Doc: result domain for GlobalFunctions::wfRandom()"
Niedzielski [Fri, 16 Nov 2018 20:19:19 +0000 (20:19 +0000)]
Merge "Doc: result domain for GlobalFunctions::wfRandom()"

5 years agoMerge "Mark jquery.async as deprecated"
jenkins-bot [Fri, 16 Nov 2018 19:38:33 +0000 (19:38 +0000)]
Merge "Mark jquery.async as deprecated"

5 years agoReuse DerivedPageDataUpdater during null-edits.
daniel [Thu, 15 Nov 2018 14:49:23 +0000 (15:49 +0100)]
Reuse DerivedPageDataUpdater during null-edits.

Checking the acting user against the revision's author in
DerivedPageDataUpdater::isReusableFor would lead to false
negatives.

Also removes a check of the current acting user against the
cached revision's author, for the same reason: for null edits,
the acting user and the revision author are unrelated.

Bug: T205369
Change-Id: I48f59dce6c25062b3d6ff4248e1171269766c507

5 years agoMerge "Add a way to exclude categories from Special:UnusedCategories"
jenkins-bot [Fri, 16 Nov 2018 17:28:13 +0000 (17:28 +0000)]
Merge "Add a way to exclude categories from Special:UnusedCategories"

5 years agoMerge "EditPage: Add returntoquery parameter to anoneditwarning links"
jenkins-bot [Fri, 16 Nov 2018 17:28:05 +0000 (17:28 +0000)]
Merge "EditPage: Add returntoquery parameter to anoneditwarning links"

5 years agoAdd a way to exclude categories from Special:UnusedCategories
Agabi10 [Fri, 7 Sep 2018 21:32:26 +0000 (21:32 +0000)]
Add a way to exclude categories from Special:UnusedCategories

Added __EXPECT_UNUSED_CATEGORY__ as a behavioral switch. Adding
this switch to category pages prevents them from appearing in
Special:UnusedCategories.

Bug: T96041
Change-Id: I055e59f5311347155e0f801dd5ec9a6d4a68c9cc

5 years agoMark jquery.async as deprecated
Ed Sanders [Fri, 16 Nov 2018 13:02:27 +0000 (13:02 +0000)]
Mark jquery.async as deprecated

Bug: T209699
Change-Id: Ic7c9fb195271f299048392852aeb39f6f8d9731c

5 years agoFix function name in doc comment
Daimona Eaytoy [Fri, 12 Oct 2018 09:25:04 +0000 (11:25 +0200)]
Fix function name in doc comment

It took me a while to figure out what function what this comment
referring to.

Change-Id: I00d243f3dd30d6b4030b0460453310022183322f

5 years agoMake the context page the edited page in EditPages
daniel [Thu, 15 Nov 2018 14:56:57 +0000 (15:56 +0100)]
Make the context page the edited page in EditPages

This forces the WikiPage returned by $this->getContext()->getPage()
to be the same as $this->page.

This seems to be redundant at the moment, but it seems prudent to
make sure this does not break. Having two WikiPage instances may
cause subtle problems, such as redundant parsing of content during
edits.

Bug: T205369
Change-Id: I8dd3235ec395fa8772ad810f8b09a098a940ab0c

5 years agoFix partial block translation for non-editing msg
Dayllan Maza [Thu, 8 Nov 2018 20:32:37 +0000 (15:32 -0500)]
Fix partial block translation for non-editing msg

The current phrasing for non-editing partial blocks was not clear.
Adding 'specified' as part of the message to avoid confusion.

Bug: T208806
Change-Id: If6fe6397060a38dd5036d2c0c1d58aa9e798ecc1

5 years agoMerge "Wrap the "bytes changed" indication on Special:Contributions with CSS"
jenkins-bot [Fri, 16 Nov 2018 00:55:17 +0000 (00:55 +0000)]
Merge "Wrap the "bytes changed" indication on Special:Contributions with CSS"

5 years agoWrap the "bytes changed" indication on Special:Contributions with CSS
jdlrobson [Wed, 14 Nov 2018 01:02:26 +0000 (17:02 -0800)]
Wrap the "bytes changed" indication on Special:Contributions with CSS

Rather than use actual text, move the parentheses that serve as
presentation into the CSS.

Bug: T205581
Change-Id: I4ae645ca0edf0001a20c228f90f8d43a10cfff71

5 years agoMerge "Accessibility: Improve contributions navigation for screen reader users"
jenkins-bot [Fri, 16 Nov 2018 00:30:31 +0000 (00:30 +0000)]
Merge "Accessibility: Improve contributions navigation for screen reader users"

5 years agoAccessibility: Improve contributions navigation for screen reader users
jdlrobson [Mon, 12 Nov 2018 23:43:05 +0000 (15:43 -0800)]
Accessibility: Improve contributions navigation for screen reader users

`.mw-changeslist-link-list` is not a list element any more per user
feedback and renamed `mw-changeslist-links`

Changing the class name has no implications on caching as this
only impacts Special:Contributions

Bug: T205581
Change-Id: Id2faaaa847c9a9ad57da5942ca9cf92462089d3a

5 years agoRCFilters: Blur the input after it is cleared
Moriel Schottlender [Thu, 15 Nov 2018 23:47:11 +0000 (15:47 -0800)]
RCFilters: Blur the input after it is cleared

The TagMultiselectWidget becomes invalid if there's text left
in the input when the input is blurred; we need to make sure we
are blurring the input *after* the input was cleared.

Bug: T209657
Change-Id: Ib8b2f174729442f499425d9880f291e6430ded39

5 years agoMerge "Reset legend `font-size` in OOUI HTMLForms"
jenkins-bot [Thu, 15 Nov 2018 22:36:28 +0000 (22:36 +0000)]
Merge "Reset legend `font-size` in OOUI HTMLForms"

5 years agoReset legend `font-size` in OOUI HTMLForms
Volker E [Thu, 15 Nov 2018 21:59:02 +0000 (13:59 -0800)]
Reset legend `font-size` in OOUI HTMLForms

It wrongly inherits generic elements style and results in smaller
than expected `font-size`. With this patch we're applying the correct
size.

Change-Id: I42160fc28b22920fbe4a8de48405480ff736aa4d

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

Change-Id: I8bdc2250ee4c4a074a3f1cd6e02b8442e59ef4a7

5 years agoRELEASE-NOTES: Move image_comment_temp note following 8107e47
James D. Forrester [Thu, 15 Nov 2018 16:53:24 +0000 (08:53 -0800)]
RELEASE-NOTES: Move image_comment_temp note following 8107e47

Change-Id: Ifab6aea29d20218ce1fcfbf16432bc2bf59fa676

5 years agoMerge "Add *.iml to .gitignore"
jenkins-bot [Thu, 15 Nov 2018 11:03:07 +0000 (11:03 +0000)]
Merge "Add *.iml to .gitignore"

5 years agoMerge "Drop the image_comment_temp table"
jenkins-bot [Thu, 15 Nov 2018 04:48:34 +0000 (04:48 +0000)]
Merge "Drop the image_comment_temp table"

5 years agoEditPage: Add returntoquery parameter to anoneditwarning links
Roan Kattouw [Thu, 15 Nov 2018 01:08:45 +0000 (17:08 -0800)]
EditPage: Add returntoquery parameter to anoneditwarning links

It's important to send people back not just to the page they were
editing, but to the actual edit action as well.

Bug: T208989
Change-Id: I010145840da1ac93927db846872eaf9843116bd7

5 years agoMerge "Change language fallback for Eastern Pwo from Tibetan to Burmese"
jenkins-bot [Wed, 14 Nov 2018 22:39:28 +0000 (22:39 +0000)]
Merge "Change language fallback for Eastern Pwo from Tibetan to Burmese"

5 years agoMerge "Wrap the text for out-of-date edits into a warningbox"
jenkins-bot [Wed, 14 Nov 2018 22:10:46 +0000 (22:10 +0000)]
Merge "Wrap the text for out-of-date edits into a warningbox"

5 years agoMerge "Special:Preferences: Split up "Advanced options" on watchlist and RC tabs"
jenkins-bot [Wed, 14 Nov 2018 20:52:39 +0000 (20:52 +0000)]
Merge "Special:Preferences: Split up "Advanced options" on watchlist and RC tabs"

5 years agoAdd *.iml to .gitignore
Amir Sarabadani [Wed, 14 Nov 2018 20:25:23 +0000 (21:25 +0100)]
Add *.iml to .gitignore

Made by IntelliJ IDEA

Change-Id: Ifd55b5cfeed187d68497346065eb976d169720c8

5 years agoDrop the image_comment_temp table
Brad Jorsch [Wed, 7 Mar 2018 20:25:53 +0000 (15:25 -0500)]
Drop the image_comment_temp table

It is no longer used.

Bug: T188132
Change-Id: Ic8efeddc030f48e82ba861926121b64eca37d169

5 years agoAction::checkCanExecute should only block an Action if the user is sitewide blocked
David Barratt [Mon, 12 Nov 2018 15:13:18 +0000 (10:13 -0500)]
Action::checkCanExecute should only block an Action if the user is sitewide blocked

The method over-enforces partial blocks by preventing users from performing
the action on unrelated pages.

Bug: T209284
Change-Id: I4ee0e7c0188d491cf8fc0bbbbf7e492cdf309f45

5 years agoChange language fallback for Eastern Pwo from Tibetan to Burmese
MarcoAurelio [Wed, 14 Nov 2018 19:39:43 +0000 (19:39 +0000)]
Change language fallback for Eastern Pwo from Tibetan to Burmese

Bug: T209338
Change-Id: Ib27881bb1452ecfc8d2dcd6c5348972f409ada2b

5 years agoTitle::checkUserBlock should call User::isBlockedFrom for every action
David Barratt [Tue, 6 Nov 2018 16:02:46 +0000 (11:02 -0500)]
Title::checkUserBlock should call User::isBlockedFrom for every action

Currently, not all actions are processed by User::isBlockedFrom(). This results
in users who are partially blocked from specific pages to be blocked from
moving and deleting all pages.

Bug: T208862
Change-Id: I6312a36911e5b73d773452fefef7ff25b9af08a4

5 years agoMerge "JobQueue: Actually return the value from getRootJobCacheKey()"
jenkins-bot [Wed, 14 Nov 2018 19:03:32 +0000 (19:03 +0000)]
Merge "JobQueue: Actually return the value from getRootJobCacheKey()"