Commit graph

3913 commits

Author SHA1 Message Date
Translation updater bot 5291e5848b Localisation updates from https://translatewiki.net.
Change-Id: I8c9cd0cbcb08736f9eaa1982af311d87c0d615bd
2017-01-01 09:55:47 +01:00
Translation updater bot 869fc18c8a Localisation updates from https://translatewiki.net.
Change-Id: I517fc453fed67e81a4057af9e24ce1e555499442
2016-12-29 10:21:26 +01:00
Justin Du 67f926707e Add GENDER support to a few Echo messages
* echo-email-plain-footer
* echo-email-html-footer-preference-link-text
* echo-email-html-footer-with-link

Bug: T145439
Change-Id: I2d55a617910efa11effef1a469e6d845eebc5591
2016-12-28 10:43:40 -06:00
Thiemo Mättig a37742b422 Fix typos and incomplete PHPDoc tags
Change-Id: I29382492a7afd14440019c0c478f5a81c2254f59
2016-12-28 12:57:26 +01:00
Translation updater bot 5e5bd23f13 Localisation updates from https://translatewiki.net.
Change-Id: I54732a9268e3990b176544e55cb93bc0c093a145
2016-12-26 22:37:17 +01:00
Translation updater bot 07011dbb95 Localisation updates from https://translatewiki.net.
Change-Id: I3a9a9482ebaf2d03a9272e0ba02f64612a336fad
2016-12-25 22:17:12 +01:00
Translation updater bot 2de95e12e6 Localisation updates from https://translatewiki.net.
Change-Id: Ibf2d1c0e564cd7ca505c45e65aa5125bd841d376
2016-12-24 22:36:38 +01:00
Translation updater bot a67e448358 Localisation updates from https://translatewiki.net.
Change-Id: Ia59692ac8ace73d3493e8c7b6291d02ecd7aefb8
2016-12-23 22:30:38 +01:00
Translation updater bot 2647220318 Localisation updates from https://translatewiki.net.
Change-Id: I28bd50cba82041959ed700225ab49349a8835d3e
2016-12-23 14:07:17 +01:00
Translation updater bot 1cb317892f Localisation updates from https://translatewiki.net.
Change-Id: Ie1f56ef3ec4d385abfc84bf0432f6ffa1a9e3892
2016-12-22 22:51:43 +01:00
Stephane Bisson bff77edc7a Use the right counter for the right badge
Follow-up to Ib8aa673cf9e60ade80490ea0eccb7453d3747cd0

Bug: T142454
Change-Id: I086383a3002d28c2af8f3d8b5189bd7a58b02e98
2016-12-22 16:08:27 -05:00
Stephane Bisson 577d6b39b8 Fix generation of sample 'reverted' notifications
Follow-up to Id539a7db8d8f5e902177845bd212b4d6c2500f89

Pass the revision id instead of populating the request
object.

Change-Id: I4567d8b08999558d86c48aea5912de0e52bcf241
2016-12-21 12:29:04 -05:00
jenkins-bot 06386f0949 Merge "Split API messages to a separate file" 2016-12-21 13:21:14 +00:00
jenkins-bot f8fc22bada Merge "Adjust unread counter position based on length" 2016-12-21 10:29:00 +00:00
jenkins-bot 146ec9e5ec Merge "Get undone revision id from hook param instead of request" 2016-12-20 19:03:22 +00:00
Stephane Bisson 01a1924187 Adjust unread counter position based on length
Move unread counter to the left (or right, in RTL)
when it's longuer than 2 characters so as to
have harmonious spacing between the counters and
the next link on the toolbar.

Bug: T142454
Change-Id: Ib8aa673cf9e60ade80490ea0eccb7453d3747cd0
2016-12-20 13:40:54 -05:00
Translation updater bot c82b58aff1 Localisation updates from https://translatewiki.net.
Change-Id: I99fdad08c6e8b7bc173e26022b6cb0dfa93667af
2016-12-19 22:43:37 +01:00
Translation updater bot fa266247e4 Localisation updates from https://translatewiki.net.
Change-Id: I6bff8f45e39793e00ce673c0cee2c597f8405ad2
2016-12-18 22:13:37 +01:00
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