Commit graph

6961 commits

Author SHA1 Message Date
Translation updater bot dff8f98962 Localisation updates from https://translatewiki.net.
Change-Id: Ic70320019f774b24be95fb06a0473566a299d053
2018-07-23 22:31:05 +02:00
Translation updater bot e3c92db4f7 Localisation updates from https://translatewiki.net.
Change-Id: I5ed2469ae3d036283b8bf7ff838d00295d873fb8
2018-07-22 22:08:45 +02:00
jenkins-bot 2041517cfd Merge "Get rid of special casing for user blacklist" 2018-07-17 20:46:21 +00:00
Translation updater bot b3e09bf3e7 Localisation updates from https://translatewiki.net.
Change-Id: I6aacc55f44f936a579087dc44c62e9eef904288d
2018-07-17 22:13:49 +02:00
Translation updater bot 6d629dd3d6 Localisation updates from https://translatewiki.net.
Change-Id: I1e4bba2336677e8ed67b6a3e88bf382723ea36d4
2018-07-15 22:10:53 +02:00
Translation updater bot d4ef4b1ac3 Localisation updates from https://translatewiki.net.
Change-Id: I994a5d412d064c4a06382e8615ace8a85e11985d
2018-07-14 22:20:28 +02:00
Translation updater bot a178f50680 Localisation updates from https://translatewiki.net.
Change-Id: Ia2b2e567b54a362463a553f7cf07debf8e86e05a
2018-07-12 22:38:33 +02:00
Translation updater bot 84ee4bbe75 Localisation updates from https://translatewiki.net.
Change-Id: Idb24461a1bbdffd93fd9f5b1c0f8355427419bac
2018-07-11 22:39:36 +02:00
Translation updater bot 2b81b4cee0 Localisation updates from https://translatewiki.net.
Change-Id: I3ebb2e7f0e5c65a6bd74bdec0004229c43b78839
2018-07-10 22:15:52 +02:00
Max Semenik f8ef0cc7f5 Get rid of special casing for user blacklist
Makes so many things simpler and robust.

Bug: T198935
Change-Id: Ia836f8f497cae8599f85cf86a7f6b299cd012e81
Depends-On: Iff63da0d215585cfcf083e7f7ec8ed45d5b77301
2018-07-09 15:50:38 -07:00
Translation updater bot 6e5d7a477d Localisation updates from https://translatewiki.net.
Change-Id: I894ce3471b3c68b0a92a8e1359902c910809985d
2018-07-09 22:10:57 +02:00
jenkins-bot b4ef9e7115 Merge "Remove some non-helpful lines of documentation" 2018-07-06 21:36:51 +00:00
Thiemo Kreuz 75a55b80ee Remove some non-helpful lines of documentation
Explaining that a variable named "$username" contains a "username" is
not helpful. One have to read this comment first to understand that it
does not add anything to what's already obvious from the variable name
and the type.

Change-Id: I9a43866498d0c94422caf16233f502320a8e36c9
2018-07-06 15:14:44 +00:00
Željko Filipin 2abc4a9256 Selenium: Create selenium-daily npm script
The script is needed for the new Docker-based Jenkins jobs (running daily and targeting beta cluster).

Bug: T188742
Change-Id: I1cca2398857c693d9a8f4dbbb2cf9d25b5124f83
2018-07-06 14:45:09 +00:00
Stephane Bisson 10a99b016b Handle missing presentation model
When a presentation model is specified for an event type,
check if the class actually exist before trying to use it.
Logs to debug when the class is not specified or doesn't exist.

This is useful for extensions that get undeployed
(looking at you, OpenStackManager). Their notifications
cannot really render since the code to render them
is not available anymore. This make them simply go away and
the notification counts get updated shortly after because
unrenderable notifications are marked as deleted.

