Commit graph

4242 commits

Author SHA1 Message Date
Amire80 abc76c9e08 Split API messages to a separate file
There are many API messages in Echo, so to make it easier
for translators, they are now in a separate group.
This is similar in Flow.

Must be merged along with the translatewiki change at
Iecedfe4cb9dc8e62a446a3e1c415a79e116ca27e

Change-Id: I1d3baea708107a7f15bf19671f7386eaf7e33a1b
2016-12-16 15:27:03 +00:00
Roan Kattouw b758cc5d5a Follow-up d66771523c: unbreak ext.echo.emailicons module
When generating extension.json, I missed the fact that
this module has a dynamic localBasePath (set to $wgExtensionDirectory),
and this turned into "localBasePath": null.

Instead, register this module dynamically.

Bug: T153261
Change-Id: I61709d6ea0948dd983ab41c9457adda434525bb7
2016-12-14 15:09:25 -08:00
Translation updater bot aab34c0f1e Localisation updates from https://translatewiki.net.
Change-Id: I33c021c1fcdbe975bc493e789fc6d9f5a509b168
2016-12-14 22:22:23 +01:00
Translation updater bot 123e42a62e Localisation updates from https://translatewiki.net.
Change-Id: I6afdc7126146489839ceec807f38e7dae774f07a
2016-12-13 22:42:16 +01:00
Translation updater bot 0830602afd Localisation updates from https://translatewiki.net.
Change-Id: Ibd12b4a869e60bd6cda1a4f5a989af27da46b53c
2016-12-12 22:25:09 +01:00
Roan Kattouw 22caa786c1 Follow-up eed48aa7: remove unnecessary z-index
This z-index rule isn't needed for the floating toolbar, and it
causes the notificationInboxWidget to be on top of MobileFrontend's
semi-transparent cloaking overlay, which makes it look weird.

Change-Id: Ie9d10e4193d15b72ce0199ff9b4e45742afec132
2016-12-09 15:28:14 -08:00
Stephane Bisson 61b602e961 Fix unread notification count caching
Purge all cache when unread count changes and
repopulate on read.

Also fix client-side estimation when
marking a foreign notification as read.

Bug: T151389
Change-Id: I62def3d40a5640e26c234bb0335bc506dbf864a0
2016-12-09 09:23:59 -05:00
Translation updater bot 2cdd9280be Localisation updates from https://translatewiki.net.
Change-Id: I1eb0bffb9001af4232e2b5c05271d5f2e990ae1f
2016-12-06 22:42:58 +01:00
jenkins-bot 312bec325c Merge "Update for API error i18n" 2016-12-06 20:03:32 +00:00
jenkins-bot c7bd07fc0c Merge "build: Update mediawiki/mediawiki-codesniffer to 0.7.1" 2016-12-06 19:34:35 +00:00
jenkins-bot 1bf2f027cd Merge "Update Maintenance scripts to use $this->requireExtension()" 2016-12-06 19:28:16 +00:00
jenkins-bot 130f0512f8 Merge "Add extension.json, empty PHP entry point" 2016-12-06 19:21:31 +00:00
jenkins-bot c177fd5ec9 Merge "Split up $wgEchoConfig" 2016-12-06 19:21:29 +00:00
James D. Forrester 8c810dff48 build: Update mediawiki/mediawiki-codesniffer to 0.7.1
Also added "composer fix" command.

Change-Id: I25cb61b3b92798f1259d1575a336e2b056d5764f
2016-12-05 15:54:30 -08:00
Justin Du a0fe35a95d Update Maintenance scripts to use $this->requireExtension()
* Also added $this->mDescription to removeInvalidNotification

Bug: T152139
Change-Id: I146405a3b6e81680b0ee1fb081486170d914a2b1
2016-12-05 15:54:30 -08:00
paladox d66771523c Add extension.json, empty PHP entry point
Bug: T87910
Change-Id: I945e0b60ff4de88a9ac2144a0af54bd22d291cc6
2016-12-05 15:54:26 -08:00
Roan Kattouw 49974544ba Split up $wgEchoConfig
$wgEchoConfig is a deeply nested structure that ExtensionRegistry can't handle well.
It also combined different things, and the version number was used for two
separate purposes.

Split this out into $wgEchoCacheVersion, $wgEchoEventLoggingVersion
and $wgEchoEventLoggingSchemas.

Change-Id: I2f9d5d111f7925fb057d423a3e7064bff5040205
2016-12-05 15:44:12 -08:00
Translation updater bot a6ba902240 Localisation updates from https://translatewiki.net.
Change-Id: I0b9ef84fb81a94492d20069c22a2c4be98a68035
2016-12-05 22:47:41 +01:00
jenkins-bot 53d3e99744 Merge "Add help icon" 2016-12-04 04:23:58 +00:00
cenarium c753cc04ee Add help icon
This adds an help icon that extensions can use for help pages. This is
the same icon as the one used in core mediawiki, located at
resources/src/mediawiki/images/help.svg.

