Commit graph

6540 commits

Author SHA1 Message Date
Translation updater bot d2da9d79c1 Localisation updates from http://translatewiki.net.
Change-Id: I5598c4f3e4137784180a95093e606a4783630639
2013-05-29 08:35:37 +00:00
Erik Bernhardson 9bcb5cc94c Link to any heading not just a main heading
Echo's detection of section links was limited to the main heading that have
==Foo==, with exactly two ==.  This updates the regexp patterns involved to
correctly detect(and hence, link) to sub sections if thats where the edit was
made.

Bug: 48484
Change-Id: Iedbe3404ec265a7f2183629b463a3d672dc9098e
2013-05-28 12:07:17 -07:00
Translation updater bot 5a8eb4f855 Localisation updates from http://translatewiki.net.
Change-Id: Ic1b5de3be7210fa2fdfa12a1f684d59f00ac0998
2013-05-28 06:44:28 +00:00
Translation updater bot 2398851f18 Merge "Localisation updates from http://translatewiki.net." 2013-05-26 08:49:12 +00:00
Translation updater bot 47d057bd2b Localisation updates from http://translatewiki.net.
Change-Id: I4a5c8c0dc34b63f72e7df48192953c8e263c842b
2013-05-26 08:41:00 +00:00
bsitu e50f5a55a6 (bug 48821) Echo badge count always lags by 1
This bug was introduced during fixing the implicit database transaction,
the badge count logic happens before the transaction completes on idle,
moving the badge count code to only after a successful notification creation
should solve the issue

Change-Id: Ia564ed0d386e7cf2da1af3d23ae83d71ad472df5
2013-05-25 19:44:09 -07:00
Translation updater bot 3c64b1d2e2 Localisation updates from http://translatewiki.net.
Change-Id: I19e8e400f4fa0c3d50cd328a416ba2d26cd69593
2013-05-25 08:23:26 +00:00
Erik Bernhardson 1d7b766754 Better detection of multiple changes in a document
Detects changes to different parts of the document as independent from each
other. Refactored parser passes all tests the previous parser passed plus
a number of new tests which fail with the original parser.

Change-Id: I65fdc6d9f922cbe9ff684332945def3776c70d30
2013-05-24 16:37:00 -07:00
Erik Bernhardson 59c5bc4c8d LIMIT is not a supported DatabaseBase::update option
LIMIT on an UPDATE statement is not standard SQL and is not supported by
DatabaseBase::update.

Change-Id: Ibb3b85548b42457dcc1163968152ee65570da25b
2013-05-24 11:40:40 -07:00
Translation updater bot 60344c84db Localisation updates from http://translatewiki.net.
Change-Id: I096c19e153c7c5be79c3afb670d0dfd97534843a
2013-05-24 08:25:39 +00:00
kaldari 43d95d153e Slightly reducing badge and alert sizes
Change-Id: If3c93582dbbdcab14b10ad9fe2926dcc94186756
2013-05-23 11:59:20 -07:00
jenkins-bot d2702cb1e9 Merge "Adding explicit prefix so we don't have to have an exception in prefs" 2013-05-23 17:51:23 +00:00
jenkins-bot 3b96815e40 Merge "Switch to using our own badge instead of jQuery.badge" 2013-05-23 17:42:47 +00:00
kaldari f9481040d5 Switch to using our own badge instead of jQuery.badge
With this change we will no longer be relying on JS for the badge
functionality. This will prevent the flash of unstyled content,
and allow wikis to locally override the styling (since the unread
class is now applied immediately).

I also went ahead and made the badge styling more closely match the
talk page message alert styling per Vibha.

Also removed the old full link optional behavior since we weren't
using it, and it would have been a pain to maintain.

Bug: 48165
Bug: 48001
Change-Id: Ie85d66afd5181d487d0bb2776ae14b121ea50d88
2013-05-23 10:34:47 -07:00
Translation updater bot 9ed354551c Localisation updates from http://translatewiki.net.
Change-Id: I9c92ddc2054b79d1c6f6c4050f2ac8fbebac0b90
2013-05-23 05:40:02 +00:00
kaldari 9f77b4ab3e Adding explicit prefix so we don't have to have an exception in prefs
If we add an explicit prefix (similar to what the Gadgets extension
does), we won't have to have a special handler for checkmatrix options
in Preferences::filterDataForSubmit().

Depends on core change I4049b666

Change-Id: Ic8420b896bc013840eb3a32420a49f6719f30610
2013-05-22 13:19:08 -07:00
jenkins-bot 108d525159 Merge "Copy tweaks to Echo Notification Emails" 2013-05-22 19:53:46 +00:00
jenkins-bot 021a9213be Merge "(bug 48521) Echo should not implicitly commit other transaction" 2013-05-22 19:37:41 +00:00
Translation updater bot bc64c5a3d0 Localisation updates from http://translatewiki.net.
Change-Id: I1369339b7e5139f64c00ecbbe03c4e899435f8ce
2013-05-22 07:49:04 +00:00
jenkins-bot f997fda13a Merge "Add EventLogging to capture Echo preference change" 2013-05-22 00:46:55 +00:00
bsitu 5602daa277 Add EventLogging to capture Echo preference change
Change-Id: I14cee0bf2e04cc24196b9aa30baa3253c9989463
2013-05-21 17:33:43 -07:00
kaldari 93679e35e6 Making bolding behavior consistant in page link notification
Change-Id: I64a14e6ef096474590f08b96407aead98d7493b3
2013-05-21 16:17:56 -07:00
jenkins-bot 56764de9fb Merge "Make return type consistent" 2013-05-21 22:43:21 +00:00
jenkins-bot 61ab47b76c Merge "For non-bundled page-link flyout notifications, link to article" 2013-05-21 17:41:54 +00:00
Translation updater bot 19aed0f89d Localisation updates from http://translatewiki.net.
Change-Id: I1e291969c8f27b661f0bdbef316f725fa72bc1ca
2013-05-21 05:49:47 +00:00
jenkins-bot 3b5a2f0d14 Merge "Notification agent whitelist and blacklist" 2013-05-21 01:03:40 +00:00
Erik Bernhardson c0b0d78e50 Notification agent whitelist and blacklist
Implements whitelists and blacklists for notification agents to assist
in filtering out unwanted notifications from bots.