Bug: T195253
Change-Id: I6335204942002bba3e73887ab81e55a27b4e181a
2018-07-03 12:49:20 -04:00
Translation updater bot 122718bc24 Localisation updates from https://translatewiki.net.
Change-Id: I77a5bf467c49fae72f01897cdd4af318dbf8048c
2018-07-01 22:06:10 +02:00
Translation updater bot 74839a00fb Localisation updates from https://translatewiki.net.
Change-Id: I5ac1af9f1977fcbeaa0e1ada60d477fcdc40c30a
2018-06-30 22:30:23 +02:00
jenkins-bot 7862759c53 Merge "Re-enable test coverage reporting, add @covers tags" 2018-06-28 17:02:18 +00:00
jenkins-bot 65470a8d10 Merge "Add timestamps to generated notifications" 2018-06-28 13:09:29 +00:00
Kosta Harlan da2da90b48 Re-enable test coverage reporting, add @covers tags
Bug: T195136
Change-Id: I9203232e79f162aedb982b713f708cebfe9d1ae0
2018-06-28 08:32:57 -04:00
Translation updater bot d956799dbf Localisation updates from https://translatewiki.net.
Change-Id: I2806e0d9d21b5393e427e2e83e8fbb5c06980d03
2018-06-27 22:18:51 +02:00
Moriel Schottlender 592bc476b2 Add timestamps to generated notifications
Add the ability to create notifications with specific timestamps
when generating notifications through the maintenance script.

Note, that not all notifications can be given specific timestamp;
only notifications that do not involve a direct editing action
will be given this timestamp and their events will be created
as if the actions were taken at the given timestamp, with
1 minute intervals.

Change-Id: I9e6b8660178ca0734979946c8e6ec8d43fc3de41
2018-06-27 11:16:22 -07:00
jenkins-bot 855497c3ba Merge "Avoid counting where not necessary" 2018-06-26 13:54:59 +00:00
Thiemo Kreuz cb282251a8 Avoid counting where not necessary
Change-Id: I0abbdced4474dabbdecd3bbfae194e79b7c29db1
2018-06-26 07:10:38 +00:00
jenkins-bot 1c6d589b1b Merge "Remove masterPos from the job specification." 2018-06-25 10:48:16 +00:00
Translation updater bot 2f10fd474b Localisation updates from https://translatewiki.net.
Change-Id: Ide895ba92c9098b172fbeeaf8f9f87168ad7e53b
2018-06-24 22:25:39 +02:00
Moriel Schottlender 94f17f7910 Always place items outside menu if there's less than two of them
Bug: T174927
Change-Id: I5a30cf4d5cdc3e7ea9ea7b0536e015de8825f785
2018-06-22 15:31:05 +00:00
Željko Filipin 6aa871293e Use new page objects from mediawiki/core in Selenium tests
Bug: T171848
Change-Id: Ib6a08c6a34ef6a4bef8a81f49fed8aae67dc67dc
2018-06-22 15:23:23 +00:00
jenkins-bot e129533772 Merge "selenium: Make it possible to run tests from Echo folder" 2018-06-22 14:34:36 +00:00
Željko Filipin 53d849b3c9 selenium: Make it possible to run tests from Echo folder
Until now, Echo tests had to be run from mediawiki/core folder.

Add an independant 'npm run selenium-test' entry point
for local development. It comes with a minimal wdio.conf.js file that contains
only non-default settings, and runs only specs from this extension.
This also makes it so that screenshots are saved to this repo's
log directory instead of core's.

