Commit graph

6529 commits

Author SHA1 Message Date
Jack Phoenix 9ed8612642 Make some DiscussionParser methods public instead of private for reusability
Comments has been duplicating these methods for quite some time for no real reason other than that they're private here.
Duplicating these methods appears to be necessary if and when working with extensions where users can be @mentioned but which are
not implemented as ContentHandler subclasses or otherwise related to regular wikitext pages.

Change-Id: I9c097bab9c5eed8f2399c86897b1f8968126c765
2022-02-17 14:21:09 +02:00
Translation updater bot 2f6892fab0 Localisation updates from https://translatewiki.net.
Change-Id: Id0357ab97aec9b123eb53c3538dd77244f56815a
2022-02-17 08:11:42 +01:00
Translation updater bot cd76478258 Localisation updates from https://translatewiki.net.
Change-Id: I9f035377ac5381823268e417afdfbb5f90311966
2022-02-16 08:12:59 +01:00
Translation updater bot df6939dae4 Localisation updates from https://translatewiki.net.
Change-Id: If89090083e591e2ac87ad5a2abad38a13ef9e63f
2022-02-15 08:17:14 +01:00
Translation updater bot b607b7e71e Localisation updates from https://translatewiki.net.
Change-Id: I5eb35eca1f023c2601e698e486bd73848fd707ec
2022-02-14 08:14:11 +01:00
Umherirrender 4eb8fa23e4 Call IDatabase::timestamp before inserting rows
This is needed for proper cross-RDBMS support

Bug: T244898
Change-Id: I46206e0b3a687dff3168a81cf0020e669133e876
2022-02-11 23:22:17 +00:00
Umherirrender 6af1473ca6 Replace deprecated wfReadOnly()
Bug: T283978
Change-Id: I5c796a0473599c71848b6079874bc7a969ee6f88
2022-02-11 23:39:06 +01:00
Umherirrender ffeee975a4 Replace deprecated User::newFromIdentity with UserFactory
Moved the factory deeper into the code right before the one usage it
still needed a full user object

Narrow done method arguments from User to UserIdentity
and use the identity directly

Change-Id: Ic118f23ef504c7fda892480df61ea68c10915f78
2022-02-11 20:35:49 +00:00
Umherirrender f21d2a5088 build: Remove unneeded phan suppression
Bug: T290624
Change-Id: Ie0209c72863aae8ac020a09e625f0c4613decca5
2022-02-11 20:57:34 +01:00
Translation updater bot a104e97882 Localisation updates from https://translatewiki.net.
Change-Id: Idb8b3b3b0bb36cfb55bd48851d8fa0c806bc341e
2022-02-11 08:41:29 +01:00
Translation updater bot 7acf96924f Localisation updates from https://translatewiki.net.
Change-Id: Idcad6d3bb699e3a451c5115257daa4a82c0b9b89
2022-02-10 08:41:32 +01:00
jenkins-bot 7b75d3775c Merge "eslint: Lint Gruntile.js using server rules" 2022-02-10 05:37:23 +00:00
Translation updater bot f056bc9ce8 Localisation updates from https://translatewiki.net.
Change-Id: I4baeb2087e91695285486af51734ac759eb88d59
2022-02-08 08:28:29 +01:00
Ed Sanders ba38b57c83 eslint: Lint Gruntile.js using server rules
Change-Id: Ic7d67098492558fdd6cec292afd22aaf8693a594
2022-02-07 16:30:24 +00:00
Translation updater bot a10814bff4 Localisation updates from https://translatewiki.net.
Change-Id: I8502dfb2a64544e15b1a5e5a6639a54040d83d0d
2022-02-07 08:21:59 +01:00
libraryupgrader 8136e4f0e5 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1

npm:
* grunt: 1.4.0 → 1.4.1

Change-Id: I00ebb19da234d2254115c75fbc7ecf270a9d7785
2022-02-06 09:37:32 +00:00
Translation updater bot 082a27c6f6 Localisation updates from https://translatewiki.net.
Change-Id: Id58398666e52aed435e37520608a80612c503501
2022-02-03 08:43:59 +01:00
Translation updater bot 83e9b50493 Localisation updates from https://translatewiki.net.
Change-Id: I0ab9b442fd72a63194e3444ddef788f0379c9024
2022-02-02 08:19:58 +01:00
jenkins-bot 3608b51f78 Merge "selenium: Delete invisible unicode characters" 2022-01-31 09:20:34 +00:00
osamaahmed17 020b44c43a selenium: Delete invisible unicode characters
Bug: T300386
Change-Id: I7c5db54247dc5b4566996afcbfab70b5fd4696a8
2022-01-31 09:02:09 +00:00
jenkins-bot e3e8e5cc58 Merge "Exclude dynamic namespaces for page-linked-title muted list" 2022-01-31 08:49:37 +00:00
Translation updater bot 72ad59ff88 Localisation updates from https://translatewiki.net.
Change-Id: I2ba886ad1226ccf2d6395102a825312c9be43fd9
2022-01-31 08:21:56 +01:00
Siddharth VP d983f99f49 Exclude dynamic namespaces for page-linked-title muted list
The form UI currently allows selecting Special/Media pages, even though these notifications are not applicable on those pages.

Also:
- Update some comments regarding LoadUserOptions hook
- Remove $titleFactory as MultiTitleFilter doesn't require it any longer