Bug: 47946
Change-Id: I0d7e071067c6974fb90cf6c0ba1bd159f46bd5df
2013-05-20 16:36:28 -07:00
lwelling fa84e0edb7 Copy tweaks to Echo Notification Emails
Bug: 47846
Change-Id: Ia054daa8053032e5b71a7724c22897655a7fc326
2013-05-20 12:07:15 -07:00
jenkins-bot e6769b3391 Merge "Accept diffs formatted by UnifiedDiffFormatter" 2013-05-20 17:43:20 +00:00
bsitu 4909715dbe Date comparison should include year
Comparing only the month and date is not enough, a date header for
the same month/date last year would be parsed as today

Change-Id: Ief4e047bdd91ac39fa62cc2c0a5134e35abd7c4f
2013-05-17 14:31:20 -07:00
bsitu 4a581f7882 Make return type consistent
Notification count should return 0 if user has no enabled notification type

Change-Id: Ice8f524349a3b760c00aeac64c3a47ba5ecec8db
2013-05-17 14:16:14 -07:00
Translation updater bot 8f651a3bad Localisation updates from http://translatewiki.net.
Change-Id: I5e8342cf932983cc1a73e20c0dab3f9649fffe14
2013-05-17 20:43:02 +00:00
jenkins-bot 8206dd0980 Merge "Disable unavailable notification checkboxes" 2013-05-17 00:33:58 +00:00
jenkins-bot 250127669b Merge "Link directly to the edited section from edit-user-talk events" 2013-05-17 00:24:30 +00:00
Erik Bernhardson e058b980b5 Link directly to the edited section from edit-user-talk events
Adjusted the edit-user-talk event creation to detect and record which section
of the talk page was edited. Flyout, special page, and email messages have
been adjusted to use this section title as a URL fragment when available.

Bug: 46937
Change-Id: I161e2ffda2f2540f64de90cc621fb3b69479d0db
2013-05-16 17:13:16 -07:00
Translation updater bot ce09082aa8 Localisation updates from http://translatewiki.net.
Change-Id: I0b32b3ae3ff8ba0b55027a4162179f02102626b9
2013-05-16 20:12:15 +00:00
jenkins-bot ff1a061331 Merge "(bug 48302) Broken link in plain text email notification" 2013-05-16 18:05:02 +00:00
Matthew Flaschen 4e76f88e74 Add missing dependency on mediawiki.util.
Change-Id: I4e962e53889bd14e6a82ed5230fa525bc8fdd664
2013-05-15 23:35:38 -04:00
bsitu 51aa0de16a (bug 48521) Echo should not implicitly commit other transaction
Change-Id: I30abd7155b12370aea97218080cc8798f7f0df55
2013-05-15 17:36:04 -07:00
Translation updater bot b828329682 Localisation updates from http://translatewiki.net.
Change-Id: I3c422793f021feb3e38c94bc205273d5b2aed1df
2013-05-15 21:07:43 +00:00
bsitu f812389ce5 (bug 48302) Broken link in plain text email notification
Change-Id: I101fe3c1c3dbf913982b9040885b2acc633e711a
2013-05-15 12:34:10 -07:00
kaldari 4a188fd5c1 For non-bundled page-link flyout notifications, link to article
Bug: 48098
Change-Id: Ifa5ad05fd7b082d1f76c3c3a4e34f1101850f107
2013-05-15 11:29:18 -07:00
Translation updater bot 8004d9188c Merge "Localisation updates from http://translatewiki.net." 2013-05-14 21:35:29 +00:00
Translation updater bot 7051772e26 Localisation updates from http://translatewiki.net.
Change-Id: I42f607aa09fe1d568eb1da9d529524bb628ace4e
2013-05-14 21:24:02 +00:00
jenkins-bot 6d6f4b7fc2 Merge "(bug 44247) Do not write to storage if read-only mode is on" 2013-05-14 21:16:32 +00:00
bsitu 617488526b (bug 44247) Do not write to storage if read-only mode is on
Change-Id: I2e41cef0b5952c43cbba3374ac4da431b81c18ba
2013-05-14 13:48:05 -07:00
jenkins-bot 9772e875c5 Merge "Adding new talk page message alert for logged in users" 2013-05-14 17:42:11 +00:00
kaldari 383a81811d Adding new talk page message alert for logged in users
Includes new ext.echo.alert module and new preference

Change-Id: I7a4e78b033aa5e1ea18d1bfa2b6b0187930a6611
2013-05-14 10:39:49 -07:00
jenkins-bot 10713e0a0b Merge "Fix notification listing query." 2013-05-14 17:13:41 +00:00
jenkins-bot 17b648f18f Merge "Remove dead code" 2013-05-14 07:18:19 +00:00