Commit graph

6821 commits

Author SHA1 Message Date
Translation updater bot 7359ecd86e Localisation updates from https://translatewiki.net.
Change-Id: Ief870ae734721a270732e53a15f8d04b68995658
2022-08-10 08:23:20 +02:00
Translation updater bot 50cdc2befd Localisation updates from https://translatewiki.net.
Change-Id: I49b054c61e709fd8977e3f1d114b735ebb20f050
2022-08-09 08:19:37 +02:00
Umherirrender 90639411fa schema: Remove IF EXISTS from DROP FOREIGN KEY
It is not supported by mysql, but supported by mariadb
Use one of the new index to detect, if the schema update was not running
yet

https://dev.mysql.com/doc/refman/8.0/en/alter-table.html
https://dev.mysql.com/doc/refman/8.0/en/create-index.html
https://dev.mysql.com/doc/refman/8.0/en/drop-index.html

Bug: T314779
Follow-Up: I4bd29a6d0f9515e1a678c2a967799b90ef22f7b9
Change-Id: I820d79285afee854f086ca8c1590948393f496bc
2022-08-08 21:25:33 +02:00
Translation updater bot 649c7c7742 Localisation updates from https://translatewiki.net.
Change-Id: Id421de0b5ff6567ff419cfbb4c3e81e3d5caa516
2022-08-08 08:58:29 +02:00
Umherirrender f837f5663e Simplify linking to fragments of Special:Preferences
Change-Id: I0950000edd402020a1e0179b8e4829640ad33835
2022-08-06 00:54:37 +02:00
Translation updater bot 053d0c75e0 Localisation updates from https://translatewiki.net.
Change-Id: I44ef9956318550109f26ecbea33a366713e76343
2022-08-04 08:42:38 +02:00
jenkins-bot 5d8db192fa Merge "Run clean ups with removeOrphanedEvents in major batches" 2022-08-02 20:10:19 +00:00
Translation updater bot 0c6b4417d4 Localisation updates from https://translatewiki.net.
Change-Id: Ice38b99578c97dc8805f506f7ae85e5bf096d26a
2022-08-02 08:13:24 +02:00
Amir Sarabadani 6d0e181bf4 Run clean ups with removeOrphanedEvents in major batches
It's already wrapped in a small batch but if the table is large, this
would not work.

Adding a major batch to limit the rows scanned drastically makes it
faster. I have been running this in production and it works like a charm
on a table with > 300M rows

Bug: T310428
Change-Id: I7f63d2d76fea0db64e48dbcc1f95419df4492e7d
2022-08-01 16:49:13 +02:00
Translation updater bot e20d88532e Localisation updates from https://translatewiki.net.
Change-Id: Ibeda9787168fb9d5fbd8163c587ae3f8e8892aaf
2022-08-01 08:22:12 +02:00
Translation updater bot 65d262801c Localisation updates from https://translatewiki.net.
Change-Id: I666490c9dd4447bc3524548472bdadec656b3f3b
2022-07-29 08:53:00 +02:00
Translation updater bot fe1044cec6 Localisation updates from https://translatewiki.net.
Change-Id: I3ca1982508ebee6639ceb6956552ba38257a791d
2022-07-28 08:56:54 +02:00
Translation updater bot a4ea07ba44 Localisation updates from https://translatewiki.net.
Change-Id: If2d393833460c94271ae4e9d2eb046b85839407e
2022-07-27 08:26:08 +02:00
Translation updater bot 3a7c679e47 Localisation updates from https://translatewiki.net.
Change-Id: I5d68d773e4889f565055bd2840d01619d6577949
2022-07-26 08:25:02 +02:00
Translation updater bot 4570422f3c Localisation updates from https://translatewiki.net.
Change-Id: I6d5d9cdf83e8b463d7d8f31c7f8f7fc622134cf7
2022-07-25 08:36:17 +02:00
jenkins-bot e6008edda9 Merge "Echo mobile: add CSS media query class" 2022-07-21 10:18:53 +00:00
suecarmol f83acdf5d3 Echo mobile: add CSS media query class
Added a new media query to fix an error in the Special:Notification preferences button.

Bug: T280839
Change-Id: I1a4cdc9111c6ada3c79f6ec1f1fa2e40dc240238
2022-07-20 17:51:03 -05:00
Translation updater bot 35f8c20449 Localisation updates from https://translatewiki.net.
Change-Id: I49dfcae0dd8c3315046ba22fa6b4de5c2adf3f64
2022-07-20 08:27:38 +02:00
jenkins-bot 1c812bddc0 Merge "EchoPlainTextEmailFormatter: correctly handle getPrimaryLink() returning false" 2022-07-19 20:03:13 +00:00
jenkins-bot 2b8ab8200e Merge "postgres: Convert timestamp in EchoUnreadWikis" 2022-07-19 14:49:14 +00:00
Translation updater bot b6fe892c83 Localisation updates from https://translatewiki.net.
Change-Id: I08b60b4213b06dfea4b66791c308765324ea1ab7
2022-07-19 08:16:24 +02:00
Translation updater bot e3d93fd5bf Localisation updates from https://translatewiki.net.
Change-Id: Ie295f3e881e00e6411a6cc8b2b075541067f4c27
2022-07-18 08:14:30 +02:00
Umherirrender 3536de166e postgres: Convert timestamp in EchoUnreadWikis
The compare with DEFAULT_TS_DB does not work, because postgres using
different timestamp format on the database

