Commit graph

1017 commits

Author SHA1 Message Date
Dereckson 85181d3aa1 SQLite compatibility for Echo database patches
These patches allow Echo update to stay compatible with SQLite.

Change-Id: Ie4d0b4ec40bcc504096e87f469be0e96271daec1
2013-10-15 20:56:24 +00:00
jenkins-bot 2ba05992be Merge "Notification overlay is partially hidden in RTL language" 2013-10-15 15:59:28 +00:00
Translation updater bot 1cf63dc37b Localisation updates from http://translatewiki.net.
Change-Id: I7b842d01a4aacb33f27a7022773a67eba6e3ca68
2013-10-14 09:28:51 +00:00
jenkins-bot dd6caea6b4 Merge "Native digits on 'mw-echo-overlay-title-text'" 2013-10-13 20:06:09 +00:00
Ebrahim Byagowi 88937d21c1 Native digits on 'mw-echo-overlay-title-text'
Change-Id: Icdd52ea0267ffbaa0e103070655735eff8423ca1
2013-10-13 19:34:03 +00:00
Translation updater bot c49e289614 Localisation updates from http://translatewiki.net.
Change-Id: Iafbe56f807eb1edb524b017d46cd06a63fd4cd27
2013-10-13 19:27:29 +00:00
Translation updater bot aff602ecdd Localisation updates from http://translatewiki.net.
Change-Id: I1250216a02e127c20a33ef0812431f99bb8aeba3
2013-10-12 18:41:21 +00:00
Translation updater bot 7f6035dc1e Localisation updates from http://translatewiki.net.
Change-Id: I966370eeca4e4357c311996a2797afb332a353b0
2013-10-11 19:09:38 +00:00
bsitu 67bcecff5d Notification overlay is partially hidden in RTL language
bug: 55629
Change-Id: I820386379fbea64fb88cfc1a1966ee08680f5c59
2013-10-11 19:06:58 +00:00
jenkins-bot fab5045776 Merge "alert: Make selectors less overly specific and clean up js" 2013-10-11 04:04:29 +00:00
Translation updater bot bbab8a0dc2 Localisation updates from http://translatewiki.net.
Change-Id: I3f412cca17be613d54b82b864e6d671041f2a001
2013-10-10 19:02:06 +00:00
Translation updater bot 71897030d4 Localisation updates from http://translatewiki.net.
Change-Id: I5147399614e3696b841e542c8145f45cbb32745c
2013-10-09 19:35:55 +00:00
Kunal Mehta d139b75020 Fix phpdoc comments
Change-Id: I2f22838aa6c2c46fbd570b01c2fb118cd8c58790
2013-10-08 13:56:24 -07:00
Translation updater bot 29b77da8b5 Localisation updates from http://translatewiki.net.
Change-Id: Ia3ff8daabad8e8d38df04a0c04d4631e4b2156e8
2013-10-08 19:04:34 +00:00
Translation updater bot b26aa56e20 Merge "Localisation updates from http://translatewiki.net." 2013-10-08 00:58:31 +00:00
Translation updater bot 91fceb53c1 Localisation updates from http://translatewiki.net.
Change-Id: Ibcc664dc5c866ef61a2046c38f1306ed65acab5f
2013-10-08 00:53:28 +00:00
Kunal Mehta d1e13a6da7 Remove deprecated call to Job::insert
Change-Id: Ie5a2e7a9d5506dc787161dfd40ebb3c4244dcec1
2013-10-07 14:23:19 -07:00
jenkins-bot 989046d56e Merge "Explicit plural support for 'echo-overlay-title-overflow'" 2013-10-07 15:17:54 +00:00
Siebrand Mazeland f5a3f138a6 Explicit plural support for 'echo-overlay-title-overflow'
Requested by Skalman at
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Echo-overlay-title-overflow/sv

