Commit graph

4584 commits

Author SHA1 Message Date
Translation updater bot ce4e621db8 Localisation updates from https://translatewiki.net.
Change-Id: Ifdebee52ff0dfecc028256d9c665a3d280f86eb1
2018-04-21 22:15:32 +02:00
Translation updater bot 6c0c527bd9 Localisation updates from https://translatewiki.net.
Change-Id: I940d1616b7ff993eae8bd6059414f1236554a502
2018-04-18 22:10:46 +02:00
Translation updater bot ed7f8f4309 Localisation updates from https://translatewiki.net.
Change-Id: I738d3ba86086f8d0990fba55b574633fef434963
2018-04-17 22:25:03 +02:00
Fomafix 1e71b8bef3 Use PHP's implode() with the suggested order of arguments
https://secure.php.net/manual/en/function.implode.php defines the order
of arguments as

 string implode ( string $glue , array $pieces )
 string implode ( array $pieces )

Note:
  implode() can, for historical reasons, accept its parameters in
  either order. For consistency with explode(), however, it may be less
  confusing to use the documented order of arguments.

Change-Id: I74468fe2833c897ec9a7ddeb5a1e5b50bb50da94
2018-04-16 20:21:44 +02:00
Translation updater bot 3b4e4d4a2d Localisation updates from https://translatewiki.net.
Change-Id: I76d34960661ac8067bd2906fd04da24a79e574b1
2018-04-15 22:23:25 +02:00
Translation updater bot e1c4bfb33c Localisation updates from https://translatewiki.net.
Change-Id: I8304ea1a0ea788269bfbda574afe4227b7da02a1
2018-04-14 22:13:51 +02:00
libraryupgrader df0d4a40f9 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: I06e2372dc35e679af8d7f0b9f3ee85defffb7a31
2018-04-14 00:45:17 +00:00
jenkins-bot 4538925597 Merge "Conditionally rearrange date and button in notif list" 2018-04-13 18:25:38 +00:00
jenkins-bot 7c06f6cf0a Merge "tests: Remove expectations for methods that don't exist" 2018-04-12 23:44:43 +00:00
Kunal Mehta 23a06fa5d4 tests: Remove expectations for methods that don't exist
These trigger warnings in PHPUnit 6.

Change-Id: I01ddd139f1226c1a905763cd98cb4ddb5242f4bf
2018-04-12 16:21:09 -07:00
jenkins-bot f5d47b3ee7 Merge "Revert "Revert "Remove unused 'trash' icon""" 2018-04-12 15:37:42 +00:00
Catrope ee44f96e2f Revert "Revert "Remove unused 'trash' icon""
Can be removed now that it's been moved to PageTriage.

This reverts commit b59eedd251.

Change-Id: If829148d09cb28f21bd48d5073886b44174b274d
Depends-On: I370391d7460c5b04a5a1ddb2e191f29044b30e5e
2018-04-11 19:54:35 +00:00
Aryeh Gregor 86b4ed5c56 Remove call to doLogin(), which does nothing
I805520e5 is removing all callers from core.

Change-Id: I56025a9c64406f44cb157a17e308da358de0da47
2018-04-11 17:11:27 +03:00
Translation updater bot 2eaf0de2be Localisation updates from https://translatewiki.net.
Change-Id: I4e4fbc0300cf50b87aff40a905a64439467209d5
2018-04-10 22:15:21 +02:00
Translation updater bot 6d00265c59 Localisation updates from https://translatewiki.net.
Change-Id: I5f006c4a934a6f80e51c7007816795b3619c72b6
2018-04-09 23:16:56 +02:00
jenkins-bot ad9f580b72 Merge "Move EchoHooks into includes/" 2018-04-09 16:03:53 +00:00
Kunal Mehta e33b42882d Move EchoHooks into includes/
Change-Id: I6fe78ca2763f1d449198d9f4e9a0c4d9b8e081f7
2018-04-09 00:24:23 -07:00
Translation updater bot d460a584bf Localisation updates from https://translatewiki.net.
Change-Id: I4e644d4a7e2e353d325d7e7712ce19e08fe7cb5e
2018-04-08 22:29:52 +02:00
Translation updater bot 28f6be7a31 Localisation updates from https://translatewiki.net.
Change-Id: I2e1c7f78c57cb0377d5ada22cf5d1819d4554ce6
2018-04-07 22:34:20 +02:00
Umherirrender b166664efc Fix parameter docs
Change @param to @var
Add |null to nullable arguments
Removed comment out code

Change-Id: I535ad4d544284c1e0fb6f39c254761f0810b4cc7
2018-04-06 08:17:17 +00:00
Umherirrender 7e40fcc6ca Add missing use for namespace Wikimedia\Rdbms
Changed to interface, because the result of IDatabase::select is
directly returned and now the same type

Change-Id: Ib77e1f5c26ebf0b474dc944b15d6ef671a88e836
2018-04-06 07:56:13 +00:00
Translation updater bot 83ad3d35e2 Localisation updates from https://translatewiki.net.
Change-Id: I569c05b34f59d65dceed8eb8995dc79ac95d6d7d
2018-04-05 22:22:15 +02:00
jenkins-bot caa28b5e6b Merge "Revert "Remove unused 'trash' icon"" 2018-04-05 19:53:44 +00:00
Catrope b59eedd251 Revert "Remove unused 'trash' icon"
Still being used by PageTriage.

The proper solution is to move the icon to PageTriage, but
for now let's bring it back in Echo to unbreak things.

This reverts commit 54f49875e9.