Bug: T171848
Change-Id: I1396f8d856c6cb1ad9818abf4ba09a4fcefdcfdc
2018-06-22 14:17:05 +00:00
jenkins-bot 5546ec2fa4 Merge "Remove remaining Ruby files" 2018-06-20 07:59:19 +00:00
Translation updater bot 88fd738bde Localisation updates from https://translatewiki.net.
Change-Id: I895086e8fc110329ce2f6c3b2e83f1ed02de1a1e
2018-06-19 22:25:15 +02:00
Thiemo Kreuz d04b3f2710 Make use of PHP's …::class feature
Change-Id: Ifbb70f7b9d54e2e2bb713c8a13668344ac880a72
2018-06-19 18:11:23 +00:00
Translation updater bot 9e43e1988b Localisation updates from https://translatewiki.net.
Change-Id: I10b00818a5c87fa95c0b4191c2f7761f847f8de8
2018-06-18 22:09:42 +02:00
Petr Pchelko bf2cc7e687 Remove masterPos from the job specification.
The `DBMasterPos` class is not JSON-serializable, so
we can not transfer the job in the kafka-based queue.
Before, we were waiting for slaves before executing the
job till the point in time when the job was submitted,
now we will just wait for slaves till the point in time
the job was executed. That lets up not to include the
database master position in the event and make it serializable.

Bug: T192945
Change-Id: I7c754bd1e899bad030cc6434be19daf2542e015f
2018-06-18 19:56:15 +03:00
jenkins-bot 61cfa13beb Merge "Update some PHPDoc tags for improved type safety" 2018-06-18 01:14:37 +00:00
jenkins-bot afec5a19ec Merge "Directly use Language::factory instead of wfGetLangObj" 2018-06-18 01:14:35 +00:00
jenkins-bot bc156ccb26 Merge "Replace uses of deprecated Language::truncate()" 2018-06-17 19:14:08 +00:00
Thiemo Kreuz 6aa6824f96 Update some PHPDoc tags for improved type safety
Change-Id: I7573ab01e88c86c25180bc56b3874505aa00a047
2018-06-17 19:04:54 +02:00
Translation updater bot 5e17323d92 Localisation updates from https://translatewiki.net.
Change-Id: I201f4275fcc95fc516661b5090fc70dad2f96c20
2018-06-16 22:26:03 +02:00
C. Scott Ananian 190377dbbc Replace uses of deprecated Language::truncate()
See I2291c69d9df17c1a9e4ab1b7d4cbc73bc51d3ebb for the anticipated
hard-deprecation of this method in core.

Bug: T197492
Change-Id: I4687db09c27480147cfa7a648a886b1670812deb
2018-06-16 09:30:06 -04:00
Translation updater bot 5c60c9419b Localisation updates from https://translatewiki.net.
Change-Id: Idc7d16e9573059a654787bf81bd1f2783786fab3
2018-06-15 22:35:41 +02:00
Translation updater bot 5a5d25d35f Localisation updates from https://translatewiki.net.
Change-Id: I6b6f91d62fac97920ec30c1979ac3ded0d974b0f
2018-06-14 22:44:35 +02:00
Translation updater bot be791d9371 Localisation updates from https://translatewiki.net.
Change-Id: I2ec9e57ed9fc7db0ca4294042a8d6a127e5b4029
2018-06-11 22:33:46 +02:00
jenkins-bot e1a9fb0909 Merge "Don't use deprecated mediawiki.api.options" 2018-06-11 16:23:28 +00:00
jenkins-bot 3194bd169d Merge "Get rid of call_user_func_array()" 2018-06-10 01:01:53 +00:00
Translation updater bot d50b29b38e Localisation updates from https://translatewiki.net.
Change-Id: Ia0f80bfe2a7b85d040e035ae32d8d47f1aa67561
2018-06-09 10:27:09 +02:00
Kunal Mehta 4c4225bd8c Don't use deprecated mediawiki.api.options
It was merged into `mediawiki.api`.

Bug: T196802
Change-Id: I82200d24cdf98ad35db5166e1f4c30e8f1fa6030
2018-06-09 00:19:33 -07:00
Max Semenik 0a09984f55 Get rid of call_user_func_array()
Yay PHP7!

Change-Id: I3bad8d1a5a65137d9617ccd39c65b8a97edbf01a
2018-06-08 01:03:46 -07:00
Translation updater bot e205daba9b Localisation updates from https://translatewiki.net.
Change-Id: If9a7d1cfa2a9be5cb2087487e61b6db190ec1e81
2018-06-06 23:05:59 +02:00