Commit graph

1489 commits

Author SHA1 Message Date
Translation updater bot bdd019bffd Localisation updates from https://translatewiki.net.
Change-Id: I867b2e0d9b59b5abce81e4a93e2bbcdde29cd311
2021-05-25 08:52:05 +02:00
jenkins-bot 3bea7fe77b Merge "Remove unused 'inTargetWidget' config" 2021-05-24 20:53:20 +00:00
Ed Sanders 59bf09dca0 Add notifications feature to beta feature copy
Bug: T272197
Change-Id: Ia647e7752dacead52b09bc53d66ff0c49202d115
2021-05-24 14:47:28 +01:00
Translation updater bot 5cbfecf084 Localisation updates from https://translatewiki.net.
Change-Id: Ia2336c1fad818bf2dbcc5d6f2246bd281073318f
2021-05-24 09:53:40 +02:00
Bartosz Dziewoński 0ad1ee3cff Use the edited page's title for magic words in API error messages
Bug: T247661
Depends-On: Ic3d70efc23744ef6e90abc445f3babebf45c4697
Change-Id: I8b0ad22232ef14f59887c24d5727271f46350eb9
2021-05-21 18:03:56 +02:00
Translation updater bot c014667364 Localisation updates from https://translatewiki.net.
Change-Id: I92133ff4a0aabb1c3c1c2c9ac1da9b8aefee0be1
2021-05-21 12:10:08 +02:00
Translation updater bot 666fe66fa2 Localisation updates from https://translatewiki.net.
Change-Id: Ice80bda5a7e0a7edc6b42cc4b82bd89834ec8469
2021-05-20 09:10:18 +02:00
Translation updater bot 2ad4c25ab4 Localisation updates from https://translatewiki.net.
Change-Id: Ie287c0361b0066aa13f2068e75d47b7478fe0c30
2021-05-18 08:46:24 +02:00
Translation updater bot be50b0033a Localisation updates from https://translatewiki.net.
Change-Id: I2d955f506218b4ae1efc9d98e4828189b90765e6
2021-05-17 08:41:55 +02:00
libraryupgrader 1e9c208bf8 build: Updating postcss to 8.2.15
* https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: If404e258969b542526de48a2b4890b9b520cccd1
2021-05-15 13:46:08 +00:00
Timo Tijhof 54eb6691fa Allow talk pages to have a different ParserCache expiry
Using `updateCacheExpiry()` in this way appears to be established
with examples of other use in WMF production such as:
- CategortyTree extension:
  custom cache expiry for pages with `<categorytree>`.
- RSS extension:
  custom cache expiry for pages with `<rss>`.
- intersection extension:
  custom cache expiry for pages with `<DynamicPageList>`.
- Math extension:
  custom cache expiry if `<math>` failed.
- Wikibase extension, Flow extension:
  no caching for certain namespaces or content types.
- Graph extension, Kartographer extension:
  via onParserAfterParse hook, no caching if on preview.

Bug: T280605
Change-Id: Iea41ab8599ffae4622c97d682258b1b64eaf9ba2
2021-05-14 16:59:09 +00:00
Translation updater bot 2bd90e319c Localisation updates from https://translatewiki.net.
Change-Id: Id3c347cb3fa9f4b07b51ab646a5e46df02f458e0
2021-05-14 08:43:47 +02:00
Umherirrender 33f94693fb Replace uses of DB_MASTER with DB_PRIMARY
This requires MediaWiki version 1.36

Change-Id: Idc9edb06b2a080ea9d64e6cdac0b68eb14c485f9
2021-05-13 02:11:45 +02:00
Translation updater bot 217c43090f Localisation updates from https://translatewiki.net.
Change-Id: I5de6a0240d0494990c0e764205a6a96dc1bd4334
2021-05-12 09:21:31 +02:00
Translation updater bot db6bd91ba9 Localisation updates from https://translatewiki.net.
Change-Id: I9c759f1c9dd8ed4aadaa5ada716fa2243321a798
2021-05-11 09:06:11 +02:00
Translation updater bot 05b68679b9 Localisation updates from https://translatewiki.net.
Change-Id: Iaff1aa67733b793b85e9f9dce31561a49f51f627
2021-05-10 08:51:20 +02:00
libraryupgrader 6032ca6fbc build: Updating npm dependencies
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.20 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 3.0.7 → 3.0.8
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)

