Commit graph

6007 commits

Author SHA1 Message Date
Translation updater bot 22b37883a1 Localisation updates from https://translatewiki.net.
Change-Id: I0c8c4d2dfae8712d4729826854f8e5e400d00faa
2021-06-21 14:11:38 +02:00
Translation updater bot f6aa3d4498 Localisation updates from https://translatewiki.net.
Change-Id: Iad2233b9a8ac1909beed9a6b9ef88bd83ba1542f
2021-06-18 08:20:46 +02:00
Translation updater bot ea5a353805 Localisation updates from https://translatewiki.net.
Change-Id: Ia069e2b4d1871199c7bd19c0898927bc993a4125
2021-06-17 08:20:35 +02:00
Translation updater bot d1cc45fc0a Localisation updates from https://translatewiki.net.
Change-Id: If8a491d7cbec60a1b54d51100072b134871f737c
2021-06-15 08:32:32 +02:00
Translation updater bot 20bbc41e56 Localisation updates from https://translatewiki.net.
Change-Id: Icb1ebb103c23ae3ecfe70002dd154bde78d0954f
2021-06-14 08:36:48 +02:00
Translation updater bot aaf14546b5 Localisation updates from https://translatewiki.net.
Change-Id: I9dc88ba342663b1b5b474d69faca4cc285aa582f
2021-06-11 08:33:25 +02:00
Bartosz Dziewoński f2da1ff813 Fix MonoBook orange banner hover styles
Follow-up to 2583f803c3.

Bug: T284496
Change-Id: Ib476d28fc2a89a7722b6218a5fe557157c863d7d
2021-06-08 17:54:09 +00:00
Jan Drewniak 6ccbea0d5a Set .mw-echo-alert class on link instead of list-item
Update to 7880cc18, restores ".mw-echo-alert" class on "class" property
instead of on "link-class" property.

Bug: T284496
Change-Id: I11a04fa5a7e9d0b34e62733ee537a43549d13477
2021-06-08 13:29:59 +02:00
jenkins-bot ca18c1d5fb Merge "Add talk notification instead of transforming the talk link" 2021-06-07 19:37:48 +00:00
Translation updater bot 3d6bac42ac Localisation updates from https://translatewiki.net.
Change-Id: Ida79c6aaef7a4bb4b8d989f483b14f1c747e31d3
2021-06-07 08:41:54 +02:00
Nicholas Ray 2583f803c3 Add talk notification instead of transforming the talk link
Note: This change would potentially affect all skins including modern
and legacy Vector and others.

The status quo when a talk notification is present is to transform the
talk link into an orange notification message. One option is to leave
the talk link and **add** a notification instead of transforming it.

This will result in two elements #pt-mytalk and #pt-talk-alert
This will interfere with styles targeting #pt-mytalk .mw-echo-alert
This impacts user styles but not anything in production.

Bug: T283811
Change-Id: I3e4be1381f9a2e9986b94b3b13df5ed64d09a59d
2021-06-04 09:33:50 -07:00
Translation updater bot cb09143082 Localisation updates from https://translatewiki.net.
Change-Id: Ie172d0b870974e4f189e52419b6dd420c5cc9caf
2021-06-04 08:36:21 +02:00
jenkins-bot 76f525b69f Merge "SpecialNotifications: Load mark-as-read icon in no-JS mode" 2021-06-03 17:10:37 +00:00
jenkins-bot 36bf74256c Merge "Echo hook needs to consider other hook modifications" 2021-06-02 22:15:51 +00:00
jdlrobson 4c58a85bb1 Echo hook needs to consider other hook modifications
Follow up to 7880cc1

Bug: T274428
Change-Id: Ia4520a3df28027d43ecdeb217b108669e7cb6795
2021-06-02 17:25:00 +00:00
Translation updater bot fa3b771270 Localisation updates from https://translatewiki.net.
Change-Id: I1aa409af889869e5130afda91cf3f636f601f07c
2021-06-02 14:35:07 +02:00
Bartosz Dziewoński ab6a37f4e1 SpecialNotifications: Load mark-as-read icon in no-JS mode
Follow-up to 34e3d5feba.

