Commit graph

149 commits

Author SHA1 Message Date
bsitu 26110aa080 Improve Echo Hooks
BeforeFormatEchoNotification and BeforeCreateEchoEvent Hooks would be executed multiple times because

	* An action may fire multiple notification events
	* The notification flyout and page have multiple notifications

we only want these hooks to run once to gather valid formatter and event

Change-Id: Ifff0ad34f3c44c31d88f982fd110ad3399ff5bd0
2012-11-01 15:59:47 -07:00
Kaldari 1b3107cb87 Adding more notification icons
Change-Id: Ic6bb6b4fbdf736fb96a3457d95e74d51e5a50f1e
2012-10-31 17:25:44 -07:00
Andrew Garrett 466c87d999 Echo: Add "reverted" notification for when a user's edit is reverted.
* Supports 'undo' and 'rollback' currently
* Also includes adding the edit summary used to all edit notifications.
* Also fixes a minor bug that made it seem like all EchoNotificationJobs were failing.
* Added revert icon to CSS

Change-Id: Id22470107b071cdbce33da7cf3dfd09d22947644
2012-10-31 17:01:20 -07:00
Translation updater bot 16a4b7053f Localisation updates from http://translatewiki.net.
Change-Id: I77d0443851c1c5bf829eaadd0711d314ba586243
2012-10-31 20:39:05 +00:00
Translation updater bot 0ebe6426e2 Localisation updates from http://translatewiki.net.
Change-Id: I714a47d29f8f60498eb8442019db6c0d437c6534
2012-10-29 21:47:33 +00:00
Translation updater bot cc7a26a880 Localisation updates from http://translatewiki.net.
Change-Id: I94f68d24eec75ce4c5a5f8de0ca80d5a9e984c2d
2012-10-28 21:09:00 +00:00
Alex Monk b03846e86f Merge "$language->prettyTimestamp is expecting 3 arguments" 2012-10-26 22:29:30 +00:00
Translation updater bot 690b6a4157 Localisation updates from http://translatewiki.net.
Change-Id: Id689728ef0e86e4ac64f68da37c28a055e39364a
2012-10-26 19:39:48 +00:00
bsitu 86c3b094d8 $language->prettyTimestamp is expecting 3 arguments
Change-Id: I58daf0fd93891bf3d6c7a76d56ffce2c4af5f3b3
2012-10-25 22:47:45 +01:00
Krenair 8ee1f9f145 Fix a couple of email parameter issues.
When trying to deal with bug 38940 I found that no parameters in
emails were getting substituted. I also found that I9051e4bf
caused email bodies to get the parameters of subjects. This
commit fixes the issues.

Change-Id: I976a9315416c4a8d02fa86d12643debf5e1fa1ac
2012-10-24 20:24:53 +01:00
bsitu b47980ca7a Fix a typo in array key
email-subject-params should be email-body-params

Change-Id: Ifdd2551a153756f5146cab074903c5822a89661d
2012-10-24 11:12:06 -07:00
Bsitu dfd0c70e39 Merge "(bug 41332) syncing params between child and parent methods" 2012-10-24 00:16:39 +00:00
Krenair 883a0e5cee Create special page aliases file
I was getting notices like this when browsing to Special:Notifications:
"Did not find alias for special page 'Notifications'. Perhaps no aliases are defined for it?"

This changeset should fix it. (Thanks Reedy)

Change-Id: I4ec41a4c37ef13bc332ed6ee2848fa72641c1892
2012-10-23 23:39:02 +01:00
Kaldari a202fd8a12 (bug 41332) syncing params between child and parent methods
Change-Id: Icaec6ad0b332a2bd2b40d849e2d377d24dab6872
2012-10-23 15:03:06 -07:00
bsitu 5bf61444bc Add some useful hooks to Echo extension
patch set 2: update hook name from BeforeformatEchoNotification to BeforeFormatEchoNotification

Change-Id: I2286b72b0d5c8a562c47a0bad6ceeee429a9447b
2012-10-22 16:45:11 -07:00
Translation updater bot ccd3ac02e4 Localisation updates from http://translatewiki.net.
Change-Id: I253819d6ddab92ff081bb816a5bbfdf1847b9d24
2012-10-22 18:33:15 +00:00
Translation updater bot 2a81eade0a Localisation updates from http://translatewiki.net.
Change-Id: I159add18ac8f775d0314734dc9dfea7336ca7f0f
2012-10-22 01:14:40 +00:00
Translation updater bot 6504892d31 Localisation updates from http://translatewiki.net.
Change-Id: I6123beb4bd2b0556d0dfa840376b16c1af9a2647
2012-10-20 20:17:56 +00:00
Translation updater bot 9ad2d58f93 Localisation updates from http://translatewiki.net.
Change-Id: I6b724d63f27952820423f497479fb82cb94eb9f0
2012-10-18 19:21:27 +00:00
Translation updater bot 4925b324d4 Localisation updates from http://translatewiki.net.
Change-Id: Iaa1bbfa3d5d2aea46f64acfb11eb3f021bcdf8cf
2012-10-17 19:32:14 +00:00
Translation updater bot 20b2eec514 Localisation updates from http://translatewiki.net.
Change-Id: Ic1dda6565375db48eadb6650730f1b358970cfd3
2012-10-16 19:18:08 +00:00
Translation updater bot 97cdb6d664 Localisation updates from http://translatewiki.net.
Change-Id: I06361a94ed63690ea483879a673d02fc350ed89f
2012-10-15 20:06:24 +00:00
Siebrand Mazeland 653d2cbd9e Tweak description message.
Change-Id: I4a54800c9c22c30592a7bd0116cf4bd72702f449
2012-10-15 14:26:38 +02:00
Siebrand Mazeland 6bb3226f63 Tweak 'echo-no-title'
Change-Id: I44c52f3ee06e3a94cbe9c1d1663d66fbedf919ff
2012-10-15 14:23:22 +02:00
Siebrand 8774a16ec3 Merge "(bug 40292) Don't use hardcoded brackets" 2012-10-06 20:24:02 +00:00
Krenair 9cb8ef3d40 (bug 40292) Don't use hardcoded brackets
Change-Id: I2a2de9c59d5d1f7306b9c6b92ba99d74b53d0192
2012-10-06 20:37:55 +01:00
Siebrand Mazeland 3a43ea2e05 Maintenance for Echo extension.
* Update docs.
* Remove unused local variables.
* JSLint/JSHint suggested updates.
* Merge CSS lines.

