Commit graph

4439 commits

Author SHA1 Message Date
jenkins-bot 0474d8ab18 Merge "Ensure suppressed user pages look like unregistered users when viewed without proper permissions." 2021-05-05 17:08:20 +00:00
bwang 0071a28239 Ensure suppressed user pages look like unregistered users when viewed without proper permissions.
This patch removes the user page tagline (i.e. "Blocked joined 7 days ago"), updates the user page heading (i.e. "Blocked" becomes "User:Blocked") and removes user specific page actions (i.e. Contributions, User groups, the page actions submenu, etc) for certain user pages.

This patch also adds a new method to SkinUserPageHelper for use in the ToolbarBuilder.

Bug: T268961
Change-Id: I920e0770caa0a1b6d3323e2e3111e5df4f1f051d
2021-05-05 10:29:54 -05:00
Translation updater bot 092fc51d14 Localisation updates from https://translatewiki.net.
Change-Id: I28898b05ab3819981a0f53b6b571cc681b89d1c2
2021-05-05 08:40:42 +02:00
jenkins-bot ad4395e3ff Merge "build: Updating composer dependencies" 2021-05-04 15:39:25 +00:00
libraryupgrader e9a4bec57c build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

Change-Id: I325e6aabd1cd89cf5893ea8e85202765ed46a57e
2021-05-04 12:26:23 +00:00
Translation updater bot 1e82c246df Localisation updates from https://translatewiki.net.
Change-Id: I2f4d15c05c27fbae01f896357aae9abea3dd5b08
2021-05-04 08:55:28 +02:00
jenkins-bot 99c3a6c738 Merge "Drop unused class and style" 2021-05-03 16:20:29 +00:00
Translation updater bot d030a7f279 Localisation updates from https://translatewiki.net.
Change-Id: I1bb03a7fd13bd4f0fd66348e001a1bdc964210d0
2021-05-03 08:41:01 +02:00
Alexander Vorwerk 9494e1dc80 Drop unused class and style
Droping the unused .navigation-full-screen class and the unused MobileMenu Skin style. This is a follow-up work on: I30b1af8b88dd146d62f0de7a6352c4117a7cdd90

Bug: T252005
Change-Id: Ia1698b5477a159f17a16a6591ee774920f403b79
2021-05-02 17:42:43 +02:00
jenkins-bot ef77761e6d Merge "build: Unify 'svg_check.sh'" 2021-04-30 20:39:35 +00:00
James D. Forrester f7519082ba build: Switch node version to 10.24.0 now CI is on buster
Change-Id: I42c0a5583a2360af6b06f8eb0dd3bb949b5501bf
2021-04-30 11:44:25 -07:00
Volker E a0a69d2d85 build: Unify 'svg_check.sh'
Simplify readability and reduce output to errors only on terminal.
Also includes suppression for consecutive errors as added in Popups
in I5ef7843c9de122c8dce61fbb98737c8acdd0c22c.

Change-Id: Ib4705667815cf690e327fdc5f9048c6d6ce779a6
2021-04-30 04:39:11 -07:00
jenkins-bot d1527e7aab Merge "selenium: Page should be creatable" 2021-04-29 23:18:09 +00:00
Cindy Cicalese ff8ab4ea5c Replace Title::isWatchable() with WatchlistManager::isWatchable()
Bug: T281497
Change-Id: I0f7a82191eae8edd4c0c1d16d89c81e601ae5c80
2021-04-29 18:31:55 +00:00
Željko Filipin 8ac75d254a selenium: Add JUnit reporter
JUnit reporter is required to create the XML file that Jenkins uses to
create Test Result Trend chart for selenium-daily-beta-MinervaNeue
job.

Bug: T214686
Change-Id: Ibf4b08f2f4b60ad02a3a3b5a5ba8e0d899a86859
2021-04-29 18:06:15 +02:00
Translation updater bot 041236a1fa Localisation updates from https://translatewiki.net.
Change-Id: I84ebc767866d3ac84fd14ceef5d793bcd0d646fe
2021-04-29 08:55:54 +02:00
DannyS712 c3be4716fc Bump required version of MediaWiki to 1.37+
Needed to be able to use the new WatchlistManager methods

