Commit graph

6510 commits

Author SHA1 Message Date
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
Bartosz Dziewoński 3a519d5b37 Support non-English namespace names in DiscussionParser::getUserFromLine
Bug: 53132
Change-Id: I6c636b055bcd25760aee848aea71fe4044c7e1be
2013-10-03 23:08:35 +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 e19e8cd5b5 Remove markread action from the read API
Don't merge till parent patch 84468 is merged and deployed

Change-Id: I863cf068754723701c26ba575c94a9852cac240e
2013-09-18 14:32:16 -07: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
Translation updater bot 6688c7ef16 Localisation updates from http://translatewiki.net.
Change-Id: Icc2a729c197ebb4a121975fda8dc463ed597eb27
2013-09-17 19:44:22 +00:00
EBernhardson (WMF) 100c543396 Merge "Archive page and overlay should respect ?uselang=xxx" 2013-09-16 22:38:35 +00:00
Translation updater bot 713a807816 Localisation updates from http://translatewiki.net.
Change-Id: Ia5655fbc9703a083a14a10877d0303cd4232103d
2013-09-16 19:33:27 +00:00
Translation updater bot 1c431cc858 Localisation updates from http://translatewiki.net.
Change-Id: Ibb00fde8cf79d2156469556947c342998a616754
2013-09-15 19:21:44 +00:00
Translation updater bot 162afcf7c3 Localisation updates from http://translatewiki.net.
Change-Id: I9c29d85a0e8f06777d487e941ae28605f5c95225
2013-09-13 20:46:40 +00:00
Translation updater bot 1d07436de4 Localisation updates from http://translatewiki.net.
Change-Id: Ib3f9a1e2cabcdea788f80323b7216c85e34dc57f
2013-09-12 19:31:51 +00:00
Translation updater bot d8be6027ad Localisation updates from http://translatewiki.net.
Change-Id: Ifd2f02499fc11e68133fe01193193e6af56410ec
2013-09-10 20:04:27 +00:00