Bug: T244898
Change-Id: I81fe88f78d94499ae9082a4fb6b1191bd432f977
2022-07-16 16:33:40 +00:00
Translation updater bot 97acba3cb5 Localisation updates from https://translatewiki.net.
Change-Id: Ieca9e9639662ac05dd7748b5e4555b33f19f32b9
2022-07-15 08:43:15 +02:00
jenkins-bot 327239d8bf Merge "Remove some repetition in EchoGetBundleRules hook handler" 2022-07-14 23:03:41 +00:00
Translation updater bot 59b954c513 Localisation updates from https://translatewiki.net.
Change-Id: Ib68567c505ea55d9aa13de614aa7f9015a10766c
2022-07-14 08:47:56 +02:00
jenkins-bot c7f6c1daad Merge "Convert to abstract schema" 2022-07-13 15:50:40 +00:00
jenkins-bot a3af2dcf89 Merge "schema: Drop foreign keys from table echo_push_subscription" 2022-07-13 15:50:37 +00:00
jenkins-bot c75396d7f3 Merge "schema: Move all sql files to own folder" 2022-07-13 15:26:25 +00:00
jenkins-bot aae35b8344 Merge "Bump minimum required version for upgrade to 1.31" 2022-07-13 15:24:16 +00:00
jenkins-bot 48436ddc70 Merge "Make interface compatible with RecursiveIterator" 2022-07-13 08:36:12 +00:00
Translation updater bot bc4294760e Localisation updates from https://translatewiki.net.
Change-Id: I34939906a8cb7f45ec777a7156d401cc0145158f
2022-07-12 08:14:47 +02:00
Translation updater bot 219f8bace0 Localisation updates from https://translatewiki.net.
Change-Id: Ic8521155dd23863ff63614806707f69bce908574
2022-07-11 09:49:30 +02:00
Mark A. Hershberger 43d004fc3d
Make interface compatible with RecursiveIterator
Seen when running phpunit tests.

Bug: T289879
Change-Id: I6f05b2cf21cd7c51b6d3234e6e0356c8a563202a
2022-07-09 22:48:39 -04:00
Kunal Mehta 4cc56d1b26 Remove some repetition in EchoGetBundleRules hook handler
I kept the "watchlist-change" and "minor-watchlist-change" rules
separate for now since while those are the same pattern the $bundleString
prefix isn't exactly the event type.

Change-Id: I360849870793d7730385dec0f57c92cdabf549d1
2022-07-09 17:31:22 -07:00
Universal Omega 7b2bed7cce EchoPlainTextEmailFormatter: correctly handle getPrimaryLink() returning false
It is declared to be able to, but is not checked here expecting an array, resulting in `PHP Notice: Trying to access array offset on value of type bool` if false.

Change-Id: I8b3ebdd3b5e6fea9c84816b890198194951ea5c0
2022-07-09 16:34:37 +00:00
Matěj Suchánek 3395037c54 Replace Maintenance::error calls with ::fatalError
Calling Maintenance::error() with the exit code has
been deprecated since 1.31.

Change-Id: I21d5c0a928b6e17db3239c31377e10d906ff95ca
2022-07-08 11:02:45 +02:00
Translation updater bot f290323c92 Localisation updates from https://translatewiki.net.
Change-Id: I603427cc95f6042eca28131dc92ea353f5e17cdf
2022-07-08 08:52:27 +02:00
Umherirrender a9511f4180 Convert to abstract schema
This adds the postgres schema to the extension

Bug: T259375
Change-Id: Ib0dca100c9885b12bc53228eddac72a5fb855d26
2022-07-05 21:00:41 +00:00
Translation updater bot 1600fa3599 Localisation updates from https://translatewiki.net.
Change-Id: Ic1ade8e3da486a889c4813901fb1bdb94881b920
2022-07-05 08:38:09 +02:00
Translation updater bot 0442d1ca15 Localisation updates from https://translatewiki.net.
Change-Id: I181c4bbf53ed47fc6417e171e43dbd61754542f7
2022-07-04 08:22:00 +02:00
Reedy b86fb539fa Add return type to jsonSerialize()
Bug: T311919
Change-Id: Ie16d4e175250b5239e33026046adfb4ab9097bd1
2022-07-02 15:35:42 +00:00
jenkins-bot 0678db2336 Merge "Add return type to EchoFilteredSequentialIterator::getIterator()" 2022-07-01 12:43:29 +00:00
Translation updater bot 173aa6bd04 Localisation updates from https://translatewiki.net.
Change-Id: Ie7008541a0f38ad57062bb6178524e04654d92d4
2022-06-29 08:35:04 +02:00
Translation updater bot 8c9cdb895b Localisation updates from https://translatewiki.net.
Change-Id: Ia75a01439ab166847f8a1776520eadc7001b07a1
2022-06-28 08:39:27 +02:00
Reedy aae5cb2579 Add return type to EchoFilteredSequentialIterator::getIterator()
Bug: T311448
Change-Id: I600135064aaaf05019da09e6dc610b8759ce0913
2022-06-27 21:04:48 +00:00
Translation updater bot e276fc8ac1 Localisation updates from https://translatewiki.net.
Change-Id: I08d95d373c34e1895003fdd9249b83c2e5d4921b
2022-06-27 08:17:55 +02:00
jenkins-bot b826472459 Merge "Do minor code cleanup" 2022-06-24 11:47:27 +00:00
Matěj Suchánek d8168ca071 Do minor code cleanup
Change-Id: I0beba40920e5ddc0abbf49f9765a1ef9e3d3d1e5
2022-06-24 13:25:43 +02:00
Translation updater bot 51513b5ccf Localisation updates from https://translatewiki.net.
Change-Id: I38f8276eb0649c0a7726754fc753d9ca6a5f9b55
2022-06-24 09:30:39 +02:00