Bug: T281187
Change-Id: Ide0cb084fd11aba5bce6f7e70d5f514309fa533f
Follow-up: Ib6f21b41b0a82ab4c48db6eb36d4417c05f30637
2021-04-28 19:01:16 +00:00
jenkins-bot a42560c1c9 Merge "Replace usage of deprecated User watchlist methods" 2021-04-28 16:11:51 +00:00
Translation updater bot db7e13e792 Localisation updates from https://translatewiki.net.
Change-Id: I94c3a5b2baf2ea6fbd6bae09dc9b268fa83a98c5
2021-04-28 16:41:35 +02:00
Translation updater bot 4deedb2baf Localisation updates from https://translatewiki.net.
Change-Id: I4f9678251a4a44579f697ee46633010c23452515
2021-04-28 08:51:39 +02:00
Cindy Cicalese 818d79ce9a Replace usage of deprecated User watchlist methods
Bug: T281187
Change-Id: Ib6f21b41b0a82ab4c48db6eb36d4417c05f30637
2021-04-27 17:12:22 -04:00
Translation updater bot e4e114a4cd Localisation updates from https://translatewiki.net.
Change-Id: I530b37fa24001592e888bf840b3b0b6fe13cad0c
2021-04-27 08:40:38 +02:00
ZabeMath 4cdd0af8bf Allow Users with permissions to do expanded actions in Minerva on mobile
Allow Users with the needed permissions to delete, protect or move pages in Minerva on mobile version.

Bug: T231291
Change-Id: I1e438b7d3683d288a8a6c5a9f5dcea6b3b3d9f71
2021-04-26 18:51:32 +00:00
Željko Filipin 238010dbea selenium: Page should be creatable
Bug: T269051
Change-Id: I958d1f5035f7d28c70ff19c3db6f3707defa880f
2021-04-26 15:30:31 +02:00
jenkins-bot 9436b533dd Merge "icons: Put reference variant only on external link icon" 2021-04-26 08:02:59 +00:00
Translation updater bot 77ca0cccb7 Localisation updates from https://translatewiki.net.
Change-Id: Iebf5a57a80aaa64052b5fbbaa9441bf343de370e
2021-04-26 09:14:14 +02:00
jenkins-bot 4f3a4cd510 Merge "selenium: Update WebdriverIO to v7" 2021-04-23 15:42:54 +00:00
jenkins-bot db0b1e9585 Merge "selenium: Update WebdriverIO configuration file" 2021-04-23 14:53:51 +00:00
Željko Filipin 96aed4564e selenium: Update WebdriverIO to v7
Update all @wdio packages and webdriverio to v7.
Update mwbot to v2.
Do not update @wdio/cucumber-framework because of
`error  "cucumber" is not found  node/no-missing-require`
ESLint failure.

Bug: T280975
Change-Id: I83b9963ba2647af01dd1ed1f8be0178e584a2024
2021-04-23 14:13:43 +00:00
Željko Filipin 7488d97256 selenium: Update WebdriverIO configuration file
Target by default MediaWiki-Docker instead of
obsolete MediaWiki-Vagrant.

Take screenshots of all tests, not just failed ones. It was recently
updated in core. See 2320f00.

Remove `Screenshot location...` messages. It was also recently
changed in core. See d0762b5.

Bug: T280975
Change-Id: I194aabfb1282c348fd4df3223e0a911cb38ec6e3
2021-04-23 13:57:25 +00:00
Željko Filipin 421f349bf2 selenium: fix directory (tests/selenium/log) doesn't exist
If the directory is not created manually, screenshots are not taken and
the error message is displayed. The simplest solution is to add an empty
`.gitignore` file in the directory.

Bug: T280975
Change-Id: Ibe867dfb351aa7191a81cdf2fd15c4eb420b571b
2021-04-23 13:54:06 +02:00
Translation updater bot 3051cd494a Localisation updates from https://translatewiki.net.
Change-Id: I0c4846bcddcec26a76d4f17ef9f074bb38e75e89
2021-04-23 08:39:13 +02:00
Translation updater bot 94cfdb0c72 Localisation updates from https://translatewiki.net.
Change-Id: I33fc6c4d00b7e14a179743daabbf0e38b4020ffe
2021-04-22 09:34:12 +02:00
Translation updater bot 5a3925dfde Localisation updates from https://translatewiki.net.
Change-Id: I6a27237c50634d61f50fe720176abb005b1746ea
2021-04-21 08:54:53 +02:00
Volker E 28394a1367 build: Upgrade 'svgo' to latest and re-crush SVGs
Upgrading to SVGO v2.3.0 and changing over to new JS config.
Also amending svg check shell script and re-crushing
all SVGs.

