Commit graph

639 commits

Author SHA1 Message Date
kaldari 509f7bccc3 Merge "Make sure footer links don't break in Chrome when zooming" 2013-04-30 22:30:39 +00:00
kaldari 4d03af1d9a Merge "Making sure Echo flyout appears above CentralNotice content" 2013-04-30 22:29:22 +00:00
Jorm 83fccf44bc Merge "Making sure moreinfo id is unique on archive page" 2013-04-30 22:12:11 +00:00
Translation updater bot 0d0008eb54 Merge "Localisation updates from http://translatewiki.net." 2013-04-30 21:25:22 +00:00
kaldari a61592465e Make sure footer links don't break in Chrome when zooming
Bug: 47897
Change-Id: I05041231b69035c12b0898176eb37d311186043d
2013-04-30 14:21:18 -07:00
Translation updater bot 1d0e0ffeb1 Localisation updates from http://translatewiki.net.
Change-Id: I6227645abe64947f1ab507c93d79b2dfd3de1bda
2013-04-30 21:14:43 +00:00
jenkins-bot 699216c678 Merge "Email notif should check user group eligiblity like web notif does" 2013-04-30 21:14:17 +00:00
kaldari 888d2c1239 Making sure Echo flyout appears above CentralNotice content
Bug: 47896
Change-Id: Ife534c013fc2a643043fb495cdaafd57fee7b7de
2013-04-30 13:51:16 -07:00
jenkins-bot 456a5e8774 Merge "Remove unused W icon, now configured outside extension." 2013-04-30 20:29:49 +00:00
bsitu 68133b6fbb Email notif should check user group eligiblity like web notif does
Email notification only checks user options and doesn't check user group eligibility

Change-Id: I3ad60b83a934b64a9704264a5f072946fdf949f7
2013-04-30 20:25:04 +00:00
kaldari cd7ef2a52d Making sure moreinfo id is unique on archive page
Also adjusting position by 1 pixel!

Bug: 47889
Change-Id: I6e3dee7b5ce16c5de8ee564383d353a032623d25
2013-04-30 12:33:59 -07:00
jenkins-bot 8250b8ef61 Merge "Making sure that email notification settings stay in sync." 2013-04-30 17:33:51 +00:00
kaldari 62155661de Making sure that email notification settings stay in sync.
Also registering UserLoadOptions hook (oops!)

Finally, getting rid of old override system that is now obsolete.

Change-Id: Ie264981eb20f1e3d3c83721bc376d79e2f5a1430
2013-04-29 21:51:42 -07:00
kaldari 95c9825b83 Adding maintenance file for updating user caches after CopyExistingEmailPreference
Change-Id: If938e352e4aaa44d1e9e0718cc1bece26c7a7f74
2013-04-29 18:40:12 -07:00
jenkins-bot 3149e30a33 Merge "Add a hook to smoothly deal with old user preferences during migration" 2013-04-30 00:02:09 +00:00
lwelling 069249cd62 Add a hook to smoothly deal with old user preferences during migration
Catches people who have opted out of old style talk page notifications and opts them out
of equivalent new ones.
Needs $wgRecentEchoInstall = true in LocalSettings.php so it can be turned off when no
longer needed.

The migration has 1 million rows to write on enwiki so will take some time

Change-Id: Ie6201df378bf8df813b3d461ea9a8521d99b1bb9
2013-04-29 16:31:09 -04:00
lwelling 7c3bd0f3a0 Maintenance script to copy the preference of existing users who have opted out
of talk page email notifications to the analogous setting in the Echo version of
talk notifications

Change-Id: I5cdaf261d042f3586d2d02fed672ee35df5a9b90
2013-04-29 16:16:19 -04:00
Translation updater bot 76abac53c5 Localisation updates from http://translatewiki.net.
Change-Id: If133868aadfcf4dcfb23d606881698d4e1a1b6e9
2013-04-29 20:01:19 +00:00
jenkins-bot 50bf49dbff Merge "A maintenance script for pre-emptively updating email notice option" 2013-04-29 19:01:16 +00:00
kaldari 1d52f9c835 A maintenance script for pre-emptively updating email notice option
This script is designed to be run prior to the Echo deployment.

Change-Id: I66f532f21183109c6c3c997fa0e666cb19bfc832
2013-04-29 11:44:44 -07:00
jenkins-bot 0e671b1c7e Merge "Removing options that belong in other extensions" 2013-04-29 17:14:25 +00:00
jenkins-bot e74719e625 Merge "email digest notificaiton should be logged as well for metrics" 2013-04-29 17:08:11 +00:00
jenkins-bot 87c07e9141 Merge "Only create notifications that are wanted by the recipients" 2013-04-29 10:25:34 +00:00
jenkins-bot bd590aaab6 Merge "Changing how the enotifusertalkpages user option is handled by Echo" 2013-04-29 10:00:11 +00:00
Matthew Flaschen 0eff0b6fdb Remove unused W icon, now configured outside extension.
Bug: 46585
Change-Id: Ic0e29cf8284efc87e2ce67434a5d7984ee760659
2013-04-29 02:41:53 -04:00
Matthew Flaschen d3b67e2122 Change icons to use img tags, allowing easier customization:
* Icon can be defined using a path or a URL
* Extensions don't need custom CSS, but add icon through BeforeCreateEchoEvent
* Sites set their notification icon in LocalSettings.php or equivalent