Bug: T191335
Change-Id: If4c709d9932ac0d063f6211c5ddd82846f0f6a6d
2018-04-05 19:07:04 +00:00
Translation updater bot d6739c7558 Localisation updates from https://translatewiki.net.
Change-Id: I1116b383b5b14a3104535f7220f6e1db0ea274cb
2018-04-04 22:50:18 +02:00
Umherirrender 52e91a605a Fix return type of EmailBatch::newFromUserId
Use | as separator for multiple classes

Change-Id: I246443b058436bec6b17675d4be46e130a4c075b
2018-04-04 12:35:54 +00:00
Translation updater bot 3c9e4d4c86 Localisation updates from https://translatewiki.net.
Change-Id: Id33161a6c18a21a9513f7f425846f46bec05a3ce
2018-04-03 09:51:01 +02:00
Translation updater bot f4c3b51636 Localisation updates from https://translatewiki.net.
Change-Id: I0cae155a64ace52eefaecdd84586897842ef81ad
2018-04-02 09:48:29 +02:00
Translation updater bot 0269e931b2 Localisation updates from https://translatewiki.net.
Change-Id: I973cd6768512d57f0d78ce2d40dd9a863af21d90
2018-03-31 09:22:20 +02:00
Translation updater bot 1db8aaf487 Localisation updates from https://translatewiki.net.
Change-Id: I115965244c7c311cccf9a5c02a7510dc9b497944
2018-03-30 09:34:38 +02:00
libraryupgrader 96b64d7799 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: Ic1e7e6c73e6360f43fafeecf543165fbfb365c52
2018-03-29 01:44:16 +00:00
Translation updater bot 14f1e82808 Localisation updates from https://translatewiki.net.
Change-Id: I8bdca18846ba001ddebdd0ec2b959726f637f20f
2018-03-28 22:23:00 +02:00
Moriel Schottlender 5a42e71171 Add extra margin for the badge when count is 99+
Bug: T183539
Change-Id: I57060bc9c442d4fc030608f9f6de98b77f5e1133
2018-03-28 19:44:38 +03:00
Moriel Schottlender 8b84ed2a3b Conditionally rearrange date and button in notif list
When there isn't enough space for both date and button,
separate them each on its own line.

Bug: T146288
Change-Id: I7ad022da82503f35ae630d171faeed1815c97f7a
2018-03-28 16:19:47 +03:00
Roan Kattouw 1eef6eeee3 Remove footer notice code
But keep the widget files in case we need them again.

Bug: T190481
Change-Id: Iec7dd472cebbee98ea88a0318c017707c7460ae8
2018-03-28 14:57:44 +02:00
jenkins-bot 2cf4bd1df3 Merge "Align Notifications popup header/footer with OOUI's default size" 2018-03-27 21:03:38 +00:00
jenkins-bot bc511b4af2 Merge "NotificationsOptionWidget: Fix icon alignment" 2018-03-27 21:00:26 +00:00
Translation updater bot 36bc342c10 Localisation updates from https://translatewiki.net.
Change-Id: I6f4ba274368ab5f93c1e204c0410241c7a442812
2018-03-27 22:09:31 +02:00
jenkins-bot ae9ee9bc35 Merge "Prevent FOUC when loading OOUI notification badges" 2018-03-27 19:58:37 +00:00
jenkins-bot 0f1a9f5954 Merge "Fix DOM structure of mw.echo.ui.MenuItemWidget" 2018-03-27 19:32:16 +00:00
jenkins-bot 710348470a Merge "Detect reverts differently" 2018-03-27 14:23:23 +00:00
jenkins-bot 147e43aeb2 Merge "Revert my fix for summary pings in reverts" 2018-03-27 14:15:50 +00:00
Ed Sanders 52cd0f9b05 Prevent FOUC when loading OOUI notification badges
Change-Id: I216d1f7ff90380040742e6c78df830a9dcb0b261
2018-03-27 13:54:27 +01:00
Ed Sanders 0fd6d64a29 Fix DOM structure of mw.echo.ui.MenuItemWidget
* Inherit from DecoratedOptionWidget as it comes with
  an icon mixin.
* Keep the DOM structure as similar to its parent as
  possible, to avoid breaking upstream child selectors.
* To this end, replace <a> wrapping hack with override
  of getTagName to set this.$element to <a>.

Change-Id: Ifde70785a1bc996eb09e581b06ed30708323e9f7
2018-03-27 12:33:40 +01:00
Volker E 77021e370c Align Notifications popup header/footer with OOUI's default size
Bug: T190397
Change-Id: I41ad96bbc7d3922772ecb026cb251476882601c7
2018-03-26 20:13:08 -07:00
Max Semenik ed54aabe76 Detect reverts differently
The previous way that's getting reverted in the previous patch
depended on a core change that was too pervasive to keep.

Bug: T189819
Bug: T190374
Change-Id: I16cb983266885055f187d1c7069fc519f2ee0576
Depends-On: I12cb7470aeb7852ddea319c7e499ca3a7b45c84c
2018-03-26 15:37:20 -07:00
Max Semenik 6229cadd2e Revert my fix for summary pings in reverts
To redo more properly.

This reverts commit 74eacad8d6.

Bug: T190374
Change-Id: If178ed1a497df5276894f86d7a3312811651ce6b
2018-03-26 15:37:10 -07:00
Translation updater bot 2c40a11a15 Localisation updates from https://translatewiki.net.
Change-Id: I05f2c38d07bfb160caafcfd1931529879b3f4511
2018-03-26 22:19:04 +02:00
Volker E cc3df57d71 NotificationsOptionWidget: Fix icon alignment
Change-Id: Ieb5c9a8e378608e096e921fdb6795949a119c8a8
2018-03-26 02:15:36 -07:00
Volker E 716598242c build: Make SVGO indent with tabs
Change-Id: If069b1f9b877861a21ba8aebdf7d6fc7ef6d8f49
2018-03-26 00:49:43 -07:00