Change-Id: I74f7b0091cb5f47c34a54958656e2bce20a394ec
2022-01-29 04:51:06 +00:00
Translation updater bot 87771e2d23 Localisation updates from https://translatewiki.net.
Change-Id: Ic91c884b1dc6bbe3ec32db8f0494cb4c31f428e3
2022-01-28 08:33:52 +01:00
Translation updater bot ab2f9421ba Localisation updates from https://translatewiki.net.
Change-Id: I3e834953cca6b7cb7cff8c36bb151cc84a2246ba
2022-01-27 08:38:41 +01:00
jenkins-bot f260651071 Merge "Replace deprecated JobQueueGroup::singleton()" 2022-01-27 04:10:06 +00:00
jenkins-bot c18b14ea51 Merge "selenium: Upgrade WebdriverIO to v7" 2022-01-26 16:56:54 +00:00
osamaahmed17 eb854a675f selenium: Upgrade WebdriverIO to v7
Update npm packages: @wdio/* and webdriverio.

Bug: T274579
Bug: T271281
Change-Id: I0d1ccf8238fd9552aaa6da9f3c5a0b17b0247d27
2022-01-27 03:30:03 +11:00
Translation updater bot a130c0e6f1 Localisation updates from https://translatewiki.net.
Change-Id: I3a2809cb620078e06f8c6e65f603c549f3face50
2022-01-26 08:24:55 +01:00
Umherirrender 9bf6ceb738 Replace deprecated JobQueueGroup::singleton()
Change-Id: I298d8507f4ec706c235087b726b7b230ed5e9ac6
2022-01-25 22:24:53 +01:00
jenkins-bot c9f4e7224f Merge "Prevent welcome message partially truncated" 2022-01-25 11:54:58 +00:00
Translation updater bot 52f687ca50 Localisation updates from https://translatewiki.net.
Change-Id: I59cf61ab4eb1f4b47ca43961ad67c148b43dbdb1
2022-01-25 08:32:36 +01:00
Sergio Gimeno c815bc64e4 Prevent welcome message partially truncated
Bug: T291100
Change-Id: Ia7d349bd81b45c99eb421b8e69ccdadb3135a67f
2022-01-24 21:44:47 +01:00
jenkins-bot a8af58f362 Merge "Parse section titles in notifs as if they weren't at the start of line" 2022-01-24 05:43:44 +00:00
jenkins-bot 302d272480 Merge "Allow overriding section title presentation in subclasses" 2022-01-24 05:42:12 +00:00
jenkins-bot ef3c4ff4e3 Merge "Avoid double-escaping in notification watch links" 2022-01-21 17:08:30 +00:00
jenkins-bot cc111b95bf Merge "Make JsonSerializable PHP 8.1 compatible" 2022-01-21 13:01:50 +00:00
Gergő Tisza 7a9bb5b7f2
Avoid double-escaping in notification watch links
Bug: T270156
Change-Id: I6973b6112fbb5caf409de168844ae2af20117bd7
2022-01-21 01:25:22 -08:00
Gergő Tisza e7248ea1ff
Make JsonSerializable PHP 8.1 compatible
Bug: T299695
Change-Id: If7d21100e7e20d8467685ae7515304cefabe4796
2022-01-21 01:18:18 -08:00
jenkins-bot ceda28121f Merge "Adjust doc for EchoNotification::readTimestamp" 2022-01-21 08:11:26 +00:00
Bartosz Dziewoński 3493317d79 Parse section titles in notifs as if they weren't at the start of line
The section titles are wikitext extracted from inside heading markup
like `== … ==`, so start-of-line markup like `*` should not be parsed.

Bug: T299572
Change-Id: Ie3995b943e5fe20ad86041d6be755f14f32eb01e
2022-01-21 00:07:53 +01:00
Bartosz Dziewoński f66c4283e9 Allow overriding section title presentation in subclasses
Change-Id: Idb3a87fd18330f90a8cdc1276994d54288e17b28
2022-01-20 23:50:47 +01:00
Translation updater bot 514fd01ae3 Localisation updates from https://translatewiki.net.
Change-Id: I6526a25cb9108b50d7ce7da41c4cb92cde652608
2022-01-20 09:17:33 +01:00
Translation updater bot 639cbba293 Localisation updates from https://translatewiki.net.
Change-Id: Ibd13e6bd81939bc6bb2890bcb2a16bebbf969da2
2022-01-19 08:24:01 +01:00
Alexander Vorwerk 4c7726a9ec selenium: reenable skipping of flaky test
Bug: T299339
Change-Id: I4d0838bdd6f1d0e1e220d1d611ae3e6e5c2b80eb
2022-01-17 16:26:35 +01:00
Kosta Harlan e4803b42e3 selenium: Add missing await statements
Follows-Up: 8327d33c99e495b109d97df7b525181dfc41c18d
Bug: T293073
Change-Id: Ib1862b857955999dbe7085a247e215e31eb89cff
2022-01-17 18:05:59 +05:00
Kosta Harlan 73496ec386 selenium: Skip flaky test
Bug: T299339
Change-Id: I6ff5d9d0e90b447112f5efea1489030238b52fac
2022-01-17 13:21:35 +01:00
jenkins-bot cb830f5c0a Merge "selenium: Refactor Echo WebdriverIO tests from sync to async mode" 2022-01-17 11:21:10 +00:00
Translation updater bot 002bb2005e Localisation updates from https://translatewiki.net.
Change-Id: I9ab31ef8b137c117fea6c531d2d0b4c37ea584a9
2022-01-17 08:12:02 +01:00
osamaahmed17 9903581028 selenium: Refactor Echo WebdriverIO tests from sync to async mode
WebdriverIO has dropped support of sync mode due to breaking changes in Chromium, hence all tests of Echo have been changed to async.

Bug: T293073
Change-Id: I8327d33c99e495b109d97df7b525181dfc41c18d
2022-01-17 04:32:20 +05:00