Bug: T278656
Change-Id: Ic52d7eb595073e5bde166e5cf5767772c5eb60ce
2021-04-20 17:45:18 +00:00
Translation updater bot 4f793b9522 Localisation updates from https://translatewiki.net.
Change-Id: I4935d1f9ed1c5755564ed5a2b8b27805e04f7a1b
2021-04-20 08:49:56 +02:00
Translation updater bot 93006515a6 Localisation updates from https://translatewiki.net.
Change-Id: I8e61f989de6b91823629750ce0c108fc91ebc2e2
2021-04-19 08:54:41 +02:00
jenkins-bot 39f9a99c40 Merge "build: Updating eslint-config-wikimedia to 0.20.0" 2021-04-15 10:21:45 +00:00
libraryupgrader f1f904e293 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: Ie3be1848c18f12888bdeabaea234b7c558ace899
2021-04-15 09:54:54 +00:00
Translation updater bot 377f0e9c72 Localisation updates from https://translatewiki.net.
Change-Id: I7955c45d376c643cfd930bab90c187368d4b1745
2021-04-15 08:46:05 +02:00
jenkins-bot d89e7c937d Merge "build: Replace Grunt with npm scripts for eslint, stylelint, and banana-checker" 2021-04-14 15:57:28 +00:00
bwang f9c6666717 build: Replace Grunt with npm scripts for eslint, stylelint, and banana-checker
Fix eslint errors in .eslintrc, and add .eslintrc to the .eslintignore.

Bug: T206462
Change-Id: I1569082622a61d3b089c7d2a637dafabae68228e
2021-04-13 21:09:32 +00:00
Translation updater bot e7e987c1d7 Localisation updates from https://translatewiki.net.
Change-Id: I21006f28eeb706d387965dfe89a8ff54a12529c9
2021-04-13 09:23:41 +02:00
jenkins-bot 5fd4a83482 Merge "Message box styles for Minerva come from core" 2021-04-12 22:12:51 +00:00
jdlrobson 685387220f Message box styles for Minerva come from core
Just as before styles for message boxes will be
kept off the critical path of most page views and
loaded on special pages, old revisions and action= URIs,
however unlike before the CSS will come from the definition
in core.

It must also be loaded in JavaScript for compatibility
with the use of warnings in JavaScript, for example 
MobileFrontend overlays.

This change will allow us to remove the
mobile.messageBox.styles module in MobileFrontend
I8b6bdfceaf33b9527dbe6790d2a39e335fb692b2

Bug: T233160
Change-Id: I7d8d1d34621c36c26ec03a3773d4d1e67bd14f2e
2021-04-12 21:45:53 +00:00
Translation updater bot 7323de08b6 Localisation updates from https://translatewiki.net.
Change-Id: I2f7af8d8175a9eadefc7b9d28cae040804442dbf
2021-04-12 08:41:50 +02:00
Translation updater bot fe64b1cd32 Localisation updates from https://translatewiki.net.
Change-Id: I176e45b4550a410157ad78e07a9888da5c740b1a
2021-04-09 09:01:21 +02:00
Umherirrender ae03d13735 Use ::class for class name
This works also for non-existing classes,
because it is resolved on compile time

Change-Id: I84a9fc3c9f6c0ed3556b927e02e4ec9a5fef9cc2
2021-04-08 20:58:17 +02:00
libraryupgrader a32ff2f0a0 build: Updating y18n to 4.0.3
* https://npmjs.com/advisories/1654 (CVE-2020-7774)

Change-Id: Ia3dde3d2410f1fab7207d29e33aa1362b308fcf5
2021-04-08 08:53:31 +00:00
Translation updater bot 57f25c0d85 Localisation updates from https://translatewiki.net.
Change-Id: I06a2bc41be35accd6fba903ae87223719affe10f
2021-04-08 08:42:44 +02:00