Commit graph

25 commits

Author SHA1 Message Date
Kunal Mehta 4d8b977ff9 Get rid of disabled 'echo-notify-show-link' preference
This preference has been disabled since bug 47562, and doesn't make
sense to keep around given that the flyout is the main interaction most
users have with Echo.

Change-Id: I7e8ddf96dbde9a95ac01a0cc83bad396151d01bd
2015-07-07 17:10:49 -07:00
Kunal Mehta 23f877fe76 Remove unused 'echo-error-preference' and 'echo-error-token' messages
They stopped being used in 08fc83b6de.

Change-Id: I439d15e6c894b7358ee8add0d9c882eb791909c4
2015-06-24 09:41:20 -07:00
Matthias Mullie da07893647 Display red badge based on time of notifications vs last time panel was opened
I tried to stick as close to the existing code as possible.

Special:Notifications is slightly different from the overlay,
however. I made it add .mw-echo-unread class for consistency,
but that JS doesn't record seen time (it only loads older
entries), not does the CSS fadeout apply there (it marks
everything as read as soon as it's displayed, so different
behavior from overlay)

PS: I'm not sure about browser compat for the fadeout. But
even if some obscure browsers don't support this, meh. It's
not an "important" feature that can't be missed.

Bug: T94634
Change-Id: Ibb201823fb52ef8a3d5eaa39b0b724ede8d271d1
2015-05-01 11:39:45 -07:00
Translation updater bot a83449d9cd Localisation updates from https://translatewiki.net.
Change-Id: Iace22c16736d5d07031b1e4baec8de39412c46e7
2015-03-23 21:50:39 +01:00
Translation updater bot 943ad13048 Localisation updates from https://translatewiki.net.
Change-Id: I8d188118bd667c5617038b89b6ba3895c8f194a1
2015-03-14 21:32:55 +01:00
Matthias Mullie f048d248bd Clarify alert/messages meaning
Bug: T72255
Change-Id: I2dde0c2e2c7bbd89f11112ceb738b19a49fda21b
2014-12-16 14:27:10 +01:00
Translation updater bot 495bb34be0 Localisation updates from https://translatewiki.net.
Change-Id: I98c874bb95c903fda8eedd1be6c4b7df3371f034
2014-11-25 21:48:38 +01:00
Translation updater bot 32ff462db3 Localisation updates from https://translatewiki.net.
Change-Id: Ica057e02ddcc46c5ed58a0545929dbab5046a15b
2014-11-06 21:49:38 +01:00
Brad Jorsch 09c881e1a0 Add i18n for API module help
MediaWiki core change I04b1a384 added support for i18n of API module
help. This takes advantage of that while still maintaining backwards
compatibility with earlier versions of MediaWiki.

Once support for MediaWiki before 1.25 is dropped, the methods marked
deprecated in this patch may be removed.

Change-Id: I67395aff48185f3e09da31b51a08aa2541fe6a17
2014-10-29 16:37:38 -04:00
Translation updater bot c7b9326633 Localisation updates from https://translatewiki.net.
Change-Id: Iea5a32c6739cff8bae15e99f155ec113872d893e
2014-10-22 22:02:23 +02:00
Translation updater bot 2909923b7e Localisation updates from https://translatewiki.net.
Change-Id: I669e3049416317430a4047dc2f834cccf7b38b01
2014-09-11 23:56:18 +02:00
bsitu 75d5c9b9a3 Remove (X) next to Alerts/Messages if there is one section
Change-Id: Ibf66328e31bfefb3d588196c3f4babfa65bb52f3
Eg: Alerts(X) becomes Alerts
2014-09-09 11:12:38 -07:00
Translation updater bot b89163bbfd Localisation updates from https://translatewiki.net.
Change-Id: I681e050ecb04cc85dae46b0715edf096e9a72615
2014-09-07 21:59:02 +02:00
Translation updater bot 15d75c4cdb Localisation updates from https://translatewiki.net.
Change-Id: Ie90d4c91f61c667d76bf992d5f09aa4aee792a30
2014-08-23 21:53:16 +02:00
Translation updater bot 1242f6ec12 Localisation updates from https://translatewiki.net.
Change-Id: I81dfe6ab41bf2291cd2ec89a43babda8e980e5d2
2014-08-18 22:38:11 +02:00
Translation updater bot f392895fdb Localisation updates from https://translatewiki.net.
Change-Id: I6c9076dd44487056f41cc4a63f8a011f9aad091d
2014-08-17 23:03:17 +02:00
jdlrobson 7870b6cac2 E2b: Reflect the count in alerts and messages tabs
Add test coverage.

Change-Id: Ia5658d2b0c230915cda9309a590b416b0aa73bfe
2014-08-12 14:00:41 -07:00
jdlrobson 9882898f92 Notification overlay Messages and Alerts sections
Shift to new API to support 2 tab view
When a new has no messages they will see the old style overlay with
Notifications heading. I have added tests to assure this is the case!

Later patches will:
1) Add the mark as read button only in message view
2) Note currently the tabs do not refresh when notifications is clear.
We need some kind of EventEmitter to make this sort of thing easier.

Change-Id: I62b590e81cd3fe867c4c13959cb43466aacfe2d5
2014-08-12 12:33:06 -07:00
Translation updater bot 70dbf1eb58 Localisation updates from https://translatewiki.net.
Change-Id: Icde3af8fad1f65bae25de918012a129a9bfd0c38
2014-06-16 19:49:36 +00:00
Kunal Mehta e4f97802db Split user rights changes into their own category
This will allow users to disable them if they wish to.
By default, both web and email are enabled for all users, which
is the current default.

This also fixes a bug in the EventLogging portion where user rights
changes would be logged with a user id of -1, instead of the
actual user.

Bug: 55337
Change-Id: I026b9392b085e295fbcd375095c9aed682fc29a2
2014-06-15 18:39:23 -07:00
Translation updater bot def7b9726d Localisation updates from https://translatewiki.net.
Change-Id: Id132300e082ca9fbccc4d6132bf51d3ec628e4d3
2014-05-08 20:47:22 +00:00
Translation updater bot 5293f6aee0 Localisation updates from https://translatewiki.net.
Change-Id: I518622f669a626fb13cca1afb4f57978391d009d
2014-05-04 20:07:02 +00:00
Translation updater bot 0839b31287 Localisation updates from https://translatewiki.net.
Change-Id: I6a0d966b1d78b72418fbfde4aa5de08062378377
2014-04-16 15:34:15 +00:00
Translation updater bot 81267391f4 Localisation updates from https://translatewiki.net.
Change-Id: Ieaa320cf35ea18b7471a23feaedb94cc655101fa
2014-03-28 19:26:43 +00:00
Siebrand Mazeland 0730ff8d67 Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I45c23439d25b081d932ff4354fd3308122e5b186
2014-03-26 15:22:57 +01:00