Change-Id: I780baad06e16b29a8a1b033af60f14c33368119b
2021-06-01 23:02:59 +02:00
jenkins-bot ec23570c91 Merge "Make talk page notification use link-class, id and don't set class" 2021-06-01 11:20:02 +00:00
Translation updater bot 6caa0a9fc6 Localisation updates from https://translatewiki.net.
Change-Id: I60f6a2e73abb7326b8948b6ea873100b46b07d45
2021-06-01 08:35:06 +02:00
Translation updater bot e11b402a8e Localisation updates from https://translatewiki.net.
Change-Id: Ic9857bbd7f84839d01bbfd6355ccd6e2b9440cc9
2021-05-31 08:30:56 +02:00
Translation updater bot 03cc3d0f6c Localisation updates from https://translatewiki.net.
Change-Id: I6fcc75bacbc0dae43016fba42ac68520cda8f779
2021-05-28 09:04:14 +02:00
Nicholas Ray 7880cc1895 Make talk page notification use link-class, id and don't set class
Before this commit, setting:

```
$wgVectorConsolidateUserLinks = [
  'logged_in' => true
];
```

would result in an orange talk notification that had missing or
incorrect attributes (`#ca-mytalk` instead of `#pt-mytalk` and missing
the `title` and `accesskey` attributes) when visiting modern Vector
with a talk notification visible. The notification's html looked like:

```
<li id="ca-mytalk" class="mw-echo-alert">
  <a href="/wiki/User_talk:Newuser5">You have a new Talk page message</a>
</li>
```

The `pt-mytalk` id is important for echo to remove the notification [1].
The title and accesskey are important for accessibility reasons.

This commit corrects that by setting a `link-class`, setting an explicit
`id`, and NOT setting a `class` key. This results in html that is
correct in both modern and legacy Vector:

```
<li id="pt-mytalk">
  <a href="/wiki/User_talk:Newuser5" class="mw-echo-alert" title="Your talk page [ctrl-option-n]" accesskey="n">You have a new Talk page message</a>
</li>
```

[1] 67bf58a489/modules/ext.echo.init.js (L172)

Bug: T274428
Change-Id: I5afc74992ad3153ac32df65ccf5fd03b469f05fb
2021-05-27 19:22:10 -06:00
Volker E 67bf58a489 build: Update SVGO to latest v2.3.0 and re-crush SVGs
SVGO v2.x changed configuration to JS, amending configuration.
Adding new 'minify-svg' npm script.
Also re-crushing SVGs.

Bug: T278656
Change-Id: I5b150cce300e764afb0a40d402479db22cfcea99
2021-05-27 11:47:02 -07:00
Translation updater bot 33e67ed587 Localisation updates from https://translatewiki.net.
Change-Id: I37eee17a9c0028ada10d972fa7c023f66b5a11bf
2021-05-27 12:05:10 +02:00
jenkins-bot faac5178b9 Merge "Move talk page notification data from 'user-menu' to 'notifications'" 2021-05-26 16:46:08 +00:00
jenkins-bot 73c124c498 Merge "selenium: Update wdio-mediawiki" 2021-05-26 15:07:07 +00:00
Željko Filipin b6a9950642 selenium: Update wdio-mediawiki
wdio-mediawiki v1.1.1:
- Includes wdio-defaults.conf.js file that vastly simplifies wdio.conf.js.
- Replaces @wdio/spec-reporter with @wdio/dot-reporter.
- Introduces video recording.

Bug: T283597
Bug: T276503
Change-Id: Ic80f90dbbd5604dc3c9afe3303862edbf46b1cd2
2021-05-26 13:36:53 +00:00
jenkins-bot c9839d897b Merge "selenium: Update README.md file" 2021-05-26 10:01:08 +00:00
Translation updater bot 64139ca567 Localisation updates from https://translatewiki.net.
Change-Id: I01015925c1e6c87bd065dbaa54bb331d16343ed6
2021-05-26 09:04:26 +02:00
Nicholas Ray 3a351cfb4f Move talk page notification data from 'user-menu' to 'notifications'
**Note**: This change will affect the order of the yellow talk page
message notification on legacy Vector/other skins by moving it from
after the `#pt-notifications-notice` element to before the
`#pt-notifications-alert` element. This was done because the
notification is related to the list of messages that appear when the
bell icon is clicked so having it in close proximity to that icon is
hopefully more intuitive than having it next to the unrelated inbox
icon. [1]

Per T274428, we need this notification to be inside the `notifications`
array instead of inside the `user-menu` array.

Additionally:

* Per T274428, update the notifications message copy to "You have a new
Talk page message"

* Remove the `onPersonalUrls` hook method inside EchoHooks,
unregister its use as a hook in extension.json, and update its
references in Echo.

[1] T274428#7113896