Change-Id: Ia437556c07ef0424742c710fd827e8693740b640
2021-05-09 16:41:13 +00:00
Translation updater bot bdfc988d55 Localisation updates from https://translatewiki.net.
Change-Id: I0c9d33dfc535cd3aa4e27daee9025458d6978c2a
2021-05-07 08:41:13 +02:00
Translation updater bot 4e5c41f8e5 Localisation updates from https://translatewiki.net.
Change-Id: Id2491eb98d75f1ef94131c24151a4404c00df6e0
2021-05-06 08:54:01 +02:00
jenkins-bot e1f472bf17 Merge "SubscriptionStore: Allow empty array to be passed to fetchSubscriptions" 2021-05-05 20:10:35 +00:00
Ed Sanders 11d40d2663 SubscriptionStore: Allow empty array to be passed to fetchSubscriptions
Change-Id: Ib2b659645ed55bc7a64f9971f0e054907c86a552
2021-05-05 19:16:54 +01:00
libraryupgrader 12fb65b9f1 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: I5c152292e83e7f3441e2c08b7d0ad23ac90f194b
2021-05-05 11:14:52 +00:00
jenkins-bot c618139b9c Merge "Change DB column types from "string" to "binary" (VARCHAR to VARBINARY in MySQL)" 2021-05-04 15:33:19 +00:00
Translation updater bot 380618596c Localisation updates from https://translatewiki.net.
Change-Id: I99088c211811aca2e74f32d7ab136af11abe84ad
2021-05-04 08:51:48 +02:00
jenkins-bot e8b51899a8 Merge "NewTopicController: Fix tag list construction" 2021-05-04 03:05:03 +00:00
jenkins-bot 18a488c4e1 Merge "Disable wikitext paste conversion in source mode" 2021-05-04 02:58:16 +00:00
Ed Sanders b4f72b7516 NewTopicController: Fix tag list construction
Bug: T279157
Change-Id: I2fa8042878d0f24385a8528ef0ba26bd4689a387
2021-05-03 18:42:16 +01:00
jenkins-bot 9822a60757 Merge "Fetch user's topic subscriptions on the page in a single query" 2021-05-03 14:06:41 +00:00
Ed Sanders 911f1a68bd Apply transformations in ParserCache for all CommentFormatter features
i.e. for topic subscriptions as well as the reply tool.

Change-Id: I0a9e1a15e5a11adce0e1c55481fef0f4549360a6
2021-05-03 15:05:35 +01:00
Ed Sanders 35e97c24fe Disable wikitext paste conversion in source mode
Bug: T280745
Depends-On: Icc716563e5536b4ef33a48ba10a72f3a39bdec35
Change-Id: I5875d8aa12dee694c3e5bd7e1a980da284343722
2021-05-03 14:52:19 +01:00
Translation updater bot d80209f264 Localisation updates from https://translatewiki.net.
Change-Id: I5c1d68dfe933f5be8336a5a2ce57d30230cee6d8
2021-05-03 08:36:44 +02:00
Bartosz Dziewoński db3c1b25cc Highlight target comment when following a link or notification
Bug: T281471
Change-Id: I8a5bca70d86364f3fade76f72d32d2bf1b9aaf37
2021-04-29 20:13:41 +02:00
Ed Sanders 799754a3cf Remove unused 'inTargetWidget' config
Change-Id: I713c3bdd80ec375e9683441c289ba22ed9b7057a
2021-04-29 15:46:26 +01:00
Bartosz Dziewoński c490dc8164 Change DB column types from "string" to "binary" (VARCHAR to VARBINARY in MySQL)
Per Manuel Arostegui in T263817#7033384.