Bug: 46585
Change-Id: Ifc02b653d07de19229dfb2604305e32f3bd595fe
2013-04-29 06:05:40 +00:00
Translation updater bot a5a97ea8e6 Localisation updates from http://translatewiki.net.
Change-Id: Icd1d1a2498bd165971ae3f48706fbc8863483f30
2013-04-28 23:53:25 +00:00
kaldari 5b40cfbc58 Changing how the enotifusertalkpages user option is handled by Echo
If we're using Echo to handle user talk page post notifications,
hide the old (non-Echo) preference for this. If Echo is moved to core
we'll want to remove this old user option entirely. For now, though,
we need to keep it defined in case Echo is ever uninstalled.
Otherwise, that preference could be lost entirely. This hiding logic
is not abstracted since there is only a single preference in core
that is potentially made obsolete by Echo.

Change-Id: I6c8b2143a5fd719486f7e6cbaa3d7635f507ffca
2013-04-28 15:21:05 -07:00
kaldari 5a4704e357 Only create notifications that are wanted by the recipients
Also moving getUserEnabledEvents from EchoBackend to
NotificationController since it has nothing to do with the backend.

Bug: 47664
Change-Id: I4f9682b861d9f035ae45f206c37ec0ae1c09ab64
2013-04-28 11:09:15 -07:00
Translation updater bot ccb93c653b Localisation updates from http://translatewiki.net.
Change-Id: I1df53916563aab0ee36172a5a851739b155ea5aa
2013-04-27 20:18:24 +00:00
jenkins-bot 18b3b3a71a Merge "Making system messages email to users by default per specs" 2013-04-27 02:18:58 +00:00
kaldari 2c4b1e2c2e Making system messages email to users by default per specs
Change-Id: I9ba67d06adaee68fc801f92eec6dd9429bfee950
2013-04-26 18:39:11 -07:00
jenkins-bot 4f4289b55f Merge "More fixes for Monobook and adding a missing message key" 2013-04-27 00:03:06 +00:00
jenkins-bot c28d5c9f5c Merge "Hedging my bets" 2013-04-27 00:01:29 +00:00
kaldari 5ad9f2a96e More fixes for Monobook and adding a missing message key
Bug: 47652
Change-Id: I3199af6aef0ceab2380fb1de7b74cc21541e2886
2013-04-26 16:58:03 -07:00
kaldari 00a4bc69f4 Removing options that belong in other extensions
Bug: 47757
Change-Id: Ia8be4967d962176f1e58ee6488f4cc9bfe75b655
2013-04-26 16:28:29 -07:00
Translation updater bot 474124a6ca Localisation updates from http://translatewiki.net.
Change-Id: I2c7bf57334dcd9747db1b625de10e02871bf9c7d
2013-04-26 22:12:00 +00:00
kaldari 35797064c4 Hedging my bets
Making monobook's text-transform not apply to notification flyout.
Unfortunately, 2 overrides are needed since the monobook selector
is applied weakly to the overlay in general (as an inherited style)
and strongly to the notifications themselves (since they're in a ul)

Bug: 47652
Change-Id: I2600b5836ea7bca59d9089d8bb7e69a6aaeca6a4
2013-04-26 14:52:44 -07:00
jenkins-bot 9a6a74208c Merge "Override text color for monobook skin." 2013-04-26 21:19:38 +00:00
kaldari c52cc48aed Override text color for monobook skin.
Bug: 47652
Change-Id: I29562fa75ec4af1128f69865d0500fc13a92eec8
2013-04-26 14:00:59 -07:00
bsitu e6403c4647 email digest notificaiton should be logged as well for metrics
Change-Id: I3ba12431588013454c191f5561d127168ffac599
2013-04-26 13:13:06 -07:00
jenkins-bot f89a7b2c88 Merge "Only the 'Notifications' part of the header should be bold" 2013-04-26 00:43:11 +00:00
kaldari f9a40d47f2 Making page title bold in flyout version of revert notification
Change-Id: I98ac6a267f230bbca05608130d22f2512542ccaf
2013-04-25 16:27:38 -07:00
lwelling 8f3e83d183 Fix enabled/disabled logic for event logging in echo
Change-Id: I5dbf939a0651f5c1e97f896d5325437a5fc32b54
2013-04-25 15:36:55 -04:00
raymond 8599f19a2d Slightly rephrase message and add link
Suggested by Siebrand
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Echo-dismiss-prefs-message/nl

Change-Id: I600c3ab518dda019b3f4210c3836356908d2de91
2013-04-25 20:13:57 +01:00
jenkins-bot 897e450c5b Merge "Adding help button to flyout. Fixing ID name per conventions." 2013-04-25 18:36:34 +00:00
Kaldari d38ad2afdf Merge "Get rid of wikipedia logo" 2013-04-25 18:24:51 +00:00
jenkins-bot 13a680513a Merge "Making agents and pages bold in flyout notifications per specs" 2013-04-25 18:15:33 +00:00
Krenair 49d1eac5a6 Get rid of wikipedia logo
This was being used as the icon for the welcome and user rights notifications,
but is completely inappropriate for any site other than Wikipedia.

WMF will probably want something like this in their config:
if ( $site === 'wikipedia' ) {
	$wgEchoNotifications['welcome']['icon'] = 'w';
	$wgEchoNotifications['user-rights']['icon'] = 'w';
}

Bug: 47650
Change-Id: Idd41567ffcb468dd3d040d2a5a61d1e3f9f7f5fa
2013-04-25 19:11:19 +01:00
jenkins-bot c671d15a01 Merge "Move maintenance scripts to maintenance directory" 2013-04-25 17:48:22 +00:00