Commit graph

4046 commits

Author SHA1 Message Date
cenarium 56abaaf434 Get undone revision id from hook param instead of request
The PageContentSaveComplete hook is now inside a deferred update, so
when using the API, 'wpUndidRevision' is no longer present in the
request. This gets the undone rev id from a new param added to the hook.

Bug: T153567
Change-Id: Id539a7db8d8f5e902177845bd212b4d6c2500f89
Depends-On: I50dcb841cd0616acc2d69c3a685ba3cb339986c3
2016-12-18 15:46:17 +01:00
Translation updater bot 9934e30745 Localisation updates from https://translatewiki.net.
Change-Id: I0dd47de0feef5704f3cec7602fe9f0639f9935d8
2016-12-17 22:20:52 +01:00
Amir Sarabadani 7ac77d8538 Make mw.echo.alert text darker to pass WCAG test
Going from #54595d to #222 (both from the color palette)

Bug: T153506
Change-Id: I7e844f63a743ff8791ab76149147e9e9c71df7d2
2016-12-17 02:42:51 +03:30
Translation updater bot a818d54296 Localisation updates from https://translatewiki.net.
Change-Id: I8249afde99f07f8bf344da620833dbf9a8e9b213
2016-12-16 22:13:45 +01:00
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