Change-Id: Ic17d613a9653c7d7671c5232ac90ecd52b2a11e0
2013-10-07 17:08:54 +02:00
Translation updater bot 6c2860d977 Localisation updates from http://translatewiki.net.
Change-Id: I746002176de25c74490631e46de27154c844caba
2013-10-07 14:08:00 +00:00
Translation updater bot 79bf2aa2fb Merge "Localisation updates from http://translatewiki.net." 2013-10-07 01:50:36 +00:00
Translation updater bot 9cad6d0197 Localisation updates from http://translatewiki.net.
Change-Id: I43e6a079ef4e3664aa688fc4e1a61820e23e8796
2013-10-07 01:42:19 +00:00
Translation updater bot 0851885c84 Localisation updates from http://translatewiki.net.
Change-Id: I7e4f8b6214c7f05df185a20fe64f452afac79991
2013-10-06 23:58:49 +00:00
Timo Tijhof 72c8aba10e alert: Make selectors less overly specific and clean up js
Follows-up 383a818.

* There is no need for the additional element ("a") or
  descendant ("#pt-mytalk") selector.
  It isn't overrriding anything, only hardcodes details that make
  it harder to maintain or extend this stylesheet. For example,
  there is a gadget that makes  user messages green instead of
  orange, it now was required to hardcode the "#pt-mytalk a" part
  of the selector eventhough those are subject to change.
  Separation of concerns.

* Cache/reuse the jQuery object instead of executing the same
  query to the document, again. It also avoids a potential bug
  where the second query matches different elements (e.g. after
  appending alertMessage, there could potentially be an additional
  nested anchor link; there isn't now though, as the message is
  plain text).

* Add comment about weird echoNewMsgAlertDisplayed variable.

Change-Id: I682182fe15a868969f25fa5bfe2412e2a6f3dddf
2013-10-06 23:52:47 +00:00
Translation updater bot 7d07e1b449 Localisation updates from http://translatewiki.net.
Change-Id: I05b11756e3360d0981177429072ebecb250ed608
2013-10-06 18:31:19 +00:00
Translation updater bot b87a71e07f Merge "Localisation updates from http://translatewiki.net." 2013-10-03 18:25:56 +00:00
Translation updater bot 1eab1a7b5f Localisation updates from http://translatewiki.net.
Change-Id: Ie3a400cc03fd980cc8715fe6a0b26bbd2e849561
2013-10-03 17:52:13 +00:00
jenkins-bot e8ab1156f6 Merge "Bundle message should show diff of all included revisions" 2013-10-03 17:32:39 +00:00
jenkins-bot 2901dc3354 Merge "Fix some notification badge related issue" 2013-10-03 13:03:35 +00:00
jenkins-bot b8e8228787 Merge "Typo fix + conditional fix" 2013-10-03 12:04:23 +00:00
bsitu 700271500a Bundle message should show diff of all included revisions
bug: 54391
Change-Id: I6c726d9d36e87fb5092b3c3e205e10ae0de557b4
2013-10-02 16:11:11 -07:00
bsitu 365ea041f2 Add a count for raw bundle data
Change-Id: I380c1e9ae61cba2ff02e4e380c3046ecc889f6aa
2013-10-02 15:28:22 -07:00
Translation updater bot 29a4e20544 Localisation updates from http://translatewiki.net.
Change-Id: Idc33fda508402ae900f54709de975d692359a6cf
2013-10-02 19:32:52 +00:00
bsitu 3b3ed1e3bc Fix some notification badge related issue
* In some languages like persian, the number 0 is represented as '.', we can't compare
  '.' with either 0 or '0' to detect the no-notification status of the badge

* The markread API doesn't respect uselang param, it would return 0 instead of . in a url with uselang=fa

Note: we need to provide raw and formatted count in the API since client side javascript
      doesn't provide fancy function like $wgLang->formatNum()

bug: 54575