As I understand, this is just for consistency with tables in MediaWiki
core. Given that all tables are created with "DEFAULT CHARSET=binary"
(as defined in $wgDBTableOptions), there is no difference in behavior
between these two types.

Bug: T263817
Change-Id: I8dabcb45e447e0bf60b119fd4f7d6532147a44fc
2021-04-28 21:54:48 +00:00
Bartosz Dziewoński 475aa80057 Fetch user's topic subscriptions on the page in a single query
Previously, we have made a query per each topic on the page.

Bug: T281000
Change-Id: I1029e62a65fc191ca37e1178ea7ffc55afafa1b9
2021-04-28 21:54:26 +00:00
jenkins-bot 5af397c41b Merge "Fix eslint doc type warnings" 2021-04-28 16:11:53 +00:00
Translation updater bot 909a2b1370 Localisation updates from https://translatewiki.net.
Change-Id: Ic65ad00a85b4d5f31f520b7b12b9e9d6a7e488b5
2021-04-28 16:43:04 +02:00
Translation updater bot 3ac896fa52 Localisation updates from https://translatewiki.net.
Change-Id: I8697a8aebe77dc2351f4471f136c18e4e13b6337
2021-04-28 08:48:10 +02:00
Ed Sanders e995332d77 Fix eslint doc type warnings
Change-Id: Iaadc500609db3b462ef8de663f7ec34f46dc0434
2021-04-27 22:52:11 +01:00
Bartosz Dziewoński fcb177fa8c README for the SQL files
Change-Id: Ie8112c9eaa7bc8d0ff7b21f4516f3386be661229
2021-04-27 22:47:48 +02:00
Translation updater bot 85308bcd60 Localisation updates from https://translatewiki.net.
Change-Id: I657c60908cc25cd0a7ed69d4b606dda1f784db0a
2021-04-27 08:38:03 +02:00
Bartosz Dziewoński 49c1dde336 Abort DiscussionTools checks early when viewing a special page
Previously we relied on the NamespaceInfo check below to reject
special pages, but after commit 07d885248bc54bdc0f12d9745916c794d45ec81c
in MediaWiki core, PageProps throws an exception when called with a
special page.

Bug: T281180
Depends-On: I32c94107fde96b9d6344c77b621be9b3b9b7faaf
Change-Id: I0fd893c63a6e92f6c84e7aa92270852e1137fcad
2021-04-26 18:38:06 +00:00
Translation updater bot a4b1f4daa0 Localisation updates from https://translatewiki.net.
Change-Id: Id194c50a7631d2c12bac6e5a8e5b86e114becc51
2021-04-26 09:10:13 +02:00
jenkins-bot 60e1fa334f Merge "Remove deprecated dt- classes" 2021-04-23 17:35:51 +00:00
jenkins-bot 48b55ed195 Merge "Fix topic subscriptions button" 2021-04-23 15:26:10 +00:00
Translation updater bot f8df30682a Localisation updates from https://translatewiki.net.
Change-Id: Iaf40a1c877aefc72b3b1d5adc4849bd9a05afb38
2021-04-23 08:36:33 +02:00
Bartosz Dziewoński 534f907d33 Fix topic subscriptions button
Follow-up to a3f665e816.

Change-Id: I4df324bb6b60a0a840ddfe483aa10143e218bdf8
2021-04-22 20:43:02 +02:00
Ed Sanders eae0c1e6e1 Implement hidden tag for source mode with toolbar
Bug: T279157
Change-Id: I0244530580c7243e4db33848d36c336d8e5e8a08
2021-04-22 17:44:00 +00:00
Ed Sanders 1893405635 Code style: Move var declarations inline
Change-Id: I1686603388b050ba4ec22eff23e4806cdf262b87
2021-04-22 17:43:46 +00:00
Ed Sanders 2f40fd96b1 EventDispatcher: Store comment name in event metadata
This will probably be useful later, so better to ensure
the data is captured now.

Change-Id: I8936ee85a2775ad48839e9c3ebf5bc3d5355c501
2021-04-22 16:23:39 +00:00