Change-Id: I31665932b69c52e2a3eb2f0e1d9b5d88c562bca2
2016-12-03 20:10:21 -08:00
Translation updater bot 2168553ab9 Localisation updates from https://translatewiki.net.
Change-Id: Idf47b4f135b31c3297bb21fb8e4634ae1fc9ea08
2016-12-02 22:16:19 +01:00
jenkins-bot 506c29e9a0 Merge "Align echo alert colors to WikimediaUI color palette" 2016-12-01 07:39:12 +00:00
Amir Sarabadani 550dc4ee88 Align echo alert colors to WikimediaUI color palette
Change-Id: I4a6d53f7a5407838ce43f12b3a8ec6dde365ce4c
2016-12-01 07:30:01 +00:00
Aftab 635d2bf6be Echo.alias for Bengali (bn)
Bug: T151927
Change-Id: I2593947eb91f74977d93ba7a162be1630682bd26
2016-11-30 16:52:36 +00:00
Translation updater bot adb62e1a65 Localisation updates from https://translatewiki.net.
Change-Id: I19cd2d76cfc3f3cb3b365942c0527b0167bba5d0
2016-11-29 22:20:42 +01:00
Translation updater bot b74d72969b Localisation updates from https://translatewiki.net.
Change-Id: If089820cca9f4134e270b536f478b19dd4e19175
2016-11-28 22:27:33 +01:00
jenkins-bot 9733505d1c Merge "Align Email format with Wikimedia color palette" 2016-11-28 16:11:21 +00:00
jenkins-bot c882869dac Merge "Fix missing doublecheck icon on Special:Notifications on mobile" 2016-11-28 14:19:17 +00:00
Translation updater bot 89b6377ad1 Localisation updates from https://translatewiki.net.
Change-Id: I4c130e0e61d064d0147c445af847850c1a0e3ab4
2016-11-27 22:28:05 +01:00
Amir Sarabadani 047b92e4c6 Align Email format with Wikimedia color palette
For Wikimedia color palette see: https://phabricator.wikimedia.org/M82

Change-Id: I6782148e94f4896397f93295ab44760c02556e25
2016-11-28 00:50:46 +03:30
Translation updater bot c7f22bc549 Localisation updates from https://translatewiki.net.
Change-Id: I926cf23eafde46f18cb2c3342f873eb5ede2780c
2016-11-25 22:49:55 +01:00
jenkins-bot 7f0f4a3cfa Merge "Add Russian special page aliases for Ukrainian for backwards compatibility" 2016-11-25 08:14:50 +00:00
Translation updater bot 3802ad785f Localisation updates from https://translatewiki.net.
Change-Id: I2afbef47e6634839f945d93ba767a960bd54dedc
2016-11-24 22:19:22 +01:00
Amire80 66a52d88de Add Russian special page aliases for Ukrainian for backwards compatibility
Bug: T39314
Change-Id: I5327ebb524ee9c2853f4b130fcf76bfe46f2b250
2016-11-24 19:31:26 +02:00
jenkins-bot 9da2db4999 Merge "build: Replace jscs/jshint with eslint" 2016-11-24 00:41:22 +00:00
Roan Kattouw ed613f2e26 Fix missing doublecheck icon on Special:Notifications on mobile
Bug: T146706
Change-Id: I918beabb1bcbe4a66c4252a795d379e2ff6591a9
2016-11-23 16:31:23 -08:00
Ed Sanders c8d24ebd17 build: Replace jscs/jshint with eslint
Change-Id: Iee1d1b20ed31e636bfb8fc8cf9b18ff328bf608c
2016-11-23 15:25:59 -08:00
Translation updater bot aa700a75e5 Localisation updates from https://translatewiki.net.
Change-Id: I0d5f5eeb2b8fa798de5f447f1626bc9a164170c2
2016-11-23 22:36:04 +01:00
jenkins-bot 7fa34bcfba Merge "Add a primary key to the echo_notification table" 2016-11-23 18:35:53 +00:00
jenkins-bot 341bcd3365 Merge "Remove mention of EchoBasicFormatter" 2016-11-23 17:41:21 +00:00
Stephane Bisson 3c2a17fa01 Remove mention of EchoBasicFormatter
Echo formatting system was rewritten to use
presentation model instead of formatters.
See EchoEventPresentationModel

Bug: T151413
Change-Id: I0d7545b1ab478f3049327aa8b31bc61b1fb3f7ea
2016-11-23 08:39:10 -05:00
Translation updater bot 4778a9f591 Localisation updates from https://translatewiki.net.
Change-Id: I27a604e8a5e28651960be9c769350615992ae78f
2016-11-22 23:23:31 +01:00
Translation updater bot b61eb346de Localisation updates from https://translatewiki.net.
Change-Id: I953afd9316ecaa914d478658e056eacbee9db631
2016-11-21 22:40:06 +01:00
Translation updater bot 34d074033e Localisation updates from https://translatewiki.net.
Change-Id: I7253ecb536005481679ab9f49e87e0a3630828c8
2016-11-20 22:16:51 +01:00
Translation updater bot 018e659c71 Localisation updates from https://translatewiki.net.
Change-Id: Ia5c260146dd361c3163ff6f4cf580178060726b5
2016-11-19 22:05:49 +01:00
Translation updater bot 1498f25484 Localisation updates from https://translatewiki.net.
Change-Id: If841ccc1eaa16e16991091ede2028892f076c5c3
2016-11-17 22:52:29 +01:00
Translation updater bot 8ee44a924a Localisation updates from https://translatewiki.net.
Change-Id: I48836a474f3696358a076b25844879d0f339f801
2016-11-16 22:45:10 +01:00
Translation updater bot 11dfdb54ca Localisation updates from https://translatewiki.net.
Change-Id: If452e59bfa4df96a7de779dd53e82eb4e7ef3548
2016-11-15 22:53:10 +01:00
Translation updater bot f4e06a4c6b Localisation updates from https://translatewiki.net.
Change-Id: Idfcdc70f54fff1b1a441e93c52e5f57011e2e1b4
2016-11-14 22:51:10 +01:00
Brad Jorsch f608d73287 Update for API error i18n
See Iae0e2ce3. Since Echo master requires core master, this just depends
on the master patch instead of trying to maintain BC.

Depends-On: Iae0e2ce3bd42dd4776a9779664086119ac188412
Change-Id: Icc088b31bc99e03ac88dfb44329df55318bf99b5
2016-11-14 12:48:24 -05:00