Commit graph

1025 commits

Author SHA1 Message Date
Kunal Mehta 52fab9c515 EchoBasicFormatter::formatFragment returns a Message object
Change-Id: I28228f904c4364a1e4c1c1a637bf78f506003eb6
2013-10-20 02:32:30 -07:00
Kunal Mehta f31c605360 Replace wfMessage calls with $this->msg
Change-Id: I600af0721c15828d0a11b36438231b09e4148728
2013-10-19 00:58:38 -07:00
Translation updater bot 61a07a4554 Localisation updates from http://translatewiki.net.
Change-Id: Ie21649a0ceb6f8ea88711827f3017ecbc0059389
2013-10-18 19:16:05 +00:00
Translation updater bot 0024b000ff Localisation updates from http://translatewiki.net.
Change-Id: Idcac5b658813c7d7e41c586683d38f72e6a56353
2013-10-17 19:33:09 +00:00
Translation updater bot ad1bb66d61 Localisation updates from http://translatewiki.net.
Change-Id: Iee9f8d5e3061a550d75e5afa38751937086f2472
2013-10-16 21:43:54 +00:00
jenkins-bot de93be2b47 Merge "Revert "Notification overlay is partially hidden in RTL language"" 2013-10-16 17:33:31 +00:00
Bartosz Dziewoński 4ad3cb4674 Revert "Notification overlay is partially hidden in RTL language"
Ugly workaround for bug 55779. Let's not do this.

This reverts commit 67bcecff5d.

Bug: 55629
Change-Id: I5f5503aa1d1f7c93b11bf82cfcd73370a991783c
2013-10-16 09:49:09 +00:00
bsitu b9a0a339c8 Add new method to process a param in escaped format
Change-Id: Ie777d7838b83d6109adf3ea8a71dd19240d8b6f5
2013-10-15 15:38:57 -07:00
Translation updater bot 08c5421a10 Localisation updates from http://translatewiki.net.
Change-Id: I91ade67ccad14292d83fc9afba84af4dfb719d4f
2013-10-15 20:52:47 +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