Change-Id: Ib2a2e8129d5ff8aca6c612a39d22698f078df9d5
2012-10-06 19:31:31 +00:00
Translation updater bot d665ab918c Localisation updates from http://translatewiki.net.
Change-Id: Idbae3aeda24d47ebbe85c6927ae7e36947b42f4c
2012-10-04 20:14:28 +00:00
Translation updater bot 5eeb044b0b Localisation updates from http://translatewiki.net.
Change-Id: Id428aff832cbf01d006c54765f8264f7f704e6ae
2012-10-02 13:41:36 +00:00
Translation updater bot 5c7b766383 Localisation updates from http://translatewiki.net.
Change-Id: Id29fabe3021cbc86f855703d62bafd03853af8cd
2012-09-30 19:18:29 +00:00
Translation updater bot b7e95d8ee2 Localisation updates from http://translatewiki.net.
Change-Id: I0b175a23c88847a73a7b9910b13f6f6678986e20
2012-09-26 19:43:27 +00:00
Translation updater bot d5b832a6c1 Localisation updates from http://translatewiki.net.
Change-Id: I0e6b04c4eefb92dc4743c5a5cc9150cfdfdba435
2012-09-24 19:14:09 +00:00
Translation updater bot 5ddbce7f21 Localisation updates from http://translatewiki.net.
Change-Id: Ic21663758c6cfdc5d19e0ce30b8e24e1a57ae48b
2012-09-18 19:13:52 +00:00
Translation updater bot 9ab6f9942a Localisation updates from http://translatewiki.net.
Change-Id: I4283f6028ab8c840a21affd9ca5829807c12cb06
2012-09-17 19:37:57 +00:00
Translation updater bot 5a3a9017e0 Localisation updates from http://translatewiki.net.
Change-Id: I245151d12d913d061a3424fc6642cbc9c7b1eefe
2012-09-15 19:51:34 +00:00
Translation updater bot 58ed9210c4 Localisation updates from http://translatewiki.net.
Change-Id: I62249503ed9bcba3ac2e3e7fad9e07c23437f329
2012-09-12 19:54:07 +00:00
Translation updater bot 717df9f52f Localisation updates from http://translatewiki.net.
Change-Id: I18a2af683c36a28f69edf3e06fd5c6dfb168e73a
2012-09-11 19:33:44 +00:00
Translation updater bot ddafbca98b Localisation updates from http://translatewiki.net.
Change-Id: I2e35fdf7031811bb9425830e1c0b890eacc249ec
2012-09-07 22:24:07 +00:00
Translation updater bot 0b3b21678c Localisation updates from http://translatewiki.net.
Change-Id: I56762a3fec8a7f3ca9a89c187d0ad9793c4d6aa7
2012-09-06 19:42:03 +00:00
Translation updater bot 3bb5cece4a Localisation updates from http://translatewiki.net.
Change-Id: Ic3e1bc89e305b2efa996691d53cd6aca2c0f9bfb
2012-09-05 19:19:12 +00:00
Translation updater bot 000449be5d Localisation updates from http://translatewiki.net.
Change-Id: Ifc7522cd7abdad82e92b9486e03349923a3b0368
2012-09-04 20:20:46 +00:00
Tychay 419f7b1cbb Merge "Add welcome notification for new users." 2012-09-04 19:03:09 +00:00
Siebrand Mazeland 69d91fa1b6 Update documentation and deprecated methods.
Basically having fun with the code analyzer.

Also:
* remove unused local variable assignments
* missing return values
* CSS optimizations.
* Initialize possible unset variables.

Change-Id: I77aa08ecb48eeda08f14dc38d7f35d57ea9fa110
2012-09-02 11:30:38 +02:00
Translation updater bot 87e3ab7349 Localisation updates from http://translatewiki.net.
Change-Id: If6298169e75e81e0011c8ae674fc380d34d5b491
2012-09-01 20:45:19 +00:00
Krenair 5714adf8f4 Add welcome notification for new users.
Change-Id: I14032b71ebe63bb6ef951ba0c14d6acf44e69d6b
2012-09-01 01:31:20 +01:00
Krenair 754f227670 (bug 37669) Clarify some things in message documentation.
Change-Id: I03cf7ed2119828baef21a37603c4878ec6ed60ea
2012-09-01 01:19:43 +01:00
Siebrand Mazeland 950f74eba8 Follow-up I2c10cb69: Auto-formatted using IDE.
Change-Id: Iedeaca3c31195a5cf7df8dd38d6332cfabffcc67
2012-08-31 23:50:46 +02:00
Siebrand 69803e5585 Merge "Use whitespace between function parameters and the brackets." 2012-08-31 21:43:23 +00:00
Siebrand 01c1b52963 Merge "Invalidate user cache when resetting notification count, should resolve caching issues." 2012-08-31 21:42:00 +00:00
Translation updater bot 2be9c9a8da Localisation updates from http://translatewiki.net.
Change-Id: I1b1960e6c3d07ddfe81961c67286a0201441c83c
2012-08-30 19:39:43 +00:00