Change-Id: I0a49828253ec346ed27c5b9a976f8bdff4e1fa90
2013-10-02 11:25:05 -07:00
Translation updater bot 70bbd32eea Localisation updates from http://translatewiki.net.
Change-Id: I5b326aab596bbc59d36af20f33e58ff8ce3fb64d
2013-10-02 14:01:16 +00:00
jenkins-bot 145f1b4d74 Merge "Add hooks for EchoEvent's" 2013-10-01 23:12:58 +00:00
Translation updater bot c0b06cdd98 Localisation updates from http://translatewiki.net.
Change-Id: I270abfab2a91da944a55284895798a69301af1c6
2013-10-01 18:57:04 +00:00
bsitu 16dbee7b26 Typo fix + conditional fix
bundleTitle['message'] defaults to empty string, it would never
be null, should just check if the string is empty

Change-Id: I6b9dd8b8a94fed114c0799004848daed472daf3a
2013-09-30 13:28:58 -07:00
Kunal Mehta 2cc6171860 Add hooks for EchoEvent's
BeforeEchoEventInsert can be used to abort or modify an
EchoEvent before it is created. If aborted, EchoEvent::create
will return false.
EchoEventInsertComplete can be used to run stuff once it's
been created.

Change-Id: I376708ac7aafc419bf87bceeff6de7de9bdc2f4e
2013-09-30 13:21:56 -07:00
Translation updater bot f68110f910 Localisation updates from http://translatewiki.net.
Change-Id: I7f80df56d46adf752e42a3479c8bff79563ff3f5
2013-09-29 19:58:44 +00:00
kaldari 4380e81afe Moving dependencies from ext.echo.base to more specific modules
mediawiki.api and mediawiki.Uri are desktop-only modules that are
not actually needed by ext.echo.base. Moving the dependency
declarations to more specific modules so that ext.echo.base is
usable by mobile notifications. ResourceLoader is smart enough to
not double-load them, so there should be no performance difference.

Also removing unused 'cancel' message.

Change-Id: I9fa8c4501e038ded9125c3b43e5207c355af2db9
2013-09-25 17:58:11 +00:00
kaldari 08fc83b6de Cleaning up Echo 'base' module.
Removing unused functions and declaring correct dependencies.

Targetting to desktop and mobile so it can be used by both.

Also removing dismiss-related code from the formatter.

Change-Id: Icccce64cfb3c564ab468a93ccdba9c5a61687fd5
2013-09-23 11:29:49 -07:00
Translation updater bot 9a5b6436b8 Localisation updates from http://translatewiki.net.
Change-Id: I62c146e8928013e608b8627a2aad4cdc63a2c187
2013-09-22 20:13:34 +00:00
Translation updater bot 8063fdcd9a Localisation updates from http://translatewiki.net.
Change-Id: I5ed9ed0d5536aed86a7cdb43053d24dd58270aa8
2013-09-21 19:37:38 +00:00
Translation updater bot 21829fada7 Localisation updates from http://translatewiki.net.
Change-Id: I7a60743678382aa58532db42d5ec2187bfe30c8c
2013-09-20 19:35:56 +00:00
bsitu 23f66ec6e8 Make html email look prettier on mobile device
Add a media query style for mobile device so the email doesn't generate
a horizontal bar.  Gmail strips out all style, that means we can't apply
the mobile style to Gmail.  Luckily, Gmail on mobile device browser
automatically fit into the entire mobile screen

bug: 53057

Change-Id: Ia4350669db2e81ee44d5b53d7cece6fcd8839e7a
2013-09-20 10:48:37 -07:00
bsitu 67959e65d2 Fix some RTL issue and add sans-serif as fallback font
bug: 54249
Change-Id: I8b0d259922680fa026969ebd81cdd62b718811c9
2013-09-20 00:55:57 +00:00
Translation updater bot bac6acc287 Localisation updates from http://translatewiki.net.
Change-Id: I61254db653a2fb2df213ab09fabc1e2fdb93c65b
2013-09-19 19:29:35 +00:00
bsitu 2b57fbd3c2 Split the Echo API into their own write/read APIs
Change-Id: I0ab85c91c6fbe17e9a1c7dc9e504980f629a5065
2013-09-18 14:28:41 -07:00
Translation updater bot b8d504e307 Localisation updates from http://translatewiki.net.
Change-Id: Ic73a13d969b495b1fb8c6a1bd1a9755de0ffb5aa
2013-09-18 19:08:28 +00:00