Bug: T274428
Change-Id: I5ae0ec089bcf0eec1ec7ac13f60e811f54e1d8e1
2021-05-25 18:24:29 -06:00
anjali041 0001ee4dc3 selenium: Update README.md file
Bug: T282237
Change-Id: I87018d39e9a9d6fb101ad5e1f7c4f13f8200611e
2021-05-25 16:03:45 +00:00
libraryupgrader 12e3d5a2ef build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I2e7b55677dc047b1b755842f8e2691e20c3eac97
2021-05-25 11:18:52 +00:00
Translation updater bot 423ef4dc9a Localisation updates from https://translatewiki.net.
Change-Id: I7c3f32951ead09bf6e5d17ddf6615684c20da6ba
2021-05-25 08:52:08 +02:00
jenkins-bot 6ed6337aed Merge "Replace RecentChange::getPerformer with RecentChange::getPerformerIdentity" 2021-05-24 15:27:56 +00:00
Vadim Kovalenko 3e65888791 Replace RecentChange::getPerformer with RecentChange::getPerformerIdentity
Refactor $actor as UserIdentity
Refactor Event::getAgent() to return UserIdentity

Bug: T276412
Change-Id: Ieb0dbacd2dcab7700b83fb090587b4957c8128c9
2021-05-24 18:01:04 +03:00
Translation updater bot 6c184f1790 Localisation updates from https://translatewiki.net.
Change-Id: I3a9ca5728fae3624608007ef212b4c45a839fd68
2021-05-21 08:33:55 +02:00
libraryupgrader 1307a28f6f build: Updating hosted-git-info to 2.8.9
Change-Id: I015a90535d78840e3468cd067d2e90ed25f53f4c
2021-05-21 04:29:06 +00:00
Translation updater bot ec93d61951 Localisation updates from https://translatewiki.net.
Change-Id: Ida8d7119c51446bdfe758d5c89afd8e735985ff8
2021-05-20 09:10:26 +02:00
Translation updater bot d11af1f29f Localisation updates from https://translatewiki.net.
Change-Id: I60bbb1143c74ba95b9744feff5e7c63a071a472c
2021-05-19 08:42:46 +02:00
jenkins-bot 331d6e9c18 Merge "Unify list-style CSS" 2021-05-18 17:03:47 +00:00
Translation updater bot 7752bb504f Localisation updates from https://translatewiki.net.
Change-Id: Icd88ea29e0c894dca7180930db832c218b6af214
2021-05-18 08:46:30 +02:00
Translation updater bot 25161f7d90 Localisation updates from https://translatewiki.net.
Change-Id: Ia3733a9fd1e06a6abc92ae649afe1558f973beff
2021-05-17 08:41:57 +02:00
libraryupgrader 88e37cb08c build: Updating npm dependencies
* hosted-git-info: 2.8.9 → 2.8.9
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)
* postcss: 7.0.35 → 8.2.15
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: I98e305419a1f6bbc8a6aac91ee05869e3430f723
2021-05-15 13:53:19 +00:00
Umherirrender 9ccc7af208 Remove PHP 5.3 $this closure workaround
Change-Id: I84024efc7bb27292bcfb7dd5c586b094828c5d0a
2021-05-15 01:58:55 +02:00
Translation updater bot 193ac8cab4 Localisation updates from https://translatewiki.net.
Change-Id: I908368f8e6591981e55a6d405d314e77ff0320bb
2021-05-14 08:43:53 +02:00
Umherirrender 37c602c532 Replace uses of DB_MASTER with DB_PRIMARY
Change-Id: I20abc845a3c74173ec4a111874c20cdeb1abd1d9
2021-05-13 02:04:54 +02:00
Translation updater bot 1e5834644d Localisation updates from https://translatewiki.net.
Change-Id: Id09e3b29601b67a728055c09d629e4f3d27bb00a
2021-05-12 09:21:36 +02:00
Translation updater bot 0542023128 Localisation updates from https://translatewiki.net.
Change-Id: I360ce62ecf2eb3494d61037cf6747e7c61ce73e7
2021-05-11 09:06:19 +02:00
Translation updater bot 2409941c5f Localisation updates from https://translatewiki.net.
Change-Id: I03f13291f25c098de5979695d6c64cf7b5218644
2021-05-10 08:51:22 +02:00
libraryupgrader 0260a0bbdb build: Updating npm dependencies
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 2.8.8 → 3.0.8
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)
* ua-parser-js: 0.7.21 → 0.7.28
  * https://npmjs.com/advisories/1679 (CVE-2021-27292)

Change-Id: Iabdb4f019f43e1babc061ffe0cf391f87239a7cd
2021-05-09 19:43:49 +00:00